Re: Detecting wired network on resume with 8139

On Wed, 2006-02-08 at 16:27 +0000, James Ettle wrote:
> Something I've noticed is that if I'm on a wireless network (ipw2200),
> suspend, move outside the range of that network, plug in to wired, and
> then resume, NM doesn't seem to pick up on the connection. This is with
> the 8139too driver on an RTL-8100B/8139D.

Immediately after resuming, can you:

cat /sys/class/net/eth0/carrier

(replace eth0 with the interface name of your 8139).  This tells us what
netlink thinks the current carrier state of the card is (ie, whether it
thinks there's a cable or not).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]