* Re: [gentoo-user] hostname and domainname
@ 2007-02-19 10:47 99% ` Dale
0 siblings, 0 replies; 1+ results
From: Dale @ 2007-02-19 10:47 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-19 10:32 [gentoo-user] hostname and domainname Bayrouni
2007-02-19 10:47 99% ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox