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/incomplete
Now to configure Transmission:
uci set transmission.@transmission[0].enabled='1' uci set transmission.@transmission[0]. config_dir='/etc/transmission' uci set transmission.@transmission[0]. download_dir='/tmp/mounts/USB- A1/downloads' uci set transmission.@transmission[0]. download_dir='/tmp/mounts/USB- A1/downloads/incomplete' uci set transmission.@transmission[0]. 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!