开发板:mini6410
WIFI模块:SDIO-wifi
问题:
LINUX QT系统启动后,使用ifconfig -a命令,出现eth0设备,并没有出现wlan0设备:
[root@FriendlyARM /]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:90:00:A0:90:90
inet addr:192.168.1.230 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 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:1376 (1.3 KiB) TX bytes:0 (0.0 B)
Interrupt:108 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric: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)
但是在内核中已经完整的包含了wifi模块的驱动,随后,使用友善自带的命令:scan-wifi,串口一些信息后,再使用ifconfig -a命令,这才有了wlan0设备,说明scan-wifi向系统注册了wlan0设备:
[root@FriendlyARM /]# scan-wifi
cfg80211: Calling CRDA to update world regulatory domain
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
libertas_sdio mmc1:0001:1: (unregistered net_device): fc:4d:d4:6d:d5:8b, fw 9.70.3p36, cap 0x00000303
libertas_sdio mmc1:0001:1: wlan0: Marvell WLAN 802.11 adapter
usbcore: registered new interface driver ath9k_htc
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver rt2800usb
rtw driver version=v3.3.2_3192.20120103
usbcore: registered new interface driver rtl8192cu
usbcore: registered new interface driver zd1211rw
61% CSU
60% IOT@CSU (Security)
50% CSU
51% IOT@CSU (Security)
73% cisco-3 (Security)
100% alex (Security)
89% CEWR-Lab (Security)
76% Private (Security)
51% 206 (Security)
77% cisco-2 (Security)
80% ChinaNet
67% ChinaNet
79% ChinaNet-CSU
67% ChinaNet-CSU
14 Access Point Found
[root@FriendlyARM /]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:90:00:A0:90:90
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:782 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58582 (57.2 KiB) TX bytes:897 (897.0 B)
Interrupt:108 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric: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)
wlan0 Link encap:Ethernet HWaddr FC:4D:D4:6D:D5:8B
UP BROADCAST MULTICAST MTU:1500 Metric: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)
求问大神,我如何不使用scan-wifi命令,达到开发板开机就出现wlan0设备的效果?