USB debug mode
MAC address keeps changing
I see that a new mac address is assigned each time USB tethering is enable & the device connected. Can I force a persistent MAC address using a udev rule? I'd like a persistent MAC address because that's how NetworkManager recognizes devices. So if you want to have any settings for the USB tethering interface to be different from those for your Ethernet device, you need a persistent mac address, else NetworkManager won't use it the next time. Is there a way to specify a Mac address in udev rules? --Johannes Rohr (talk) 12:08, 16 September 2015 (UTC)
Bash script for frequent use
The directions here are great, but if you're a road warrior who needs to do this a bunch like I do, you may need a bash script to automate the process. For the Azilink version, I created this, which seems to work every time:
adb forward tcp:41927 tcp:41927
sudo bash -c "sudo echo 'nameserver 192.168.56.1' > '/etc/resolv.conf'"
sudo openvpn azilink.ovpn