2591 views|6 replies

2056

Posts

0

Resources
The OP
 

Allwinner V5 - Building FTP environment --- Lindeni V5 development board [Copy link]

 
This post was last edited by IC Crawler on 2020-1-28 22:35

Lindeni provides a desktop version of Debian with an interface, which can compile your program and execute it directly on the board just like using a PC. The mpp example configuration environment provided by Lindeni recommends this method, but it is very inconvenient for development, the compilation speed is slow, and there is no easy-to-use code editor, so my method is usually to use Samba to directly mount the compilation directory of the PC, cross-compile, and run the program in the mounted directory directly on the board; or use FTP to put the cross-compiled program on the PC to the board and then run it.

This time I will share the construction of FTP environment on lindeni board

My board does not have a wifi module. In order to connect the board to the Internet, connect the network cable to the PC's network port, set the PC to open network sharing for Lindeni's board, and use the following command to install vsftpd

apt-get install vsftpd

After installing vsftpd, log in to FTP on the PC by default and put the required files into the board. The path where the board stores these files is in the directory /home/ai. I need to store the data of each experiment in the same folder for easy summary. My directory is /mnt, so I need to set the vsftpd configuration file. Use the following command:

vim.tiny /etc/vsftpd.conf

Add the following three lines to the end of this file:

游客,如果您要查看本帖隐藏内容请回复

This content is originally created by IC Crawler , a user of EEWORLD forum . If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source

Latest reply

You are so stingy that I have to reply before I can read it. I was just going to pass by~ It seems I still have to say a few words to you   Details Published on 2020-2-6 11:39
 
 

2056

Posts

0

Resources
2
 

If you get the following error message;

500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Login failed.
421 Service not available, remote server has closed connection

You can modify the configuration file /etc/vsftpd.conf and remove the comment symbols before the following configurations:
local_enable=YES
write_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
Save and exit
Edit the /etc/vsftpd.chroot_list file, add the ftp account name, save and exit

There shouldn’t be any problems later!!!!!!!!!!!!!!!!!!

 
 
 

2w

Posts

74

Resources
3
 

Support

Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

加油!在电子行业默默贡献自己的力量!:)

 
 
 

1246

Posts

19

Resources
4
 

Come and learn!!

Personal signature
 
 
 

648

Posts

2

Resources
5
 

You are so stingy that I have to reply before I can read it. I was just going to pass by~ It seems I still have to say a few words to you

 
 
 

648

Posts

2

Resources
6
 

You are so stingy that I have to reply before I can read it. I was just going to pass by~ It seems I still have to say a few words to you

Comments

I plan to post all my posts in the future only after they are posted.  Details Published on 2020-2-6 12:52
 
 
 

2056

Posts

0

Resources
7
 
philips_lu posted on 2020-2-6 11:39 You are so stingy that I have to reply before I can read it. I wanted to pass by~ It seems that I still have to say a few words to you

I plan to post all my future posts only after they are posted.

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list