Created
January 25, 2017 17:06
-
-
Save jrickerd/2959710668937f3716bb0ac776432d6a to your computer and use it in GitHub Desktop.
enable android wifi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable: | |
adb tcpip 5555 | |
adb connect $(adb shell ip -f inet addr show wlan0 | grep inet | tr -s ' | |
' | cut -d ' ' -f 3 | cut -f 1 -d '/'):5555 | |
# disable: | |
adb usb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment