root@beaglebone:~# ifconfig
wlan0 up
root@beaglebone:~# ifconfig
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:4 errors:0 dropped:0 overruns:0
frame:0
TX packets:4 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280 (280.0 B) TX bytes:280 (280.0 B)
wlan0 Link encap:Ethernet HWaddr 00:25:86:AD:C2:D5
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)
[/quote]
6. 扫描可用的无线网络
[quote]iwlist wlan0 scan