ipkg + transmission-daemon + LsLivev3

I will be referring “Buffalo Linkstation Live with Bittorrent” as LsLivev3

From the day I bought my LsLivev3 until the time I am writing, I am not satisfy with the performance of its default bittorrent client.
It open up a lot of port, chocking a lot of router and LsLivev3 memory, yet download rate were dissatisfactory.

Initially, I intend to install FreeLink: it is one of alternative firmware that frees up my LsLivev3 from Buffalo default access restriction.
After reading through the documentation, I felt it is too risky to proceed it.
Plus, the devices that had been discussed there, are previous version of Buffalo Linkstation Live and Pro series, which is v1 and v2.

Then another post in LS Live 3 AKA LS-CHL: How to backup and setup lenny caught my interest, installing Debian, Lenny version on it.
Yet again, too risky. Now, it include voiding the warranty.

Scrap again.

Reading through another post in Installing rtorrent and ntorrent on LS Live, not only the solution is safe and avoid warranty void, it also offer alternative application like apt-get: ipkg.

apt-get or Advanced Packaging Tool is an application that handles software installation on Linux.
Rather than compiling the source code, compile its dependency library and etc, apt-get offer easy solution for installing software.
It automatically search for software dependency and install it directly.

From here on, I will be using alien language for some will confuse.
So ignore this if you are not interested.

Let us begin.


1.   Introduction

LsLivev3 by default, have the apt-get application, but not useable.
There is no reason for you to pursue of getting it work, too troublesome.
Solution, installing ipkg from optware.

First of all, you need to unlock your LsLivev3 with acp_commander,
or refer here for more detailed documentation on it :
Open Stock Firmware

PS – Your machine must have java installed.


2.   Accessing Your LsLivev3

Fired up your command line or terminal.

java -jar acp_commander.jar -t <IP ADDRESS> -o

replace <IP ADDRESS> with your LsLivev3 IP address.

Then, open up telnet application:

telnet > o <IP ADDRESS>

login as root, no password.


3.   Installing ipkg and transmission and configure Transmission

Bootstrap it (LsLiveV3)

cd /tmp
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh
sh lspro-bootstrap_1.2-5_arm.xsh

Reconnect back your telnet, update your ipkg and start install Transmission

ipkg update
ipkg install transmission

PS – There are other packages offer by ipkg, do check it out : IPKG Package List

Once everything done, you need to edit your transmission config file.

vi /root/.config/transmission-daemon/settings.json

If you do not know how to use vi, I suggest copy the whole config file to your storage area, and edit it there.
Don’t forget to change the owner (default is nobody)

cp /root/.config/transmission-daemon/settings.json /mnt/disk1/<ur_share_folder_name>/
chown nobody /mnt/disk1/<ur_share_folder_name>/settings.json

Here is my configuration file. Detailed documentation can be found here : Editing Configuration Files for Transmission

{
“blocklist-enabled”: 0,
“download-dir”: “/mnt/disk1/UltraStorage/Download/”,
“download-limit”: 100,
“download-limit-enabled”: 0,
“upload-limit”: 25,
“upload-limit-enabled”: 1,
“encryption”: 1,
“max-peers-global”: 200,
“peer-limit-global”: 240,
“peer-limit-per-torrent”: 60,
“lazy-bitfield-enabled”: 1,
“peer-socket-tos”: 8,
“peer-port”: 51413,
“port-forwarding-enabled”: 1,
“peer-port-random-enabled”: 1,
“peer-port-random-low”: 1024,
“peer-port-random-high”: 65535,
“pex-enabled”: 1,
“rpc-authentication-required”: 0,
“rpc-password”: “”,
“rpc-port”: 9091,
“rpc-username”: “”,
“rpc-whitelist”: “192.168.1.*”
}

Once everything is done, save it and run the transmission

transmission-daemon

If you editing the file without using vi, you should copy paste it back.

cp /mnt/disk1/<ur_share_folder_name>/settings.json /root/.config/transmission-daemon/settings.json


4.   Running and Accessing Transmission

transmission-daemon

To access it in browser, simply logon to http://<IP_ADDRESS>:9091

  1. To get LsLiveV3 to launch Transmission upon boot, append a line before “exit 0″ within /etc/rc.d/init.d/rcS.

    example:

    # Transmission Torrent Client
    transmission-daemon -a 192.168.2.* -B -T -w /mnt/disk/share/bittorent/

    exit 0

  2. for those using copy paste method, and want to edit initialization file at /etc/rc.d/init.d/rcS.

    as for now, don’t edit the initialization file through copy paste method.

    you might get corrupted file, as encoding support on linkstation is limited.

    use vi instead.

    • Pig
    • February 4th, 2009 10:01am

    Hi there,

    I’ve a same LS CHL box as you but I’m looking for the same package but with 0.8.2 rtorrent instead, do you have it, please?? My private tracker does not allow me to use latest verion yet. Please upload the pervious ipkg package with rtorrent 0.8.2 version, please? I’ve tried everywhere but they are all expired!!
    Thank you very much!!

    Regards

  3. Hey there,

    Unfortunately, my box had broken down.
    Worst of all, its flashing red.
    Meaning, it needs to be send to Buffalo Service Center.

    It happen when I edit the initialization file and save it in unsupported busybox encoding scheme.

    I can’t help much dude, but I really wanted to have rtorrent running smoothly in it.

    About the rtorrent version, unfortunately, you need to download the source and compile it.
    That is the best way to deal with your situation.

    Hope it helps.

    • Pig
    • February 7th, 2009 9:05pm

    Dear zaidaiman,

    I can see you are using transmission from this lspro-bootstrap_1.2-5_arm package, may I ask which version of the Transmission, please? so that I can check if my private tracker allowed this bt client.
    Thank you

    • Pig
    • February 7th, 2009 9:45pm

    Dear zaidaiman,

    After my researched, this transmission is 1.41 version which is allowed from my private tracker but bad news is: Transmission is for Mac or GTK+ only…
    Can I still use it if I’m on XP??
    Sorry, I’m a noob!!

  4. Transmission currently is not supported in Windows XP.

    Why not try Deluge? http://deluge-torrent.org/

    • Pig
    • February 16th, 2009 12:19am

    Dear zaidaiman,

    After weeks of researched I’ve finally found a useful website regarding rtorrent and mldonkey on our box, here is the web address: http://nas1.com.cn/thread-885-1-1.html

    Hope you understand their english and wish you find this useful too.
    Thank you for all your answers.

    Kindest Regards

    • Tony
    • February 18th, 2009 5:27pm

    Hi.

    Will this solution really work on a LS-CHL???

    If it would that would be the greatest.

    //Tony

    • Raed
    • February 20th, 2009 10:05pm

    Hi zaidaiman

    Thanks for this post dear

    but I have problem with transmission 1.42

    I can not found this file .config/transmission-daemon/settings.json

    I have windows vista but i use SSH whit my storge device (linux machine)

    I use also find command but can not found it

    can you help me please :(

    Best Regards,

  5. @Tony
    Yes! This solution will work on LS-CHL.
    But the drawbacks of this is memory issues.
    Transmission does take a huge amount of memory.
    So you need to restart your LS-CHL every single day.

    @Raed
    That is weird, you can’t find the config file?
    I have no idea how to solve yours…
    Try find it probably in /home, /, /var, /root
    Sorry, can’t help that much!

    • Raed
    • February 21st, 2009 9:06pm

    zaidaiman

    no problem dear

    thanks for replay :)

    • Pig
    • April 26th, 2009 3:48am

    Dear zaidaiman,

    I’m back again!!
    I’ve installed the transmission and i also done the edit of the transmission config file but then i don’t know how to save it. can u tell me the command line or which button to press, please?

    thank you very very much!

    • Pig
    • April 27th, 2009 7:44am

    Dear zaidaiman,

    Its ok now, I’ve asked somebody else already! Thank you.
    Have a great day!

    Regards

    • Kasper Warberg
    • October 28th, 2009 3:35am

    First of all, thanks to Zaidaiman for writing this guide – it worked like a charm, even though somethings are different (i.e. newer versions etc.)

    And I even learned how to use vi :P

    I only have one problem:
    When using devtar’s advise on getting Transmission to start after reboot it doesn’t work.

    Any ideas?

    Could it have something to do with firmware 1.07?

    Kind regards
    – Kasper

  1. August 2nd, 2009
  2. August 17th, 2009

Spam Protection by WP-SpamFree