Skip to main content


Showing posts from March, 2022

Creating a low-power, secure torrent box based on a Raspberry Pi 3 Model A+, Samba, Deluge and PIA OpenVPN

Install the Raspberry Pi OS Lite 64-bit (2022-04-04) to a SanDisk Ultra 200 GB micro SD card. Create a new file called wpa_supplicant.conf in the root of the first partition of the micro SD card and add the text shown below. Adjust the ssid and psk as needed. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=SE network={ ssid="NAME" psk="PASSWORD" } In the same directory, create a new file called userconf and add the text shown below. pi:$6$oLZglrx6toCFaoR/$06EmZ9/BN2tAjU5kbuxUxU6W.se66etapF0b9bftdw/LDd1yncSDhWPM2eZCOIEgH1iAn4ygozxNPbHc3Easg1 Still in the same directory, create an empty file called ssh . In the second partition, open the files hostname and hosts in the directory /etc/ and replace raspberrypi by micro (the new hostname). Comment all the lines related to IPv6. In the same directory, add the line net.ipv6.conf.all.disable_ipv6 = 1 at the end of the file sysctl.conf . Still in the same dire