Can't ping Ubuntu 8.04 hostname from Windows XP machine

Asked by jgambleii

Hello everyone,

I have an Ubuntu 8.04 machine (clean install) with all current updates. I can ping my Windows hostname in Ubuntu without an issue. I cannot however, ping my Ubuntu hostname in Windows (I can ping its IP though). The Ubuntu machine is getting an IP via DHCP, as is the Windows machine. They are on the same subnet. The Windows machine is attached to an AD domain, but the Ubuntu machine is not.

I know this has been asked before, but I'm not able to get a clear answer. What do I have to do to be able to ping my Ubuntu machine, via its hostname in Windows?

Thanks,

jgambleii

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Martin Kaufmann (martin.kaufmann) said :
#1

I have seen this several time. Have you tried: ping hostname.local ? Dont forget the ".local"

Hope that helps to solve your problem

Revision history for this message
jgambleii (james-gamble-deactivatedaccount-deactivatedaccount) said :
#2

I have tried to do that, and I am still unable to ping successfully.

Revision history for this message
Martin Kaufmann (martin.kaufmann) said :
#3

Is there another Nameserver between the two Clients?

Revision history for this message
jgambleii (james-gamble-deactivatedaccount-deactivatedaccount) said :
#4

Yes, they're both using the DNS servers that service the domain.

Revision history for this message
Martin Kaufmann (martin.kaufmann) said :
#5

whats the name of the DNS-Server? try ping hostname.<your dns-server>.

Revision history for this message
jgambleii (james-gamble-deactivatedaccount-deactivatedaccount) said :
#6

Gave it a shot, still no go.

Revision history for this message
jgambleii (james-gamble-deactivatedaccount-deactivatedaccount) said :
#7

Eer, I meant to reopen this... I still need an answer... :)

Revision history for this message
jgambleii (james-gamble-deactivatedaccount-deactivatedaccount) said :
#8

I'm still having this issue... can anyone assist?

Revision history for this message
LumberJackShaw (lumberjackshaw) said :
#9

Hi, I have been having the same problem. I have used likewise-open to sucessfully join my windows domain. Ubuntu was able to ping any hostname with success but my windows machines where not able to ping ubuntu.

I have managed to get this to work by going to the DNS on my SBS 2003 and adding a HOST(A) w/PTR to the domain.local. I can now ping the ubuntu machine via name.domain.local.

I think it is safe to say that this is a DNS problem but I am not sure why the host was not automatically added when the machine was added to the Active Directory.

If anyone knows more about DNS than I do please help us fill in the gaps.
Hope that helps jgambleii.

Revision history for this message
Zpeedy (zpd406) said :
#10

I also have this problem but have found a 'solution' by accident. I recently installed a clean copy of 8.04 Server to teach myself about using VMware under Ubuntu. When I selected additional packages during install, I selected Samba by mistake and was able to ping the server. When I reinstalled again, I did not select Samba and ran into this 'DNS' problem. Installing Samba using Tasksel after intial install seems to either clear or hide the problem.

I am a complete novice when it comes to Linux and don't know to interrogate the setup logs to see what Samba adds to the system.

Hope this helps.

Revision history for this message
LumberJackShaw (lumberjackshaw) said :
#11

I have only been using Ubuntu for a few months so please correct me if I am wrong. If I am not mistaken samba is a software for serving windows clients/servers from linux servers/clients. In my case the windows DNS/DHCP/AD server was leasing an address, and entering the record into the Active Directory but failing to add the host name to the DNS.

I do not know if this an error in the Windows DNS setup or if this is an error on the Ubuntu setup. It seems to me that the DNS should operate properly even if samba and likewise are not installed. Installing Samba may sure enough fix the issue if it is, in fact, on the ubuntu system but I don't think it is the samba package itself that is responcible. I would tend to think it is the DNS server's duty to add HOST record.

That being the case I may play around with samba to see if I can repeat your results.

Revision history for this message
Froglet (froglet) said :
#12

I have the same problem, can anyone advise?

Revision history for this message
LumberJackShaw (lumberjackshaw) said :
#13

I found a solution to the DNS using a Windows server. Add a 015 DNS Domain Name to your server options with yourdomain.local as the data. This is the option that tells the non windows machines what domain name they should have.

Can you help with this problem?

Provide an answer of your own, or ask jgambleii for more information if necessary.

To post a message you must log in.