Results 1 to 4 of 4
One of my computers no longer identifies itself by the host name that it used to ...
It now shows 'unknown', where it used to show 'chucknb-desktop'
Host Name IP ...
- 04-07-2009 #1Linux User
- Join Date
- Apr 2007
- Posts
- 289
'Host name' on router status page...
One of my computers no longer identifies itself by the host name that it used to ...
It now shows 'unknown', where it used to show 'chucknb-desktop'
Host Name IP Address MAC Address Expired Time
dtop 192.168.0.104 00-0d-56-52-9e-25 Apr/07/2009 22:40:57
unknown 192.168.0.103 00-14-78-ed-a5-b7 Apr/07/2009 22:40:36
Any ideas?
- 04-07-2009 #2
I think your host name is set by the file /etc/hosts on most systems - it should say something like
HTHCode:127.0.0.1 chucknb-desktop localhost
Giles"Our greatest fear is not that we are powerless. Our greatest fear is Microsoft"
Registered linux user #391027
- 04-07-2009 #3Linux User
- Join Date
- Apr 2007
- Posts
- 289
Well, you're right, and my machine is still wrong.
??? Do I need to edit the entry? ADD an entry?
/etc/hosts
127.0.0.1 localhost
127.0.1.1 chucknb-desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
- 04-08-2009 #4
Actually it's /etc/hostname that sets your host name.
Also check the manpage for the hostname command.
/etc/hosts associates host names with IP addresses.


Reply With Quote
