Start and shutdown HTPC with iPhone (or other device)
August 27, 2010 Leave a comment
First enable WOL (Wake On Lan) in the Bios, in the Asus AT5IONT-I BIOS it’s called PME instead of WOL.
WOL works by sending a special IP packet to the MAC address of the HTPC.
To find your MAC address, SSH into the HTPC and enter the command ‘ifconfig’.
The app I’m using on my iPhone 4 is called iRPM (Remote Power Management).
Open the app and add a client fill in it’s IP address, mac address, port is not needed.
Test!
For the shutdown part you’ll need to install telnet on XBMC Live (SSH is not supported by the app).
SSH into XBMC Live and enter the following commands:
$ sudo apt-get install telnetd
$ sudo /etc/init.d/openbsd-inetd restart
Enable shutdown config in iRPM and enter your XBMC’s username/password.
I used custom type with command “sudo shutdown -h now”. I don’t know if the default command works.
That’s it now we can boot the HTPC with an iPhone and shut it down too. Awesome!



