LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 09:33 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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



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 11:57 AM
no hostname on router degraffenried13 Linux - General 9 06-15-2004 02:28 PM
hostname setup for router RoughEdge Linux - Newbie 5 04-29-2004 09:16 AM
odd hostname with netgear router quotidian Linux - Wireless Networking 1 04-17-2004 10:28 AM
Unknown hostname on router ToTLaugher Linux - Networking 1 02-10-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 AM.

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
Open Source Consulting | Domain Registration