First of all enable telnet (put an empty file named "enable_info_display.script" to the root of microsd and reboot). Login with root using your favorite telnet client.
Then run this command to start FTP server (thanx to nikulin for update):
nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &
Connect using FTP. Works in both AP and STA modes.
???????.
PROFIT:
File transfer speed via FTP is up to 1MB/s.
Then run this command to start FTP server (thanx to nikulin for update):
nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &
Connect using FTP. Works in both AP and STA modes.
???????.
PROFIT:
File transfer speed via FTP is up to 1MB/s.
How about making this script autostart on boot?
ОтветитьУдалитьluckylz made a script that installs internally into the Yi here:
https://forum.dashcamtalk.com/threads/button-combination-mode-switching-via-ash-scripts.12846/
Yeah I know bout it, thanx ))
УдалитьGot it.
ОтветитьУдалитьjust add a file called ftp.sh to the card:
#!/bin/sh
nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &
and then add this line to autoexec:
lu_util exec '/tmp/fuse_d/ftp.sh'
FTP on autostart :)
It's so nice to have a linux PC in your action cam. Lots of software tricks here ))
Удалитьso great! I tried triggering the ftp script when wifi is turned on by putting the line you wrote into the wifi_start.sh - but it is overwritten each time the cam reboots. I hope the ftp doesnt suck so much battery life :-D
УдалитьHow did you get write access to that wifi file? I would like to autostart ftp on wifi start. Thanks! Where is autoexec?
УдалитьFATPIG tures, is need any user name ?
ОтветитьУдалить"Connection refused"