<<

remotely download torrents to raspberry pi Bare Minimum Raspberry Pi Torrent Machine Tutorial. Introduction: Bare Minimum Raspberry Pi Torrent Machine Tutorial. Torrenting is always life saver and hoping a headless connected Raspberry Pi doing that for you can really be amazing. With is tutorial I will help you all to build a Torrent Machine with Pi that can run headless and you can use our Android phone to control and monitor. This thing can be pretty useful if you have to leave you download over night or when you are not home. This thing will be really helpful. As I said this is a minimum Tutorial and I have included only those steps essentially to setup the thing and set it running. I have kept the reference links I tried while experimenting in case you wanted to do all the thing. We will be using FTP to move files between RPi and your phone and we will control your Torrrent machine over SSH. Hope you are familiar with the terms. If not please refer to any RPi beginner tutorial. Feeling lazy for that, don't worry I have all essential thing noted down and you will pretty understand most if you understand the language of computers. Happy making. First of all am assuming that you have. SSH enabled in your RPi Your Phone and RPi are connected over the same local network (ie to the same router) You know your RPi's IP address. - If you don't please go thorough your routers manual as it will have info on how to find it. Check for something like DHCP or LAN statics. We will be doing things in the following manner. if you have completed any of these steps already feel free to skip forward. Connect your phone and RPi via SSH Enable FTP in RPi, and try transferring some files through it. Installing D eluge Daemon on your RPi and configuring it. start Torrenting. Reminder : Downloading with the help of Torrent is not crime, but using it to download copyrighted material is a huge crime both in eyes of laws and society. its THEFT man. Step 1: Connecting Android Phone to RPi Via SSH. Since SSH is enabled, it provides us a great window to handle things. and with this things. You can Literally do anything through you phone to your RPi via SSH. First we have to install a good SSH on your phone. I prefer Connect Bot. A it has a pretty clean interface and is good to work with. Just install it from Google Play. if you wish to use you Computer instead you can use PUTTY to establish the SSH connection. After you have installed Connect Bot. You will be welcomed by an open screen. Add a new connection with your details like host address ( IP address of your RPi); user name etc. You only need to enter the following. all rest can go with the default values it comes with. Username, which is "pi" by default Host, which is the IP address your Pi. That's it. You will be prompted to continue the connection after confirming your credentials. and now you will be prompted for the password. the default password is "raspberry" Congrats you are now connected. you can use bash codes to control your Pi. I have put the screens that appear through this process so you can see what it looks like. Step 2: Setting Up FTP. Pi comes with its own sfotware for FTP, but still we need to install PURE-FTPd, to harness the communication completely. open Connect Bot and connect to your Pi. This will install PURE-FTPd to your Pi. Installing alone will help you open the ftp portal. And your whole files will be available to everyone in the sasme network. if you are a security consious user or something pleasae refer tto the bello link, wgere i found these info. Once you are done with configuring FTP, lets transfer some files. ES file explorer would be a great option to transfer files for all type of links as they let you acess files from a variety of sources and that includes FTP. Just access the options and choose FTP. add a new connection by clicking the button to the bottom Right. Choose FTP from there. Provide the following data. Server : IP address of ur PI Mode : Passive Username : your username for PI, its "PI" by default. Password : ur password. its "raspberry" by default. Leave the rest to default values and click OK. It will take a while for the connection to be established. Now you can transfer files between Pi and Phone as you change files internally to your phone. Just copy from one place and Paste it at the other Place. Please see the screenshots in order to get more idea. Step 3: Settting Up Deluge. Deluge is a Torrent client for Linus. Its actually a -a computer program that runs as a background process- completely headless. Only way to communicate to him is through terminal. we will be Installing 4 programs in this step. Deluge Deluge-Console : used to communicate to Deluge via terminal Deluge-Web : used to connect to Deluge through the web UI Mako : a template gallery for Python that the Deluge-web needs. Connect to your Pi through Connect Bot / SSH. I will be using terminal instead of Connect Bot as its compact and you can also type these to your Pi terminal also. Install Deluge. deluge is the main component. to get his to your Pi, enter in you SSH terminal, This will download and install Deluge. You may be promoted to confirm your installation in between. once the thing is installed. we are done. Just we have to run the program for the first time so that all necessary configuration files are created by itself. If you are a really conscious about how to do the configuration, please refer to my reference link at the end o this page. This might show us some error. Just ignore them for the time being. Installing Deluge-Console. Console will help us connect to Deluge and control it through terminal / SSH. To install enter this to terminal / SSH console. thaths it. wait for the instalation to be completed. Installing Mako and Deluge-web. Enter the following commands in the terminal. that will install Mako and Deluge-web. Now we have completely installed all necessary files. we need to restart Deluge-web to take this thing into action. enter the following. Staring on Boot. We have to set all of these to start on boot so that all services will be available from the moment system kicks into life. for that we have to list the directory of Deluge and Deluge-web into the startup file. we have to open it in nano editor, co as to edit it in terminal. to open the file in nano enter. once the file opens in nano, enter this to the bottom -just before "exit 0" of the file. press Ctrl+X to save and exit from file. Connect Bot has a control button above the normal keyboard for this purpose. Save the Changes. Press ENTER to exit nano after saving. so we are done with setting our system up. now we have to restart our Pi for changes to take effect. to restart enter the following. thus we are done with the configuration part. Step 4: Adding Torrent to Download. Download the on your phone and copy it to your PI. preferably to either. Desktop Downloads Documents. Enter the Deluge console by entering. now the console opens up. you can add your torrentby entering. please ensure to enter the path and file name correctly ans they are Case sensitive. avoid space in file names as they can lead to confusion. This will show up the present status of listed torrents. their download speed, ETA and all such information. please refer to this video where in i have explained how to add a torrent file from your android phone and monitor it with webUI. How to Set Up a Torrenting Box on Raspberry Pi with Transmission. This tutorial will be showing you how to set up a torrenting box on your Rapsberry Pi, so you can use it to download torrents 24 x 7. We will be using the Transmission BitTorrent client. Prerequisites. You need a Raspberry Pi running the official Rasberry Pi OS or Ubuntu ARM OS . Step 1: Install Transmission Daemon on Raspberry Pi. Install Transmission on a headless Raspberry Pi. The above command will install the transmission-daemon program, without X components, which is suitable for headless devices. It ships with a systemd service, which you can start with: Enable auto-start at boot time: Check its status: Hint : If the above command doesn’t quit immediately, press Q key to make it quit. As you can see, it’s active (running) and the service is enabled. The web interface is available at http://ip-address-of-the-pi:9091 . However, you need to add your client IP address to the whitelist in order to access it. Edit the Transmission daemon configuration file with a command-line text editor like Nano. Find the rpc-whitelist parameter. By default, it allows only localhost to access the web interface. Add your own IP address like so, which will allow the entire 192.168.1.0/24 network to access the Transmission web interface. In this file, you can also change the rpc-password , which is the password you need to enter in order to access the web interface. The default username is transmission . Save and close the file. Then reload transmission-daemon . Note that you must reload the service for the changes to take effect. Restarting the service won’t work, because your changes to the configuration file will be overwritten. You can restart this service after reloading it. How to Transfer Unfinished Torrents From another Computer. If you have a computer running Transmission BitTorrent client, and there are unfinished torrents. Here’s how to tranfer them without losing anything. Stop Transmission on both devices. Delete the content under /var/lib/transmission-daemon/.config/transmission-daemon/ directory on the Raspberrry Pi. On your Linux system, there’s a directory. Note : On Raspberry Pi OS, make sure the debian-transmission user has read permission on this directory. Also, the /var/lib/transmission-daemon/.config/transmission-daemon/settings.json file has higher priority over the global /etc/transmission- daemon/settings.json file. How to Resume All Torrent From Command Line. After transferring the unfinished torrents, it’s likely that those torrents are paused. You can resume them all from the command line. Install the Transmission command-line client. Then run the following command to start all torrents. Tips to increase download speed. When you have lots of torrents to download, it’s a good idea to increase the maximum active downloads and maximum peer numbers . Torrent client: Transmission for Raspbery Pi. Today we are going to install a torrent client for raspbian that you can use remotly. Transmission is a torrent server that allows you to download torrents to your Raspberry Pi and to manage your torrents remotely. Installation. Pretty easy. Simply install the daemon (go sudo mode: sudo su ) apt-get install transmission-daemon. Setup. Create folders for torrent progress. Go to the selected folder, and make the complete and incomplete download directories. mkdir incomplete mkdir completed. Now stop the service and change the settings. service transmission-daemon stop nano /etc/transmission-daemon/settings.json. first, enter the complete and incomplete folders that you previously created. I personnaly did it on an external USB key (see here to setup such external storage) "download-dir": "/media/externalstorage/completed", "incomplete-dir": "/media/externalstorage/incomplete", "incomplete-dir-enabled": true, Find and modify rpc-username , rpc-password and enter the login and password you will use for login. Change rpc-whitelist to input allowed connections. Example: 127.0.0.1, 192.168.1.* will basically allow all the computers of your local network (if starting by 192.168.1.*) to use your client. You can also disable whitelist using this line “ rpc-whitelist": false, to allow any IP to connect to your transmission server (including external IPs from your local network). Try it. Restart the client using. service transmission-daemon reload. Use the IP of your Raspberry to login. Example: You can now upload torrent files, add links or magnet links of torrent files to start downloads. Enjoy! Building a media center and a remote torrent downloader. My idea is to have the RB connected via HDMI to a TV and to internet via Ethernet. I want to have a media center to play any media to the TV using Kodi (for example) but i also want to download torrents to a hard drive plugged into the pi. Can i use (which is a Kodi's addon) to download torrents from my computer to the pi? I want some sort of automatically downloading torrent machine but the problem I have is that i don't really know how to send the torrent files to the pi. Maybe using a DNLA or rtorrent? Thanks. 1 Answer 1. You'll be best served looking at htpcguides.com. There is a lot in this space, with separate apps for movies (CouchPotato, Watcher, Radarr), shows (SickGear, Sonarr), comics (Mylar), books (LazyLibrarian), music (Headphones), and other media; then there are dozens (literally!) of torrenting apps and NZB apps (the usenet equivalent of torrenting, without the P2P aspect. Pay attention to the guides on VPN'ing, as this could save you stress should you get in a situation. Edit: and if those apps are too stringent for your purposes, check out Flexget. Not the answer you're looking for? Browse other questions tagged pi-3 networking or ask your own question. Related. Hot Network Questions. Subscribe to RSS. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.8.5.39920. By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Raspberry Pi torrent server. Hi guys, in this new article I will explain how to make a Raspberry Pi torrent server for downloading torrents on Raspberry PI, useful for those who want to leave on the PC for downloading from p2p torrent network. In particular, this project will use: Raspberry PI (I used Raspberry Pi 2 model B) SD or micro-SD (depending on the Raspberry PI model you have) quite large (I used 64Gb sd card) Adapter WI-FI or ethernet cable to connect the Raspberry PI on the network The software Transmission Torrent Client. Let’s start with intalling Raspbian OS on your SD card, if you need help follow my guide on my Beginning page at this link. After the installation and first boot open the terminal and type: After the update and upgrade of our OS we can start with the installation of software that we need to do this project with the following command: This will allow us to install the software. Then we create two folders in which the program will save the complete and the incomplete downloads, typing: Or if you want you can mount and externat HD and save you file on it, for do this type in the terminal: Your disk probably format in ntfs so we need ntfs-3g package to work on it with Raspberry Pi and we can intall it with typing: To mount automatically your external HD every time that Raspberry Pi is rebooted open the file /etc/fstab and add this line at the end of the file “/dev/sda1 /mnt/thenameofourdisck ntfs-3g rw,auto,users 0 0” with typing in the terminal: If you want use your HD create the folder for download (incoplete and complete) in your HD. After that we set the access permissions that will serve to make accessible the two aforementioned directorty with the commands: Now on to the part that involves the configuration of the software. With the command: This will open a text editor that will edit the configuration file for Transmission. Let’s make sure that the configuration file is similar to the following txt file that I live in the link below: You need to set a password and a user name in order to connect to our remote server, however, is to note are the settings: speed-limit-down that allows us to set a limit on the download speed of torrents; speed-limit-up that allows you to set a limit on upload speed; rpc-password where you can set the password to login to the server via HTTP; rpc-username that allows the setting of usernames for login. After saving the configuration file by pressing [Ctrl] + [X] and answering yes to the question “Save modified buffer”, restart the software using the following commands: After that, by connecting to http: // IP-ADDRESS-OF-OUR-RASPBERRY: 9091 on browser of every device thtat you want(connected to the same wifi of your raspberry) will be able to access the software, after logging in. If after a certain number of days leave it on your Raspberry PI downloading from p2p network encounter a problem or error messages such as “Kernel Panic”, be sure to follow the instructions below: Change /boot/cmdline.txt and add ” smsc95xx.turbo_mode = N “; Edit /etc/sysctl.conf and change vm.min_free_kbytes = 8192 in vm.min_free_kbytes = 16384 . You all, make sure you install and configure Samba in case you wish to access the files downloaded via the network that creates Windows. After all for use this server upload on it a bit torrent file and it will start downloading it immediatly! To upload on it you ca choose a bit torrentfile that you have downloaded on your pc or enter the bit torrent file’s url.