WOL not working after reboot - a fix
Posted: Sat Oct 22, 2011 9:29 am
I haven't seen a lot of people having problems with WOL, so maybe this was unique to me. I'm going to post it just in case it might help someone.
I made the appropriate settings in the BIOS and then followed the Amahi WOL Wiki. I installed ethtool and issuedThis enabled WOL, it would work once and only once.
WOL would not work after the machine had been started/shut down. A search (on the internet, not here) reveals dozens of posts about the issue, with the usual variety of fixes and non-fixes. I finally narrowed things down and found a solution I'm happy with.
As root, edit /etc/rc.local, add the following line and save the file.
Reissue
Issue the shutdown command of your choice and test.
I've shutdown from the command line with shutdown -h now, with the power button (the options are set for the power button to shutdown) and remotely via vnc and ssh. WOL appears to be working correctly for me, at long last.
I made the appropriate settings in the BIOS and then followed the Amahi WOL Wiki. I installed ethtool and issued
Code: Select all
ethtool -s eth0 wol g
WOL would not work after the machine had been started/shut down. A search (on the internet, not here) reveals dozens of posts about the issue, with the usual variety of fixes and non-fixes. I finally narrowed things down and found a solution I'm happy with.
As root, edit /etc/rc.local, add the following line and save the file.
Code: Select all
/sbin/ethtool -s eth0 wol g
Code: Select all
ethtool -s eth0 wol g
I've shutdown from the command line with shutdown -h now, with the power button (the options are set for the power button to shutdown) and remotely via vnc and ssh. WOL appears to be working correctly for me, at long last.