One of the top replacements for TPB and Mininova!

I was going through the logs for linuxtracker.org as I tend to (its nice to see where traffic comes from, isn’t it?) and I came across a post on GeekyNinja listing five good replacements for Mininova and The Pirate Bay when I was a little surprised. Linuxtracker.org is actually listed.

Well, I shouldn’t be too surprised, LT is one of the leading linux distribution trackers with over 9500 members, 2,000 linux only torrents and over 405 TerraBytes (YES!) of data shared since we started. In fact, GeekyNinja had this to saY:

This one is for all you Linux fans who actually care how much the people behind their favorite distro are paying for bandwidth. LinuxTracker tracks torrents of popular (and some not so popular) Linux and BSD distributions.

While its not an amazing review the likes of Siskel and Ebert would give, We’ll take it! Do you have any other torrent haunts you hang out at? What are they? We want to know!

  • Share/Bookmark

Setting Up Transmission-Daemon To Use With Remote GUI In Ubuntu And Debian

Originally posted at WebUpD8.org

I have played a lot with rTorrent and wTorrent (which I’ve already posted how to set up) and also ruTorrent and various Web UIs for rTorrent but I’ve came to the conclusion that the best way (for me at least) for remote Bittorrent download is Transmission Remote GUI – I’ve been using it for a few days now and love it. Please note that I’ve only tested it on a remote Debian server but I’ve adapted everything for Ubuntu so it should work for it too.

In this article, I will cover installing and configuring transmission-daemon in a headless (but should work on a normal Debian / Ubuntu install too) Debian or Ubuntu machine.

transmission remote gui

transmisson-remote-gui is feature rich cross platform (works on Windows, Linux and Mac OSX) front-end to remotely control Transmission daemon via its RPC protocol. It is faster and has more functionality than build-in Transmission web interface.

Transmission Remote GUI features:

* Native application for Windows and Linux (GTK2)
* uTorrent-like interface
* Select files to download
* Choose files priority
* View details about connected peers
* Full information about each torrent
* Per torrent options

Install Transmission

To run transmission-daemon, you need to install transmission-cli, transmission-common and transmission-daemon. Please note that I have tested this on the latest transmission-cli (1.76).

Installing Transmission 1.76 in Ubuntu

For Ubuntu Karmic, you can use GetDeb, so add the GetDeb repository (simply run this .deb package to add it).

For older Ubuntu version (but also works for Karmic), add the following PPA repository:

sudo sh -c “echo ‘deb http://ppa.launchpad.net/transmissionbt/ppa/ubuntu <span style=”font-weight: bold;”>YOUR_UBUNTU_VERSION_HERE</span> main’ >> /etc/apt/sources.list”

replacing YOUR_UBUNTU_VERSION_HERE with karmic, jaunty, intrepid or hardy.

Then install the needed packages:

sudo apt-get update && sudo apt-get install transmission-cli transmission-common transmission-daemon

Installing Transmission 1.76 in Debian

Debian Sid and Squeeze come with the latest Transmission version, however, Debian Lenny does not. We could compile it of curse but I was too lasy this time so I used the packages from Sid and installed them in Lenny.

-For Debian Sid or Squeeze:

apt-get install transmission-cli transmission-common transmission-daemon

-For Debian Lenny:

Libevent is needed so we are going to install this too.

-i386:

wget http://ftp.de.debian.org/debian/pool/main/t/transmission/transmission-daemon_1.76-1_i386.deb
wget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-cli_1.76-1_i386.deb
wget http://http.us.debian.org/debian/pool/main/libe/libevent/libevent-1.4-2_1.4.13-stable-1_i386.deb
wget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-common_1.76-1_all.deb

-amd64:

wget http://ftp.de.debian.org/debian/pool/main/t/transmission/transmission-daemon_1.76-1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-cli_1.76-1_amd64.deb
wget http://http.us.debian.org/debian/pool/main/libe/libevent/libevent-1.4-2_1.4.13-stable-1_amd64.deb
wget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-common_1.76-1_all.deb

-for both:

Then, install these packages:

dpkg -i *.deb

Configure transmission-daemon

If you are reading this how-to, you must be wanting to run transmission-daemon remotely, through transmisson-remote-gui so we must make the necessary adjustments.

-Ubuntu:

sudo transmission-daemon -f -t -u your_username -v your_password -w /path/to/downloaded/torrents

-For Debian:

transmission-daemon -f -t -u your_username -v your_password -w /path/to/downloaded/torrents

For both:
Now you can click Ctrl + C to cancel (close transmission-daemon)

And make the torrents download dir writable:

chmod 777 /path/to/downloaded/torrents

Explainations:

Replace the text in bold with your values (it’s self exaplainatory). You can also change the .config patch if you wish.

The -f option sets transmission-daemon to run in the foreground (not as a daemon) for this session so we can easily close it using Ctrl + C.

-t” sets the authentication to true.

Further configuring (required for remote usage!)

Setting the allowed hosts to “*” does not work through the transmission-daemon -a option for some reason, so we must edit the newly created config file. You can, of course, set the allowed hosts to just your IP, but I for instance have a dynamic IP address so I have to set it to “*“. Let’s proceed:

-For Ubuntu:

sudo nano /etc/transmission-daemon/settings.json

-For Debian:

nano /etc/transmission-daemon/settings.json

-Both:
Look for this line:

“rpc-whitelist”:

and set it to your remote IP or to “*”.

Then press Ctrl + O and then Ctrl + X (save and exit).

Run transmission-daemon

Now let’s start transmission-daemon. Simply type:

/etc/init.d/transmission-daemon start

or:

transmission-daemon

(for Ubuntu, use sudo)

It should use all the configuration we used earlier. If for some reason you cannot connect using the Transmission Remote GUI, stop transmission-daemon and check the configuration file.

To stop it:

/etc/init.d/transmission-daemon stop

Start it again with:

/etc/init.d/transmission-daemon start

The transmission-daemon init.d script should already be created, but in case it’s not (for older versions), see THIS PAGE.

Download and configure transmisson-remote-gui

Download Transmission Remote GUI.

This is actually pretty easy, there are binary files for Windows, Linux (all) and Mac, so download the desired format for your OS and run it.

In Linux, all you have to do is make the file called “transgui” executable (chmod +x transgui) and then double click it.

To set it to connect to your newly set up Ubuntu / Debian machine, simply go to Tools > Options, enter the remote host IP (leave the port as is – it should be ok), and also the username and password you’ve set like I have explained in the transmission-daemon configuration above:

transmission remote gui options

(the info in the screenshot was removed for obvious reasons =) ).
Note: you can also use Transmission Remote Java, an alternative to Transmission Remote GUI, but I don’t really like Java so I choose Transmission Remote GUI.

  • Share/Bookmark

How To Compile rTorrent From SVN In Ubuntu 9.10 Karmic Koala / Debian 5 Lenny With Magnet Link Support

Article originally appeared at HowToForge.com

rtorrent_hardyAuthor: Stephan Jau

Introduction

rTorrent is a popular command line based bittorrent client. It provides very powerful features yet it is very light on the system – contrary to other bittorrent clients like Vuze. There are a couple of webinterfaces for it but they are not truly need. SSH access combined with the “screen” program provide you all the tools you need.

Recently a large bittorrent tracker announced, that they will in future only support magnet link. Magnet links are special URLs that contain a hash link that identifies the according .torrent file. By default, rtorrent does not support magnet links. However there is a patch for it provided by Josef. The patch itself is currently split up into 3 seperate patches. This howto provides a step-by-step guide on how to compile rtorrent from svn and applying the magnet link patches (as well as two other patches I am fond of).

This howto works for Ubuntu 9.10 Karmic Koala and for Debian 5 Lenny. The difference is that commands that contain sudo must be executed as root.

In this howto I assume you download and compile the sources from your ~/rtorrent resp. ~/rtorrent/trunk folder.

 

1. Remove current rtorrent installation

sudo apt-get remove rtorrent libtorrent*

 

2. Install necessary packages

sudo apt-get install subversion build-essential libtool automake openssl libsigc++-2.0-dev libncurses5-dev libcurl4-openssl-dev

 

3. Create rtorrent folder

mkdir ~/rtorrent

 

4. Go into the rtorrent folder

cd ~/rtorrent

Current location: /home/USER/rtorrent

 

5. Get the rtorrent sources by svn

svn co svn://rakshasa.no/libtorrent/trunk

Current rtorrent version is: rev. 1105.

 

6. Get into the trunk folder

cd trunk

Current location: /home/USER/rtorrent/trunk

 

7. Download the patches

For Magnet Link support:

wget http://ovh.ttdpatch.net/~jdrexler/rt/experimental/dht-pex-static_map.diff
wget http://ovh.ttdpatch.net/~jdrexler/rt/experimental/magnet-uri.diff
wget http://ovh.ttdpatch.net/~jdrexler/rt/experimental/object-sstr.diff

As mentioned before the magnet link patch was supplied by Josef. The magnet link patches are still in development but enough stable to use them already. For more info on the development go here: http://libtorrent.rakshasa.no/ticket/1382

Colour support for rtorrent:

wget http://www.simplylinux.ch/rtorrent/canvas-color.patch

This patch enables you to colorize the rtorrent cli interfaces. It differentiaties between completed/uncompleted torrents and active/inactive ones. I first had to get used to it also but meanwhile I think it’s really a good enhancement. The patch was originally supplied here: http://libtorrent.rakshasa.no/ticket/1382. However that patch does not work with the current rev. 1105. Because of that I fixed it and supply it also from my server.

Torrent Tracker Stats:

wget http://www.simplylinux.ch/rtorrent/trackerinfo.patch

This patch shows the number of seeders/leechers/completed as supplied by the tracker in the tracker view. Often it’s not accurate however it’s usefull for me to check if a tracker has any peers at all listed for a given torrent.

 

8. Apply the patches

Magnet link support:

patch -p0 < dht-pex-static_map.diff
patch -p0 < magnet-uri.diff
patch -p0 < object-sstr.diff

Colour support for rtorrent:


patch -p0 < canvas-color.patch

Torrent Tracker Stats:

patch -p0 < trackerinfo.patch

 

9. Get into the libtorrent folder

cd libtorrent

Current location: /home/USER/rtorrent/trunk/libtorrent

 

10. Run the autogen.sh script

./autogen.sh

 

11. Configure libtorrent

./configure

 

12. Compile libtorrent

make

 

13. Install libtorrent

sudo make install

 

14. Extend /etc/ld.so.conf

echo “include /usr/local/lib” | sudo tee -a /etc/ld.so.conf

 

15. Updated ld.so cache

sudo ldconfig

 

16. Get into the rtorrent folder

cd ../rtorrent

Current location: /home/USER/rtorrent/trunk/rtorrent

 

17. Run the autogen.sh script

./autogen.sh

 

18. Configure rtorrent

./configure

 

19. Compile rtorrent

make

 

20. Install rtorrent

sudo make install

 

21. Extend rtorrent configuration

Magnet Link support as provided by this howto requires a session folder. If there is no session folder defined yet in the ~/.rtorrent.rc config file or if that config file does not exist yet, then it has to be added. An example for an ~/.rtorrent.rc file can be found here: http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest. In addition I would also set the DHT option to “on”.

You can also just copy the .rtorrent.rc config file from the trunk and then edit it:

cp ~/rtorrent/trunk/rtorrent/doc/rtorrent.rc ~/.rtorrent.rc

To make use of the colour patch, also the colour options need to be added to the ~/.rtorrent.rc config. I use this example below:

# Color / Canvas patch
done_fg_color = 2
#done_bg_color = 2
active_fg_color = 1
#active_bg_color = 4

With these options inactive completed torrents will be displayed as dark green, active ones as bright green, inactive incompleted torrents are displayed in dark red, active ones in bright red. To customize this further you can use those colours: 0 = black; 1 = red; 2 = green; 3 = yellow; 4 = blue; 5 = magenta; 6 = cyan; 7 = white

 

22. Run rtorrent

rtorrent

 

Howto use magnet links

The use is actually quite simple. In rtorrent press the backspace or enter key and then paste the magnet link url. The difference between the backspace and enter key is, that backspace auto-starts the magnet link and enter just add it but does not start it.

To make rtorrent auto-fetch magnet links that you click on you can use this bash script provided also by Josef:

#!/bin/bash

cd ~/watch    # set your watch directory here
[[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit;
echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent"

Save that script somewhere in your home folder e.g. ~/rtorrent_magnet.sh and make it executable. Then tell your browser that when a magnet link is clicked, that this script should be run (or the magnet link be opened by this script). I did not try it myself but I have faith in Josef’s abilities as it was him who actually supplied the magnet link patch.


  • Share/Bookmark

The Pirate Bay Tracker Shuts Down for Good

The-Pirate-Bay-Trial-Waiting-on-a-VerdictToday marks the end of an era, as The Pirate Bay team announces that the world’s largest BitTorrent tracker is shutting down for good. Although the site will remain operational for now, millions of BitTorrent users will lose the use of its tracker and will instead have to rely on DHT and alternative trackers to continue downloading.


tpbIn the fall of 2003, a group of friends from Sweden decided to launch a BitTorrent tracker named ‘The Pirate Bay’. It soon became one of the largest BitTorrent trackers on the Internet, coordinating the downloads of more than 25 million peers at its height.

Despite this success, The Pirate Bay operators today decided to pull the plug and close down the tracker permanently. The evolution of the BitTorrent protocol has made trackers redundant they say, as BitTorrent downloads work well with trackerless solutions such as DHT and PEX.


To read the Full article at TorrentFreak Click Here


So falls one of the greats in the Bittorrent realm. Please note that Linuxtracker.org is safe as we only distribute torrents for things that are Linux related and available under the GPL.

  • Share/Bookmark