Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Hello,
I have a Blackberry Cell phone with Android 7.1.1 and I want to use my cell phone Internet on my PC.
I plugged my cell phone and enabled the USB Tethering:
I have once managed to use USB-tehtered internet from a phone on Debian many years ago. Was on GNOME and IIRC it was pretty much plug in and go. It will, however, depend very much on the device, because there is a lot of heterogeneity in this on the device side. All phones that I know of require you to allow this kind of behavior from settings. Did you do this? Some phones don't do anything if the screen is locked. Was the screen unlocked when you type the above commands?
Also, I am a bit curious to why you want to do this at all? Does the PC not have a wifi antenna? Because most often people do something like this when they want to "share" the network connection form the phone to the computer. This is, however, much easier to do wirelessly with an access point than over USB.
I have the same issue with my Debian 10 MATE pc, whenever I try to use USB internet tethering it doesn't work, but if I use Bluetooth internet tethering it does work, when I was using Gnome 3 a while ago usb tethering used to work with no issues, don't know why it doesn't work on MATE.
Update: I have discovered that if I remove the ethernet cable from my computer, then I can connect to internet using USB tethering.
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.
Head_on_a_Stick wrote:Are you sure that tethering is enabled in the phone? My phone will only let me enable it once the USB cable is actually plugged into the computer.
Once tethering is enabled the device should show up in the output of ip link & dmesg.
Head_on_a_Stick wrote:Are you sure that tethering is enabled in the phone? My phone will only let me enable it once the USB cable is actually plugged into the computer.
Once tethering is enabled the device should show up in the output of ip link & dmesg.
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether ac:9e:17:4e:c1:6c brd ff:ff:ff:ff:ff:ff
$ sudo dmesg
[ 171.787395] usb 2-11: new high-speed USB device number 4 using xhci_hcd
[ 171.936256] usb 2-11: New USB device found, idVendor=0fca, idProduct=8041, bcdDevice= 3.18
[ 171.936261] usb 2-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 171.936264] usb 2-11: Product: BlackBerry
[ 171.936267] usb 2-11: Manufacturer: BlackBerry
[ 171.936269] usb 2-11: SerialNumber: XXXXXXXXXX
[ 185.114749] usb 2-11: USB disconnect, device number 4
[ 185.459379] usb 2-11: new high-speed USB device number 5 using xhci_hcd
[ 185.608314] usb 2-11: New USB device found, idVendor=0fca, idProduct=8035, bcdDevice= 3.18
[ 185.608318] usb 2-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 185.608320] usb 2-11: Product: BlackBerry
[ 185.608322] usb 2-11: Manufacturer: BlackBerry
[ 185.608323] usb 2-11: SerialNumber: 1163731066
[ 185.809254] cdc_ncm 2-11:1.0: bind() failure
[ 185.809278] usbcore: registered new interface driver cdc_ncm
[ 185.820170] usbcore: registered new interface driver cdc_wdm
[ 185.825046] usbcore: registered new interface driver cdc_mbim
I don't use a cable because I work away a fair bit and being stuck in a hotel room with their shitty wifi means I use the usb to charge the phone and phone hotspots a lot.
Usually it's just switch on the hotspot open wicd-gtk select it enter pass word I'd set on the phone and away to go.
I never needed to use usb to connect because even though the Desktop has no wifi it can see the hotspot via my router or switch, if you don't have wifi this maybe and option.?
As I was in the process of testing iwd (thanks hoas) I thought I'd try it on Debian. But first I tried hotspots via connman-gtk
Saw the hotstop accepted the password and connected (or so it said. But I wouldn't actually connect.)
installed wicd-gtk
Saw the hotstop would not accept the password
turned off encryption on the phone tried again and it connected and worked as expected
Went and got the usb cable. Phone would not let me switch on usb-tethering. I suspect I need MTP or some such crap because I'm sure I've used it via usb-tethering before on another machines
It could be your phone company locks it down tethering many do.
Happy hunting
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
enp3s0 is the name for your wired card, or the name for the usb device?
If it is the name for your wired card, then you are missing some driver for usb tethering.
I have tried usb tethering with my phone and everything is working fine. The only thing I have to do is to configure new network in networks applet (I am using KDE).
I suggest to read this: https://wiki.archlinux.org/index.php/Android_tethering
Try:
# modprobe usbnet # if not already loaded
# ip link set usb0 up && dhcpcd usb0 #replace usb0 with the name of your device
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!