simplesi
Posts: 2327
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
Contact: Website

Is USB tethering possible with Raspbian

Sun Sep 09, 2012 3:49 pm

At yesterdays Manchester RaspberryJam, @thefraf demonstrated connecting to T'Internet via USB cable to his android phone. He was using Debian - is this feature available in Raspbian yet?

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter

Aydan
Posts: 560
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Is USB tethering possible with Raspbian

Sun Sep 09, 2012 7:53 pm

I did this with my N900. It registers as ttyACM0 and can be used with wvdial.

Regards
Aydan

plugwash
Forum Moderator
Forum Moderator
Posts: 3223
Joined: Wed Dec 28, 2011 11:45 pm

Re: Is USB tethering possible with Raspbian

Sun Sep 09, 2012 9:31 pm

I don't think there is a general answer to this as different phones do tethering in different ways.

On my htc wildfire S with the USB tethering mode set to "windows" the phone appears as a usb network adaptor. Connecting is as simple as adding "iface usb0 inet dhcp" to /etc/network/interfaces and then doing ifup usb0.

Power may also be an issue with some phones (my wildfire S seemed ok on a quick test but I dunno what the polyswitches will do longer term).

Tanga
Posts: 30
Joined: Tue Jan 03, 2012 11:18 pm

Re: Is USB tethering possible with Raspbian

Thu Oct 18, 2012 3:59 am

Thanks plugwash!

I now have internets on my RPi. I added the line:
iface usb0 inet dhcp

to /etc/network/interfaces

and typed sudo ifup usb0 to get it working - HTC Legend
Raspberry Pi (Raspbian) Tutorials by a fellow noob:
http://noobsquared.blogspot.com.au/

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 18 guests