Building a BitTorrent Box
Why?
While most of our time on the Internet is spent IM'ing, e-mail, or just browsing the Web, you may run in to situations when you need to do some powerful file transfers. If you use a laptop, you're use to getting up, suspending your laptop, and running out the door all of the time. But, sometimes you know you just need something dedicated to get work done. You'll need a solution to retrieve files and serve data when you need it. In this guide, you'll learn how to set a small headless Ubuntu server used to retrieve BitTorrent files, while even saving them to a external USB hard drive that can be disconnected on the go. You even discover how to remotely administer your server from the Web using SSH, VNC, and an intuitive HTML UI, while being able to retrieve files while you're away from home.
This tutorial takes for granted you have a spare computer laying around. Building a computer is out of the scope of this article.
The OS Installation
Installing Ubuntu
We'll be doing a basic Ubuntu Linux installation. Ubuntu is free operating system based on the Gnome desktop and the Linux kernel. But, "Isn't this suppose to be a headless server?" you may ask. Why don't we just do a server installation? Well, you could, but you spend more time later on installing the X-server packages needed to configure our BitTorrent client. Besides, you're not tweaking this out to be a uber-efficient web host for thousands of people. This is targeted mainly towards those who simply need a private file host and BitTorrent client. Anything you don't need, you can remove later.
Ubuntu can be downloaded from the official Ubuntu website. If the computer you'll be using is a slower model, you might what to consider using the alternative text-mode installer available instead of the live CD on the site. What your are downloading is an ISO, an image of a CD. This image needs to be burned to a blank CD. Depending upon what operating system you're using, you can either either a number of applications in Windows to get the job done (CD Burner XP, ISO Recorder), or you can use a simple command in Linux (if the file is in your home directory) to do it:
cdrecord ubuntu-7.04-desktop-i386.iso

Burning a CD image in a console
Reboot your computer while the CD is in the drive. Select to install Ubuntu, and the setup process is extremely simple. You'll be asked about what language you'll want to use, and to setup a user account. The hardest part can be the partitioning, but if all you'll be using this for is a BitTorrent box, you can just choose to use guided partitioning on to wipe the entire drive. Once the installation has finished, reboot and login using the newly configured user name and password. Now, you're set to begin configuring the software.
Creating the "Headless" Server
Once the tutorial is finished, you should be able to disconnect the monitor from this computer, and never have to physically touch it again. If you need to configure anything, you'll be able to do so via a console (SSH) or a remote desktop (VNC). You can leave the monitor and its peripherals connected if you like if its easier, because you now have a fully functional computer with an awesome operating system. If you want to create a headless server, browse through the menus at the top to "Applications->Accessories->Terminal". From there, type these commands in:
sudo apt-get install openssh-server tightvncserver
sudo update-rc.d gdm remove
Note: You can add the GUI to start again at boot with this command:
sudo update-rc.d gdm defaults
Using these steps, you are installing a few remote administrative packages, and removing the GUI from starting when the computer is turned on. Now record the computer's IP address somewhere handy by entering the following command:
ifconfig eth0
You'll want to copy down the address in the "inet addr" field. The next time you restart your computer, you'll be able to login that IP using SSH with your user name and password. You can use the regular SSH client built into Linux, or use a popular client like Putty if you have a different operating system.
If you'd like to use a graphical interface, there a several clients you can use to connect to the VNC session, such as RealVNC. Once you've logged in via SSH, you can always start a remote desktop session (if needed) using VNC:
vncserver -geometry 800x600
And kill it using:
vncserver -kill :1
Depending on how you want to work on the server is your choice. First, you can use SSH to connect via a console to enter commands. Secondly, if you want to configure it using a remote desktop, you can use VNC. Or, you can still use the computer as a regular desktop and finish the configuration locally. All of the steps from now on can be done one of those three ways. Note, when we need to configure Azureus, you will have to use a graphical interface to do so. Now you're set to configure the software needed to build the BitTorrent box.
Configuring the External Hard Drive (Optional)
After the installation is done, you can optionally add an external hard drive to make it easier to move your data. We'll be using a service called "autofs" to automatically detect your hard drive and make it ready to share on the network each time you plug it in. To install autofs, use this command:
sudo apt-get install autofs
Once that finishes, you'll want to connect your external hard drive and find out what device Ubuntu assigns it. After plugging in the hard drive wait a few seconds and then enter this command:
dmesg | tail
You should see something very similar to this:
[47820.164000] sdb: Write Protect is off
[47820.164000] sdb: Mode Sense: 03 00 00 00
[47820.164000] sdb: assuming drive cache: write through
[47820.164000] SCSI device sdb: 398297088 512-byte hdwr sectors (203928 MB)
[47820.168000] sdb: Write Protect is off
[47820.168000] sdb: Mode Sense: 03 00 00 00
[47820.168000] sdb: assuming drive cache: write through
[47820.168000] sdb: sdb1
[47820.184000] sd 4:0:0:0: Attached scsi disk sdb
[47820.184000] sd 4:0:0:0: Attached scsi generic sg2 type 0
The line "[47820.168000] sdb: sdb1" is what you'll want to pay attention to. This tells us that Ubuntu is assigning the device to "sdb", and it's partition is labeled as "sdb1". "1" being the first and only partition on the disk. Next, we'll what to find out what kind of partition is on the disk. Enter this into the console:
sudo fdisk -l /dev/sdb
The "System" column will display what kind of partition it is. Take note on what type of partition it is for the following instructions. If it's "HPFS/NTFS", you'll want to use the "ntfs-3g" driver. If it contains "FAT", you'll use the "vfat" driver. Finally, if it's "Linux", you can just use the "auto" driver. Note, if it is a NTFS partition, you will have to manually install the new NTFS read/write drivers by using:
sudo apt-get install ntfs-3g
Next, we'll want to add this information to the autofs service. Use to following command to edit to autofs master configuration file:
sudo nano /etc/auto.master
Note: You can replace "nano" with your preferred text editor. To save a file in nano, use the keyboard shortcut Ctrl+O. To exit, press Ctrl+X.
Now, find the line containing:
#/misc /etc/auto.misc
Change it to:
/misc /etc/auto.misc --timeout=60
Save it and edit the autofs "miscellaneous" configuration file next by entering this command:
sudo nano /etc/auto.misc
Add this to the bottom of the file:
external -fstype=ntfs-3g :/dev/sdb1
Remember to replace "ntfs-3g" with the type of driver you found earlier in this section. Note, if you are using "ntfs-3g", you might want to append ",force" , making it "-fstype=ntfs-3g,force". This makes it easier to use uncleanly unmounted drives. This maybe a little risky, but it makes it so much easier to troubleshoot.
Finally, restart the autofs service:
sudo /etc/init.d/autofs restart
Now, every time anything tries to find files in the "/misc/external" directory, Ubuntu will attempt to automatically mount that drive to be used.
The BitTorrent Client
Installation
Now for the heart of your BitTorrent box. We'll be using the Azureus BitTorrent client because it has a huge plug-in base, and we can configure it to run in a silent service mode without needing the GUI. The first thing you'll want to do is to download the Azureus client and find a simple place to keep it in. You'll need to install the Azureus dependencies, download the client, and retrieve the plugins. Enter the following commands to do so:
sudo apt-get install sun-java5-jre libswt3.2-gtk-java
mkdir ~/software
cd ~/software
mkdir azureus
cd azureus
wget \
http://prdownloads.sourceforge.net/azureus/Azureus2.5.0.4.jar?download \
-O Azureus2.jar
wget http://azureus.sourceforge.net/cvs/log4j.jar
wget http://azureus.sourceforge.net/cvs/commons-cli.jar
wget http://nerdica.com/wp-content/uploads/2007/06/azureus
wget http://nerdica.com/wp-content/uploads/2007/06/azureus-gui
mkdir ~/bin
mv azureus-gui ~/bin/
chmod +x ~/bin/azureus-gui
Log out and then log back in for the new program files in your ~/bin/ directory to be recognized. Then edit the service configuration file:
sudo nano ~/software/azureus/azureus
Replace "(your user name)" with your actual user name. Do the same (line 39, to be exact) with the azureus-gui launcher:
sudo nano ~/bin/azuereus-gui
Save it, and then move it to it proper location using this command:
sudo mv ./azureus /etc/init.d/azureus
Plug-in Configuration
Now we'll want to open up Azureus to edit a few configuration options to get everything in place, and to install the web UI for remote administration. Enter this command to open Azureus:
azureus-gui
Follow the simple setup wizard until the application has reached the main window. Once the initial configuration is done, you can now close the program by browsing to "File->Exit". Next we'll install the HTML Web UI plug-in. While we're at it, you can extend Azureus with a plethora of plug-ins at their website. Enter the following commands do download and install it:
wget http://azureus.sourceforge.net/plugins/azhtmlwebui_0.7.6.jar
mkdir ~/.azureus/plugins/azhtmlwebui
mv azhtmlwebui_0.7.6.jar ~/.azureus/plugins/azhtmlwebui/
You can now use and Internet Browser such as Firefox to browse straight to the HTML Web UI whenever the Azureus service is running to download torrents. You can do so by entering the IP address of the BitTorrent Box, followed by the port "6886". For example:
http://127.0.0.1:6886/

The Azureus HTML Web UI
You can add new BitTorrents by browsing to the "Upload" tab, and you can monitor all of your BitTorrents by browsing to the "Downloads" tab. You can tweak a few bandwidth settings by clicking on "Options". Enjoy your sleek, easy accessible Azureus Web UI.
Now, if you have an external hard drive configured, you can setup Azureus to to move all completed torrents to the external hard drive. That can be set by reopening the Azureus GUI (azureus-gui). Browse the menu to "Tools->Options". Then, browse the left menu to "Files->Completion Moving". Check the widget labeled "Move completed files (after download)" and change the directory to "/misc/external". If you do not have an external hard drive to use, just leaves all those options as the default.

Tweaking the download settings
If you'd like, you can also configure a user name and password to use for the Web UI. Browse the left menu to "Plugins->HTML Web UI". At the bottom of the configuration panel are options to set up a user name and password.
Save your configuration by clicking "Save" at the bottom of the panel and exiting Azureus.
Starting the Service at Boot
Now that everything is set, you'll want to make sure Azureus start up with your computer boots. Do this by adding the service to the Ubuntu runlevels at boot and shutdown with the following commands:
sudo cp ~/software/azureus/azureus /etc/init.d/
sudo chmod +x /etc/init.d/azureus
sudo update-rc.d azureus defaults
Now, Azureus will start when the server is booting. If you what to manually stop and start the service, you can do so by entering:
/etc/init.d/azureus stop
/etc/init.d/azureus start
Note: Azureus is now running in a completely silent mode. You will not see the Azureus icon in the icon tray of Gnome when the computer boots. If you ever need to configure Azureus, make sure to stop the service and then open the GUI to do so.
You can also find out about more of this section of the tutorial by visiting the AzureusWiki (copyrighted under the GFDL) page about it.
Hamachi
Installation
Hamachi is a VPN software used to easily create small personal networks that will burn through just about any firewall. The Linux client is available on their website. You'll want to set this up so it will be much easier to connect to the Samba share hosting all of your files. Installing Hamachi is about the same as configuring Azureus. You'll have to download the software, and then configure it to run at boot. You'll begin by download the software package and extracting it somewhere useful. Enter the following commands to do so:
cd ~/software
wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx.tar.gz
tar xvfz hamachi-0.9.9.9-20-lnx.tar.gz
wget http://nerdica.com/wp-content/uploads/2007/06/hamachi_service \
-O hamachi-0.9.9.9-20-lnx/
Next, install the software
cd hamachi-0.9.9.9-20-lnx
sudo make install
sudo ./tuncfg/tuncfg
Note: If you are using Ubuntu 7.10 (Gutsy Gibbon), you may have to enter the following commands, and retry the previous installation to get everything to work:
sudo apt-get install upx-ucl-beta
cd /usr/bin
sudo upx -d hamachi
Then you'll want to add a new Hamachi service to the server. First, you need to start by adding a new driver to be loaded when the computer starts. Edit Ubuntu's modules configuration file to do so:
sudo nano /etc/modules
Append "tun" to the end of the file. Hamachi uses the "tun" module to be able to create a fake network device.
Now, we'll add the new Hamachi service configuration. Download the Hamachi service configuration file and add it to the the proper runlevel as follows:
sudo cp ~/software/hamachi_service /etc/init.d/
sudo chmod +x /etc/init.d/hamachi_service
sudo update-rc.d hamachi_service defaults
Configuration
Next, you'll want to create and join a network to join. First, you'll start be creating a Hamachi account to use. Enter the following commands to create and account, and to go online:
hamachi-init
hamachi start
hamachi login
hamachi set-nick MyUserName
Make sure you replace "MyUserName" with a nick you would like to be identified by. Then, create a network to share you data with these few Hamachi commands, while replacing MyNetwork and MyPassword with your personal new network preferences:
hamachi create MyNetwork MyPassword
hamachi go-online MyNetwork
Now you have Hamachi completely set up for private LAN use. After you reboot, Hamachi will start automatically and connect to your network. If you ever want to reconfigure Hamachi for new networks, do so as root:
sudo hamachi join NewNetwork NewPassword
The last thing you'll need to do is record your Hamachi IP for safe-keeping. You can do so by entering the following into a terminal:
ifconfig ham0
Copy down the address listed in the "inet addr" field.
Samba
Now, to finally be able to download your BitTorrents and to share them across your personal network. We'll be using Samba, a implementation of the Windows SMB service for Linux. Samba allows you to not only copy files, but to stream them on the fly.
Installation
To begin, enter the following command to install the Samba package.
sudo apt-get install samba smbfs
Next, you'll need to create a user account to access the Samba share. Do so by adding the user name to the Samba user list:
sudo smbpasswd -a (your user name)
Replace "(your user name)" with your personal user name. Enter in your password twice when it asks.
Next, you'll have to edit the Samba configuration file. Do so by entering the following:
sudo nano /etc/samba/smb.conf
Find the line with:
; security = user
And uncomment it by removing the semicolon like so:
security = user
Now you'll want to add an entry to share the directory where all of your downloaded BitTorrents have moved to. You can do so by appending an entry like so at the bottom of the "smb.conf" file:
[Downloads]
comment = Contains Azureus Downloads
path = /misc/external
browseable = yes
valid users = (your user name)
writable = yes
If you did not configure the external hard drive, the default directory Azureus hold transfers is in the "/home/(your user name)/Azureus Downloads/" directory. Remember to replace "(your user name)" with your personal user name. Also, you'll have to leave the entire directory in quotes, because it contains a space. Replace "/misc/external" with that if needed. Now to test the Samba configuration file and to restart the Sambe service by entering the following:
sudo testparm
sudo /etc/init.d/samba restart
Once all parts of this tutorial are complete, you should be able to browse to the Hamachi IP ("http://5.x.x.x:6886") address of the BitTorrent box to send and queue BitTorrent files. Use your file manager, you can browse to the Samba share to pick them up later. In Ubuntu you can browse your downloads by going to "Places->Connect to Server". Once the dialog box pops up, change the server type to "Windows share", and enter in the login information for your server. In Windows, you can open Windows Explorer, type the address of your server into the URL bar ("\\5.x.x.x"), and browse your files.

Browsing downloaded files shared with Samba via Hamachi
In Conclusion
After completing this tutorial, you now have a fully functioning BitTorrent box configured to share its downloads across a secure, private network. You can even copy your downloaded files straight off the USB external hard drive, if you have one. Once you have a Hamachi client configured on you personal desktop or laptop, you can connect to the BitTorrent box no matter where you are. There are many things you can do after this point. You can use it to share music, movies, and other personal data. You can use port forwarding on a router to give open access to your BitTorrent box across the Internet. With these simple tools, you are now able to download and share data however you like.
Discuss this the forums.
[EDIT 7/1/07 - 1:03 PM] Added a new screenshot and a few captions. Fixed a few spelling errors.
[EDIT 7/4/07 - 4:29 PM] Fixed a few syntax errors.
[EDIT 11/21/07 - 2:42 PM] Added 7.10 Hamachi fix.

Bookmarked, I will read the rest of it later .
just one thing I like to mention , I don't think using Azerus is wise, it is a cpu/memory consuming program,
why not using a console based program like rTorrent ? or maybe a faster graphical one like Ktorrent .
Or, as a further console based option, try enhanced cTorrent. It barely uses any memory/cpu.
ktorrent is not accepted on most private tracker... also azureus headless with webui is very low on memory and works great! I was looking for a guide like this for some time... I was wondering if it was possible to configure azureus headless but your not doing it so I guess it's too complicated... good read
And if you want a simpler setup, you could run BitTorrent (the original client) and setup a secure HTTP to download to another machine.
The following command will continuously scan the current directory for torrent files and adding them. When something is done, you can move the torrent file and its newly-downloaded files to another folder, it will automatically be removed from sharing. Check out other parameters you can do with launchmany-console
nohup launchmany-console --saveas_style 1 --max_upload_rate 600 --display_interval 5 . > torrent.log &
Replace VNC with FreeNX. FreeNX is much faster, especially if you are connecting over slower connections.
And I'm with Shewdlz, rTorrent is much better on a headless machine since you can use it completely through SSH without using a remote desktop program, or just go all out and install Wine and use uTorrent.
[...] you how to save them directly to an external USB hard drive! harry potter and hermione having sexread more | digg [...]
As mentioned earlier Azerus uses a whole bunch of resources that need not be wasted. I would suggest checking out the bittornado package in ubuntu. Just issue the following command and then check periodically to see if it is finished.
btdownloadcurses --max_upload_rate (limit 5k below max upload bandwidth) [torrent.torrent]
Works great
Why use Azureus and not r/c/uTorrent? Protocol encryption and traffic shaping. That's why. My ISP (clearwire) drops my connection if they detect torrent traffic on my wire. But if I use kTorrent/Azureus/(wine)uTorrent and enable protocol encryption, then my connection never drops.
However, the uTorrent's webui doesn't work with wine and kTorrent's is spotty at best for me.
So the lack of decent webui/protocol encryption leaves me with Azureus, the only option.
It's not a good option, but it's the only one.
I have a similar setup right now. I tried using KTorrent, but it is blocked by private trackers. Otherwise, KTorrent is great! I would have setup Azureus without the GUI, but I use RSS to download things, and that can't be configured through the WebUI.
Nice tutorial, but you should make sure you have between 512MB and 1GB of RAM in the machine you are using for this. Mine is a P3-700MHz, and te processor is not a bottleneck. I regularly achieve speeds of 1.6 MB/sec in BT downloads.
I setup torrentflux the other day for just this thing. As it runs on apache it can be done headless. It also has search capabilities for the major torrent sites. very very easy to use..
tl;dr
Like Zloeber, I've got TorrentFlux running on a headless Ubuntu server. The server initially created to be a sandbox, now performs multiple functions, including a "manager from anywhere on the web" torrent client.
Cheers!
utorrent w/ wine ftw
ubuntu server torrentflux (web UI for bttornado) apache samba or NFS = bliss
Uses a minimal amount of system resources (were talking under a few mb of ram), and gives you central access to your downloads from any computer on the network, or while you're out and about. Supports multiple user accounts and quotas per user for disk space, bandwidth etc, all through the web interface, a pentium pro class machine linked to NFS shares provides downloads/uploads for 3 people in my household.
[...] Nerdica » Building a BitTorrent Box [...]
Love the fact that it would have a web ui, I'd use utorrent however instead of Azureus - it has a web ui as well.
I just use WinXP Pro and Azureus for my bittorrent box/media server. I connected the box to a KVM and stuffed the box in a credenza. Yeah, it's not as dorky as a linux setup, but works flawlessly.
[...] steps to show you how to save them directly to an external USB hard drive! xxx teen titans hentairead more | digg [...]
As someone mentioned before, just use TorrentFlux. Runs on apache / mysql / php.
[...] One of my friends has a website (http://www.nerdica.com/) and he recently made an article that has hit the DIGG top ten!! Congrats to him!! Here is the link to the Article [...]
[...] Nerdica » Building a BitTorrent Box (tags: howto linux network torrent tutorial) Tags: none July 2, 2007, at 5:27 — links — BY-NC-SA [...]
[...] even extra steps to show you how to save them directly to an external USB hard drive! x men next dimread more | digg story RSS feed for comments on this post. TrackBack URI Cartoons Fans Lounge [...]
Torrent flux requires complicated methods to get a unified upload cap. And it doesn't correctly recognize certain torrent links.
Also, to get the protocol encryption in torrentflux, you have to take extreme measures and get the latest bittornado and find out how to enable the encryption by default for each torrent, because torrentflux sucks at sending extra commandline arguments to the bittornado executable.
Azureus - Encryption, intuitive webui, bandwidth shaping.
Torrentflux - Difficult to enable Encryption, decent webui, Difficult to enable bandwidth shaping.
uTorrent - Encryption. Non working webui. bandwidth shaping.
rTorrent - Encryption No webui. No bandwidth shaping.
kTorrent - Encryption. shady webui. Bandwidth shaping.
The best choice, even with torrentflux.... Azureus.
I don't have experience with many torrent clients, but I've been using Torrentflux for a couple of months, and have been really pleased with it.
[...] Nerdica » Building a BitTorrent Box (tags: bittorrent linux ubuntu howto server tutorial vpn torrent) « links for 2007-07-01 [...]
I imagine someone could make this "torrent box" fit on a USB Flash drive - so I could kill the harddrive and get a total "no moving parts - get me some torrent files" PC
[...] to show you how to save them directly to an external USB hard drive! naked pics of wonder womanread more | digg [...]
[...] read more | digg story [...]
Cómo construir una máquina dedicada a BitTorrent...
Aquí los refiero a una guía que les muestra cómo dedicar una PC vieja para transformarla en una sensacional máquina para gestionar y descargar archivos de la red BitTorrent, y lo mejor de todo, para administrarla remotamente por Internet.
Lo mej...
Linux is good and all..
But i use a mac mini
SSH, VNC mac style
for those interested in a headless TorrentFlux box, you should check out Bit-Tech.net. The put up a detailed guide for installing Xubuntu, configuring all the ssh/vnc/ftp/torrent items you could want as well. Was posted a couple weeks ago now, I think, so you will need to look through the archive.
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
In order to stay console only (no VNC, no FreeNX, etc.), I like to use Webmin to administrator many of the more complicated aspects of a Linux server. SSH is good for most, but setting up quotas is much easier in Webmin.
I would shy away from Azureus as well and anything using the Java virtual machine. I think rTorrent or any of the many clients that use libTorrent would be much better and less overhead (like the quite awesome CLI and web interface btg).
http://www.webmin.com/
http://libtorrent.rakshasa.no/
http://btg.berlios.de/
[...] Nerdica: Building a BitTorrent Box [...]
[...] WL-500g Premium and plug a USB hard drive into that. All of your BitTorrent problems are solved!!read more | digg story [...]
[...] to Build a BitTorrent Box; make a spare computer into a file receptacle. (Nerdica via [...]
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
Wonderful post! Helps you seperate your work from your REAL work
http://www.asktheadmin.com/2007/07/build-stand-alone-bit-torrent-computer.html
Thanks Nerdica
I was inspired by your article and decided to do the same. I started to use your instructions and fell more and more off your path. My install was a bit more graphical since I am a bit greener with Linux.
My writeup is here. http://www.matthewlking.com/torrent_download_machine/
Thanks for showing me the brilliance off this setup. I never understood why this would be useful until your article.
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
[...] Nerdica » Building a BitTorrent Box (tags: computers p2p howto internet linux networking tools) [...]
Any ideas for .bin > .avi encoding software? i think mplayer can do it, but the documentation isn't exactly linux-newb friendly...
[...] Build a torrent server Filed under: Linux — 0ddn1x @ 2007-07-01 20:32:13 +0000 http://nerdica.com/?p=30 [...]
[...] Nerdica » Building a BitTorrent BoxIn this guide, you’ll learn how to set a small headless Ubuntu server used to retrieve BitTorrent files, while even saving them to a external USB hard drive that can be disconnected on the go. [...]
[...] Nerdica » Building a BitTorrent Box (tags: appliance bittorrent computer computers cool docs download downloads torrent vpn tutorial server howto ubuntu linux) [...]
[...] Nerdica » Building a BitTorrent Box with Ubuntu (tags: torrent azureus hardware howto lifehacks network pc tutorial tutorials linux BitTorrent) [...]
[...] Build a BitTorrent Box [Via - Lifehacker - Nerdica] Technorati Tags: Tips, Torrents [...]
Building a BitTorrent Box...
There are times when you just need something more powerful for file transfers. HowTo build a bittorent box is a great tutorial on building your own file server....
I think there is a mistake, it's not :
$sudo apt-get install sun-java5-jre libswt3.2-gtk.java but
$sudo apt-get install sun-java5-jre libswt3.2-gtk-java
@ournaos
Yes, thanks! Fixed.
[...] Build a BitTorrent Box (tags: Torrent) [...]
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
[...] Ecco come costruire un BitTorrent Box. Avete un vecchio PC? Perché non lo dedicate al download via torrent del materiale che più preferite? Ecco una guida (per esperti) su come fare. (tags: torrent box settopbox howto server ubuntu linux) [...]
looks like everybody forgot about old good mldonkey
daemon based from design, support for many different p2p protocols and many other good stuff
Hi, try this service http://www.momupload.com for file hosting
i've been using it for a long time and i can say, that it's best one i have ever used before.
Hope this helps.
[...] Bygg en BitTorrent maskin - Har du en gammel datamaskin ligende og støve bort? Bygg en BitTorrent-maskin ut av den da vel Her er blir du guidet gjennom steg for steg om hvordan du skal gå fram. Det blir i grunn brukt Ubuntu Linux og Azureus. Er du kjent til GNU/Linux kan du bare piffe opp din gamle Linuxbox istedenfor å legge inn Ubuntu. [...]
What a useful tutorial. I will definitely try this. What we were doing with my roommates is using vnc to login to the torrent box along with uTorrent through wine because Azureus was slow and over VNC the whole machine would bog down. I'm sure this will work much better with them never having to interact with ubuntu directly.
[...] en fin, el asunto es que, navegando por ahí, encontre Nerdica, una página de reciente lanzamiento (tiene tan sólo 8 artículos), y me encuentro justo con un [...]
[...] really like to thank Arturo Goga for providing a Spanish translation of the Building a BitTorrent Box article. You can find it at [...]
[...] Nerdica » Building a BitTorrent Box : [...]
[...] Nerdica » Building a BitTorrent Box [...]
Just for everyone's info, this is a very low-power system that is being run. It is a VIA EPIA-M miniITX system with a sub-100 watt power supply. The miniITX platform is perfect for low-intensity headless home servers like this. The entire system is completely fanless and incredibly efficient (as compared to running either a full-blown desktop replacement laptop or 500W dual-core SLI system 24x7).
Ubuntu has all of the drivers needed for the EPIA series motherboards built-in and it runs fine out of the box with at least 512MB of RAM (initially we tried installing with 256, but that was a no-go...I had an old stick of PC3200 Crucial Ballistix that we stuck in and the system was fine after that).
Hi all!
Very interesting information! Thanks!
G'night
[...] http://nerdica.com/?p=30 [...]
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
Hi all!
Looks good! Very useful, good stuff. Good resources here. Thanks much!
Bye
Thanks for the article Ross!
For the Hamachi configuration:
You can leave out the new line slash at the end of the first line below, and omit the second line entirely:
[code]
wget http://nerdica.com/wp-content/uploads/2007/06/hamachi_service \
-O hamachi-0.9.9.9-20-lnx/
[/code]
And, don't forget to update the paths in hamachi_service so that they point to your actual home directory. I neglected to do that and spent some time figuring out why ham0 didn't exist after restarting.
Can someone please explain why would I want to use Linux instead of Windows XP pro for achieving this?
I am comfortable with Linux and Windows but I already have a Windows XP machine that I can use for this purpose.
[...] Nerdica » Building a BitTorrent Box … you’ll be able to do so via a console (SSH) or a remote desktop (VNC) … Next, you’ll need to create a user account to access the … with uTorrent through wine because Azureus was slow and over VNC the … http://nerdica.com/?p=30 [...]
what that? you want a, 5 watt, silent, low heat, torrent box for less then $100?
Then check this out:
http://www.nslu2-linux.org/
[...] line-haters beware: getting the box up and running using this method is pretty terminal-heavy. Build a BitTorrent Box [...]
[...] Pulled Over for Speeding The only CSS layout you need(?) Networking 101: Understanding Tunneling Building a BitTorrent Box - A Complete How-To 20 Tips for More Efficient Google Searches Holy smoke! 110 FREE Linux Books online. [...]
I assume you are accessing the azhtmlwebui remotely? how are you securing it?
Yeah, there's an option for supplying a username and password in the AzHTMLWebUI options in the Azureus GUI.
Protonix side effects....
Protonix drug guide. Protonix....
[...] looked to see if could do P2P on Linux. Looks like you can. I found this web page. Then it looks like you can just go to http port 6886 to use [...]
sudo nano ~/bin/azuereus-gui That one did not work. You must of wanted:
sudo nano ~/bin/azureus-gui
I installed a new system followed your step-by-step but when I do:
raymond@myserver4:~$ azureus-gui
[: 12: /home/raymond/.azureus/plugins/azhtmlwebui: unexpected operator
[: 16: /home/raymond/.azureus/plugins/azhtmlwebui: unexpected operator
ln: creating symbolic link `/home/raymond/.azureus/plugins/azhtmlwebui/*' to `/usr/share/azureus/plugins/*': File exists
ln: creating symbolic link `/home/raymond/.azureus/plugins/azhtmlwebui/*' to `/home/raymond/.azureus/plugins/*': File exists
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
raymond@myserver4:~$
I get that error. Can't get it to work.
Last week I started working on a webinterface for rtorrent.
This might be a better alternative to azureus, as it doesn't need Java and barely uses CPU and memory.
Check it out here:
http://baiter.dyndns.org/rtorrent
[...] I put all of my bittorrent stuff on a separate box a long time ago. It just seemed much neater and cleaner. For a good tutorial on how to do this, check out Nerdica. [...]
Links of the week #4 (week 38/07)...
Links of the week #4 (week 38/07)...
[...] Nerdica » Building a BitTorrent Box n this guide, you’ll learn how to set a small headless Ubuntu server used to retrieve BitTorrent files, while even saving them to a external USB hard drive that can be disconnected on the go. You even discover how to remotely administer your server from (tags: bittorrent linux ubuntu howto tutorial) [...]
[...] read more | digg story [...]
[...] du laster ned noen filer av og til eller har gjort om en av de gamle maskinene til en bittorrent box, kan det ofte være en fordel å kunne holde litt kontroll på nedlastingen selv om du ikke er [...]
[...] du laster ned noen filer av og til eller har gjort om en av de gamle maskinene til en bittorrent box, kan det ofte være en fordel å kunne holde litt kontroll på nedlastingen selv om du ikke er [...]
i am getting the same error as Raymond above:
Exception in thread “main” java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
has anyone got past that?
Thanks.
[...] read more | digg story [...]
[...] read more | digg story [...]
anybody knows why azureus's ipfilter not working on ubuntu?recently i have ubuntu installed, setup azureus,but when i edited a list of IPs to block,it failed,
if anyone has a clue,please tell me^^
I'll be trying this out soon as I've gotten rid of the desktop and am moving to a laptop at home.
After starting tuncfg, you have to do some extra steps, courtesy of this thread:
sudo apt-get install upx-ucl-beta
cd /usr/bin
sudo upx -d hamachi
andre: Yeah, that's something I've just recently discovered in Gutsy. Previous releases of Ubuntu are fine without those extra steps. I'll add that in.
[...] read more | digg story [...]
You need to install more of java then he says
If you do sudo apt-get install azureus, you will see the dependancies
sudo apt-get install libbcprov-java libcairo-java libcommons-cli-java libgcj-common libglib-java libgnucrypto-java libgtk-java libgtk-jni liblog4j1.2-java libseda-java
1. Instead of typing the other computer's IP address, just use its name. "ssh computername" is a lot easier to remember than "ssh 185.473.283.475", and works even with DHCP addresses that change.
2. For remote access, use a Dynamic DNS service so you just have to remember the DNS name.
3. NX is much better than VNC, for a number of reasons. The default VNC doesn't even work on a headless box, since you need to log in locally before the VNC server is started.
I find it very complicated, it is easier with windows, and you cand add more functionalities like printer server, mass storage server, mp3 player, etc. to your pc.
The procedure is the following:
1. Install windows
2. Install bittorrent
3. Install a MP3 player
4. Plug your usb drive (the driver is installed automatically when you plug the device)
5. Plug your printer (the drivers are installed automatically when you plug the device)
6. Activate files and printers sharing.
7. Enjoy.
What a cool way to use up your old computers. I have got a shed full of old computers, might give this a go.
Thanks for sharing
I am using the EeePc notebook from Asus as a Torrent box, with Windows XP and Utorrent. I prefer Windows XP only for utorrent, In my experience its a better client that azuerus. Beside utorrent also have a web interface.ç
And u can do anything that Xohn say before.
Hi there.
Looks like you know a lot about torrents.
Can you please assist me?
I would like to create a torrent site, what do i need?
Please mail me on: Heinrich@bud-e.co.za
Thanks
Look if you just want to use this thing to download torrents, and are a linuxphobe then by all means use Windows XP with whatever flavour of bittorent client you prefer, set up VPN and be done with it. But then again if that is all that you need to do then why do you need search google for such a set up???
Now then if your priority is to set up a dedicated headless low resource bittorrent box so that you don't have to keep your high power computer on all the time and you aren't afraid to get your hands a little dirty then do this...
Look, we won't always be able to run these ridicules energy hogs of performance computers and still be able to eat so now is as good as time as any to learn how to save your resources.
i am also getting this error when running azureus-gui
Exception in thread “main” java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
anyone know why?
Hi i cant seem to run azureus-gui too i fixed the typo so it looks alright but when i type in azureus-gui it gives me a unknown command like error??
Please help
[...] really like to thank Arturo Goga for providing a Spanish translation of the Building a BitTorrent Box article. You can find it at [...]
[...] Nerdica » Building a BitTorrent Box (tags: bittorrent linux howto server ubuntu torrent tutorial) [...]
[...] @loudmouthman Other Linux box: Bittorrent client! nerdica.com/?p=30 [...]
Can this kind of setup be set to only run at certian times of the day:
ie. midnight till 0700.
As my ISP has no limits during this period.
?????????????????????????????
"Can this kind of set-up be set to only run at certian times of the day"
There is a plugin for Azureus called Speed Scheduler. It works well.
[...] from the website Nerdica (What a name!). Put that old pc you have collecting dust back to work. Crack that whip and build a [...]
This article is out of date and would be nice if it was updated to match the latest ubunutu/azureus (now vuze) combination.
I have it working in the current set up, but I would like to update everything to the latest but I have my doubts it'll be trouble free.
If anyone has updated to the latest, please let us know.
[...] time ago. It just seemed much neater and cleaner. For a good tutorial on how to do this, check out Nerdica. Posted in [...]
Could you possibly update this to use the new "Vuze" (azureus's new name).. version 3.xx ? Would like to take advantage of updates from them.
Thx!
That is so new for me! Thanks!
Thanks for this. Bigtime. Great write-up. Very thorough!
Hi,
When I get to the step to run Azureus-gui, I get the following Java error:
Exception in thread "main" java.lang.NoClassDefFounderror: org/gudy/azureus2/ui/swt/Main
Any help would be greatly appreciated :]
it would be nice if the above error would be explained and fixed
when it is e-mail me at justjoshingyou2@gmail.com
Never mind I have found the issue. make sure you replace "(Your User Name)" with the correct user name
You can also get the rss plugin for azureus and set it up to dl all your stuff automatically
Hello from Russia
[...] Building a BitTorrent Box [...]
[...] ????? ?????? By mymodemsux2 ???? ????? ?????? – ?????? ??? [...]
Try replacing VNC and the whole Gnome desktop with XPRA. XPRA is "screen for X windows".
You start your bittorrent client up inside an XPRA 'dummy' screen, then just connect to it from clients. That way you get a user experience that's a lot like x windows forwarding and you only bring the one app to your remote PC. Then when you detach from XPRA the application stays running on that virtual screen and doesn't terminate.
Young men, and without having thought to rise, have begun to consider me inconsiderately. messy ponytails hairstyles