Showing results for 
Search instead for 
Do you mean 
Reply
Honored Contributor
nfodiz
Posts: 2,263
Registered: ‎11-20-2010

[GUIDE] Install wakelan (WOL) on MBL

[ Edited ]

Wake-on-LAN (WOL) is an ethernet computer networking standard that allows a computer to be turned on or awakened by a network message.

 

Make sure you HARDEN your SSH password before opening your MBL SSH port to the internet

MyBookLive:~# passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Connect to the MBL with PuTTY or Terminal and install optware

wget http://mybookworld.wikidot.com/local--files/optware/setup-mybooklive.sh
sh setup-mybooklive.sh

Issue the following commands to ensure that we can use the command "ipkg" from any directory

echo "export PATH=$PATH:/opt/bin:/opt/sbin" >> /root/.bashrc
echo "export PATH=$PATH:/opt/bin:/opt/sbin" >> /etc/profile

Close PuTTY or Terminal (Very Important)

Open PuTTY or Terminal and connect to the MBL again

 

Install wakelan

ipkg update
ipkg install wakelan

 Create a script that will turn on or wake up your machine

nano /usr/local/sbin/wake

Example script (Make YOUR needed changes and save...See below)

wakelan -b 192.168.1.255 -m 00E018AAFDE4

If your network is using a different private ip address such as 10.0.0. then use 10.0.0.255 instead

Replace 00E018AAFDE4 with the MAC address from YOUR computers NIC

 

Hit control and o

Hit enter

Hit control and x

This will save your edited file

 

Change the scripts permissions

chmod 755 /usr/local/sbin/wake

Shut your desktop down and use a free program such as vSSH Lite for IOS and SSH into your MBL

 

Login and issue

/usr/local/sbin/wake

Your computer should boot up!

 

To be able to SSH in from outside your home network you will need  to login to your router and forward port 22 to your MBL's IP address

 

DONE!

 

 

 

Click the Kudos star to say thank you for helpful posts and be sure to come back and 'Accept as Solution' under options for the post that solved your issue.
Regular Advisor
Timmy1024
Posts: 138
Registered: ‎01-19-2013
0

Re: [GUIDE] Install wakelan (WOL) on MBL

Great as usual nfo, keep these great guides coming! :smileyhappy:

Frequent Advisor
SultanBrunei
Posts: 79
Registered: ‎02-19-2013
0

Re: [GUIDE] Install wakelan (WOL) on MBL

Would installing this enable me to wake my computer (within the same wired-wireless network) from my iPad ?

Honored Contributor
nfodiz
Posts: 2,263
Registered: ‎11-20-2010
0

Re: [GUIDE] Install wakelan (WOL) on MBL

[ Edited ]

Yep, you would just need to download a SSH app for IOS

I use the FREE vSSH Lite

I created a macro in the app so I can execute the script to bootup my Desktop PC as soon as I login to the MBL

Click the Kudos star to say thank you for helpful posts and be sure to come back and 'Accept as Solution' under options for the post that solved your issue.
Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2014 Western Digital Technologies, Inc. All rights reserved. | Trademarks | Privacy | Community Terms of Service | Site Terms of Use | Copyright | Contact WD