after 3 years of using this little box I've spend some Christmas holiday time and did a research on the Internet looking for an actual best FW for it.
I have tested approx. 6 different FW's and here is my favourite, most stable, fast and usable: CS_r0.5.0a_ACRyan_v7.4.6.r8755
Little bit of customization I suggest after FW update:
(enable samba in settings-network, keep build transmission disabled)
1.) Enable swap
2.) Install latest Transmission 2.8.x
add 1.) Enable Swap
Prerequisity:
- hdisk with linux-swap partition (easy created in gparted over Ubuntu live)
- download nountSwap script from here:
http://www.acryan.com/forums/viewtopic.php?f=146&t=18076
- copy script to your hard drive
- login over terminal to the player and copy script from hd to /usr/local/etc/mountSwap
- do chmod 755 /usr/local/etc/mountSwap
- execute the script, you should see output like this:
Identification of swap-partition:
-> Swap-partition was found on /dev/sdb2
Extra wait, contribute of FW r7317
Activate swap-partition:
-> swap-partition (/dev/sdb2) enabled
Make swap settings:
-> min_free_kbytes = 5120
-> swappiness = 60
mountSwap end: everything is okay
If it's working, put the script on the end of the start script /usr/local/etc/rcS:
/usr/local/etc/mountSwap &
- reboot the player and login back, verify that swap is activated automatically:
~ # cat /proc/swaps
Filename Type Size Used Priority
/mnt/rd/swap.img file 32 0 -1
/dev/scsi/host0/bus0/target0/lun0/part2 partition 131064 1272 -2
~ # free
total used free shared buffers
Mem: 120632 111804 8828 0 1332
Swap: 131096 1272 129824
Total: 251728 113076 138652
It looks OK.
add 2.) Install latest Transmission 2.8.x
Now, it's little bit complicated but still easy to do.
- enable packaging system:
mount -o remount rw /
mkdir /opt/tmp; cd /opt/tmp
wget http://www.kovari.priv.hu/download/ipkg-cl.tgz; tar -xvf ipkg-cl.tgz; rm ipkg-cl.tgz
mv /opt/tmp/ipkg-cl /bin
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk
ipkg-cl install uclibc-opt_0.9.28-13_mipsel.ipk
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk
ipkg-cl install ipkg-opt_0.99.163-10_mipsel.ipk
rm *.ipk
- download list of packages:
/opt/bin/ipkg update
- install latest transmission into /opt:
/opt/bin/ipkg install transmission
- create a transmission directory on hdisk and put there config file:
~ # df -h
Filesystem Size Used Available Use% Mounted on
...
/dev/scsi/host0/bus0/target0/lun0/part1 1.8T 1.1T 723.9G 61% /tmp/usbmounts/sdb1
~ # mkdir /tmp/usbmounts/sdb1/BT
- put there a "settings.json" file, here is example:
(insert your password into line" "rpc-password": "your_password",)
{
"alt-speed-down": 512,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 25,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/tmp/usbmounts/sdb1/BT",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "//Downloads",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 20,
"peer-limit-per-torrent": 20,
"peer-port": 51555,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{db0e9c0d08d867cb803e1ee0cec8dc5f7537bde2KmBzzO5I",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "root",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 45,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
~ # df -h
Filesystem Size Used Available Use% Mounted on
...
/dev/scsi/host0/bus0/target0/lun0/part1 1.8T 1.1T 723.9G 61% /tmp/usbmounts/sdb1
~ # mkdir /tmp/usbmounts/sdb1/BT
- put there a "settings.json" file, here is example:
(insert your password into line" "rpc-password": "
{
"alt-speed-down": 512,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 25,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/tmp/usbmounts/sdb1/BT",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "//Downloads",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 20,
"peer-limit-per-torrent": 20,
"peer-port": 51555,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{db0e9c0d08d867cb803e1ee0cec8dc5f7537bde2KmBzzO5I",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "root",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 45,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
- relink transmission web page:
rm -rf /tmp/www
ln -s /opt/share/transmission/web /tmp/www
- run transmission and check if webpage is working:
nice -n 15 /opt/bin/transmission-daemon -g /tmp/usbmounts/sdb1/BT/
rm -rf /tmp/www
ln -s /opt/share/transmission/web /tmp/www
- run transmission and check if webpage is working:
nice -n 15 /opt/bin/transmission-daemon -g /tmp/usbmounts/sdb1/BT/
http://
- if everything’s OK, modify start script,
put on the end of "/usr/local/etc/rcS":
mount -o remount rw /
sleep 30
nice -n 15 /opt/bin/transmission-daemon -g /tmp/usbmounts/sdb1/BT/
- reboot box and pray that it boot-up OK and everything run fine :-)
reboot
Enjoy the latest Transmission and stable system with swap enabled.
B.