[Bug 1004162] Re: Samba won't change from wired to wireless NIC in same session

Robie Basak 1004162 at bugs.launchpad.net
Thu Jan 17 12:02:52 UTC 2013


Thank you for your report.

Please can you specify exactly what you mean by "...it can no longer
access shares on main."? What method are you using to access shares?
What happens when it works, and what happens when it doesn't?

If you aren't already, then please also use smbclient to try and access
shares (both with -L to see if shares are available, and
//server/sharename to see if you can connect), and report the results.

Please also attach the output of "ip addr" and "ip route" in both the
working and non-working wireless situations.

Finally, please use tcpdump and report the source IP address being used
(or being attempted to be used) to access your share in both the working
and non-working wireless situations.

Once you have reported the answers to these questions, please change the
bug status back to New.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1004162

Title:
  Samba won't change from wired to wireless NIC in same session

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  Home network consists of:

  main - this PC is wired to the router @ 192.168.1.2. Dual boots Win 7
  & Xubuntu 12.04.

  laptop-wired - this is a Lenovo T60 on 192.168.1.3 Dual boots Win 7
  and Xubuntu 12.04. This IP belongs to the wired NIC.

  laptop-wireless - this is the same Lenovo T60 with the wireless NIC on
  192.168.1.4.

  Android phone - sees and connects to all shares... it doesn't care.

  So here's the problem: I've got the laptop and main PC sharing folders
  just fine. Windows shares with Linux and vice-versa, regardless of
  which computer is booted into which OS - as long as the laptop is
  plugged into LAN via the wired NIC. The minute I un-plug it, the
  laptop reverts to the wireless NIC and has access to the router and
  full internet access, but it cannot connect to the shares on main
  regardless of which OS is current running on main.

  As an experiment, I unplugged the laptop and rebooted it. Now it
  connects to the shares on main just fine. If I plug it in, it directs
  all traffic thru the wired NIC (I can tell by the icon in the Xubuntu
  taskbar) and all is well. I then unplug the wired NIC and the wireless
  NIC is able to connect to the same shares just fine.

  Therefore, it seems that the only time I have a problem is if the
  laptop is initially booted with the wired NIC... I then diconnect and
  it then reverts to the wireless NIC... bit it can no longer access
  shares on main.

  However, if I boot the laptop using only the wireless NIC (unplugged)
  it has no problem sharing regardless of which NIC is currently in use.

  To summarize, if the laptop is initially connected via the wired NIC
  and then is unplugged, it has no problem going to the wireless NIC for
  internet access through the router. However, it cannot access shares
  on the main pc (which is always wired). But if I do this the other way
  around... boot with it unplugged... the wireless NIC can access the
  shares. I can then plug in the wired NIC and still access shares. I
  can also unplug and go back to the wireless NIC and still access
  shares.

  This seems to be the only way to guarantee that the laptop can access
  the shares whether it's using the wired or wireless NIC: boot it with
  only the wireless NIC (unplugged).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1004162/+subscriptions




More information about the foundations-bugs mailing list