wjh498877269 发表于 2022-2-17 13:02:44

求大佬告知,如何连接wifi

# insmod /lib/modules/$(uname -r)/8723du.ko
# lsmod
8723du 1927153 0 - Live 0xbf06d000
mali 279073 15 - Live 0xbf010000 (O)
gt9xxnew_ts 44468 0 - Live 0xbf000000


# wifi.sh -i 8723du -s HATI_411 -p tof56832897
wifi 8723du
ssid HATI_411
pasw tof56832897
ifconfig: SIOCGIFFLAGS: No such device
Successfully initialized wpa_supplicant
Could not read inte**ce wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read inte**ce wlan0 flags: No such device
wlan0: Failed to initialize driver inte**ce
udhcpc: SIOCGIFINDEX: No such device
Finshed!

wjh498877269 发表于 2022-2-17 13:04:03

# ifconfig -a
eth0      Link encap:EthernetHWaddr 36:C9:E3:F1:B8:05
          inet addr:192.168.0.232Bcast:192.168.0.255Mask:255.255.255.0
          BROADCAST MULTICASTMTU:1500Metric:1
          RX packets:40 errors:0 dropped:12 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5682 (5.5 KiB)TX bytes:468 (468.0 B)
          Interrupt:87 Base address:0xb000

lo      Link encap:Local Loopback
          LOOPBACKMTU:65536Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4
          NOARPMTU:1480Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)

tunl0   Link encap:UNSPECHWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARPMTU:0Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)

usb0      Link encap:EthernetHWaddr FE:0E:08:21:BD:86
          BROADCAST NOARP MULTICASTMTU:1500Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)

#

tanglu 发表于 2022-2-17 13:46:09

您在测试的过程中,有连接好天线吗?

wjh498877269 发表于 2022-2-17 14:33:08

tanglu 发表于 2022-2-17 13:46
您在测试的过程中,有连接好天线吗?

大佬您好,连接了。‪D:\1.jpg

tanglu 发表于 2022-2-17 15:00:24

您板子上是否已经焊接8723du的模块?焊接的是否是8723du模块?

wjh498877269 发表于 2022-2-17 15:19:10

tanglu 发表于 2022-2-17 15:00
您板子上是否已经焊接8723du的模块?焊接的是否是8723du模块?

有的,有手册上图片所示模块。我烧录的镜像是sun8iw11p1_linux_OKA40i_C_uart0-1024x600.img,天线也接了。

tanglu 发表于 2022-2-17 15:27:40

您方便说一下,您板子上的WiFi模块的颜色是蓝色还是绿色吗?我们中途换过一次模块。

wjh498877269 发表于 2022-2-17 15:35:56

tanglu 发表于 2022-2-17 15:27
您方便说一下,您板子上的WiFi模块的颜色是蓝色还是绿色吗?我们中途换过一次模块。

蓝色,rtl8723bu      k7d58h1gk32 芯片上面的文字

tanglu 发表于 2022-2-17 15:40:55

您应该加载8723bu的驱动。
指令:开发板上电,启动 Linux 系统。手动加载模块:
#insmod /lib/modules/$(uname -r)/8723bu.ko
查看模块是否加载:
#lsmod
然后您再按手册步骤三进行自动发配ip试试。

wjh498877269 发表于 2022-2-17 15:49:53

tanglu 发表于 2022-2-17 15:40
您应该加载8723bu的驱动。
指令:开发板上电,启动 Linux 系统。手动加载模块:
#insmod /lib/modules/$( ...

按您说的做了。串口调试如下:
# insmod /lib/modules/$(uname -r)/8723bu.ko
# lsmod
8723bu 1920908 0 - Live 0xbf06d000
mali 279073 15 - Live 0xbf010000 (O)
gt9xxnew_ts 44468 0 - Live 0xbf000000
# wifi.sh -i 8723du -s HATI_411 -p tof56832897
wifi 8723du
ssid HATI_411
pasw tof56832897
ifconfig: SIOCGIFFLAGS: No such device
Successfully initialized wpa_supplicant
Could not read inte**ce wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read inte**ce wlan0 flags: No such device
wlan0: Failed to initialize driver inte**ce
udhcpc: SIOCGIFINDEX: No such device
Finshed!
页: [1] 2
查看完整版本: 求大佬告知,如何连接wifi