
Originally Posted by
newuser1
Snappy. Sorry for the confusion. I still need the step by step. Thanks
Sorry for the delay I have been busy with other stuff.
If you have P05 then your firmware is using squashfs which is only read only but it still can be done it just requires a few more steps.
1) Telnet to your PBO (window users I believe use putty to do this and I think that telnet is available on win7 but it needs to be enable. So you need to enter your PBO_IP in telnet. When asked for a login type in root and just enter when prompted for a password.
2) You need to copy your bt.script somewhere that is not read only. The usr/local/etc is a good place for that so enter:
Code:
# cp /usr/local/bin/package/script/bt.script /usr/local/etc
3) now you need to edit your /usr/local/etc/rcS file so that the file you just copy to /usr/local/etc/ (bt.script) be used on boot up instead of the original bt.script which you can not edit. So I would just used the editor vi available on the PBO. Just google vi editor for a list of command. So enter:
Code:
# vi /usr/local/etc/rcS
You are now in the vi editor. Go to the end of the file and insert that line:
mount --bind /usr/local/etc/bt.script /usr/local/bin/package/script/bt.script &
In vi to insert just press "i" to save and exit press [ESC] and then ":wq!" without the quotes. If you ran into problem just press [ESC] and the "q!" to exit without saving.
Once you have saved the rcS file reboot your PBO.
After the reboot if you did everything I mentioned your /usr/local/bin/package/script/bt.script will now be editable. Again will we used vi to do the editing; so enter:
Code:
# vi /usr/local/bin/package/script/bt.script
In this script use the arrow keys to navigate and look for the following lines:
#start running btpd
export HOME=$bthome
$btpdbin
This is near the end in the btpd_start() function. Now just add at the end of the $btpdbin -p 51777 --max-peers 60. So now it should look like this:
#start running btpd
export HOME=$bthome
$btpdbin -p 51777 --max-peers 60
Now reboot the PBO once more and now the bt torrent should run with the new parameters port 51777 or whatever port you want just change that number and it will also be more stable with a max-peers of 60. That being said the bt torrent on the PBO with this firmware and above is quite a bit flaky has been known to shutdown so just keep an eye on your download. For what it is worth the bt torrent on ARCBO 4318 is a lot lot lot more stable. I also recommend you do your download to the internal drive if you have one since download to external USB drive to not resume automatically after a reboot.
Good luck.