wired USB connection to cell phone not working

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
mint183_happy
Level 1
Level 1
Posts: 4
Joined: Tue Mar 20, 2018 5:42 pm

wired USB connection to cell phone not working

Post by mint183_happy » Tue Mar 20, 2018 5:57 pm

Hello

On my laptop I have two systems installed on separate partitions: Linux Mint 17.3 (which I use every day for countless hours) and Linux Mint 18.3 (which I recently installed and am still configuring/setting up).

Booting into the older LM 17.3 version, I can always access the Internet by connecting my cellphone to my laptop using a USB cable and enabling "USB tethering" on the phone. This is how I work every day for several hours without issues. Throughout the day, I often unplug the cable and later plug it back in (and reenable "USB tethering" on my phone) when I need Internet access. It never fails.

However, when I boot into LM 18.3 the exact same behavior initially gets me online. But then, if I disconnect the USB cable to the cell phone and later plug it back in and reactivate USB tethering on the phone, the network-manager tray applet continues showing a "disconnected" symbol. I have tried manually "disconnecting" from the wired connection shown in the network manager tray applet menu, unplugging the cable and plugging it back in, restarting the network-manager service -- all to no avail. Once the first internet connection over the USB cable is stopped, I can never again get it to work (until I reboot).

After searching the forum, I have seen that to help in diagnosing problems the output of some commands is often required -- so I am including it below.

Let me know if any additional information is required.

Code: Select all

# inxi -Fxz
System:    Host: mintlaptop Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 2306CTO v: ThinkPad X230
           Mobo: LENOVO model: 2306CTO Bios: LENOVO v: G2ETA4WW (2.64 ) date: 04/09/2015
CPU:       Dual core Intel Core i7-3520M (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11573
           clock speeds: max: 3600 MHz 1: 2893 MHz 2: 2893 MHz 3: 2893 MHz 4: 2893 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Display Server: X.org 1.18.4 drivers: (unloaded: fbdev,vesa)
           tty size: 168x46 Advanced Data: N/A for root
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-37-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 4080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Wireless-N 2200 driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 3000.6GB (5.9% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 2000.4GB temp: 0C
           ID-2: /dev/sdb model: Samsung_SSD_850 size: 1000.2GB temp: 0C
Partition: ID-1: / size: 917G used: 165G (19%) fs: ext4 dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 51.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 3264
Info:      Processes: 196 Uptime: 4 min Memory: 411.8/15858.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Code: Select all

# ifconfig
enp0s25   Link encap:Ethernet  HWaddr 3c:97:0e:28:f3:b4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:f1500000-f1520000 

enp0s26u1u2 Link encap:Ethernet  HWaddr 62:42:a1:be:60:b0  
          inet addr:192.168.42.113  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:19873 (19.8 KB)  TX bytes:46001 (46.0 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1280 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1280 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:90545 (90.5 KB)  TX bytes:90545 (90.5 KB)

Code: Select all

# lshw -C network
  *-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: enp0s25
       version: 04
       serial: 3c:97:0e:28:f3:b4
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:28 memory:f1500000-f151ffff memory:f153b000-f153bfff ioport:4080(size=32)
  *-network DISABLED
       description: Wireless interface
       product: Centrino Wireless-N 2200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: c4
       serial: 9c:4e:36:4f:91:64
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.13.0-37-generic firmware=18.168.6.1 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:31 memory:f0c00000-f0c01fff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: enp0s26u1u2
       serial: 42:88:45:e1:88:ea
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device link=yes multicast=yes

mint183_happy
Level 1
Level 1
Posts: 4
Joined: Tue Mar 20, 2018 5:42 pm

Re: wired USB connection to cell phone not working

Post by mint183_happy » Tue Mar 20, 2018 6:46 pm

And some additional searching brought up an identical report of the same exact problem:

viewtopic.php?t=242575

( except that restarting the network-manager service is not working for me)

mint183_happy
Level 1
Level 1
Posts: 4
Joined: Tue Mar 20, 2018 5:42 pm

Re: wired USB connection to cell phone not working

Post by mint183_happy » Wed Mar 21, 2018 12:37 pm

And another identical bug report (though for Ubuntu 16.04 LTS):

https://askubuntu.com/questions/898439/ ... ting-phone

Pat D
Level 4
Level 4
Posts: 360
Joined: Thu Jul 14, 2016 2:31 pm

Re: wired USB connection to cell phone not working

Post by Pat D » Wed Mar 21, 2018 5:14 pm

Do you have mtp-tools installed?
Check this thread:
https://askubuntu.com/questions/146529/ ... es-via-usb

mint183_happy
Level 1
Level 1
Posts: 4
Joined: Tue Mar 20, 2018 5:42 pm

Re: wired USB connection to cell phone not working

Post by mint183_happy » Thu Mar 22, 2018 4:11 pm

Pat D wrote:
Wed Mar 21, 2018 5:14 pm
Do you have mtp-tools installed?
Check this thread:
https://askubuntu.com/questions/146529/ ... es-via-usb
Thank you for this. I read the thread you linked to and looked up MTP (https://en.wikipedia.org/wiki/Media_Transfer_Protocol).

Seems like MTP is just for file transfer and not for accessing the Internet via your phone.

Post Reply

Return to “Ethernet”