Public bug reported:

Binary package hint: libgnomevfs2-0

Samba browsing works like a charm after login. Gnome vfs sees all samba
workgroups and servers:

$ gnomevfs-ls smb:///
workgroup            (Regular, application/x-desktop)        size 0
lorien          (Regular, application/x-desktop)        size 0

But after switching between wired and wireless networks, gnome vfs no
longer sees any samba workgroups or shares.

$ gnomevfs-ls smb:///
[no output]

After some digging with wireshark, I noticed that the problem is that gnome vfs 
sends the NMB name lookup requests to the wrong broadcast address.
For example:
1. Let the wired network be: 192.168.5.0/24 (broadcast 192.168.5.255)
2. Let the wireless network be: 192.168.6.0/24 (broadcast 192.168.6.255)
Let's suppose that the wired connection was active when I started my gnome 
session. Then after switching to the wireless connection gnome vfs still keeps 
sending NMB name lookup queries to 192.168.5.255 which is WRONG.

Workaround: 
$ killall -USR1 gnome-vfs-daemon

Putting the above line in some if-up script make the problem go away.

$ dpkg -l libgnomevfs2-0 
ii  libgnomevfs2-0 1:2.20.0-0ubuntu3 GNOME Virtual File System (runtime 
libraries)

** Affects: gnome-vfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnome vfs samba browsing broken
https://bugs.launchpad.net/bugs/191547
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to