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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-03-2010, 07:07 AM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Rep:
|
Ubuntu 9.10 networking hostname
I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.
Can anyone suggest why this should be so.
|
|
|
01-03-2010, 07:27 AM
|
#2
|
Member
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412
Rep:
|
did you enter the XPs hostname in the DNS or hosts file of the tux box?
|
|
|
01-03-2010, 08:29 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
I certainly haven't entered in the hosts file. As far as I understood each machine would be logged on the DHCP Allocation Table of the router and that ping would find the name there.
|
|
|
01-03-2010, 12:57 PM
|
#4
|
Member
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393
Rep:
|
maybe the firewall is blocking the ICMP protocol
|
|
|
01-03-2010, 01:37 PM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 20
Rep:
|
domainname and hostname are two different things if am correct, look if they are set on the good place, domainname is mostly the isp name unless u are running one box as an server if am correct, am not sure how it works in linux, hostname is mostly used for internal networks so check if they are set the same name, i could be easily wrong because long time ago i made an network.
p.s. Agazzaz Egypt could be wright, u could try disconnect internet, putoff firewalls on all machines and test it,when works ok than put on each firewall one at a time to see wich box is blocking.
Last edited by vastvet; 01-03-2010 at 01:39 PM.
|
|
|
01-03-2010, 02:00 PM
|
#6
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
Thanks for your replies. They give me more research to do (eg ICMP protocol). I am puzzled why the firewall could interfere. Are not host names resolved by the DHCP Allocation Table on the router?
|
|
|
01-03-2010, 03:08 PM
|
#7
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
millig,
each computer will either contact a DNS server or it will build it's own DNS internally. If it doesn't have something in it's own DNS then it tends to look for a DNS server to find it. This is a little weird in Linux. Yes your routers DHCP allocation Table should act as a DNS server, however if something is blocking the DNS communications between your router and your Linux box, then your Linux box is never getting a DNS reply back from your router. Check on your ICMP settings and see. That is a good place to start.
|
|
|
01-04-2010, 05:50 AM
|
#8
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Original Poster
Rep:
|
The suggestion to check my ICPM Settings is easier said than done. It is an area I know nothing about. My initial efforts to look at them have not been successful and I am wary of stepping in too deep.
I can live with the present arrangement and perhaps solve this little puzzle in due course.
Thanks for your advice.
|
|
|
All times are GMT -5. The time now is 10:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|