Onion BitTorrent Machine
Before you start, make sure your Omega is connected to a WiFi network and that it has internet access. Network connectivity is essential since we’ll be controlling torrent downloads using the browser on your computer!
Ok, to store the downloaded content, you’ll need to use USB storage or an SD card. If you’re using the Omega2, you might find it necessary to extend the Omega’s available memory with a swap file, the Omega2+ should have enough on-board memory to run Transmission.
Now, install Transmission:
opkg update opkg install transmission-daemon-openssl transmission-web
Let’s create the directories that will hold our downloads on the external storage:
mkdir -p /tmp/mounts/USB-A1/downloads/
Now to configure Transmission:
uci set [email protected].
enabled='1' uci set [email protected]. config_dir='/etc/transmission' uci set [email protected]. download_dir='/tmp/mounts/USB- A1/downloads' uci set [email protected]. download_dir='/tmp/mounts/USB- A1/downloads/incomplete' uci set [email protected]. rpc_whitelist_enabled='false'
Save the changes to the configuration:
uci commit transmission
Enable the daemon to start when the Omega boots and start it up right now with:
/etc/init.d/transmission enable /etc/init.d/transmission start
To access the Transmission web interface, open your browser and navigate to http://omega-ABCD.local:9091/ where ABCD are the last four bolded digits on the sticker on the front of your Omega.
And you’re all set to download using BitTorrent! Remember, Onion recommends using your powers for good, so make sure the content you’re downloading is legally distributable!