LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Woo! Slackware 10.1 released today! (https://www.linuxquestions.org/questions/slackware-14/woo-slackware-10-1-released-today-287158/)

gian2oo1 02-07-2005 06:06 PM

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 :D

--Gian

cereal83 02-07-2005 08:50 PM

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!

cereal83 02-07-2005 10:53 PM

Well I reinstalled and everything works now. Just setting everything up

:)

Bruce Hill 02-08-2005 02:03 AM

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...

fritz001 02-08-2005 06:04 AM

ftp.gwdg.de

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

average speed 300kb/s

Okie 02-08-2005 07:10 AM

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

subzero_ice 02-08-2005 08:16 AM

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.

gian2oo1 02-08-2005 06:37 PM

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

Bruce Hill 02-08-2005 06:59 PM

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!

gian2oo1 02-08-2005 07:39 PM

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


All times are GMT -5. The time now is 04:53 AM.