Click to See Complete Forum and Search --> : Problem mounting remote shared drive by name


babakan
06-08-2007, 08:06 PM
Having trouble mounting a windows drive on another computer in my LAN, by name.

Netbios name is MYNET Samba is set, has that name I see it the smb.conf
Windows computer name is COMP1
Shared drive on windows computer is named C
mount point in linux is /usr/winC

tried mount -t smbfs //MYNET.COMP1/C /usr/winC
get back timeout connecting to 208.69.32.130
That is my DNS server IP, that won't work. It is not going to find my computer through DNS.

However if I do mount -t smbfs 192.168.1.104/C /usr/winC, it works using the actual IP of COMP1.

I have tried other variations of the syntax and smbmount, but it only works with the explicit IP. If I use names I get back the DNS server error.

In smb4k, scanning network finds nothing. But if i manually scan for COMP1, it finds it and knows it is on MYNET. Then I can mount it from smb4k.

Same thing happens if I ping. ping CMP1 gets back pings from the DNS
If I ping by IP, it works as i want.

happybunny
06-09-2007, 09:46 PM
It is not going to find my computer through DNS

This confuses me. If you can't find a computer by name, how do you plan to mount it by its name?

Maybe what you want is to put COMP1 and its ip into /etc/hosts ?