GNOME Bugzilla – Bug 589092
doesn't watch for default route changes and alter the UI
Last modified: 2013-05-11 09:07:28 UTC
Please describe the problem: When I change the default route manually on the command-line, NetworkManager doesn't notice this and change the UI accordingly. I change the default route manually because NM chooses the wrong one: http://bugzilla.gnome.org/show_bug.cgi?id=589040 Before I change the default route from wired to wireless, NM shows the wired connection and afterwards it does the same. NM should listen to the kernel's (Linux/etc) network events, notice when things change and update the UI accordingly. NM should work well with the rest of the stack, notice when things are changing and accept that it is part of a larger ecosystem and that user requirements are varied. The architecture of netconf allows this, you might want to re-architect to match that a bit closer: http://netconf.alioth.debian.org/ Steps to reproduce: 1. Connect to wireless 2. Plugin a network cable 3. Switch the default route manually 4. Notice NM doesn't listen to Linux kernel network events (ip monitor) Actual results: Status icon stays as the wired icon Expected results: Status icon switches to wireless icon Does this happen every time? Yes Other information: Debian squeeze with NM 0.7.1
NM currently doesn't pay attention to the manual changes of the default gateway. It definitely should do it and at least log the changes. Whether the GUI and CLI tools should reflect the manually set default route is another question.
(In reply to comment #1) > NM currently doesn't pay attention to the manual changes of the default > gateway. It definitely should do it and at least log the changes. This part is already done by nm-platform in the master branch.(In reply to > Whether the GUI and CLI tools should reflect the manually set default route is > another question. GUI/CLI can only reasonably reflect this if we publish the the IP configuration for the devices.
Consolidating... *** This bug has been marked as a duplicate of bug 682872 ***