Page 1 of 1

Re: Autoloader problem!

Posted: Tue Feb 14, 2012 5:53 pm
by moras86
Your libusb.conf content is wrong.

Your need only one line per each application. Just write patch to executable *.so file.

SamyGO DCA command look good:

Code: Select all

/mtd_rwarea/SamyGo/exe/samygodca/samygodca/samygodca.so
But FTP Server should be start only from telnet.so - like this:

Code: Select all

/mtd_rwarea/SamyGo/exe/SamyGO_FTP/telnet.so

Re: Autoloader problem!

Posted: Tue Feb 14, 2012 7:45 pm
by moras86
Please read thorough wiki once more.

Edit file using telnet connection and use only vi editor. Command: vi /mtd_rwarea/SamyGO/autorun.sh

Note one thing - autorun.sh (or SamyGO.sh) is for run apps like xupnpd and other telnet commands. You probably can run FTP this method but your need start file 'bftpd'. Before add anything to autorun,sh tray this commands using telnet to run FTP:

Code: Select all

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./mtd_rwarea/SamyGo/exe/SamyGO_FTP
nice -n +19 /mtd_rwarea/SamyGo/exe/SamyGO_FTP/bftpd -d -c /mtd_rwarea/SamyGo/exe/SamyGO_FTP/bftpd.conf
After success add this inside proper .sh file.

Re: Autoloader problem!

Posted: Tue Feb 14, 2012 10:06 pm
by juusso
Because as result you get this crap what you`ve already posted here.

Re: Autoloader problem!

Posted: Thu Feb 16, 2012 11:29 am
by juusso
You shouldn`t use ftp for importing your scripts, because you definitelly dont know, that you need to have special encoding for your files.
As you don`t have any experience, i recommend you to use steps from wiki page i wrote you on PM.
Just this way you don`t make mistake.
By posting this:
juuso wrote:Because as result you get this crap what you`ve already posted here.
i just wanted to make your attention, here is not everything ok in your script, seems some unreadable characters. But not willing to be impolite.
It`s because you`ve used notepad or another editor and saved your script in bad encoding.

If you desperatelly wana use ftp for scripts, then you have to use N++, akelpad, ultrapad as editors and save your scripts in ANSI encoding.