[HOW TO] Change the BitTorrent default port number
| Author |
Message |
|
PlayonMiss
Joined: Tue Sep 28, 2010 10:38 am Posts: 41 Location: The Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
Oops... didn't work... Succeeded in starting the changed Script, but...: Code: /usr/local/etc # /usr/local/etc/btpd start Starting unicgi... unicgi started mkdir: Cannot create directory `/usr/local/etc/hdd/volumes/HDD1/BT/.unicgi': File exists ...the script failed and stopped... Code: /usr/local/etc # /usr/local/etc/btpd status btpd stopped I changed the directory name of .unicgi (via verkenner...), because I couldn't delete it and started the scipt again: Code: /usr/local/etc # /usr/local/etc/btpd start Starting unicgi... unicgi started /usr/local/etc # /usr/local/etc/btpd status btpd stopped /usr/local/etc # /usr/local/etc/btpd start Starting unicgi... unicgi started mkdir: Cannot create directory `/usr/local/etc/hdd/volumes/HDD1/BT/.unicgi': File exists What you see, is that it looks like it started the script, but in fact, it stopped (look at the message "stopped' after asking for the status...) After starting again the script, it failed again with the same message "file exists" (which is true ofcourse...). And does this mean, it did start with the changed/extra parameters ? Code: /usr/local/etc # ps | grep btpd 938 root 464 S N /tmp/package/btpd/bin/btpd -p 12345 --max-peers 48 2001 root 148 R grep btpd (I'm definitely not a Unix expert, I just follow some orders and try to think logically...) Step by step, we come to a solution, but Goner, weet je wat de volgende stap is om te doen ?? 
_________________ Configuration PlayOnHD! 1.5 Tb with FW r4824 (!) Philips 32" LCD TV Bose LifeStyle as a Home Cinema Center HDMI-DVI for Vision Optical link for Sound Wired with Wireless LinkSys Network
|
| Thu Sep 30, 2010 3:20 pm |
|
 |
|
Goner
Joined: Thu Sep 09, 2010 1:44 pm Posts: 312 Location: Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
Let's see ... What I did was, copy the 'btpd' script in /usr/local/bin/package/script/ to /tmp/hdd/root/script, renamed it to 'btpd2' and added port & peers parameters, because it seemed that the 'btpd' script already in that folder was not used on startup. So after startup I stop btpd : /tmp/hdd/root/script # ./btpd stop and then start btpd2 : /tmp/hdd/root/script # ./btpd2 start Starting unicgi... unicgi started mkdir: Cannot create directory `/usr/local/etc/hdd/volumes/HDD1/BT/.unicgi': File exists /tmp/hdd/root/script # ./btpd2 status btpd running it gives a message, but that seems logical assuming that script was already started on startup. but the service runs /tmp/hdd/root/script # ps | grep btpd 514 root 344 S N /tmp/package/btpd/bin/btpd -p 16881 --max-peers 48 and i get decent speeds downloading torrents. same here, I've got a bit of Unix/Linux experience but I'm only following the HOWTO and adapting to the circumstances strange that runing the same firmware gives us different locations for scripts and different results 
_________________ Playon!HD (1073DD C+ / 1TB HD / fw v7.3.4r3582) + Eminent EM7075 DTS FRITZ!Box Fon WLAN 7170 + dLAN® 200 AVplus + Conceptronic CHD3NET (NAS) ThumbGen 1.2.4 & OoD's bb_skin look great on LG 22LG3050 & 32LG5700 on HDMI
|
| Thu Sep 30, 2010 6:29 pm |
|
 |
|
PlayonMiss
Joined: Tue Sep 28, 2010 10:38 am Posts: 41 Location: The Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
I did (almost) the same Goner (I did it in the directory /usr/local/etc). I stopped the original btpd, ran the changed one and got the 'error-message', but after I request for the status (./btpd status), it says "btpd stopped" I will try to reboot the POHD, maybe it helps... Because now (and also before I ran the script) I can't upload a torrent file anymore... Although, I can upload it, but after running it, it says "torrent add failed...check for valid torrent file". Even when I try to restart a torrent-file which already suceeded in downloading, failed... I hope I didn't break something... and a reboot will help...
_________________ Configuration PlayOnHD! 1.5 Tb with FW r4824 (!) Philips 32" LCD TV Bose LifeStyle as a Home Cinema Center HDMI-DVI for Vision Optical link for Sound Wired with Wireless LinkSys Network
|
| Thu Sep 30, 2010 7:23 pm |
|
 |
|
PlayonMiss
Joined: Tue Sep 28, 2010 10:38 am Posts: 41 Location: The Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
It Works !!!!  -  - After I Reboot the system (with the reboot command in Telnet !!  ) Everything seems to be working ! Look: Code: /usr/local/etc # ./btpd stop /usr/local/etc # ./btpd status btpd stopped... /usr/local/etc # ./btpd start Starting unicgi... unicgi started mkdir: Cannot create directory `/usr/local/etc/hdd/volumes/HDD1/BT/.unicgi': Fil e exists /usr/local/etc # ./btpd status btpd running /usr/local/etc # ps | grep btpd 806 root 372 S N /tmp/package/btpd/bin/btpd -p 12345 --max-peers 48 831 root 304 S grep btpd /usr/local/etc # ./btpd status btpd running Now it's downloading a 22Gig Bluray film! (and finding enough seeds...) Thanks for the help, Goner ! (to be sure, I kept port 6881 open (next to port 12345) in case the POHD has te be rebooted or reboot itself...  ) GrZ, Luuk
_________________ Configuration PlayOnHD! 1.5 Tb with FW r4824 (!) Philips 32" LCD TV Bose LifeStyle as a Home Cinema Center HDMI-DVI for Vision Optical link for Sound Wired with Wireless LinkSys Network
|
| Thu Sep 30, 2010 7:48 pm |
|
 |
|
plajos1
Joined: Sun Oct 17, 2010 11:42 am Posts: 11
|
 Re: [HOW TO] Change the BitTorrent default port number
shadowandy wrote: Saw quite a handful of discussion regarding the slow speed and decided to tweak the settings a bit. I managed to find some time this evening to toy with the media player. After 15 minutes of digging and tweaking, I managed to clock 395kBps using the BitTorrent on the A.C.Ryan PlayOn!HD. It is not fast but I hope by changing the default port number will help. For the instructions, check out BitTorrent on A.C.Ryan PlayOn!HDHope it helps. It sounds cool that 15 minutes of tweaking and digging had helped with torrent speeds, but where did you done that? There is nothing on the disk which could be adjusted, and I do not found anything about which port is used by the unit.
|
| Sun Oct 17, 2010 12:10 pm |
|
 |
|
Goner
Joined: Thu Sep 09, 2010 1:44 pm Posts: 312 Location: Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
plajos1 wrote: but where did you done that? did you follow his link to the HOWTO ?? there's a complete description of how to Telnet into linux and cange the parameters ...
_________________ Playon!HD (1073DD C+ / 1TB HD / fw v7.3.4r3582) + Eminent EM7075 DTS FRITZ!Box Fon WLAN 7170 + dLAN® 200 AVplus + Conceptronic CHD3NET (NAS) ThumbGen 1.2.4 & OoD's bb_skin look great on LG 22LG3050 & 32LG5700 on HDMI
|
| Sun Oct 17, 2010 3:04 pm |
|
 |
|
TopBlotta
Joined: Mon Oct 18, 2010 11:26 pm Posts: 2
|
 Re: [HOW TO] Change the BitTorrent default port number
Hi Guys, this is my first post on the forum as my AC Ryan arrived today. Im trying to change the port for bittorrnet and im trying to follow the guide but am failing at the first command after i log on! i type in: cp /tmp/hdd/root/script/btpd /tmp/hdd/volumes/HDD1/btpd.old as instructed, but it simple complains that No such file or directory.
i am running the latest version of the firmware, could this be why?! If someone could let me do what im doing wrong that would be great! thanks Richard
|
| Mon Oct 18, 2010 11:29 pm |
|
 |
|
plajos1
Joined: Sun Oct 17, 2010 11:42 am Posts: 11
|
 Re: [HOW TO] Change the BitTorrent default port number
I went through all the things which Playonmiss mentioned. All the same messages, but at the end I did not succeded. I copied the btpd file, and edited it, eveything is fine. But I am not able to stop the currently running version, and the parameters I have set are not read by the system.
I spent almost two days with this unit, and I do not think its market ready product. There is no proper description, proper manual, so I have bought it ten days ago, but regretted it.
|
| Tue Oct 19, 2010 1:48 am |
|
 |
|
wolfydRg
Joined: Thu May 06, 2010 11:00 pm Posts: 29
|
 Re: [HOW TO] Change the BitTorrent default port number
Stable speed obtained around to 0.9-1,5 MB/s if is set the "–max-peers" at 35.
|
| Tue Oct 19, 2010 9:20 am |
|
 |
|
Goner
Joined: Thu Sep 09, 2010 1:44 pm Posts: 312 Location: Netherlands
|
 Re: [HOW TO] Change the BitTorrent default port number
TopBlotta wrote: i am running the latest version of the firmware, could this be why?! Which version is that ?? There is some discussion about exactly what is the latest version  and the location, presence and permissions of the scripts differs per version. By the way ; I wonder if changing the parameters always helps ... sometimes I get > 350kbps with the default BT client. And sometimes I only get 10 kbps with the changed script (same number of peers). plajos1 wrote: I spent almost two days with this unit, and I do not think its market ready product. Funny that you can buy it all over the world, it gets good reviews on hardware sites and in magazines then and there's a massive user-base 
_________________ Playon!HD (1073DD C+ / 1TB HD / fw v7.3.4r3582) + Eminent EM7075 DTS FRITZ!Box Fon WLAN 7170 + dLAN® 200 AVplus + Conceptronic CHD3NET (NAS) ThumbGen 1.2.4 & OoD's bb_skin look great on LG 22LG3050 & 32LG5700 on HDMI
|
| Tue Oct 19, 2010 9:40 am |
|
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|