• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

usb tethering

I sometimes tether my Linux Mint laptops with a Samsung and a Lenovo phone, but I've not been using them as "Mobile Broadband". I go into the phone's tethering settings and select USB tethering, the laptops see them as "Wired Ethernet", and work straight away.

If you're using "Mobile Broadband", have you got the correct APN details for the carrier? When I've used USB 3G/4G modem dongles in Linux which work as "Mobile Broadband". I just select country and carrier. in my case China > China Unicom, and it does the APN settings automatically.

What's that "Provider 22288", is that your carrier? When I tether Linux to my phones, it doesn't even know the phone's IMEI, it's just an internet connection via USB.

The "Connected" networking interface is a Samsung Galaxy Win phone on USB, Linux Mint 15 KDE.
65688d1387589610-usb-tethering-tethering.jpg


On LG phones, does USB tethering work as "Mobile Broadband" rather than as a networking interface?
tethering.jpg
 
Upvote 0
So I have a question now which is better to do to set up as a mobile hotspot so I can use a few devices or to tether which only gives me the computer?

Which is faster? More secure?

Speed, no difference I think. Unless your 4G is faster than your WiFi.
Security, no problem. Provided the hotpot is not using open or WEP(both insecure). As long as the hotspot is set to WPA or WPA2, will be fine.

I've used both, USB and WiFi tethering no problem, on Linux and Mac.

Even if using the phone as a WiFi hotspot, can still plug the USB in just to keep it charged.
 
Upvote 0
I just hotspot my phone with my OpenSuse 12.3 and never use a cable. I forgot that you could

Ok just set up to usb tether and OpenSuse picked it up just fine. So no idea of what could be going on with yours unless its a bad cable. Have you tried another cable?

no, I haven't tried another cable. But because the sympthoms are different among fedora 19 and fedora 20 (that I also tried) I assume it's not the cable.

But this is a good hint. I will try.

Thanks
 
Upvote 0
I just hotspot my phone with my OpenSuse 12.3 and never use a cable. I forgot that you could

Ok just set up to usb tether and OpenSuse picked it up just fine. So no idea of what could be going on with yours unless its a bad cable. Have you tried another cable?

thanks for taking the time to test the cable tethering ! :)

Well your suggestion is probably the best until now.

I didn't consider the hotspotting possibility

Should it work it would solve the problem

I'll let you know (I'm not sure as how to switch the hotspotting on on the phone)
 
  • Like
Reactions: argedion
Upvote 0
So I have a question now which is better to do to set up as a mobile hotspot so I can use a few devices or to tether which only gives me the computer?

Which is faster? More secure?

The main difference, IMHO, is that with USB you don't need to worry about keeping your phone charged. Acting as a wireless hotspot sucks battery, while being tethered charges the phone.
 
  • Like
Reactions: argedion
Upvote 0
Would this be of use? I know its for Arch Linux but the steps should be similar. I know I had to do this once and followed similar steps.

Have you checked to see what drivers/modules are being used? Maybe you're using the wrong one. You can check loaded modules typing "lsmod" into a terminal.

I hadn't thought about that.

It wasn't of any specific help, but I still didn't try the wi fi tethering, so there's hope !

As for the driver module, if you're curious, here it is:

Code:
[catonano@xps ~]$ lsmod | grep usb
usbnet                 37645  1 cdc_ether
mii                    13527  1 usbnet
usb_storage            56690  0 
btusb                  28170  0 
bluetooth             361772  23 bnep,ath3k,btusb,rfcomm
 
Upvote 0
As for the driver module, if you're curious, here it is:

Code:
[catonano@xps ~]$ lsmod | grep usb
usbnet                 37645  1 cdc_ether
mii                    13527  1 usbnet
usb_storage            56690  0 
btusb                  28170  0 
bluetooth             361772  23 bnep,ath3k,btusb,rfcomm

Interesting. When I run that same command on Linux Mint I get this:
Code:
usbnet                 31879  3 rndis_host,rndis_wlan,cdc_ether
usbhid                 47074  0 
hid                   101002  2 hid_generic,usbhid
usb_storage            57204  0

I googled rndis_host and the 1st link was an Android USB Tether wiki page for Gentoo. So it may be worth a look.

Edit:
Going through the links, it looks like RNDIS is probably important. These two Gentoo pages talk about it: Android 2.2 USB Tethering Tips and [Solved] USB Tethering (HTC eris Android)
So try adding the rndis_host and the other modules. Then enable tethering on your phone and with Fedora use "dhcpcd usb0" in the terminal.
 
Upvote 0
Edit:
Going through the links, it looks like RNDIS is probably important. These two Gentoo pages talk about it: Android 2.2 USB Tethering Tips and [Solved] USB Tethering (HTC eris Android)
So try adding the rndis_host and the other modules. Then enable tethering on your phone and with Fedora use "dhcpcd usb0" in the terminal.

Thanks

I'm not too well versed in this kind of linux stuff

I can't find the rndis_host thing in no package. As for dhcpcd, it's in a package called wlassistant, it has 60 megs of kde dependencies. I use Gnome, I won't install such a thing just for the tethering.

I suppose the Fedora guys had something else in mind.

I can't figure out how the general layout of packages is supposed to be, ehm, layed out. I don't know my way around this

I had hoped some help would have come in the Fedora forum, but my post there is around 180 views now and no answer :-(
 
Upvote 0
So modprobe rndis_host and modprobe wlan does nothing? As for dhcpcd, I have no idea. I don't have it installed either. I use Mint's Cinnamon which is based on Gnome.

Is usb debugging on?

Ok, so :


  1. rndis_host is not present at all. Probably because the Fedora policy is not to have proprietary stuff in the default distribution
  2. I use the stock network manager in the Gnome desktop, I don't know if it's Cinnammon or something else
  3. No, usb debugging is off. I'll try with it on and report back
thanks for your follow ups ! :)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones