How I did Torrent-Box on Raspberry Pi

Torrent box


This device based on the Raspberry Pi Model B was first intended for downloading and distributing torrents, and then the idea came up to hang the functions of an e-Mule-compatible rocking chair and a TOR anonymizer there.

At first, I thought of using the Iconbit hds6l media center connected via Wi-Fi to a router as a silent and low-power torrent download. But it quickly became clear that he does not understand the Cyrillic alphabet in file names, and Wi-Fi often hangs tight, so that only turning off the power helps.

As a result of my research, this design appeared:

image

image

image

The fans on the cover are more likely to look, they are connected to a voltage of 5V and wave their wings barely. It’s just that the case was left from another project with fans and a power supply installed. Since the total consumption of the entire box does not exceed 10-15 W, the fans are redundant, although they do not interfere.

HDD is connected via USB-ATA / SATA adapter. In the remaining free Raspberry connector, a USB-WiFi adapter of the Asus N10 type is installed, which has decent sensitivity and is fully compatible with Linux.

LEDs on the front panel - Power, Internet, Download.

To manage the box, a regular Raspbian distribution with Samba, Lighttp, Transmission, AMule, Tor, Polipo installed was taken. Graphic loading in Raspbian is naturally disabled. To manage the download, you can use Web interfaces - links to them are on the device’s main page at:

http: // <device address on the local network> or
http: // raspberry

Boxing

image

web face: Transmission web face (login: pi , password: raspberry):

image

image

aMule web-muzzle (password: raspberry):

image

image

The files themselves are accessible via the SMB protocol (Windows Explorer) at the addresses:
\\ <device address on the local network> \ torrents
\\ raspberry \ torrents and
\\ <address devices on the local network> \ amule
\\ raspberry \ amule

image

You can also use programs with interfaces similar to uTorrents and eMule - Transmission Remote GUI and aMuleGUI for management.

The programs themselves are here:
\\ <device address on the local network> \ Soft
\\ raspberry \ Soft

They need to be unpacked to a convenient place on the computer, run and configure, as in the picture below, on the connection with the box (login: pi, password: raspberry): Transmission Remote GUI

image

image

aMuleGUI (password: raspberry): A

image

image

TOR proxy is available as a SOCKS proxy on port 9050 of the device, and a TOR-HTTP proxy on port 8080.
Configuring the Chrome browser to work with the TOR-HTTP proxy:

image

image

Well and finally a little bit about Torrent-Box settings:
You can configure the box using SSH by going to the Putty program (login: pi, password: raspberry) and editing the appropriate settings files: The

image

image

settings of various programs are where they are located in the Debian distribution on which Raspbian is built:
Samba setup: / etc / samba
Transmission settings: / etc / transmission
TOR settings: / etc / tor
polipo settings: / etc / polipo
aMule settings: /home/pi/.aMule

image

Just in case there are aliases for the network interface with fixed addresses: 192.168.1.81 and 192.168 .0.81. All network settings are in
/ etc / network / interfaces,
and wi-fi settings are in
/etc/network/wpa.conf

Also popular now: