On Tue, 2009-05-05 at 15:41 -0500, Hooker, Jonathan wrote: > Hey, > > > > I am currently having issues with Network Manager. Whenever I unplug > the ethernet cable Network Manager picks up on the fact it is > disconnected. Then it tries to connect to whatever wifi connections I > have setup. This works properly. The issue I am running into is > whenever I plug back in the active network cable Network Manager > continues to see the ethernet card as disconnected. I have to either > restart Network Manager or at least uncheck Enable Networking and > recheck it in the Network Manager menu. Only after I do that does
This says that the carrier detection logic with netlink may not be working properly. Can you check /sys/class/net/<interface>/carrier after you plug it back in, and what that says? If it's '1', then proceed to the next step here. If it's '0', then it's a driver problem in the kernel. If carrier is '1', then it could be a problem with netlink carrier events being delivered to NM. You'll want to poke around in the NM source in src/nm-netlink-monitor.c, in the netlink_object_message_handler() function, and put some debugging prints in there to see what's going on. We're especially interested in the 'flags' variable is at this point, and whether it's IFF_UP or IFF_LOWER_UP or what. Dan > Network Manager reconnect to the active ethernet connection… I have > tried googleing for info on this issue but have come up with nada… Any > help you could provide would be great. Also, I have setup Network > Manager on this machine to use a globally configured network config > file stored in /etc/NetworkManager/system-connections. The config file > is setup properly and it does work just fine. It just seems that NM > stops polling for a change in the eth0 device once I unplug it. > > > > Jonathan Hooker > > Desktop Support – Engineering (Linux) > > Garmin International > > [email protected] > > > > > ______________________________________________________________________ > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient. If you are not the intended > recipient, please be aware that any disclosure, copying, distribution > or use of this e-mail or any attachment is prohibited. If you have > received this e-mail in error, please contact the sender and delete > all copies. > > Thank you for your cooperation > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
