On Sunday 17 September 2006 20:02, Alexander Skwar wrote:

> Well... But what Mick showed was the expected behaviour. He
> has NOT set a domainname - at least not the domainname that
> the "domainname" command would return.

I just can't get it.  :-(

When I logon I can see in the console:

"This is lappy.(none) (Linux i686 2.6.7-gentoo-r8) 13.31.51"

Where is this "(none)" being read from?  As in which files and which 
particular entry in that file?

> domainname --help clearly shows, what domainname will return:
> The *NIS* domainname. This always used to be the case and
> hopefully always will be the case.

OK, but when I enter nis_domain="STUDY" in /etc/conf.d/net, I still 
get "(none)".

Unlike Alex's earlier example I do not need to set up DNS servers addresses, 
or other IP addresses as these are picked up by the dhcpcd server from my 
hardware router.

I manually ran:

# domainname STUDY

and now I get:

# domainname -v
getdomainname()=`STUDY'
STUDY

which is fine, but the console still shows hostname.(none).  I am obviously 
confused with all this name setting and would very much appreciate your 
patience and help to make me understand.  :)
-- 
Regards,
Mick

Attachment: pgpKwDvndc408.pgp
Description: PGP signature

Reply via email to