FORUMS
Remove All Ads from XDA
Honor View 10
Win an Honor 7X!

[Q] USB Tethering Ubuntu

53 posts
Thanks Meter: 6
 
By mmlbbntr, Member on 13th March 2012, 11:43 AM
Post Reply Email Thread
Hi,

Has anyone succeeded in getting USB tethering to work with Ubuntu? I have :

Ubuntu 11.10
Samsung Galaxy S 2.3.5, kernel speedmod k16-11

USB tethering works a treat under windows, once I install the samsung drivers, but I can't get usb0 to appear when I type "ifconfig". "lsusb" does however list the samsung phone.

Any ideas, other than using easy tether ?

Thanks
 
 
13th March 2012, 02:16 PM |#2  
diklooc's Avatar
Member
Thanks Meter: 73
 
More
Hi mmlbbntr,

I have got Ubuntu 11.10 on MacBookPro. I had problems to connect to School WLAN, so I do USB Tethering and it was successful.

But I use Teamhacksung ICS on my SGS ;)

// Don't forget to Thanks
The Following User Says Thank You to diklooc For This Useful Post: [ View ] Gift diklooc Ad-Free
13th March 2012, 03:37 PM |#3  
Junior Member
Thanks Meter: 1
 
More
Have You tried
ifconfig -a
?
It should list Your usb0 ethernet.

If it is right there You should try
ifconfig usb0 up
and
dhcpcd usb0

If there is no usb0, maybe
ifconfig usb0 plumb
will help.
13th March 2012, 04:34 PM |#4  
Senior Member
Thanks Meter: 41
 
More
There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9

there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mob...0-as-3g-modem/
The Following User Says Thank You to zorxd For This Useful Post: [ View ] Gift zorxd Ad-Free
14th March 2012, 09:39 AM |#5  
mmlbbntr's Avatar
OP Member
Flag Amsterdam
Thanks Meter: 6
 
More
Yeah ifconfig doesn't list any usb connection. I'll try "ifconfig -a" though, not sure what the difference is. If that fails I'll try "ifconfig usb0 plumb", no idea what that does either, but worth a shot.

Thanks for the tips, I'll keep you posted tonight.


Quote:
Originally Posted by robert-km

Have You tried
ifconfig -a
?
It should list Your usb0 ethernet.

If it is right there You should try
ifconfig usb0 up
and
dhcpcd usb0

If there is no usb0, maybe
ifconfig usb0 plumb
will help.

14th March 2012, 02:07 PM |#6  
mmlbbntr's Avatar
OP Member
Flag Amsterdam
Thanks Meter: 6
 
More
Oh wow, I hadn't seen your post. Thanks for the info. Guess all I can do is wait for a stable release of CM9 and upgrade...


Quote:
Originally Posted by zorxd

There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9

there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mob...0-as-3g-modem/

14th March 2012, 02:34 PM |#7  
Junior Member
Thanks Meter: 1
 
More
I'm using Arch with ICS on galaxy S, so I didn't know about this bug.
ifconfig -a lists every lan devices, not only UP state.

plumb as far as i remember works only on solaris, so You sould not need this command, sorry for making mess.
The Following User Says Thank You to robert-km For This Useful Post: [ View ] Gift robert-km Ad-Free
14th March 2012, 07:19 PM |#8  
mmlbbntr's Avatar
OP Member
Flag Amsterdam
Thanks Meter: 6
 
More
Quote:
Originally Posted by zorxd

There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9

there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mob...0-as-3g-modem/

No mention anywhere of 2.3.6. I wonder if USB tethering bug is fixed. Has anyone tried?

I'd rather not install ICS until a stable release is out TBH...
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread