Created
October 27, 2016 19:32
-
-
Save dknr/fa4eaa326d49c5effcbb4b0fda371078 to your computer and use it in GitHub Desktop.
android rndis config
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
svc usb setFunction rndis | |
ip addr add 192.168.137.2/24 dev rndis0 | |
ip link set dev rndis0 up | |
ip route add default via 192.168.137.1 dev rndis0 | |
ndc resolver setnetdns rndis0 local 8.8.8.8 8.8.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finding this took me 2 days of googling. Thank you!