public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <dalek@exceedtech.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hostname and domainname
Date: Mon, 19 Feb 2007 04:47:29 -0600	[thread overview]
Message-ID: <45D98041.3060403@exceedtech.net> (raw)
In-Reply-To: <45D97CA8.6030808@brutele.be>

Bayrouni wrote:
> Hello all,
>
> cat /etc/conf.d.hostname
> # /etc/conf.d/hostname
>
> # Set to the hostname of this machine
> HOSTNAME="MYHOST"
>
> and cat /etc/conf.d/domainname
> DNSDOMAIN="MYDOMAIN"
>
> The hostname service is added to the /etc/init.d/ with rc-update,
>
> but the commande hostname give:
> #hostname
> MYHOST
>
> and
> # hostname -f
> MYHOST
>
> I tried to add the domainname service:
> sudo rc-update add domainname default
>  * rc-update: '/etc/init.d/domainname' not found; aborting
>
> What is wrong or missing  in my configuration ?
>
> Thanks
>   

This is how I have mine set to smoker:

> # /etc/conf.d/hostname
>
> # Set to the hostname of this machine
> HOSTNAME="smoker"

Replace smoker with the name you want.  I would assume the domainname
would be set the same way.

Hope that helps.

Dale

:-)  :-)  :-)


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-02-19 10:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 10:32 [gentoo-user] hostname and domainname Bayrouni
2007-02-19 10:47 ` Dale [this message]
2007-02-19 11:27 ` Etaoin Shrdlu
2007-02-19 11:12   ` Bayrouni
2007-02-19 11:23     ` Astolfo Bugatti
2007-02-19 11:54       ` Dale
2007-02-19 12:15       ` Etaoin Shrdlu
2007-02-19 11:52     ` Etaoin Shrdlu
2007-02-19 11:46       ` Bayrouni
2007-02-19 12:24         ` Etaoin Shrdlu
2007-02-19 12:03           ` Bayrouni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D98041.3060403@exceedtech.net \
    --to=dalek@exceedtech.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox