![]() |
How to install CTorrent on OpenSlug:Using ipkg to install CTorrent:
If you are behind a firewall, you need to open at least port 2706 TCP incoming. CTorrent starts trying port 2706, and if it fails it starts counting downwards towards 2106 TCP. You might want to install screen (ipkg install screen), so that you can run ctorrent in a screen session:
CTorrent uses quite a bit of memory (Currently, it's using about 58% on my slug), so you might run into problems if you run a lot of services on your slug. The memory usage is adjustable with -C. The default cache size is 16MB, which explains the high mem usage. In the script below, it's changed to 4MB which is no problem for most slugs. Feel free to change it ;-) Below is the script I use to automatically download torrents I save on a share: This script is run as a cron-job every now and then. I start it as a screen session with " It's not advanced, and doesn't check much for errors. Feel free to update it a bit ;-) It doesn't handle filenames with spaces/special chars. You'll need mailx and ssmtp for it to be able to send mail
My ctorrent was getting killed because it was hogging all the memory. Solution: add swap. http://www.nslu2-linux.org/wiki/HowTo/AddAdditionalSwapSpace |