
Transmission BT Client installation script
Here a script that will install transmission on your player. To install just telnet to your POHD and issue the following command (remove the _ between w and get: ----- Please keep reading before you issue the command.
Code:
cd /usr/local/etc/ && w_get http://dl.dropbox.com/u/15169815/transmission-install.sh && sh transmission-install.sh
After a trial of three days and 7 torrents download including a 10 GB torrent I am fairly confident that transmission is a viable option to download torrent using the POHD. The test were conducted with at times 3 torrent download at the same time with speed of 300 - 400 KBsec. During the test I was able to play movies/shows, play internet feeds and copy file from my POHD internal HDD to a connected USB HDD without any issues.
Right now this script will only work if you have a Yaffs filesystem installed that means 4318 and earlier. Any firmware using the squashfs filesystem will not work unless you have the directory /opt ovemounted somewhere that is writable. Also installation occurs on the /tmp/hdd/root drive hence you will need an internal HDD for this to work.
The script will run automatically and install optware if not already install on the /tmp/hdd/root/ as well as transmission bt client
It will Create the following directories
mkdir /tmp/hdd/volumes/HDD1/transmission
mkdir /tmp/hdd/volumes/HDD1/transmission/config (Used for transmission configuration)
mkdir /tmp/hdd/volumes/HDD1/transmission/download downloaded files goes there)
It will install all the files requires for the operation of transmission BT Client
It will modify your /usr/local/etc/rcS so that transmission can start automatically on bootup and will also kill the btpd application if it is running. ( No point of having two Bittorrent client running)
To access transmission web interface just enter on your favorite browser this: http://\<your_box_ip\>:8080
or
you could download the transmission-remote-gui for the Windows, Linux or Mac at this link:
http://code.google.com/p/transmisson-remote-gui/ to control transmission remotely without the need of using the web browser.
In the even that transmission stop by itself (so far it hasn't on my POHD for the past three days you can manually issue the following command to restart it:
Code:
nice -n 0 /opt/bin/transmission-daemon --config-dir /tmp/hdd/volumes/HDD1/transmission/config --port 8080 --no-auth --download-dir /tmp/hdd/volumes/HDD1/transmission/download --dht --peerport 51413 -a "*"
Technically once it ran at least once you should only need this command:
Code:
nice -n 0 /opt/bin/transmission-daemon --config-dir /tmp/hdd/volumes/HDD1/transmission/config
You could also just turn your POHD on/off to restart it if you wish.
Also since the transmission configuration file reside on the /tmp/hdd/volumes/HDD1/transmission/config you should be able to just go to your network (Assuming POHD Samba is turn on) on your computer and be able to edit the configuration file using your favorite window,linux or Mac favorite
plain text editor . I recommend that you change the global # of peers to 60 vs the default 240 and limit your speed download to 400 KBsec. Those are the settings I have currently.
Like many Hack/mod you do this at your own risk. If you find any bugs/problems please report them so that they can be investigated/fixed.
All the credit for this script goes to cipibad I only made a few changes which include the nice command to lower transmission priority when running.
Enjoy!!
Changes: 12/12/10
- Added a sleep command to make sure that btpd do get disable (Killed).
- Create a backup of rcS file (rcS.bak) before making changes to it.
- Added --peerlimit-global 60 to the start up command to limit the maximum of user connection to 60.
Changes: 19/12/10
- Optware installation now default to /usr/local/etc/opt if you do not have it already installed somewhere else.
- If no HDD (HDD1) is found /tmp/usbmounts/sdb1/transmission/download will be configure as the download directory. Might be useful for those media player without a HDD (not fully tested)
- Transmission configuration file (settings.json) now resides in /usr/local/etc/transmission/config
- A HDD is no longer required to install transmission since it is installed on the /usr/local/etc/opt and download directory can be USB mounts. (not fully tested)
- The run script command has been changed to cd /usr/local/etc/ && w_get
http://dl.dropbox.com/u/15169815/tra...ion-install.sh && sh transmission-install.sh
- A new script (transmissionstart.sh) is now created on the /usr/local/etc and this script is launch automatically by the rcS file.
Known issues:
- There are still a problem with the installation of optware with firmware that do not include the ipkg-cl in the firmware. I am working on it.