Archive

Archive for the ‘DNS323’ Category

Installing Transmission on the DNS323

August 10, 2009 9 comments
  1. SSH to your NAS
  2. Create a folder called packages in your box
    mkdir /mnt/HD_a2/packages
  3. Goto the packages folder
    cd /mnt/HD_a2/packages
  4. Install uclibc using the 3 commands below
    wget http://www.inreto.de/dns323/fun-plug/0.5/packages/uclibc-0.9.29-7.tgz
    funpkg -i uclibc-0.9.29-7.tgz
    reboot
  5. Installing Transmission using the commands below
    wget http://kylek.is-a-geek.org:31337/files/curl-7.18.1.tgz
    wget http://kylek.is-a-geek.org:31337/files/Transmission-2.12-1.tgz
    funpkg -i curl-7.18.1.tgz
    funpkg -i Transmission-1.73-7.tgz
    Note if you have previously installed transmission before, you will need to kill the processes. To do so , run top to list all the running processes, the issue kill [pid] e.g kill 2377 for each of the transmission-daemon running, then run the following 2 commands(You can refer to http://www.transmissionbt.com/download.php for the latest transmission files)

    funpkg -I curl-7.18.1.tgz
    funpkg -U Transmission-1.73-7.tgz

    chmod a+x /ffp/start/transmission.sh
    reboot

  6. Updating clutch whitelist
    vi /mnt/HD_a2/.transmission-daemon/settings.jsonEdit the line with “rpc-whitelist” to something like “rpc-whitelist”: “127.0.0.1,192.*.*.*”, (assuming 192.*.*.* is your local ip subnet)
    Edit the line with “download-dir” to the download path for your torrents e.g download-dir”: “\/mnt\/HD_a2\/Torrent\/incomplete”
    Edit the line with “blocklist-enabled” to “blocklist-enabled”: 1
  7. Access clutch via its url http://%5Bip of your nas]:9091/
  8. Configuring Block Lists
    Goto the transmission block list folder (/mnt/HD_a2/.transmission-daemon/blocklists)
    Create a new file containing the following lines

    rm level1.gz -f
    #wget http://www.bluetack.co.uk/config/level1.gz
    wget http://download.m0k.org/transmission/files/level1.gz
    tar -x level1.gz

    Save the file
    chmod a+x update.sh (set it to be executable)
    ./update.sh
    (run the update script, this will take quite a while)

  9. If you want an auto update of the block list, just create a cronjob to run the update script

 

To get the latest transmission files, goto http://forum.dsmg600.info/t2719-%5BREL%5D-Transmission.html

<blockquote>
Categories: DNS323

Setting up funplug for DNS 323

August 10, 2009 Leave a comment

Things you will need:

  1. Fun plug: http://www.inreto.de/dns323/fun-plug/
  2. Telnet/SSH client

Steps

  1. download fun_plug and fun_plug.tgz to Volume_1 of the DNS 323
  2. Reboot
  3. Once the box is up, startup your telnet client and connect to the DNS 323 via its IP
  4. Disabling telnet and enabling SSH (run the commands in bold, normal text are comments)
    pwconv
    passwd (change root password)
    enter the new root password (twice)
    usermod -s /ffp/bin/sh root
    login (do a normal login)

    You should see something like:

    NAS login: root
    Password:
    Last login: Mon Aug 10 06:34:46 +0800 2009 on pts/2 from 192.168.1.2.
    No mail.
    root@NAS:~#

    IMPORTANT:  once you login successfully, save the password via store-passwd.sh

    Copying files to mtd1…
    Copying files to mtd2…
    Done.

    Now to enable ssh..
    chmod a+x /ffp/start/sshd.sh
    sh /ffp/start/sshd.sh start

    sh /ffp/start/sshd.sh start
    Generating public/private rsa1 key pair.
    Your identification has been saved in /ffp/etc/ssh/ssh_host_key.
    Your public key has been saved in /ffp/etc/ssh/ssh_host_key.pub.
    Starting /ffp/sbin/sshd

    Once you see this, fire up your SSH Client and connect to the DNS 323. if it works, disable telnet by issuing the following command
    chmod -x /ffp/start/telnetd.sh

  5. Installing bash

    cd /mnt/HD_a2
    mkdir packages
    cd packages/
    wget http://www.inreto.de/dns323/fun-plug/0.5/packages/bash-3.2-3.tgz
    funpkg -i bash-3.2-3.tgz
    ls -lF /ffp/bin/bash

Categories: DNS323