$ adb usb
Connect to the device over USB.tcp
$ adb devices
Restart host adb in tcpip mode.spa
$ adb tcpip 5555
Find out the IP address of the Android device: Settings -> About tablet -> Status -> IP address. Remember the IP address, of the form #.#.#.#. Connect adb host to device:code
$ adb connect #.#.#.#
$ adb devices