Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wol after sleep not working

Featured Replies

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

Solved by Doktor-X

  • 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 by Doktor-X

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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.