raspi: mount usb drives on bootup

to auto mount usb drives on bootup one can simply add some lines to the /etc/fstab file:

UUID=e0a4c8da-67d1-423d-939c-4dc8249079f0 /mnt/small btrfs rw,defaults,nofail 0 0

you need to change the following:

  • the UUID you can find out through: ls -l /dev/disk/by-uuid/
  • change the mount point
  • change the file system
  • pay attention: the nofail option will mount the drive only if it is plugged in

raspi: install torrent server

the raspberry pi is a perfect device for a 24/7 torrent server. one can install the torrent server: deluge.

i followed this guide (howtogeek.com) to install the deluge server, accessible via deluge-console and deluge thin-client (remote).

in short:

sudo apt install deluged deluge-console
deluged
sudo pkill deluged
nano ~/.config/deluge/auth
deluged
deluge-console: {
config -s allow_remote True
config allow_remote
exit }
sudo pkill deluged
deluged

Start deluge daemon at bootup (follow this guide: link):

  1. remove script from /etc/init.d/deluge…
  2. create systemctl unit
  3. enable unit file