Last active
April 8, 2017 12:44
-
-
Save boina-n/ef13e09d01b02431aad50bd59a287242 to your computer and use it in GitHub Desktop.
Enable android tethering with Ubuntu
This file contains hidden or 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
#!/bin/bash | |
sudo ip route delete default | |
sudo ifconfig usb0 up | |
sudo dhclient usb0 | |
sudo ip route add default via 192.168.42.129 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment