
Re: Execute WOL to start external NAS
Thanks mikka, it worked like a charm, after 1 hour of messing around
I had some problems deleting the font ARIALUNI.TTF (I think because it is on the read-only filesystem squashfs). I used your "font.sh" script, but that resulted in an error when trying to copy the download font over the existing one.
After all I needed no extra free space. For people who want to achieve the same, I used the following steps:
- Login to the POHD using putyy(telnet)
- Make sure you log in as user root
- Goto /usr/local/etc (thats were I had some free space) with the command:
- Download busybox 2 using the command:
(remember to remove the _ between w and get)
- Make sure it's executable with the command:
Quote:
chmod u+x busybox2
- Add the ether-wake command to, I think some kind of startup script, /usr/local/etc/rcS, using the following command:
Quote:
echo "/usr/local/etc/busybox2 ether-wake <MAC ADDRESS OF SERVER TO BE STARTED>" >> /usr/local/etc/rcS
- Check if the command is stored in the rcS file, using the command cat /usr/local/etc/rcS. You should something like this:
Quote:
/usr/local/etc/busybox2 ether-wake 0:01:02:03:04:05
- Shutdown POHD
- Shutdown your server, WOL should be active
- Start POHD, and the server should be activated with the magic packet sent. it's magic
Hope this helps others with this problem