开启SSH

使用系统自带的文件管理器,编辑系统设置文件

/mnt/mod/ctrl/configs/system.cfg

添加开启ssh配置

global.ssh=1

然后重启,连接WIFI,从系统菜单配置获取IP地址。

进入一个游戏,然后暂停,不然系统自动锁屏休眠,网络会断,配置好FTP以后传游戏时候也这样操作。

安装VSFTP服务器

使用xshell或者其他ssh终端工具登录,密码同用户名(猜出来的),建议登录上去之后改掉,实测不影响系统使用。

ssh root@192.168.x.x

会发现周哥的系统就是原生的Ubuntu。

Welcome to Ubuntu 22.04 LTS (GNU/Linux 4.9.170 aarch64)

通过apt安装ftp服务器。

# 系统默认用的清华的源666
apt update
apt install vsftpd

配置VSFTP

直接在终端下vim配

mv /etc/vsftpd.conf /etc/vsftpd.conf.bak
vim /etc/vsftpd.conf

vsftp配置如下

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
local_root=/mnt
allow_writeable_chroot=YES
pasv_enable=YES

开启root使用ftp登录

vim /etc/ftpusers
删除或注释掉root行

重启vsftp

systemctl restart vsftpd

通过FTP管理游戏文件

下载FileZilla,FTP连接游戏机IP即可,FTP客户端使用参考其他教程。

系统卡目录

/mmc

扩展卡目录

/sdcard