• 1
    Step 1

    Setup USB storage

    Because of the Omega's limited storage, we'll need an external drive in which to place our downloads. Follow these commands on your Omega Console to mount the drive.

    1-A) Plug in the USB Storage

    1-B) Usually, it will get mapped to the sda1 device. Double check the mapping:

    ls /dev/sda*

    1-C) Create a mount point directory

    mkdir /mnt/sda1
    1-D) Mount the drive, using 'mount <device> <mount point>'. For example:
    mount /dev/sda1 /mnt/sda1/

    The storage can now be accessed at /mnt/sda1

    1-E) To safely remove the drive, use 'umount <mount point>'. For example:

    umount /mnt/sda1/

    For the purposes of this guide, let's assume the USB device was mounted to /mnt/sda1

    For more on using USB storage (including automated mounting):
    https://wiki.onion.io/Tutorials/Using-USB-Storage

  • 2
    Step 2

    Setup Swap File

    Because of the Omega's limited memory, we need to setup a swap file on the USB storage to extend the available memory. Follow these commands on your Omega Console to setup the swap file.

    2-A) Install the required package

    opkg update
    opkg install swap-utils
    2-B) Use the dd utility to create the file that will become the swap

    file.

    The dd utility can be dangerous if used incorrectly

    dd if=/dev/zero of=/mnt/sda1/swap.page bs=1M count=256

    2-C) Setup the swap file as a swap area

    mkswap /mnt/sda1/swap.page
    Running the free command will show you that nothing has changed yet

    2-D) Activate the swap file

    swapon /mnt/sda1/swap.page
    Running the free command again will show that the swap row is populated

    For more on using swap files (including automated swapping):
    https://wiki.onion.io/Tutorials/Extending-RAM-with-a-swap-file

  • 3
    Step 3

    Install Transmission

    We'll need a client to download files via BitTorrent; Transmission works well on OpenWRT so let's install the daemon as well as the web interface packages:

    opkg update
    opkg install transmission-daemon transmission-web