LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2003, 09:05 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
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??
 
Old 09-05-2003, 10:33 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,515

Rep: Reputation: 69
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
router unable to determine hostname kodon Linux - Wireless Networking 0 09-08-2004 12:57 PM
no hostname on router degraffenried13 Linux - General 9 06-15-2004 03:28 PM
hostname setup for router RoughEdge Linux - Newbie 5 04-29-2004 10:16 AM
odd hostname with netgear router quotidian Linux - Wireless Networking 1 04-17-2004 11:28 AM
Unknown hostname on router ToTLaugher Linux - Networking 1 02-10-2004 04:04 PM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration