首先用usb线连接设备
:~# adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
用dhcpd wlan0分配IP
root@rk3188:/ # dhcpcd wlan0
dhcpcd[1654]: version 5.5.6 starting
dhcpcd[1654]: wlan0: checking for 169.254.214.166
dhcpcd[1654]: wlan0: using IPv4LL address 169.254.214.166
dhcpcd[1654]: forked to background, child pid 1679
设置TCP/IP端口号位5555
:~# adb tcpip 5555
restarting in TCP mode port: 5555
然后断开usb连接
用adb connect连接分配到的IP<