LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   router not displaying hostname (https://www.linuxquestions.org/questions/linux-newbie-8/router-not-displaying-hostname-89732/)

Robin01 09-05-2003 09:05 PM

router not displaying hostname
 
hello everybody,
-my router is able to see the other 2 windows pc with hostnames but not the linx box.. linux is working interms of network and internet but the router does seem to see the host name..
-tried some of the documentations posted on this site but its still not working...
no err msg are displayed and the linux box has been rebooted to test and still not showing up in my router except the ip and the mac address.. and where the hostname should is blank
redhat 9

/etc/sysconfig/network
ETWORKING=yes
HOSTNAME=voyager
#HOSTNAME=localhost.localdomain

/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 voyager localhost.localdomain localhost

127.0.0.1 voyager localhost.localdomain localhost voyager (<-- also tried this)

what am i doing wrong??

HappyTux 09-05-2003 10:33 PM

Re: router not displaying hostname
 
Quote:

Originally posted by Robin01

/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 voyager localhost.localdomain localhost

127.0.0.1 voyager localhost.localdomain localhost voyager (<-- also tried this)

what am i doing wrong??

Try putting you IP address and hostname in the file i.e. xxx.xxx.xxx.xxx voyager and you may also want to put the other machines IP address and hostnames in there also if you want to access by name. Also Debian has a file /etc/hostname for this purpose you may want to check in Redhat to see if this is the case as well.


All times are GMT -5. The time now is 06:44 AM.