1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NAS200 torrent client

Discussion in 'Cisco/Linksys Network Storage Devices' started by Nymus, Apr 29, 2008.

  1. Nymus

    Nymus Addicted to LI Member

    Has someone succeeded in setting up rtorrent on his NAS200?
    I am a *NIX noob myself, but like to learn how to do this.
    Have some 'experience' in working with the NSLU2...

    If someone can help me setting up rtorrent and sharing his/her knowledge via this forum, please do so.

    All I know is that libtorrent is required to install rtorrent.
    When running ./configure on libtorrent however i get an error stating that the c compiler is not found.
    Running etc/version gives me GCC version 3.3.4 installed?


    Kind Regards,

    Nymus
     
  2. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    If you're trying to compile this on the NAS using my firmware, that won't work. You will have to cross-compile it on a Linux PC using the compiler that's included with the Linksys source tarball.

    For the programs I compiled for the NAS200, I used an X86 Linux Gentoo install. With Gentoo's package manager Portage, I can build almost everything by simply typing a command similar to: ROOT=/myprogram emerge -av myprogram . This will build myprogram and will install all necessary files in /myprogram. If myprogram depends on any other programs, they will be installed there too. Sometimes it takes some tinkering to get it right; you have to change USE flags. And sometimes a program simply won't run (even though you can compile it), then you'll have to troubleshoot or find someone else who can do it for you. I understand that that's what you're doing and I'm not much help here, but I promise this will all get easier once I get my generic firmware done so that you can simply run a regular distro like Gentoo or Debian and use their package managers to install things.

    Meanwhile, I can recommend Linux From Scratch to learn about Linux, and Gentoo as a kind of automated version of Linux From Scratch.

    ===Jac
     
  3. Nymus

    Nymus Addicted to LI Member

    Jac,

    Thx for your reply.
    Any idea how long your generic firmware will take to build?
    Not that I wanna rush you...
    I just want to install some small apps on my NAS200 and I am wondering what will be the fastest way to do so.

    Install Gentoo on some kind of spare machine to cross-build the applications myself.
    Which won't go that smooth considering my *NIX knowlegde :)
    Or wait for the new generic firmware and just do an apt-get to install some packages :)

    What I would like to run on my box:
    - rtorrent
    - apache with php
    - mysql server
     
  4. jac_goudsmit

    jac_goudsmit Super Moderator Staff Member Member

    I'm just getting started on it, and I haven't even reached the end of step 1: re-creating the R62 firmware without modifications, or step 2: re-creating Jac0 from the Generic solution. Depending on the amount of help I get from the community, it will take a couple of weeks or a couple of months to get to my goal of running almost ANY Linux distro on the NAS200.

    For now, I'm afraid the only way is to do it manually: unpack tarballs, and write shell scripts...

    Like I said in other posts, I use Gentoo on my Linux machines and there I can just do a ROOT=/myprogram emerge myprogram and it builds exactly what I want and puts everything into /myprogram in the directory tree where "myprogram" expects to find it.

    You could run Gentoo in a virtual machine, there's a Gentoo VMWare image available at www.gentoovm.com, that will save you some work to set it up. But I found that setting up Gentoo (and before that, doing a Linux From Scratch install) was a great way to learn about Linux.

    That's the way I want to make it work eventually, yes.

    Remember the NAS200 hardware is very modest so running a complete LAMP server may not give you the performance you expect. If you want to run all three of these at the same time, you're probably going to completely bring the hardware to its knees and I wouldn't be surprised if it will take 5 minutes to log in to the shell when you have all this running... :)

    ===Jac
     
  5. matwater

    matwater Guest

    Hi,

    Get to see that the NAS200 homebrew firmware has now got started..

    Once I've split my drives into serperate drives and not RAID0 I'll flash it with the new JAC firmware.

    I currently use TorrentFlux on a old PIII linux(Fedora) setup.

    My question is.. When i get around to get a BitTorrent client setup on my NAS200 what clients similar to TorrentFLux do you think will run on the NAS200?

    I'm assuming that TorrentFlux won't work due to it's hungry pre-req's i.e. Apache and MySQL
     

Share This Page