I'm tethering an android device over USB. When tether is accomplished, the device sets the usb0 interface as the default route.
I do not want this (usually, the host device has wlan0) but do not see a simple way to change in Ubuntu. dhcpcd does not have the --nohook option and --nogateway also doesn't seem to work in this case.
'route del' and 'route add' can obviously be used, but are quite..... a hardcoded solution, since they require the actual IPs etc.
Any ideas? TIA.
No solution so far-- could obviously be scripted.