1aadeals

WOL in DSM 5.0 (N54L)

Recommended Posts

I've upgrade to DSM 5.0 Update 5 using nano boot. For the life of me i can't get WOL to work.

 

Has anyone got any ideas or got it to work? I deeply appreciate any guidance.

Share this post


Link to post
Share on other sites

It's stopped working again :sad:

 

I have to run the command "ethtool - s eth0 wol g" after every boot. Otherwise when the server shutdowns, WOL will not work.

 

Do I need to do anything special to retain settings?

 

Any ideas?

Share this post


Link to post
Share on other sites

Either stick that command in an init script, or add it to the scheduled tasks under xpenology to run at startup.

Share this post


Link to post
Share on other sites
Thx. I'm not running Xpenology. Using DSM straight on HP N54L

Thats Right!

DSM straight on HP N54L is not a XPenology project, its something else. Stand-alone project running Synology DSM on generic, third party hardware. Don't let anybody convince you otherwise even if you are using this site (xpenology.com) to get all the components needed for you DSM installation.

Unbelievable naive self kidding.:mrgreen:

Share this post


Link to post
Share on other sites

It's one known bug (nanoboot series).

 

temp fix code:

 

#!/bin/sh

case $1 in
start)

if [ -f /var/packages/shutdown_script/DSShutdown.sh ]; then
 /var/packages/shutdown_script/DSShutdown.sh &
fi
   ;;
stop)

if [ -f /var/tmp/shut.down ]; then
 rm /var/tmp/shut.down
fi
ifconfig eth0 down

   ;;
*)
   echo "Usage: $0 [start|stop]"
   ;;
esac

 

named as S99ZZZ_Shutdown.sh or anything you like.

and chmod +x, put it to /usr/syno/etc/rc.d

reboot.

Share this post


Link to post
Share on other sites
It's one known bug (nanoboot series).

 

temp fix code:

 

#!/bin/sh

case $1 in
start)

if [ -f /var/packages/shutdown_script/DSShutdown.sh ]; then
 /var/packages/shutdown_script/DSShutdown.sh &
fi
   ;;
stop)

if [ -f /var/tmp/shut.down ]; then
 rm /var/tmp/shut.down
fi
ifconfig eth0 down

   ;;
*)
   echo "Usage: $0 [start|stop]"
   ;;
esac

 

named as S99ZZZ_Shutdown.sh or anything you like.

and chmod +x, put it to /usr/syno/etc/rc.d

reboot.

 

How does it work? the file /var/packages/shutdown_script/DSShutdown.sh doesn't exist, so this script only puts down the ethernet interface.

Share this post


Link to post
Share on other sites

In that guide the rar archive contains only the sh script posted by hawie. There isn't the /var/packages/shutdown_script/DSShutdown.sh file.

Do you have it on your NAS?

Share this post


Link to post
Share on other sites

Update: I've used the script without /var/packages/shutdown_script/DSShutdown.sh file and it works.

I really don't understand how but it works :wink:

Share this post


Link to post
Share on other sites