Tiny Core Linux

Tiny Core Extensions => TCE News => TCE 1.x => Topic started by: Jason W on March 20, 2009, 11:03:49 PM

Title: btpd
Post by: Jason W on March 20, 2009, 11:03:49 PM
Here is btpd the bittorent protocol daemon/client:

Code: [Select]
Title:          btpd.tce
Description:    BitTorrent Protocol Daemon
Version:        0.15
Author:         Richard Nyberg
Original-site:  www.murmeldjur.se/btpd/
Copying-policy: See /usr/local/share/btpd/COPYRIGHT in the extension.
Size: 60K
Extension_by:   Jason W
Comments:       This extension requires openssl-0.9.8h.tcel.
This extension is PPI compatible.
Change-log:     ----
Current:    2009/03/20 First version

Code: [Select]
Title:          btpd.tcz
Description:    BitTorrent Protocol Daemon
Version:        0.15
Author:         Richard Nyberg
Original-site:  www.murmeldjur.se/btpd/
Copying-policy: See /usr/local/share/btpd/COPYRIGHT in the extension.
Size: 60K
Extension_by:   Jason W
Comments:       This extension requires openssl-0.9.8h.tczl.
This extension is PPI compatible.
Change-log:     ----
Current:    2009/03/20 First version
Title: Re: btpd
Post by: kerpob on March 24, 2009, 07:33:09 AM
Silly question - I downloaded this, but I'm unsure how to launch it! It does not appear in the menu, do you just tpe btpd in terminal or similar?
Title: Re: btpd
Post by: Jason W on March 24, 2009, 09:22:08 AM
Here is a quick start guide that may help.  First download a torrent file, say /home/tc/myfile.torrent.  Then open up btpd:

$ btpd -p 12345 --bw-out 200 --max-peers 40

That will start the btpd process on port 12345, limit outgoing bandwidth to 200kB/s, and limit the number of peers to 40.  Now to download the file.

$ btcli add -d myfile.torrent.d /home/tc/myfile.torrent

Will download the torrent and start seeding.  Adding --no-start to the options will download but not start the torrent.  To stop btpd, use the command "killall btpd".

I will add these instructions to the info file, as well as a link to a complete manual for all the options.