LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2006, 11:46 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
About rtorrent


Hi folks,

FC5_64
rtorrent.x86_64 0.4.5-1.fc5

I was running "rtorrent" to download KNOPPIX_V5.0DVD-2006-02-25-EN.iso. Power interrupted and the ISO image was not completely download. I'm trying to figure how to continue/resume download.

IIRC, last time on user desktop, I ran;

$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

The ISO image was automatically saved on /home/user/


Whether copy KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent from user desktop to /home/user/ (same user)

$ cp KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent /home/user/

and then

$ cd /home/user

re-run

$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

to continue download.

Please shed me some light. TIA

B.R.
satimis
 
Old 05-23-2006, 12:10 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
your question gets confusing to me at "Whether copy KNOPPIX," etc. in general, i believe you can usually just restart a torrent with the same command you used originally, whereupon the torrent will "resync" and then start downloading again at the point where it left off. unless you moved it, and maybe that's what you're talking about with all the /home/user and user desktop information?

i guess it's also remotely possible that the power failure corrupted the file, and if you're already having problems with the download, to be safe you might consider deleting what you've downloaded so far, getting a new .torrent file, and starting over from scratch. it might seem annoying to have to do that, esp. if you're on dialup, but if the file is corrupted it could actually end up saving you time in the long run.
 
Old 05-23-2006, 05:48 PM   #3
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
Rtorrent is great. There should be an 'interactive' command line menus for adding multiple torrents, stopping ones, resuming others, increasing upload throttles, adjusting minimal number of peers, etc. See 'man rtorrent'. I'm running rtorrent-0.4.3 and there is a .rtorrent.rc -file where one can configure all needed options.
 
Old 05-23-2006, 08:59 PM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi slackhack and folks,

Tks for your advice.

That was the first time for me using utorrent. Power interrupt was caused by mistakenly turning off the power switch of the PC on the panel in order to turn of the power supply of a printer.

I looked around "man rtorrent" figuring out the steps posted on my first posting. But having not much confidence so I started seeking folks' advice.

Quote:
your question gets confusing to me at "Whether copy KNOPPIX," etc. in general, i believe you can usually just restart a torrent with the same command you used originally..
IIRC the steps performed previously to download "KNOPPIX_V5.0DVD-2006-02-25-EN.iso" are as follows;

1)
download "KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent" on user desktop (/home/user/desktop)

2)
started Konsole as user (same user)

3)
ran;
$ /usr/bin/rtorrent /home/user/desktop/KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

The ISO image was automatically saved on /home/user/KNOPPIX_V5.0DVD-2006-02-25-EN.iso

Now it is still there of about 3G in size, incomplete. The total size of the ISO image is about 3.9G


After looking around on "man rtorrent" I'm prepared to resume downloading with following steps;

1)
Start Konsole as user
$ cp /home/user/desktop/KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent /home/user/

Now both "KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent" and the incomplete ISO image' are there (/home/user/)


2)
re-run
$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent


Would the above steps appropriate? TIA.


I don't mind to re-start from scratch. However I expect to learn something new to me.


B.R.
satimis
 
Old 05-23-2006, 09:52 PM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
i don't have rtorrent, so i can't say for sure, but you should be safe just running the torrent again, as you described. if it takes any special option to resume, it should be listed in --help or the man page. maybe you could also backup what you do have saved just as a precaution, so you don't lose it while experimenting.
 
Old 05-24-2006, 12:52 AM   #6
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
If we are talking about the same rtorrent, I would proceed to a fresh download of the ISO as it does not take that long anyhow. Instructions are laid down in the manual pages or in:

http://libtorrent.rakshasa.no/

I have .rtorrent.rc under /home/user. I have made also a directory /home/user/rtorrent which is is the session directory and /home/user/torrent where the complete torrents are saved. Whenever I want to download a torrent, I simply hit 'rtorrent' under /home/user/torrent, where I also always save the .torrent -files, and add new torrents by hitting first backspace, then tab, after which typing the torrent I want to download. Rtorrent handles all resumes. Thus, no need to specify the actual location of the file when the rtorrent is called. Whatsoever, .rtorrent.rc needs to be configured correctly. The above link gives an example file.

Slackhack, I strongly urge you to try Rtorrent and experience the speed and efficiency of libraries written in C++.

Last edited by gloomy; 05-24-2006 at 12:58 AM.
 
Old 05-24-2006, 04:58 PM   #7
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by gloomy
Slackhack, I strongly urge you to try Rtorrent and experience the speed and efficiency of libraries written in C++.
thanks, i use bittornado on a separate server through torrentflux, and on first glance rtorrent doesn't seem to be compatible with tflux. maybe i'll look into it more if i have time, but my downloads all seem pretty fast as it is.
 
Old 05-26-2006, 11:03 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi gloomy,

Tke for your advice and URL.

I'm running "rtorrent.x86_64 0.4.5-1.fc5" on FC5_64.

I found the sample file on /usr/share/doc/rtorrent-0.4.5/rtorrent.rc.example

If after having the sample file edited save it on /home/user/.rtorrent.rc whether each time evoking;

$ /usr/bin/rtorrent
it will use the configure file .rtorrent.rc to run "rtorrent"

Tks

Quote:
I have .rtorrent.rc under /home/user. I have made also a directory /home/user/rtorrent which is is the session directory and /home/user/torrent where the complete torrents are saved. Whenever I want to download a torrent, I simply hit 'rtorrent' under /home/user/torrent, where I also always save the .torrent -files, and add new torrents by hitting first backspace, then tab, after which typing the torrent I want to download.
I can't find where rtorrent has been installed.

# find / -name rtorrent -type d
Code:
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
# rpm -qal rtorrent
Code:
/usr/bin/rtorrent
/usr/share/doc/rtorrent-0.4.5
/usr/share/doc/rtorrent-0.4.5/AUTHORS
/usr/share/doc/rtorrent-0.4.5/COPYING
/usr/share/doc/rtorrent-0.4.5/INSTALL
/usr/share/doc/rtorrent-0.4.5/README
/usr/share/doc/rtorrent-0.4.5/TODO
/usr/share/doc/rtorrent-0.4.5/rtorrent.rc.example

B.R.
satimis
 
Old 02-19-2008, 09:36 AM   #9
properganda
Member
 
Registered: Jan 2008
Posts: 43

Rep: Reputation: 15
Quote:
Originally Posted by gloomy View Post
Rtorrent is great. There should be an 'interactive' command line menus for adding multiple torrents, stopping ones, resuming others, increasing upload throttles, adjusting minimal number of peers, etc. See 'man rtorrent'. I'm running rtorrent-0.4.3 and there is a .rtorrent.rc -file where one can configure all needed options.
Where is this .rtorrent.rc file? I did a locate for it but can't find it... do you have to create this file in the directory from which you are running it from?
 
  


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
cant compile rtorrent ruskie Linux - Software 3 07-08-2010 02:57 PM
rtorrent/libtorrent error truthe Linux - Software 0 06-26-2005 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration