www.mamboteam.com
macsat.com - OpenWrt | Olegs Firmware  
Home
Friday, 09 January 2009
 
 
Main Menu
Home
About
News
Tutorials - OpenWrt (WR)
Tutorials - Oleg
Wiki (RDC Based Routers)
Online Shop
Forum
Downloads
Free Linux eBooks
Links
Search
Contact Us
We have 6 guests and 1 member online
ede
2944902 Visitors
Login
Welcome Guest.






Lost Password?
No account yet? Register
Old macsat.com
Nokia Unlock (Dansk)
Nokia Unlock (English)
XBins IRC Chat
Enhanced CTorrent - bittorrent client PDF Print E-mail
(3 votes)
Written by macsat   
Tuesday, 17 January 2006

 A lot of people uses the Bittorent protocol to share and download large files. Even though Bittorrent is very fast for exchanging large files, a lot of DVD ISO images takes a long time to download.

Instead of having your computer running, why not let your router download it in the background?

Seti has compiled the Enhanced CTorrent client for OpenWrt. This tutorial will provide installing information, and a little usage information as well.

To be able to follow thisTutorial, you should have GNU screen running as well. Chek out the information in the GNU Screen Tutorial.

 

 

Index


1) Installing Enhanced CTorrent
2) Using ctorrent

Installing Enhanced CTorrent

You can install simply by:
ipkg -d opt install http://www.stud.uni-karlsruhe.de/~uz95/openwrt/ctorrent_1.3.4-dnh2-1_mipsel.ipk

 You will need the openssl and uclibc++ lib's - thoose can be installed like:

ipkg install libopenssl
ipkg install uclibc++

As usual, if you are installing to /opt, you need to run my optlibs.sh script:
optlibs.sh

 Now ctorrent is basically ready to run. Try to run it to see the list of command line options.

Using ctorrent 

 Using ctorrent is pretty straight forward. As with any bittorrent client, you first need to find yourselves a .torrent file of the file you want to download. As an example, you can use the DVD Image of Fedora Core 4.
wget http://torrent.fedoraproject.org/torrents/stentz-dvd-i386.torrent

Now lets start to download. My internet connection is 1024/512, so on order not to kill my connection completely I choose to allow it to download at a max rate of 80 KBytes/sec and upload at a max rate of 35 KBytes/sec. Also I choose to let it share (seed) to file with the rest of the world, for 12 hours after my download is finished:
ctorrent -D 80 -U 35 -e 12 stentz-dvd-i386.torrent

The file will now start downloading, and you can always follow the current state of the download. on the screen.

As torrents are often VERY large downloads (like this 2.5GB file) I normally run my torrent downloads in a GNU Screen session, and let them run over night, or while I am away at work.

Information on GNU Screen, can be found in my GNU Screen Tutorial 

 


 

 

Last Updated ( Wednesday, 01 February 2006 )
 
< Prev   Next >
Buy Router
Buffalo Technology WBR2G54
Buffalo Technology WBR2G54
Recent Forum Topics
Donations

If you appriciate this site, please consider making a small donation.

All donations will be used to cover expenses from running macsat.com.

Syndicate
Sponsored Ads
 
Top! Top!