I can't set wake on g in my nic at startup - Printable Version +- Maui Forums (https://forums.mauilinux.org) +-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74) +--- Forum: Plasma Desktop (https://forums.mauilinux.org/forumdisplay.php?fid=84) +--- Thread: I can't set wake on g in my nic at startup (/showthread.php?tid=24059) |
I can't set wake on g in my nic at startup - wonder - 27th October 2016 Hi. If type: sudo ethtool enp4s0 I have this: Quote:Settings for enp4s0:My nic support wake on g, but by default are in "d". I have configured BIOS for wake up. If I type: sudo -s ethtool enp4s0 wol g Is set to g. But when restart computer again, is set to d. In my older distro (same tower and same nic) by default are in g. I try differents methods for set to g in startup, but not works, for example, this: http://askubuntu.com/questions/47918/how-can-i-enable-wake-on-lan-permanently https://gist.github.com/jevinskie/721245 http://kodi.wiki/view/HOW-TO:Set_up_Wake-on-LAN_for_Ubuntu#cite_note-0 But I can't set defatult wake on g. Regards. RE: I can't set wake on g in my nic at startup - wonder - 28th October 2016 I can solved with this: 1.- sudo nano /etc/init.d/wakeup.sh 2.- #!/bin/bash ethtool -s eth0 wol g 3.-sudo chmod a+x /etc/init.d/wakeup.sh 4.-sudo update-rc.d wakeup.sh defaults Note: eth0 = Name of the nic, in my case: enp4s0 |