Page 1 of 1

关于 ssh 连接 luckfox pico max 无法成功

Posted: 2024-03-15 1:59
by moevis
我的主机是 mac studio,连接 max 后,能看到 ip 地址是:169.254.136.143
SCR-20240315-jbwu.png
我尝试进行连接会出现密码错误:
SCR-20240315-jcvh.png
我尝试了重新刷入 update.img

Code: Select all

$ sudo upgrade_tool uf update.img

Using /Users/zjj/code/luckfox_pico_pro_max_image/config.ini
ftruncate: Invalid argument
Loading firmware...
Support Type:1106	FW Ver:0.0.00	FW Time:2023-09-28 18:24:37
Loader ver:1.01	Loader Time:2023-09-28 18:24:03
Start to upgrade firmware...
Download Boot Start
Download Boot Success
Wait For Maskrom Start
Wait For Maskrom Success
Test Device Start
Test Device Success
Check Chip Start
Check Chip Success
Get FlashInfo Start
Get FlashInfo Success
Prepare IDB Start
Prepare IDB Success
Download IDB Start
Download IDB Success
Download Firmware Start
Download Image... (100%)
Download Firmware Success
Upgrade firmware ok.
注意到输出中有 ftruncate: Invalid argument ,不知道是不是没成功。但是重新 ssh 还是一样的报错。

我还有什么可以做的嘛?

Re: 关于 ssh 连接 luckfox pico max 无法成功

Posted: 2024-03-15 2:24
by Eng38
您好,

1.输出 ftruncate: Invalid argument 是正常的
2. 如果想使用 LuckFox Pico Max 的网口的动态IP进行SSH登录,就要用扫描工具、串口和ADB等多种方法查询到IP地址:192.168.xxx.xxx
3. 如果想使用 LuckFox Pico Max 的USB虚拟网口进行SSH登录,它的IP地址是固定的172.32.0.93,所以在电脑上配置虚拟网口也应该是172.32.0.xxx网段
参考链接:viewtopic.php?t=44