I just wanted to post this information to save others from some of the frustration that this bug has brought me.
Who this applies to
If you're dual booting Windows and using a newer Linux distro, specifically one with kernel 188.8.131.52 or newer and are having problems getting your Realtek 8139/8168/8169 card to function, then this thread's for you.
Unable to connect using a Realtek 8139/8168/8169 (possibly others). In my case, ifconfig and ethtool showed that the card was present, enabled, and that a link was detected, but I had no link lights and obviously no connectivity.
Something got broken in kernel 184.108.40.206. The problem, according to the Gentoo Wiki
and the Ubuntu Forums
, is that:
As of 27 May 2007, in kernel 220.127.116.11, you may experience the issues with the r8169 driver if you dual boot Windows on some systems. Windows by defaults disables the NIC at Windows shutdown time in order to disable Wake-On-Lan, and this NIC will remain disabled until the next time Windows turns it on. The r8169 driver in the kernel does not know how to turn the NIC on from this disabled state; therefore, the device will not respond, even if the driver loads and reports that the device is up. To work around this problem, simply enable the feature "Wake-on-lan after shutdown." You can set this options through Windows' device manager.
- Boot up Windows
- Right click on My Computer
- Click on Properties -> Hardware -> Device Manager
- Expand your network card section and double click on your Realtek network card
- Set "Wake-on-lan after shutdown" to enabled
For my part, I've confirmed that this works for Ubuntu 7.10, but it should fix the issue for any distro with a newer kernel such as openSUSE 10.3.
Edit: according to the Gentoo wiki (if I ever learned how to read!), this may be an issue with older kernels as well -- all the way back down to 18.104.22.168. Yuck.