SamyGO bftpd

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

User avatar
geo650
Official SamyGO Developer
Posts: 302
Joined: Wed Oct 07, 2009 12:03 pm

Re: SamyGO bftpd

Post by geo650 » Sun Dec 06, 2009 9:29 pm

I had the same problem, then I made such things:

1) extract to USB stick both bftpd and bftpd.conf files
2) extract to USB stick 2 additional files: libcrypt.so.1 and libz.so.1 from SamyGO All Extensions v0.03.zip (if you have not installed them before)
3) insert USB stick
4) run telnet and for installation type:

Code: Select all

mkdir /mtd_rwarea/SamyGO
cd /mtd_rwarea/SamyGO
cp /dtv/usb/sda1/bftpd* .
cp /dtv/usb/sda1/lib* .
As you can see, I prefer to use SamyGO subdirectory inside mtd_rwarea directory.

5) then for run type:

Code: Select all

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_rwarea/SamyGO
/mtd_rwarea/SamyGO/bftpd -d -c /mtd_rwarea/SamyGO/bftpd.conf
Thank you!

User avatar
geo650
Official SamyGO Developer
Posts: 302
Joined: Wed Oct 07, 2009 12:03 pm

Re: SamyGO bftpd

Post by geo650 » Thu Feb 04, 2010 11:50 pm

FTP daemon is working fine, but I realized that when huge files are copied - the TV is very lazy and remote control response time is quite long. I think, one more command has to be executed after bftpd process is started: we should set lower priority for bftpd process, i.e.:

1) Check PID of bftpd process using ps command (in my example PID=55)
2) use renice command for setting new (low) priority:

Code: Select all

renice +19 55
or alternatively, use nice command on init:

Code: Select all

nice -n +19 ...../bftpd -d -c ...../bftpd.conf
Remote control performance seems to be a bit better after bftpd process' priority has been altered.
What do you think?

dasilverpaladin
Official SamyGO Developer
Posts: 119
Joined: Sat Oct 31, 2009 1:04 am

Re: SamyGO bftpd

Post by dasilverpaladin » Sat Mar 13, 2010 2:20 pm

try it with full paths, had the same issue and i think with full path it worked

User avatar
geo650
Official SamyGO Developer
Posts: 302
Joined: Wed Oct 07, 2009 12:03 pm

Re: SamyGO bftpd

Post by geo650 » Sun Mar 14, 2010 12:39 am

You were trying to execute... a directory! ;)

Try this:

Code: Select all

nice -n +19 /mtd_rwarea/SamyGO/bftpd/bftpd -d -c /mtd_rwarea/SamyGO/bftpd/bftpd.conf
where nice -n +19 is optional thing described earlier

...and after testing, it is worth to create a loading script (ftp.sh for example) that may contain all neccessary shell commands. That script might be loaded in starting script to get ftp daemon always ready. That's what I have been done in my TV. FTP daemon is very useful for me.

RakDrak
SamyGO Project Donor
Posts: 11
Joined: Sun Apr 29, 2012 10:11 am

Re: SamyGO bftpd -writing speed

Post by RakDrak » Sun Apr 29, 2012 10:15 am

If you would like increase writing speed over FTP, you haveto change default FTP setting in bftpd.conf
On my TV:
XFER_BUFSIZE="2048" cca 170kB/s
XFER_BUFSIZE="64000" cca 500kB/s

Post Reply

Return to “[B] Software”