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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-23-2006, 11:46 AM
|
#1
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
05-23-2006, 12:10 PM
|
#2
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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.
|
|
|
05-23-2006, 05:48 PM
|
#3
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119
Rep:
|
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.
|
|
|
05-23-2006, 08:59 PM
|
#4
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
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
|
|
|
05-23-2006, 09:52 PM
|
#5
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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.
|
|
|
05-24-2006, 12:52 AM
|
#6
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119
Rep:
|
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.
|
|
|
05-24-2006, 04:58 PM
|
#7
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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.
|
|
|
05-26-2006, 11:03 AM
|
#8
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Original Poster
Rep:
|
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
|
|
|
02-19-2008, 09:36 AM
|
#9
|
Member
Registered: Jan 2008
Posts: 43
Rep:
|
Quote:
Originally Posted by gloomy
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?
|
|
|
All times are GMT -5. The time now is 05:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|