Linux Peculiar problem with samba shares

6pack

ex-Mod
I have a pogo plug with debian installed on it. Samba is set to share a folder on this device for accessing media files. When the internet is working fine i can browse the device and files in the shared folder. When the internet goes down, all sharing stops. I can ssh to the shares and the device easily though.

I searched the web and seems samba takes dns in router for dns resolutions. Why does it do this for local lan also i can't understand.

I currently use google dns in my router since my isp dns is a bit iffy at times. If i remove the google dns, the router saves the isp dns till its rebooted so removing the dns entries also does not work here.

can i do something in the samba config so that it does'nt look for dns for local lan lookups?
 
it got solved. I had to put lmhosts first in resolv.conf i think.
Code:
hosts:      lmhosts files dns

Another option is to put this in smb.conf in global:
Code:
[global]
    name resolve order = lmhosts wins hosts bcast
 
Back
Top