I am able to do the iphone usb tethering under ubuntu(11.10) which will be recognized as eth1 interface (I also have an eth0 internet connection).
What I want to do is, when the eth1 is up, I want to make it as the default gateway, and if eth1 is down, then return back to using eth0 as default gateway.
How can I make it happen?