• 欢迎光临~

飞凌FCU2201设置wifi sta模式

开发技术 开发技术 2022-08-20 次浏览

除了官方文档里写的删除掉两个文件外,

mv /etc/systemd/system/multi-user.target.wants/hostapd.service /etc/systemd/system/multi-user.target.wants/hostapd.service.bak                             
mv /etc/systemd/network/wlan0.network /etc/systemd/network/wlan0.network.bak

还需要。
1、/root/.forlinx.sh文件中的iw dev wlp1s0 set 4addr on这行代码注释掉
2、修改wlan0.network为

root@localhost:~# cat /etc/systemd/network/wlan0.network 
[Match]
Name=wlP1p1s0
KernelCommandLine=!root=/dev/nfs

[Network]
DHCP=yes
程序员灯塔
转载请注明原文链接:飞凌FCU2201设置wifi sta模式
喜欢 (0)