Android adbをWi-Fi接続


$ adb shell ipconfig
* daemon not running; starting now at tcp:5037
* daemon started successfully
/system/bin/sh: ipconfig: not found
RC211v-mbp:~ yuta$ adb shell ifconfig
lo        Link encap:UNSPEC  
          inet addr:  Mask: 
          inet6 addr: ::1/128 Scope: Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1235 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:1235 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:111363 TX bytes:111363 

wlan0     Link encap:UNSPEC  
          inet addr:  Bcast:  Mask: 

tcpip <任意のポート>

$ adb tcpip 12345
restarting in TCP mode port: 12345

connect <上記の任意のポート>

$ adb connect
connected to


$ adb devices
List of devices attached  device
P3P7N17500000000    device