LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2005, 06:06 PM   #61
gian2oo1
Member
 
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
Easy, Breezy, Beautiful...Slackware!


Quote:
Originally posted by cereal83
lol whats funny is you guys can use linux like nothing but you can't get bit torrent to work :P Well hopefully you figure it out since it's not too hard. If you have a firewall or router or router/firewall it's going to be slow. If you have a direct connection to the net and no firewall (software or hardware) then it's going to be really fast.
Aaahhh! Completely false! If you foward a port behind your firewall/router you would receive the SAME speed as if you were directly connected to the internet.

Heres a quickie guide for downloading 10.1 via torrents:

1- Download CTorrent
wget http://unc.dl.sourceforge.net/sourceforge/ctorrent/ctorrent-1.3.2.tar.gz

2- Install CTorrent
tar -zxf ctorrent-1.3.2.tar.gz ; cd ctorrent-1.3.2 ; ./configure ; make ; su -c "make install"

3- Find your internal IP
run /sbin/ifconfig and write down your internal IP address.

4- Configure your router/firewall
Log into your router (should be your gateway IP, such as 192.168.0.1 or possibly 192.168.1.1 or 10.0.0.1) Next look for port fowarding or a gaming section on some Linksys routers. Enter port 2706 in the port textbox and your IP in the IP textbox.
*CTorrent uses port 2706 by default*

5- Run CTorrent with your .torrent file
Get into your directory which has your torrent (I'll assume it is slack.torrent) and issue the following command:
ctorrent slack.torrent

And your set! Don't forget to buy it online to show support & and it's always good to have a backup

--Gian

Last edited by gian2oo1; 02-07-2005 at 06:07 PM.
 
Old 02-07-2005, 08:50 PM   #62
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 478

Rep: Reputation: 30
I installed it but it couldn't find my network card and x wouldn't work but my LS Audigy LS worked right out of the box I just had to set the mixer settings.

so if I have no nic card that works it's pointless!
 
Old 02-07-2005, 10:53 PM   #63
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 478

Rep: Reputation: 30
Well I reinstalled and everything works now. Just setting everything up

 
Old 02-08-2005, 02:03 AM   #64
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: Easy, Breezy, Beautiful...Slackware!

Quote:
Originally posted by gian2oo1
5- Run CTorrent with your .torrent file
Get into your directory which has your torrent (I'll assume it is slack.torrent) and issue the following command:
ctorrent slack.torrent

And your set!

--Gian
I followed your directions and got to here:
Quote:
mingdao@james:~/BitTorrent/slackware-10.1-iso$ ctorrent slackware-10.1-install-d1.torrent
META INFO
Announce: http://trackers.transamrit.net:8082/announce
Create On: Mon Feb 7 08:42:55 2005
Piece length: 262144

FILES INFO
Directory: slackware-10.1-iso
<1> slackware-10.1-install-d1.iso [664737792]
<2> slackware-10.1-install-d1.iso.asc [189]
<3> slackware-10.1-install-d1.iso.md5 [64]
Total: 633 MB

Already/Total: 0/2536
Listen on: 2706
| 1,[0/2536/2536],256,0 | 0,0 E:0
(in that last line, the first pipe rotates like a gear, and the 256 changes,
it's down to 105 now - others stationary)
And a new directory was created
Quote:
mingdao@james:~/BitTorrent/slackware-10.1-iso/slackware-10.1-iso$ ls -alc
total 646
drwxr-xr-x 2 mingdao users 208 2005-02-08 15:45 ./
drwxr-xr-x 3 mingdao users 520 2005-02-08 15:45 ../
-rw-r--r-- 1 mingdao users 664737792 2005-02-08 15:45 slackware-10.1-install-d1.iso
-rw-r--r-- 1 mingdao users 189 2005-02-08 15:45 slackware-10.1-install-d1.iso.asc
-rw-r--r-- 1 mingdao users 64 2005-02-08 15:45 slackware-10.1-install-d1.iso.md5
but cat won't even work with the .md5 file...
Quote:
mingdao@james:~/BitTorrent/slackware-10.1-iso/slackware-10.1-iso$ cat slackware-10.1-install-d1.iso.md5
mingdao@james:~/BitTorrent/slackware-10.1-iso/slackware-10.1-iso$
Can you enlighten me?

The whole of the README file states
Quote:
mingdao@james:~/BitTorrent/slackware-10.1-iso/slackware-10.1-iso$ cat /usr/ctorrent-1.3.2/README
CTorrent
CTorrent is a BitTorrent(be know as BT usually) Client program by C for FreeBSD and Linux. Fast and small are CTorrent`s two strengths.
which ain't a lot of help. Without you I wouldn't have gotten this far.

And the INSTALL file states
Quote:
mingdao@james:~/BitTorrent/slackware-10.1-iso/slackware-10.1-iso$ cat /usr/ctorrent-1.3.2/INSTALL
How to install:

$ ./configure
$ make install
$ hash
$ ctorrent -h
which is a little different than your instructions.
However, issuing hash results in
Quote:
root@james:/usr/ctorrent-1.3.2# hash
hash: hash table empty
As I usually read with torrent users, I'm taking a nap...
 
Old 02-08-2005, 06:04 AM   #65
fritz001
Member
 
Registered: Aug 2004
Posts: 119

Rep: Reputation: 18
ftp.gwdg.de

/pub/linux/slackware/slackware-10.1-iso

average speed 300kb/s
 
Old 02-08-2005, 07:10 AM   #66
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 964

Rep: Reputation: 34
for those that want to support this great distro but do not have a credit card for online purchases and/or prefer snail mail, i sent a US Postal money order to the following address:


Slackware Linux
1164 Claremont Dr
Brentwood Ca 94513

Slackware 10.1 39.95
Shipping (US) 5.00
 
Old 02-08-2005, 08:16 AM   #67
subzero_ice
LQ Newbie
 
Registered: Apr 2004
Distribution: Gentoo, Slackware
Posts: 8

Rep: Reputation: 0
CTorrent - Interpretting the output

Excerpts from the CTorrent faq.

How do I check status of my download? 2004-02-01 04:27:56
Once CTorrent starts to download, all you will see is 1 line of status. It's kind of hard to interpret what all the numbers mean, so here's an example:

10, [0/334/331], 6070,9845, | 5004,3984 E:3
10 - Number of connected peers (other people who have the file you are downloading)
0/334/331 - Downloaded/Total/Available pieces of the file. All pieces may not be availabe at all times since peers go offline.
6070,9845 - Average downloadspeed (in bytes/s), Average uploadspeed (in bytes/s)
5004,3984 - Current downloadspeed (in bytes/s), Current uploadspeed (in bytes/s)
E:3 - The tracker has refused connections 3 times.

CTorrent allocates space for a file downloading it. In your case the download didn't complete and that is the reason why you couldn't cat the md5 checksum file.

More information on CTorrent can be found at
Getting Startedhttp://ctorrent.sourceforge.net/?action=started
FAQ -http://ctorrent.sourceforge.net/?action=faq


Hope thats helpful.
 
Old 02-08-2005, 06:37 PM   #68
gian2oo1
Member
 
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
Chinaman,

subzero is correct. On the last line (the status line) when you issued:

ctorrent slack.torrent

that 0 has to reach 2536. [0/2536/2536] means the entire file is in 2,536 pieces and you have access to download 2,536 pieces but you have download 0 pieces so far. Just issue that command and it should be done in the morning.

Good luck!

--Gian
 
Old 02-08-2005, 06:59 PM   #69
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
subzero_ice,

Thanks for the links! I never thought to go there...

Gian,

My torrent never got above those few KB/s so
I d/led the CD ISOs with gftp and am now getting
the DVD ISO the same way (at ~ 82KB/s). Not
what you'd expect from a 2Mbps ADSL line. :/

Thanks for the information. I'll try to use Ctorrent
some more for downloads, since I never get any
good rates from my stinking ISP here.

Is there a way that I could seed this torrent for
others? The only way I know is to keep that connection
open, but since I've already got all the images, I don't
want to use my bandwidth d/ling them again.

Thanks! And also for the good CTorrent HOW-TO!
 
Old 02-08-2005, 07:39 PM   #70
gian2oo1
Member
 
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
Seed torrent when downloading via FTP

Quote:
Originally posted by Chinaman

Gian,

Is there a way that I could seed this torrent for
others? The only way I know is to keep that connection
open, but since I've already got all the images, I don't
want to use my bandwidth d/ling them again.
[/B]
If your image and the image in the torrent are exactly the same, surely! Assuming slack.torrent downloads disc1image.iso in the current directory, just follow:

1- Check if file exists (As to double-check the files are the same)
ctorrent -c slack.torrent

If everything goes well:

2- Seed file
ctorrent -s slack.torrent

Well, I just checked your previous post and your torrent created one directory and should if run, download an .iso, .md5 and .asc. In your case, just delete those files it allocated and replace them with the iso, md5 and asc you downloaded via FTP (make sure the filename are the same!) and rerun the "ctorrent slack.iso". CTorrent will scan the files and know that they have been downloaded already and then will seed it for you automatically (for 72 hours... use "-s" option for unlimited hours of seeding). You can also just run "ctorrent" for a list of other useful options to use with ctorrent.

Hope this helps,

--Gian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia released new video drivers, ver 7174 today Pudge Fedora 3 04-01-2005 10:05 AM
New ATI drivers released today 1/17/05 Micro420 Linux - Software 12 01-27-2005 11:09 AM
Slackware 10.0 RC1 Today Released!!!! cHarOn99 Slackware 4 06-16-2004 01:21 PM
new nvidia driver released today! (4496) neenee Linux - General 13 07-31-2003 01:10 PM
Neverwinter Nights for Linux released today moses Linux - Software 8 06-21-2003 01:21 AM


All times are GMT -5. The time now is 09:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration