Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

network name resolution

I just switched, bought a macbook with Leopard installed. I still own a few windows machine and Buffalo network attached storage, all of which are connected together via a Linksys wireless router.

After much fiddling, I managed to be able to see my NAS from the finder, along with all the other windows share. So file sharing works, albeit by fully opening the firewall.

My problem is that I can't browse to the NAS. From my windows machines, I just type the hostname in the url bar ( http://mynas). But in Safari, I get a "server not found" error. Same thing with Remote Desktop Client, it won't connect to my windows machine by name only, I have to specify an IP address.

So the finder can find the machine, but nobody else can resolve the name. On the other hand, if I go into a terminal and type this:
$ nmblookup mynas

I get mynas's IP address, so it is known by samba.

So how can I tell Leopard to use NMB or WINS to resolve hostnames before it tries other sources?

Thanks

-Mathieu

Macbook, Mac OS X (10.5.1), 2.2Ghz core Duo; 1GB memory

Posted on Nov 28, 2007 7:37 PM

Reply
2 replies

Jan 25, 2008 8:40 AM in response to mathieuonamac

Hi

It will first look at your hosts file, the try to resolve the hostname with an operating system function (DNS) then WINS and then broadcast.

You can force Samba to change the sequence adding the following command to the [Global} section of samba configuration file
name resolve order = wins lmhosts bcast host

To do that you need to go into terminal as administrator and enter
sudo pico /etc/smb.conf
Reboot the machine and it should be ok

If this does not work just put in your NAS name in the hosts file that always works.

Message was edited by: Interceptor121

network name resolution

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.