Results 1 to 2 of 2
Hi All, I have a system that I want to auto mount a samba from another one. The issue is that they are both laptops so doing it by name ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-07-2010 #1
Can't Auto Mount Samba via name only IP
I have a system that I want to auto mount a samba from another one. The issue is that they are both laptops so doing it by name is much much better than by ip. Unfortunately when I try to mount by name with this in my samba:
//joel-studio1737/music/ /media/networked cifs username=someone,password=yeahright 0 0
it fails saying it can't find the location but if I mount it like this:
//10.0.1.5/music/ /media/networked cifs username=againsomeone,password=maybemaybenot 0 0
it works fine. The ip obviously is going to change depending on what network the two systems are on. Any ideas??Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 12-07-2010 #2
In the smb.conf file there is a line starting with
name resolve order =
make sure that the first entry is bcast
It will use broadcast to do name resolution before
attempting dns or other methods. Probably your only
hope with laptops and IP addresses that change a lot.