Turn on Ubuntu server computer remotely?

Caporegime
Joined
7 Apr 2008
Posts
25,228
Location
Lorville - Hurston
Hi i have a ubuntu server computer at home and was wondering if there is a way to turn it on remotely when im away from home?

I set up Wake-On-LAN but that only seems to work when im using another computer connected to the same network as my ubuntu server.

Any ideas on getting WOL working remotely?
 
There's a few freeware apps for this on Windows and Linux but crucially you need to port forward UDP port 7 and 9 on your router if not done already. Ideally you'll have a manual IP address on the Linux box and explicitly forward to that
ahh ok so once i have port forwarded those, is there a client app on both windows, osx and android that can turn my system on?
 
The problem with WOL is that it only works if the PC is shutdown and never powered off. Once Power is removed and returned the WOL won't work. Well the machines I have WOL won't work after power loss! The NIC's forget they are configured to accept WOL packets.

WOL boardcast magic packets are limited to the subnet the machine is sitting on. WOL requires the MAC address and this not routable over the internet. So I'm not sure how you would do it over the Internet, unless you a Raspberry Pi or similar to remotely issue WOL to your machines?

You could use as you say, the switch header on the PC motherboard connected to the GPIO of the Pi to start your machine.

Most PC's BIOS support three return of power options: 1. Stay off, 2. Return to Previous State, 3. Power On.

If want to keep it simple and not use a Pi and relay have look at this http://uk.tp-link.com/products/details/cat-5258_HS100.html, it is on sale for about £30 in the UK. But you would still have to set the BIOS Power On option to 3. Power on after power failure on your machine.
actually no.

on my ubuntu server it remembers the WOL as i have configured it to do so automatically on boot :)

i tested this earlier on by turning it on through WOL, manually turning the machine completely off and then using WOL to turn it back on again
 
The problem with WOL is that it only works if the PC is shutdown and never powered off. Once Power is removed and returned the WOL won't work. Well the machines I have WOL won't work after power loss! The NIC's forget they are configured to accept WOL packets.

WOL boardcast magic packets are limited to the subnet the machine is sitting on. WOL requires the MAC address and this not routable over the internet. So I'm not sure how you would do it over the Internet, unless you a Raspberry Pi or similar to remotely issue WOL to your machines?

You could use as you say, the switch header on the PC motherboard connected to the GPIO of the Pi to start your machine.

Most PC's BIOS support three return of power options: 1. Stay off, 2. Return to Previous State, 3. Power On.

If want to keep it simple and not use a Pi and relay have look at this http://uk.tp-link.com/products/details/cat-5258_HS100.html, it is on sale for about £30 in the UK. But you would still have to set the BIOS Power On option to 3. Power on after power failure on your machine.
Actually raspberry Pi route sounds easy and straightforward to do.
 
Back
Top Bottom