Compiling rtorrent from source on Ubuntu Maverick

Download and compile libtorrent

sudo wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz
sudo tar zxfv libtorrent-0.12.6.tar.gz
cd libtorrent-0.12.6
sudo ./configure
sudo make
sudo make install

Download and compile xmlrpc-c

sudo svn checkout http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c
cd xmlrpc-c/
sudo ./configure
sudo make
sudo make install

Download and compile rtorrent

sudo wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz
sudo tar zxfv rtorrent-0.8.6.tar.gz
cd rtorrent-0.8.6
sudo ./configure --with-xmlrpc-c
sudo make
sudo make install

OpenWRT Wake-On-Lan with etherwake

First install package “etherwake” with command:

opkg install etherwake

You have to find out what is the host MAC address you want to wake up. Look for it in:

/etc/config/dhcp

Then use etherwake to wake the host f.e.:

etherwake -D -b -i br-lan 00:1d:60:56:5c:4e