nautilus use the wrong broadcast address to search for smb servers

Bug #811672 reported by Matthieu Patou
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

My computer is moving between two LANs with both server exporting SMB/CIFS shares.

Last time I booted and logged on my computer it was in LAN 10.6.0.0/26.

Today I tried to use nautilus to browse share in the 192.168.10.0/24 lan and it failed to show my samba server at 192.168.10.222.

Tracing while clicking in "Windows Network" icon in nautilus produced this trace:

mat@ares:/var$ sudo tcpdump -i wlan0 -n not port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 65535 bytes
00:27:09.597408 IP 192.168.10.163.53624 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:09.868496 IP 192.168.10.163.53624 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:10.139612 IP 192.168.10.163.53624 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:12.038007 IP 192.168.10.163.41865 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:12.309160 IP 192.168.10.163.41865 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:12.580556 IP 192.168.10.163.41865 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:13.501035 ARP, Reply 192.168.10.164 is-at 64:a7:69:e2:78:20, length 28
00:27:14.478981 IP 192.168.10.163.54671 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:14.750114 IP 192.168.10.163.54671 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:15.021351 IP 192.168.10.163.54671 > 10.6.0.63.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
00:27:28.554010 ARP, Reply 192.168.10.164 is-at 64:a7:69:e2:78:20, length 28
00:27:34.568594 IP 192.168.10.163.5353 > 224.0.0.251.5353: 0 PTR (QM)? _daap._tcp.local. (34)
00:27:43.709400 ARP, Reply 192.168.10.164 is-at 64:a7:69:e2:78:20, length 28
^C
13 packets captured
13 packets received by filter
0 packets dropped by kernel

mat@ares:/var$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:21:5d:09:63:38
          inet addr:192.168.10.163 Bcast:192.168.10.255 Mask:255.255.255.0
          inet6 addr: fe80::221:5dff:fe09:6338/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:2292003 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1734333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2074865187 (2.0 GB) TX bytes:382780967 (382.7 MB)

It's clear that Nautilus is trying to do a broadcast on another and of course it won't be able to find any resources this way.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nautilus 1:2.32.2.1-0ubuntu13
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Sun Jul 17 00:56:47 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413.1)
ProcEnviron:
 LANGUAGE=fr_FR:en
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthieu Patou (mat-matws) wrote :
affects: nautilus (Ubuntu) → gvfs (Ubuntu)
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Can you still reproduce this issue on 12.04 or better yet on 13.10/14.04?

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.