nautilus use the wrong broadcast address to search for smb servers
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.
00:27:09.868496 IP 192.168.
00:27:10.139612 IP 192.168.
00:27:12.038007 IP 192.168.
00:27:12.309160 IP 192.168.
00:27:12.580556 IP 192.168.
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.
00:27:14.750114 IP 192.168.
00:27:15.021351 IP 192.168.
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.
inet6 addr: fe80::221:
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
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.
ProcVersionSign
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)
affects: | nautilus (Ubuntu) → gvfs (Ubuntu) |
Can you still reproduce this issue on 12.04 or better yet on 13.10/14.04?