Installation

There are three different ways to install TorBox on a Raspberry Pi 3 (Model B / Model B+) or a Raspberry Pi 4 Model B running Raspberry Pi OS Lite:

There are additional installation scripts for other systems, which might run on other hardware platforms, too. However, TorBox’s implementation on other systems and hardware is experimental because we do not have the resources to check all details on all different installations. You can help us to with reporting errors back to us.

• • •

Using our image file on a Raspberry Pi (recommended!)

This is the recommended and probably easiest way to install TorBox on a Raspberry Pi:

  1. Download the latest TorBox image file (TorBox v.0.4.1, based on Raspberry Pi OS “Buster” Lite with the Linux Kernel 5.10.17 and Tor version 0.4.5.8; 940MB) and verify the integrity of the downloaded file.
  2. Transfer the downloaded image file on an SD Card; for example, with Etcher. TorBox needs at least a 4 GB SD Card, but at least 8 GB are recommended.
  3. Put the SD Card into your Raspberry Pi 3 (Model B / Model B+) or Raspberry Pi 4 Model B , link it with an internet router using an ethernet cable, or place a USB WiFi adapter in one of the USB ports to use an already existing WiFi. Afterward, start the Raspberry Pi. During the start, the system on the SD card automatically expands over the entire free partition – user interaction, screen, and peripherals are not required.
  4. After 2-3 minutes, when the green LED stops to flicker, connect your client to the new WiFi “TorBox041” (password: CHANGE-IT). Then use an SSH-client to access 192.168.42.1 (username: torbox / password: CHANGE-IT). Now, you should see the TorBox main menu. Choose the preferred connection setup and change the default passwords as soon as possible (the associated entries are placed in the configuration sub-menu). For a connection via cable, see here.

• • •

Using our installation script on a Raspberry Pi with Raspberry Pi OS Lite

This is probably the most efficient way to install TorBox. In addition, with that method, you will have the latest version of the base system and the TorBox menu and don’t have to wait for the next release of the image file. Be warned: Either it works, or chaos is perfect. 😬 As for now, it has been working quite reliable. 😌

  1. Download the latest version of the Raspberry Pi OS Lite (about 442 MB)
  2. Transfer the downloaded Raspberry Pi OS Lite image on an SD Card; for example, with Etcher. TorBox needs at least a 4 GB SD Card, but at least 8 GB are recommended.
  3. Log into your newly set up system and, if needed, configure it with “sudo raspi-config”.
    Important
    – You need to have a stable Internet connection. This is necessary to ensure that the
    installation script runs smoothly.
  4. Download and run the script (option –select-torbox let you select the tor version to be installed):
cd
wget https://raw.githubusercontent.com/radio24/TorBox/master/install/run_install.sh
chmod a+x run_install.sh  
./run_install.sh 
  1. Restart the system; connect your client to the new WiFi “TorBox041” (password: CHANGE-IT). Then use an SSH-client to access 192.168.42.1 (username: torbox / password: CHANGE-IT). Now, you should see the TorBox main menu. Choose the preferred connection setup and change the default passwords as soon as possible (the associated entries are placed in the configuration sub-menu). For a connection via cable, see here.

• • •

Installation from scratch on a Raspberry Pi with Raspberry Pi OS Lite

This is probably the safest, however, also the most conplicated and time-consuming way to install TorBox. Technically, it doesn’t differ from the installation with the installation script — the only difference is that you write the necessary configuration files by hand.
Form more information, go to our detailed manual.

• • •

EXPERIMENTAL: Using scripts for other systems and hardware platforms
Operating SystemOS imageScriptTested onRemarks & Restrictions
Debian 10 (Buster) / Debian 11 (Bullseye)Raspberry Pi Debian Imagesrun_install_on_debian.shRaspberry Pi 4➔ see Footnotes 1
Ubuntu Server 20.04.2 LTS / 21.04 Ubuntu on a Raspberry Pirun_install_on_ubuntu.shRaspberry Pi 4 / 3B+➔ see Footnotes 2

To install TorBox on another system or hardware, download the OS image, transfer it to an SD Card, log into your newly set up system, download and run the script with the following command (option –select-torbox let you select the tor version to be installed):

cd 
wget https://raw.githubusercontent.com/radio24/TorBox/master/install/<script>
chmod a+x <script>
./<script>

After restarting your system, connect your client to the new WiFi “TorBox041” (password: CHANGE-IT). Then use an SSH-client to access 192.168.42.1 (username: torbox / password: CHANGE-IT). Now, you should see the TorBox main menu. Choose the preferred connection setup and change the default passwords as soon as possible (the associated entries are placed in the configuration sub-menu). For a connection via cable, see here.

Footnotes to Remarks & Restrictions

Footnotes 1 regarding Debian 10 (Buster):

  • We tested it only on a Raspberry Pi 4, but it should also work on a Raspberry Pi 3B+ using the correct image.
  • Debian 10 (Buster) may more cumbersome than the Raspberry Pi OS or the Debian 11 (Bullseye) installation. Especially booting up and (re-)configuring the network may need noticeable more time.
  • For some unknown reason, Rasperry LED’s are off by default, but are very easy to turn on via the /sys pseudo-filesystem. See here, how to turn the LED’s on.
  • Some USB WiFi adapters and hat/shields may not work.

Footnotes 2 regarding Ubuntu Server 20.04 LTS / 21.04:

  • The kernel of Ubuntu Server 20.04 LTS and Ubuntu Server 20.10 is older than the ones in Debian or Raspberry Pi OS.
  • Ubuntu’s image file and also the space used by the system after the installation takes about 30% more space than Debian or Raspberry Pi OS. For that reason, a SDCard of 8 GB is the minimum requirement to install Ubuntu.
  • After starting a freshly installed system, you might wait one or two minutes until you can log in with the name “ubuntu” and the password: “ubuntu”.
  • It seems that Ubuntu’s support for network drivers is better than on Debian or Raspberry Pi OS.
  • Especially at the beginning, after a freshly installed TorBox, sometimes, the user is asked to type his password.