[Pkg-utopia-maintainers] Bug#514943: network-manager: wired connection remains with wireless associated and no cable
Drew Parsons
dparsons at emerall.com
Thu Feb 12 08:29:35 UTC 2009
On Thu, 2009-02-12 at 08:57 +0100, Michael Biebl wrote:
> NM checks
>
> /sys/class/net/*/carrier
>
> What does that say [1] one your system, when eth0 is connected/disconnected?
>
Currently, with ethernet cable plugged in,
$ cat /sys/class/net/eth0/carrier
1
Pull out the cable,
$ cat /sys/class/net/eth0/carrier
0
At this point I can make wlan0 connect to a nearby wifi network, so
$ cat /sys/class/net/wlan0/carrier
1
Then plug the cable back in, nm automatically resets eth0 (overriding
the wifi network I just activated, i.e. resetting eth0 gateway as
default), and eth0/carrier=1 again.
At this point the behaviour looks normal. I'll run a suspend-to-ram
with the cable plugged in, pull the cable out when suspended, then
resume. After that, nm picks up the local wifi network, and the wired
networks are greyed out.
So it looks like it's behaving correctly right at the moment. The
"(eth0): carrier now ON" is now not appearing (until I plug in the
cable). I'll check again later when I get home to see if the wrong
behaviour returns.
Thanks for your help checking it.
Drew
More information about the Pkg-utopia-maintainers
mailing list