Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 13519  / 1 Year ago, fri, april 21, 2023, 11:44:31

I've been struggling with wake-on-lan (WoL) capability of my onboard Realtek RTL8111/8168B ethernet controller (MB: Gigabyte Z68AP-D3) for almost a week now. The main issue seems to be that network card is switched off completely during shutdown (i.e., both link and (act)ivity LED lights are off).



I made an extensive review of similar issues and tried the following (among others):




  • Putting ethtool -s eth0 wol g to rc.local file.

  • Installing latest r8168 driver(s) from Realtek.

  • Putting echo -n "my_lan_id" >> /proc/acpi/wakeup to rc.local file.

  • Switching WOL option on and off in BIOS.



I can find no way to prepare my NIC to work properly so I decided to try with external PCI network card. Please suggest me which network card should I try to enable WoL? (Maybe Intel® PRO/1000 GT Desktop Adapter?)


More From » 12.04

 Answers
6

The LED doesn't necessarily have to be lit for the NIC to be listening to WOL, this is a common misconception. It depends on the NIC. I have a Windows PC where the LAN LED is out even though WOL works for it. Also, looking for attached devices in a router's i/f might not show truthfully if the NIC is listening for WOL or not. I have a PC which is not visible in the router's i/f when in sleep but WOL works. So all in all I don't think there's any good way to check if NIC is listening or completely shut down.



I posted my problem & investigation here, it could be the same problem:
Wake-on-LAN worked 3 times then no more



My main suspicion righ now is that this problem occurs for RTL8111 users with Ubuntu 12.04.



There are also actually different version of RTL8111, who knows if it applies to all, and I don't know what the differences are between 8111C, 8168B, 8169 etc, they use the same driver on Linux. On Realtek's site, the same driver is used for the following NICs:



RTL8111B/RTL8168B/RTL8111/RTL8168 --
RTL8111C/RTL8111CP/RTL8111D(L) --
RTL8168C/RTL8111DP/RTL8111E --
RTL8168E/RTL8111F/RTL8411



and a different driver for the following NICs:



RTL8110SC(L) (RTL8110S/RTL8110SB(L)/RTL8169SB(L)/RTL8169S(L)/RTL8169)



Not allowed to post any more links.. :-/



If you want to buy a different NIC I suggest non-Realtek i e any Intel chip.



Update: I tested some more to understand what the problem is. My main theories for now ar: Ubuntu system shuts down NIC power in standby mode, and/or Realtek RTL8111 driver for 64-bit machines does not work. See link to my thread for details.



BTW I don't get this forum.. Am I posting an answer and the other ones are discussing although not allowed?! And I'm allowed to change the original post but can't add a comment!


[#38570] Saturday, April 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stantildlike

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
;