This commit is contained in:
lyx080
2022-12-21 19:22:07 +08:00
parent 152ac6d426
commit a0aac8b8fe
10 changed files with 180 additions and 90 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -269,8 +269,10 @@ python3 -c "import os, binascii; os.system('sed -i \'/iface eth0 inet dhcp/ahwad
**wlan0**:无线网卡,使用 DHCP 协议获取 IP 地址,可使用命令 `ifconfig wlan0` 查看当前网络配置。
- **如何修改连接的 WIFI 账号密码(会开机自动联网)**
>因硬件的模块的更换,出现 wlan0 不显示的情况请移步[Maix-III 系列 AXera-Pi 常见问题FAQ](https://wiki.sipeed.com/hardware/zh/maixIII/ax-pi/faq_axpi.html)查看。
默认 WIFI 账号密码配置存放在 `/boot/wpa_supplicant.conf` 里,测试过并支持 Android 手机开放的 WPA-PSK2 热点,配置修改后会在重启后生效。
默认 WIFI 账号密码配置存放在 `/boot/wpa_supplicant.conf` 里,测试过并支持 Android 手机开放的 WPA-PSK2 热点,配置修改后会在重启后生效**已过时建议用 mntui-connect 进行配置连接**)
```bash
root@AXERA:~# cat /boot/wpa_supplicant.conf
@@ -284,7 +286,7 @@ network={
}
```
- **用 mntui-connect 可视化联网管理**
- **使用 mntui-connect 可视化联网管理**
系统已预置 NetworkManager 在 `nano /etc/NetworkManager/NetworkManager.conf` 里的 `managed=false` 修改成 `managed=true` 和注释掉 `/etc/network/interfaces` 里的有关于 `wlan0` 的配置(可以打开 `allow-hotplug wlan0` )后「拔线断电重启」即可使用 `nmtui-connect` 进行联网,但原来的 `wpa_supplicant.conf` 里的配置会失效。
@@ -317,6 +319,10 @@ allow-hotplug wlan0
# iface wlan0 inet dhcp
```
在终端使用 `nmtui-connect` 打开可视化联网页面。页面会显示扫描到的 WiFi 信息,使用键盘的**上下左右键**选择要连接的 WiFi 按下**回车键**,页面提示输入 WiFi 密码,输完后选择 `OK` 并按**回车键**则会弹出空白页面,选择 `Quit` 按**回车键**退出,联网完成后可使用 `ifconfig wlan0` 查询 IP 地址。
![nmtui](./../assets/nmtui.jpg)
> [配置 NetworkManager 参考](https://support.huaweicloud.com/bestpractice-ims/ims_bp_0026.html#section1) & [linux系统中使用nmtui命令配置网络参数图形用户界面](https://www.cnblogs.com/liujiaxin2018/p/13910144.html)
这样你就可以使用 `nmcli --pretty device wifi list` 进行 Wi-Fi 的扫描了。

View File

@@ -14,7 +14,7 @@ A最近冬天静电来了产品要注意接地喔。
A**一改参数,二改代码,以下述改动为例**
- 类似 sample_vin 这类命令改 `-c 0` 就可以启用 os04a10 摄像头,对应 `-c 2` 就是默认提供的 gc4653 摄像头。
- 类似 sample_vin_vo 这类命令改 `-c 0` 就可以启用 os04a10 摄像头,对应 `-c 2` 就是默认提供的 gc4653 摄像头。
- 类似于改代码里的 `COMMON_SYS_CASE_E eSysCase = SYS_CASE_SINGLE_GC4653;` ,详细可看[components/libmaix/lib/arch/axpi/libmaix_cam/libmaix_cam.cpp#L93](https://github.com/sipeed/libmaix/blob/release/components/libmaix/lib/arch/axpi/libmaix_cam/libmaix_cam.cpp#L93)
@@ -82,6 +82,7 @@ A20221219 后板子更换了新的硬件模块,如出现以上情况更换
```bash
ls /boot/
cp /boot/kernel.img.rtl8189fs kernel.img
```
## Q使用 ssh 登陆后断开报错packet_write_wait: Connection to 10.xxx.xxx.xxx port 22: Broken pipe

File diff suppressed because one or more lines are too long