查看wifi的信息:
C:\Users\lei>adb shell
rk3399_firefly_box:/ $ ifconfig
wlan0中的addr为wifi的ip地址。
C:\Users\lei>adb devices
List of devices attached
GB8ZANPGBS device
C:\Users\lei>adb shell
rk3399_firefly_box:/ $ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:249 errors:0 dropped:0 overruns:0 frame:0
TX packets:249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:26254 TX bytes:26254
wlan0 Link encap:Ethernet HWaddr ac:83:f3:9e:16:7a
inet addr:192.168.3.141 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::ae83:f3ff:fe9e:167a/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1776 errors:0 dropped:0 overruns:0 frame:0
TX packets:1398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:462830 TX bytes:115796
eth0 Link encap:Ethernet HWaddr 6a:43:6f:5c:85:79
inet6 addr: fe80::6843:6fff:fe5c:8579/64 Scope: Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 TX bytes:508
Interrupt:24