LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2003, 10:04 PM   #1
dbeyes
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Linksys Router and host not found


I installed linksys WRT54G and have three machines on my network 2 windows and one linux (Red Hat Advanced Server). Windows machines use DHCP provided by the router, my linux machine I gave it's own IP. I can ping the linux with the ip but not the host name.
 
Old 10-15-2003, 10:15 PM   #2
indy317
LQ Newbie
 
Registered: Apr 2003
Posts: 29

Rep: Reputation: 15
you have to put the window computer name to the linux computer at /etc/hosts

like this : 192.168.0.1 windowcomputername
 
Old 10-17-2003, 09:35 PM   #3
dbeyes
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Original Poster
Rep: Reputation: 0
To clarify: I can ping the Linux machine from windows using the IP not the hostname and was wondering why the Linux hostname is not reconized by my window machines
 
Old 10-17-2003, 10:26 PM   #4
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Lightbulb

Windoze machines use DNS servers and the host file - C:\WINDOWS\HOSTS - (note, not hosts.txt, just hosts, without any extensions) on Windoze 9x (NB: the host file overrides the DNS servers by default).

Anyway... if you want your Windoze machines to recognize yoru Linux machine's hostname, they must be able to translate the hostname to an IP address somehow. Just because you told the Linux machine that its hostname is "whatever", doesn't mean that all the other machines on the network know that.

You have two solutions: either run your own DNS server or simply edit all the HOSTS files on all of the machines to reflect the hostname to IP address mappings of all the machines on your network.

Hope this helps...
 
  


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
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 08:48 AM
MySQL - <host> could not be found Gunrunner Linux - Software 0 11-18-2004 12:49 PM
Linksys Router Smokey Linux - Hardware 4 07-13-2004 12:11 AM
router problem with linksys router scheiße_comp Linux - Networking 10 08-20-2002 10:18 AM
Linksys Router hubergeek Linux - Networking 4 08-14-2002 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration