点击QT图形界面:无线网络设置前:
[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:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6188 (6.0 KiB) TX bytes:855 (855.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)
[root@FriendlyARM /]# ifconfig eth0 down
[root@FriendlyARM /]# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device
点击无线网络设置:
[root@FriendlyARM /]# 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
usbcore: registered new interface driver zd1211rw
然后在串口输入ifconfig -a有消息输出:
[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
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:130 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:9452 (9.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)
为什么开始的时候ifconfig -a显示的只有有线网卡设备?