< Wake on LAN issues: Speed touch 780
archive
Nuvexport for mythtv>

(blog entry)

Tuesday 7 October 2008

Wake on LAN issues : RT 8111 / 8168B

There is a problem with the drivers that support this chipset

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Linux version 2.6.24-18-386

First, "upgrade" to the realtek supplied module (r8168), and blacklist/remove r8169

This taken from http://ubuntuforums.org/showthread.php?t=723569

1 - Downloaded current driver from :
http://www.realtek.com.tw/downloads/...&GetDown=false
2 - Unpacked on the Desktop
3 - $ sudo mv r8168-8.004.00 /usr/src
4 - $ cd /usr/src/r8168-8.004.00
5 - $ sudo make clean modules
6 - $ sudo make install
7 - $ sudo depmod -a
8 - $ sudo insmod ./src/r8168.ko
9 - $ lsmod -a | grep 8186 #just to check it was there
10 - $ cd /etc/modprobe.d
11 - $ sudo touch blacklist-network
12 - $ vi blacklist-network # add "blacklist r8169" to the file
13 - $ sudo update-initramfs -u #to make the change permanent
14 - reboot
15 - ethtool -i eth0 #to see new driver assigned

Next, modify your start-up scripts so that the interfaces are not shutdown. This is because there is a bug in the shutdown routine of the module which causes the wake-on-lan state to be reset.
- Comment out ifdown where ever it occurs in files in /etc/init.d/networking
- Remove the "-i" option from any calls to halt in /etc/init.d/halt


Powered by
Movable Type 4.12