2
I'm using Snow Leopard with Remote Desktop Connection attempting to access a Windows XP machine on a home network. If I specify the Windows PC's hostname it won't connect. Only by specifying the IP address does it connect. It's the same issue when trying to ping the Windows machine - IP address works, hostname doesn't.
Both machines are on the same subnet connecting with a wireless router.
Is there way to get OSX to resolve the Windows PC by its hostname?
I'm using DHCP. – Wavy Crab – 2010-05-13T22:21:26.137
Can you resolve the Mac's address using the hostname from the XP computer? – nhinkle – 2010-05-14T00:24:48.087
No, Windows can't ping the OSX machine either. – Wavy Crab – 2010-05-29T20:13:53.710
Have you checked the router's configurations? Some routers will purposefully drop ICMP (ping) packets. Also, what is the IP given to each computer? Is it possible that they're somehow not getting IPs in the same subnet? – nhinkle – 2010-05-29T21:02:38.157
Same subnet, Windows PCs can ping each other (by name and IP address). Mac can only ping Windows by IP address. I think it's some kind of DNS issue. Windows must be bypassing DNS (WINS?) which is why they can ping each other. Mac can't resolve Windows PC name so it can only ping my IP address. – Wavy Crab – 2010-05-29T21:08:18.303
Hm. Are they all set to use the DNS server given to them by DHCP? Make sure you haven't accidentally set them to use a specific DNS server. What happens when you do an
nslookup
for one of the windows machines from the other? – nhinkle – 2010-05-30T18:09:52.000DHCP is on the all-in-one DSL modem / router / wireless account point. DNS is my ISPs DNS, so basically there's local DNS running. Windows can discover other Windows machines (WINS?). Linux/OSX can't discover Windows. Is there a way to for Linux/OSX to discover Windows (possibly via WINS)? Or do I need to run a local DNS? – Wavy Crab – 2010-06-05T02:37:16.067
Your all-in-one router/modem likely is running a local DNS server. What were the results of an nslookup? The way to do that is open the command line on one of the computers, and type
nslookup computername
. It will tell you the IP of the computer if the DNS server it's using knows it, and will also tell you the IP of the DNS server. If you could post that information, that would be helpful.I am unaware of any way to make linux or OS X use WINS or NetBIOS to find the machines. Are you sure there isn't any firewall on either windows machine preventing it from responding to network requests? – nhinkle – 2010-06-05T17:36:39.693