Launchpad
 
Overview / Code / Bugs / Blueprints / Translations / Answers

Bug #262152 reported by Colin Watson on 2008-08-28 (Activity log)

brings up both wired and wireless interfaces; hard to pick just one through the UI

Mark as duplicate (This bug has 1 duplicate) Convert to a question
Affects Status Importance Assigned to Milestone

You are not the bug assignee nor the maintainer of network-manager (Ubuntu), and therefore cannot edit this bug's status.

Filed here by: Colin Watson
When: 2008-08-28
Completed: 2009-03-23
Medium Ubuntu ubuntu-8.10-beta
Nominated for Intrepid by Tim Bartley
Nominated for Jaunty by William Loucks

Binary package hint: network-manager

network-manager 0.7 seems to like to bring up both my wired and wireless interfaces at the same time when possible. (Neither is configured in /etc/network/interfaces.) Unfortunately, if you do that on my network then you get what might charitably be described as random routing. I spent quite a while yesterday trying to figure out why my uploads kept on failing part-way through.

As far as I can see, the only way to stop it from doing this through the UI is to disable wireless altogether, which I don't want to do. Selecting the wired interface in the applet's left-click menu doesn't disable wireless (i.e. it now seems to be a multiselect widget in some respects). network-manager 0.6 used to roam quite smoothly between wired and wireless when I inserted or removed the Ethernet cable, which was ideal. Now plugging in the Ethernet cable leaves wireless still running. For the meantime I'm running 'sudo ifconfig eth1 down' when I don't need wireless and 'sudo ifconfig eth1 up' when I do, but of course this is far from optimal.

Tags:
[image]

Link a related branch

Alexander Sack wrote on 2008-09-04: (permalink)

quite annoying, i agree.

Changed in network-manager:
importance: Undecided → Medium
milestone: none → ubuntu-8.10-beta
status: New → Triaged
Alexander Sack wrote on 2008-09-04: (permalink)

is your wireless connection marked as "connect automatically" in connection-editor?

Colin Watson wrote on 2008-09-10: (permalink)
two-networks (2.8 KiB, text/plain)

Yes, it is, because I want network-manager to connect to wireless automatically when I unplug the Ethernet cable.

ifconfig and route -n are attached. eth0 is Ethernet, eth1 is wireless. Note that network-manager has given both eth0 and eth1 (excluding the link-local route) the same metric.

Michael Milligan wrote on 2008-10-01: (permalink)

This is a regression from previous behavior, which I got used to as the reporter mentions. Under Hardy/Gutsy, you only got one nm-managed interface brought up out of several available (wired and wireless), with wired preferred. When you unplug wired, it brings up wireless.

So, it's doing it for me too, it will connect all interfaces that are up at the same time if they all are checked as "connect automatically". That seems to be the default configuration after upgrade.

This just doesn't work for me as my wired and wireless networks are bridged and I have DHCP setup to give all MAC address (both wired ports or the wireless) on each laptop the same IP address.

Dave Murphy wrote on 2008-10-10: (permalink)

An additional problem is that if both wired and wireless are enabled, the icon only indicates the status of the wired network, although I was connected to a (very weak) wireless connection.

Luke12 wrote on 2008-10-10: (permalink)

I think bug 278485 is related. NM seems in general unable to handle well more than one connection at a time.

Chris Jones wrote on 2008-10-12: (permalink)

I notice the new Eject icons in nautilus' sidebar for removable devices and wonder if network manager's connection list could have something similar.

Dmik wrote on 2008-11-10: (permalink)

In many cases it's not so much annoying as wasting resources (there is absolutely no point to have two active connections to the same router). I think that the default (one active connection at a time, wired preferred) should be restored. Of course, there are situations when several connections should be active but for these not-so-usual cases a more sophisticated setup is necessary (e.g. order of precedence, what can work in parallel with with what and so on).

If someone knows a simple way to restore the old behavior, please share.

William Loucks wrote on 2008-12-06: (permalink)

@ Dmik: Simple is a relative word, but here goes: The first workaround I did to restore 0.6 behavior was to add Hardy's repositories back into software sources, then use aptitude to downgrade all five related packages to 0.6.x and mark them Held at the older version. That worked fine, but it was annoying to have update-manager and synaptic keep telling me there were upgrades available to 0.7. Once I realized how many 0.7 bugs have been reported, and thus how long it is likely to be before I would want to try an allegedly fixed 0.7, I decided to just get the five binary .deb packages, unpack them, change the version numbers to 0.7+0.6.x, re-deb them, and install those "newer" packages. That worked fine too, but of course will be a problem as soon as 0.7 gets into a high enough version to supersede my 0.7+0.6.x versions. My full rant page on 0.7 vs 0.6 is http://www2.nau.edu/wal2/NetworkManager/Readme.html . Admittedly, my main problems were with the pptp plugin, but I confirm the specific issue(s) addressed by Bug 262152. There are dozens upon dozens of bugs reported for 0.7, some of which are being actively worked upon, some not, and some not confirmed. I wonder whether, for the bugs that ARE being worked on, is all of that work being coordinated and merged. I wonder if it is possible, and whether it would make any sense, to create a much more inclusive bug for 0.7 and start marking the dozens upon dozens of existing bugs as duplicates of the new all-inclusive bug. Each of those other bugs seems to be nibbling around the edges of the much larger problem. I wonder how much QA was done on 0.7 before it was decided to put it, rather than 0.6, into 8.10 Intrepid and 9.04 Jaunty.

jasonwc wrote on 2008-12-13: (permalink)

William,

There's a simpler solution.

apt-get install wajig

wajig hold package

William Loucks wrote on 2008-12-21: (permalink)

@jasonwc:
wajig worked. The held state is honoured by both update-manager and synaptic, which was exactly what I was looking for. And wajig is a very cool utility; I'll be installing it on ALL of my machines, whether I need to hold packages at specific versions or not.

I've updated my pptp rant documentation at:
http://www2.nau.edu/wal2/NetworkManager/Readme.html

gpothier wrote on 2009-01-14: (permalink)

There is a similar report of Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=454955
There the devs say it is intended behavior for NM to connect to all networks that are marked "auto connect".
However, I think there should be an option to only allow one connection at a time, with some priorities (eg. wired has more priority than wireless). There are clearly situations were you do not want to have two connections at the same time, like, eg., the one mentioned by Michael Milligan above. Moreover there is a cognitive issue because nm-applet doesn't seem to know what icon to display: a strenght meter or a wire; sometimes it is one and sometimes the other.

Nicholas J Kreucher wrote on 2009-02-04: (permalink)

Yes, and in some cases it's the policy of the network administrator to strictly forbid connecting to both wired and wireless in the same building. If they are different subnets, you have the potential to act as a network bridge (yes I know this takes effort, but the potential is still there). We had several cases of folks getting their MAC's quickly banned when a dual connection was detected.

I understand the NM dev's position on the "auto connect"; that behavior was probably a major chunk of work (and is great!). However, we now have this regression. A quick solution would be to add an option to each connection to say something like "disable this connection when another is active"; then tick it for your wireless connection(s). Or, the reverse might make more sense: "disconnect all other connections when this is active", and tick it for wired. A more complete solution would be to have pools of connections, or locations, and add whatever connections you'd like active in the pool. Then, you connect to pools/locations instead of individual connections. Bonus, a hook could be provided to execute custom scripts on activation of each pool/location.

Maybe someone with time (i wish that was me) can patch NM, then Ubuntu might accept it and we can close this bug.

aussiebuddha wrote on 2009-02-25: (permalink)

This fix didnt go in intrepid right?? when will this be fixed?

Alexander Sack wrote on 2009-03-23: (permalink)

the routing issues with multiple devices should be fixed in jaunty.

Changed in network-manager (Ubuntu):
status: Triaged → Won't Fix
David S. wrote on 2009-05-30: (permalink)

This bug is still present in Jaunty.

Another issue in Jaunty is that there is an occasion where Jaunty will not
recognize a cross over cable.

On Fri, May 29, 2009 at 11:07 PM, David S. <email address hidden> wrote:

> This bug is still present in Jaunty.
>
> --
> brings up both wired and wireless interfaces; hard to pick just one through
> the UI
> https://bugs.launchpad.net/bugs/262152
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “network-manager†source package in Ubuntu: Won't Fix
>
> Bug description:
> Binary package hint: network-manager
>
> network-manager 0.7 seems to like to bring up both my wired and wireless
> interfaces at the same time when possible. (Neither is configured in
> /etc/network/
interfaces.) Unfortunately, if you do that on my network then
> you get what might charitably be described as random routing. I spent quite
> a while yesterday trying to figure out why my uploads kept on failing
> part-way through.
>
> As far as I can see, the only way to stop it from doing this through the UI
> is to disable wireless altogether, which I don't want to do. Selecting the
> wired interface in the applet's left-click menu doesn't disable wireless
> (i.e. it now seems to be a multiselect widget in some respects).
> network-manager 0.6 used to roam quite smoothly between wired and wireless
> when I inserted or removed the Ethernet cable, which was ideal. Now plugging
> in the Ethernet cable leaves wireless still running. For the meantime I'm
> running 'sudo ifconfig eth1 down' when I don't need wireless and 'sudo
> ifconfig eth1 up' when I do, but of course this is far from optimal.
>

To post a comment you must log in.

Duplicates of this bug

Bug attachments

Remote bug watches

redhat-bugs #454955
[CLOSED NOTABUG]  [edit]

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


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser
Mobilytics