I want to using my LAN network/Internet from android using usb cable. So that i can take advantage of speed of lan network. I am able to connect to the system(access deskto ip) by usb cable with tethering on. But not able to access any other machine in network nor able to access internet. How to do it. Tried various options. network bridging/interenet sharing nothing works. Is there any way we can change routing or gateway setting to achive this.
Don't know if you're still looking for an answer, but I found a solution to this yesterday as I had a very strange situation where the phone needed to access the PC's LAN. If you are on Windows, a tool was recently released to perform USB tunneling. It works by setting up a proxy that forwards all traffic through the USB port on your to your PC's network connection Here is a guide to get it set up.: http://www.codeproject.com/KB/android/UsbPortForwarding.aspx
If you're on Linux, you should be able to accomplish this via bridging your ethernet interface with your phone's USB connection. I tested this on Ubuntu 10.10 and it's working:
# usb0 is the new network intreface
# eth0 is the main interface connected to internet (or a gateway)
sudo ifconfig eth0 0.0.0.0
sudo ifconfig usb0 0.0.0.0
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 usb0
sudo ifconfig br0 up
sudo dhclient br0
See here for more info on the Linux solution: http://blog.mathieucarbou.me/post/60454997009/reverse-usb-tethering-with-android-2-2