野火电子论坛

标题: imx6ull WiFi无法使用 [打印本页]

作者: 懒得取    时间: 2022-11-7 01:24
标题: imx6ull WiFi无法使用
1、问题:按要求通过fire-config使能wifi后无法使用

2、硬件:
1)wifi芯片:AP6212
2)跳线帽:
[attach]35843[/attach]
2)镜像:ebf_debian_2021_06_08,用 MfgTool2.exe 经 USB 烧录

debian@npi:~$ cat /etc/issue
Debian GNU/Linux 10 \n \l

embedfire.com Debian Image 2021-06-08


3、现象:用fire-config将wifi使能重启后显示如下:
1)开机显示

[FAILED] Failed to start =booting wifi ....
See 'systemctl status autowifi.service' for details.
         Starting OpenBSD Secure Shell server...

2)命令:debian@npi:~$ nl /lib/systemd/system/autowifi.service

     1  [Unit]
     2  Description==booting wifi ...
     3  After=wpa_supplicant.service network.target local-fs.target udhcpd.servic                 e
     4  Before=sshd.service

     5  [Service]
     6  Type=forking
     7  ExecStart=/bin/bash /opt/scripts/boot/autowifi.sh

     8  [Install]
     9  WantedBy=multi-user.target

3)命令:debian@npi:~$ systemctl status autowifi

● autowifi.service - =booting wifi ...
   Loaded: loaded (/lib/systemd/system/autowifi.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since Thu 2019-02-14 18:12:15 CST; 14min a
  Process: 404 ExecStart=/bin/bash /opt/scripts/boot/autowifi.sh (code=exited, s

log file: uch device
debian@npi:~$ 5 npi su[468]: pam_unix(su:account): account root has password cha
debian@npi:~$ 5 npi su[468]: (to root) root on none
debian@npi:~$ 5 npi su[468]: pam_env(su:session): Unable to open env file: /etc/
debian@npi:~$ 5 npi su[468]: pam_unix(su:session): session opened for user root
debian@npi:~$ 5 npi bash[404]: udhcpc: SIOCGIFINDEX: No such device
debian@npi:~$ 5 npi su[468]: pam_unix(su:session): session closed for user root
debian@npi:~$ 5 npi systemd[1]: autowifi.service: Control process exited, code=e
debian@npi:~$ 5 npi systemd[1]: autowifi.service: Failed with result 'exit-code'
debian@npi:~$ 5 npi systemd[1]: Failed to start =booting wifi ....



(, 下载次数: 0)

(, 下载次数: 0)

(, 下载次数: 0)


总之就是无法开启wifi


作者: おおおじ。    时间: 2022-11-8 08:44
可以刷个今年10月份的最新镜像,然后按照文档操作,两个跳帽接上、使能wifi....一般都没问题
https://doc.embedfire.com/linux/ ... tart/wifi/wifi.html
作者: yiniuyun    时间: 2022-11-10 16:35
;




欢迎光临 野火电子论坛 (https://www.firebbs.cn/) Powered by Discuz! X3.4