[Bug 59981] Re: suspend makes network-manager say eth1 is a wired device
Soren Hansen
sh at linux2go.dk
Mon Sep 25 22:35:19 UTC 2006
Just FYI: It indeed WAS a race condition. On suspend, most network
drivers are unloaded, and are then reloaded on resume. When loading the
module, hal is notified of the presence of a new device and quickly add
it to it's database. If it's a network interface, it checks
/proc/net/wireless to see if the interface in question is mentioned
there, and if so, it's marked as being a wifi interface. Apparantly, hal
manages to check the file before the device is added to it, and hence
it's detected as a non-wifi interface. This new detection code checks
for the presence of /sys/class/net/<ifname>/wireless directory, which
seems to be a more robust mechanism for detecting this.
Enjoy
** Changed in: network-manager (Ubuntu)
Sourcepackagename: network-manager => hal
** Bug 55809 has been marked a duplicate of this bug
--
suspend makes network-manager say eth1 is a wired device
https://launchpad.net/bugs/59981
More information about the desktop-bugs
mailing list