November 18, 20232 yr Hello, i'm trying to decide if ill use omv or unraid for my old pc as nas, but i have major problem with unraid and wol after sleep. If i use gui and press sleep button pc go to sleep but i cant get it to start after that sending magic packet. Searching the forum I realized that the problem is with the "g" argument that is not active with the network adapter, my question is how to change it, so that allways there, is there a file that can be modified to enable this. Using this commands over ssh works ethtool -s eth0 wol g echo -n mem > /sys/power/state But not when i use gui button
November 18, 20232 yr Have you seen this FAQ on WOL? https://docs.unraid.net/legacy/FAQ/setup-sleep-and-wake-on-lan/ Look particularly at Point/Step 3. There are instructions on adding ethtool line to the go file....
November 19, 20232 yr Author Solution 13 hours ago, Frank1940 said: Have you seen this FAQ on WOL? https://docs.unraid.net/legacy/FAQ/setup-sleep-and-wake-on-lan/ Look particularly at Point/Step 3. There are instructions on adding ethtool line to the go file.... I have unplug usb drive and open this go file in config folder on another computer and added this to the end of file "ethtool -s eth0 wol g". But after reboot of unraid still my adapter have d argument instad of g only when i like i say manualy ssh to server and i enter above command d is change to g and then i can wol and sleep all day long until next reboot Edit: I manage to fix my problem (or so it seems) by editing file directly on server by ssh-ing to /boot/config/ and using nano to edit go file and add ethtool line but not to the end of file but before "/usr/local/sbin/emhttp &". Before i edited file on another computer using notepad and adding ethtool line to end of file, but when i booted unraid that last line get deleted. Edited November 19, 20232 yr by Doktor-X
November 19, 20232 yr 4 hours ago, Doktor-X said: I manage to fix my problem (or so it seems) by editing file directly on server by ssh-ing to /boot/config/ and using nano to edit go file and add ethtool line but not to the end of file but before "/usr/local/sbin/emhttp &". Before i edited file on another computer using notepad and adding ethtool line to end of file, but when i booted unraid that last line get deleted. The problem is that Linux, Windows and Apple all use different characters for what the <ENTER> key puts in to the file. Unraid uses both Linux and Windows line-endings (or newline) depending on which environment the file was created in. Whenever you edit a Unraid configuration file, you have to use a editor that accounts for that fact and automatically uses the line ending sequence that it finds in that file. (NotePad is not one of those that does!!! Personally, I use the free version of EditPad Lite in place of the Windows default NotePad.) Edited November 19, 20232 yr by Frank1940
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.