LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-04-2005, 07:09 PM   #1
krunchyfrog
LQ Newbie
 
Registered: Feb 2005
Location: Montreal, Quebec, Canada
Distribution: FC3
Posts: 3

Rep: Reputation: 0
Question FC3 + Screen + btdownload* = failed download


Hi everyone, congrats for the answers, I've been consulting linuxquestions.org for quite a few months for my FC3 problems.

First, here's the setup. My computer is a P3 1Ghz with 512 MB of RAM, a GeForce4 MX440, a 250GB HD, plus some other junk to keep it all together. I use it as an all around server: Apache experiments, VNC browsing from my job (proxies are blocking me), FTP backups, and pretty soon TV surfing. Basically when I moved in this apartment I found out there was no place for a desktop computer. There's not even a corner to put into, so I simply set it up as a headless server in my laundry room. Then, after a few days, I figured out I could simply run a S-video wire for my video card through the wall and connect it to my TV. And it works! So the next step will be to buy a wireless keyboard/mouse kit pretty soon to I'll be able to surf/check my email/quake/irc/experiment more with my FC3 box. All in all, I think FC3 answers pretty much to all of my questions up to now.

There's a problem that twitches my curiosity thought: In FC2, I could bend an alias kind of like this one:
Code:
alias btget='screen btdownloadheadless.py --display_interval 10 --spew 1 --max_upload_rate 10'
The --max_upload_rate 10 part is necessary because my download/uploads are limited or else I'll have to pay 7$ per GB overused. But every time I use that alias, it simply exits the screen and gets out. I then tried typing manually
Code:
screen btdownloadheadless.py --display_interval 10 --spew 1 --max_upload_rate 10
and it still does it. So now when I want to do some bittorrent from my job, I have to go into VNC, fire up a terminal window, type the line up, minimize the terminal window and then exit VNC. It's pretty weird though, since it worked perfectly in FC2. It's like if it would exit at the very first error or connection failure. It also does that with Ctorrent.

So, Am I the only one to have that screen command bug, or does anyone have an answer?

Thanks for the help.
 
Old 02-25-2005, 03:48 PM   #2
deBeuk
LQ Newbie
 
Registered: May 2004
Distribution: RH9 / Fedora Core 2 / Gentoo / OpenBSD
Posts: 6

Rep: Reputation: 0
This just doesn't work if you try it with an alias. I've had a hell of a time trying to get this to work and ended up with this script:

http://wiseblood.nl/wikifiles/torrent_screen

If you add a mime-entry and configure your browser to open torrents with it you've got a great torrent downloadmanager
Here's my mime-entry: application/x-bittorrent; torrent_screen "%s"
I use btdownloadcurses and bind to an aliased interface but you can change these options if you want to.

Hope it's of any use.
 
Old 02-26-2005, 08:29 PM   #3
krunchyfrog
LQ Newbie
 
Registered: Feb 2005
Location: Montreal, Quebec, Canada
Distribution: FC3
Posts: 3

Original Poster
Rep: Reputation: 0
Wow thanks!
So I just download the script and put it in my homedir and can use it? Or am I still missing something?

Thanks!
 
Old 02-27-2005, 07:57 AM   #4
deBeuk
LQ Newbie
 
Registered: May 2004
Distribution: RH9 / Fedora Core 2 / Gentoo / OpenBSD
Posts: 6

Rep: Reputation: 0
Well. check out the script, there are probabaly some things you might want to change.
For instance, the ports used (I use 6890-6899), and if btdownloadcurses comes without a .py extension on your distro you should remove it from TORRENTCMD. You might want to change --max_upload_rate too.
Also the TORRENTDIR should be set to a directory where you want to keep backups of all the torrents you download (if it doesn't exist it's created).
One thing I haven't been able to correct is the fact the first screen created only has a shell-prompt in it, I just use it to df -h sometimes. I've also heard from some people that the screen-session isn't created the first time you run the script (when there's no screen named BitTorrent). You can create it manually with screen -S BitTorrent then for a quick workaround.

Hope you get some use out of it
 
  


Reply



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
btdownload*.py, works from Command Line, not from cron SkipHuffman Linux - Software 11 12-30-2005 02:55 PM
Gentoo python problem (btdownload, gdesklets etc.) teek Linux - Distributions 2 10-16-2005 03:05 PM
FC3 boot failed with new hardware minnie Fedora 1 08-06-2005 11:34 AM
downloading fc3 failed jwijesundra Linux - General 3 12-04-2004 09:18 PM
Bittorrent Download... 2 Hashes failed Moebius01 Mandriva 3 11-21-2003 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:33 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