USB tethering from Android to Raspberry Pi

USB tethering will not work with initial default config of usb port in rasp pi, this is one of many way to connect your RPi through your android internet connection using usb tethering

Steps

1. Boot your Raspberry Pi

2. Edit the network interface configuration file

# sudo nano /etc/network/interfaces

3. Add this following line “iface usb0 inet dhcp”

auto eth0
iface eth0 inet dhcp
iface usb0 inet dhcp

4. Save the file. Ctrl-o and exit Ctrl-x

5. Run the new configuration

# sudo ifup usb0

6. Reboot your RPi

# sudo reboot

———————————–
I have try this way and succed

– RPi model B
– raspbian os
– HTC Legend with CyanogenMod

USB tethering from Android to Raspberry Pi