Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
[btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
04-12-2009, 08:16 AM (This post was last modified: 04-12-2009 08:17 AM by Ger Teunis.)
Post: #121
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-12-2009 07:39 AM)PuniSheR Wrote:  I had sometimes this problem, it occured when i made some modifications in setup menu for example, and i tried to do something else (like back to home screen)before the display is updated. I think it's normal, you have to wait before doing something else ...
One time, it happened to me and i had to be forced to restart my PCH, other times i close the window and restart a new one and all was fine ...

Good one, that is important indeed. Saving the settings isn't just storing the configuration in a file but also restarting the complete btpd daemon. When users browse away just after kill the daemon will not be started. I'll look if I can add an additional nohup command, which is sadly not on the NMT per-default.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
04-12-2009, 10:44 AM (This post was last modified: 04-12-2009 10:45 AM by sborisv.)
Post: #122
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Hi all
I need an advice about customising BTPD to get max up&down speed.
So I have 10 mbit/sec (symmetrical) internet channel at home. PCH A-110 use WiFi dongle TP-LINK 821n.
What I have to put in BTPD settings for best results?

Now I have: http://img-fotki.yandex.ru/get/3308/sbor...ad299_orig

Thx !-)
Find all posts by this user
04-12-2009, 11:01 AM
Post: #123
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-12-2009 08:16 AM)Ger Teunis Wrote:  Good one, that is important indeed. Saving the settings isn't just storing the configuration in a file but also restarting the complete btpd daemon. When users browse away just after kill the daemon will not be started. I'll look if I can add an additional nohup command, which is sadly not on the NMT per-default.

Thanks Ger and shurup. It's a fantastic idea.
Find all posts by this user
04-12-2009, 04:10 PM
Post: #124
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Well, it seems that the settings of upload and download speed limits are not saved across device reboot which is rather annoying.
Find all posts by this user
04-12-2009, 04:51 PM
Post: #125
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-12-2009 04:10 PM)avdim Wrote:  Well, it seems that the settings of upload and download speed limits are not saved across device reboot which is rather annoying.

That is not true. the settings are saved on you HDD. They are stored there and used on start of btpd. Whenever you save the settings it in effect does a stop and start in exactly the same way if it where a reboot. Perhaps something else it going on on your NMT. Can you reproduce it for instance?
I rebooted my NMT a couple of times and the settings remain on 75kb up.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
04-12-2009, 10:32 PM
Post: #126
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Hm, I saw this after reboot on accident power loss. And it defaults to 75 up, but it is too much for my connection. The problem is that I can’t find this magic 75 in any configuration files otherwise I will change the number for the one I want and the problem will be solved. I suspect that it is hardcoded in the binary but I don’t want to set up the build environment.
I can see INI file in btpd folder with all my settings in it, after normal reboot they seem to be here, but after “hard” reboot there were problems.
Find all posts by this user
04-12-2009, 10:40 PM
Post: #127
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-12-2009 10:32 PM)avdim Wrote:  Hm, I saw this after reboot on accident power loss. And it defaults to 75 up, but it is too much for my connection. The problem is that I can’t find this magic 75 in any configuration files otherwise I will change the number for the one I want and the problem will be solved. I suspect that it is hardcoded in the binary but I don’t want to set up the build environment.
I can see INI file in btpd folder with all my settings in it, after normal reboot they seem to be here, but after “hard” reboot there were problems.

What are your the contents of start_app.sh and btpd.ini?
Perhaps we can figure out what is going on on your machine.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
04-13-2009, 08:13 AM
Post: #128
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Thanks for your great work! BTPD is the best client for fast connections (mine's 10mbit), very stable speed (unlike transmission).
Is there any windows interface application, something like 'Transmission Remote' for btpd? winBTPD is not working (or i don't know howto make it work)
Find all posts by this user
04-13-2009, 06:33 PM
Post: #129
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
btpd.ini
Code:
DownloadDir=/share/Download
MaxPeers=0
Port=8881
MaxUploads=-1
EmptyStart=0
DownloadLimit=0
UploadLimit=45
SortOrder=0

start_app.sh
Code:
#!/bin/sh
#

PATH=$PATH:/share/bin
HOME=/share
export TERM="xterm"
alias mc="mc -c"

#Copy waitimages when they are available
if [ -n "`ls -Al /share/Photo/_waitimages_/*.jpg 2>/dev/null`" ]; then
    cp /share/Photo/_waitimages_/* /bin
fi

#For some NMT hardware (like Popcorn B-110) compatibility may go up when creating a
#symbolic link HARD_DISK to SATA_DISK
if [ ! -d "/opt/sybhttpd/localhost.drives/HARD_DISK" ]; then
    ln -s /opt/sybhttpd/localhost.drives/SATA_DISK /opt/sybhttpd/localhost.drives/HARD_DISK
fi

#M_A_R_K_E_R_do_not_remove_me
/share/Apps/btpd/btpd.sh hookup
cd /opt/sybhttpd/localhost.drives/HARD_DISK/.telnet/ && ./telnetd -l /bin/sh &

exit 0
Find all posts by this user
04-14-2009, 09:36 AM (This post was last modified: 04-14-2009 09:37 AM by Squeek.)
Post: #130
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Oh dear Sad Moved to using btpd for public tracker stuff, mapped the port through so I could keep an eye on it from work, all looked fine. Been using it over the easter weekend without problem, and could get to it from work this morning without issue. I went into the configuration options (setup.php, from my work machine), upped the number of peers a little as I'd set it quite low, and saved the new config - and now I get a 'connection refused' error when trying to view index.php - although I can still get to setup.php - I'd also hacked about with torrentwatch to get it working with btpd 0.15 (was working fine) and this too now returns a connection refused error, so it's definitely b0rk. I can just reboot it tonight, but wondered if anyone had any ideas in the meantime?
Find all posts by this user
04-14-2009, 09:39 AM
Post: #131
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
Yeah, do NOT click away during save of config.
The save action can take a long time, when you open a new page during save the btpd will not be correctly restarted.

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
04-14-2009, 10:01 AM
Post: #132
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
ahh, noted Smile will give it a boot tonight, and be a bit more patient in future Smile
Find all posts by this user
04-14-2009, 10:05 AM
Post: #133
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-14-2009 10:01 AM)Squeek Wrote:  ahh, noted Smile will give it a boot tonight, and be a bit more patient in future Smile

Shurup> could you display a on-top div which mentions not to click away while saving (onclick javascript or button orso)?

Easy way of installing software on your NMT using just your mouse: NMT Community Software Installer
Visit this user's website Find all posts by this user
04-14-2009, 11:00 AM
Post: #134
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-14-2009 10:05 AM)Ger Teunis Wrote:  Shurup> could you display a on-top div which mentions not to click away while saving (onclick javascript or button orso)?

ok
Find all posts by this user
04-14-2009, 12:37 PM
Post: #135
RE: [btpd] BTPD 0.15 - Lightweight and Fast Bittorrent
(04-14-2009 10:05 AM)Ger Teunis Wrote:  Shurup> could you display a on-top div which mentions not to click away while saving (onclick javascript or button orso)?

...for morons like Squeek Wink
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  bittorrent settings jeroen342 1 1,108 05-05-2013 09:16 AM
Last Post: chris57
  a300 will not connect to bittorrent ui donal1682 4 1,796 09-17-2012 08:18 PM
Last Post: miuivaniui
  Disable BitTorrent (Do not start it on restart) hornedratty 4 1,874 06-21-2012 08:57 PM
Last Post: hornedratty
  NZBget: Old recurring problem, but still no fast solution?: Error 403 Forbidden Cherek 5 2,817 12-29-2011 05:28 PM
Last Post: Cherek
  Where is bittorrent on A210 Albie999 4 2,803 07-08-2011 09:39 PM
Last Post: chris57
  NMT BitTorrent and scheduling simonz 8 4,932 05-21-2011 07:30 AM
Last Post: Rusakov2@Netscape.net
  BTPD 0.15 - C200 - Lightweight and Fast Bittorrent vaidyasr 12 7,623 05-09-2011 10:42 AM
Last Post: vaidyasr
  Having issues with bittorrent. philipmediaplayer 0 1,088 03-19-2011 02:31 PM
Last Post: philipmediaplayer
  BitTorrent on C200 BlooDz 1 2,028 11-20-2010 01:47 PM
Last Post: deadlyhifi
  Basic principles of optimizing a bittorrent client Media 0 1,667 08-16-2010 11:43 AM
Last Post: Media

Forum Jump: