<SOLVED>Laptop Keeps Dropping Wired Network Connection

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Jepp

<SOLVED>Laptop Keeps Dropping Wired Network Connection

Post by Jepp »

I tether my laptop via USB cable to my LG G5 android smartphone for an internet connection. This worked well with 17.3, but after doing a fresh install of Mint 18 the tethering is disconnected after 30 seconds or so. I can unplug the USB from the phone and easily reestablish a connection, but then it is disconnected shortly there after.

In Network Settings, I see a 'Mobile Broadband' Option. I turn this 'OFF', and tether my smartphone to my laptop with a USB cable and I have a connection to the internet. A short time later, as in 30 seconds or so, the wired connection is disconnected and Mobile Broadband is back on.

Mobile Broadband seems to be the culprit, if it is, how do I turn it off.

I did the following for the install of Mint 18:
  • Transferred my files to an external hard drive
    Formatted the drive to install Mint 18
    Installed Mint 18 from ISO Image on DVD (Verified validity with CheckSum after downloading ISO image file)
    Installed all 1,2,3,4, &5 updates
    Transferred my personal files onto hard drive.
My phone is listed as a usb device:

Code: Select all

Qosmio-X775 ~ $ lsusb
Bus 002 Device 029: ID 1004:62c4 LG Electronics, Inc. 
Bus 002 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 04f9:0283 Brother Industries, Ltd 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:b003 Alcor Micro Corp. 
Bus 001 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Machine Info:

Code: Select all

Qosmio-X775 ~ $ inxi -Fxz
System:    Host: Qosmio-X775 Kernel: 4.4.0-36-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18 Sarah
Machine:   System: TOSHIBA product: Qosmio X775 v: PSBY5U-02401P
           Mobo: TOSHIBA model: PGRAA v: 1.00 Bios: TOSHIBA v: 2.10 date: 10/30/2012
CPU:       Quad core Intel Core i7-2670QM (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 17558
           clock speeds: max: 3100 MHz 1: 874 MHz 2: 851 MHz 3: 807 MHz 4: 919 MHz 5: 818 MHz 6: 1085 MHz
           7: 875 MHz 8: 1169 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GF116M [GeForce GT 560M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.11hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-36-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 03:00.0
           IF: wlp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 1000.2GB (7.5% used) ID-1: /dev/sda model: Seagate_ST950042 size: 500.1GB
           ID-2: /dev/sdb model: Seagate_ST950042 size: 500.1GB
Partition: ID-1: / size: 451G used: 63G (15%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 8.49GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 235 Uptime: 18 min Memory: 665.8/7890.7MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.421) inxi: 2.2.35 
Saw this on another post:

Code: Select all

Qosmio-X775 ~ $ lspci -nnk | grep -iA2 net; iwconfig
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
	Subsystem: Toshiba America Info Systems RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1179:fc30]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Askey Computer Corp. AR9285 Wireless Network Adapter (PCI-Express) [144f:7173]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
wlp3s0    IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
enp2s0    no wireless extensions.

lo        no wireless extensions.

enx825e986bfd14  no wireless extensions.
It is difficult to search for information as the tethered connection only lasts for 30 secs or so before disconnecting.

Update -- I found this https://www.linux.com/learn/cleaning-yo ... up-process

Code: Select all

sudo systemctl stop ModemManager.service

Code: Select all

 sudo systemctl disable ModemManager.service
Removed symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service.

Code: Select all

systemctl status ModemManager.service
● ModemManager.service - Modem Manager
   Loaded: loaded (/lib/systemd/system/ModemManager.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Sep 18 20:12:39 Qosmio-X775 ModemManager[1017]: <warn>  Modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities.
Sep 18 20:13:10 Qosmio-X775 ModemManager[1017]: <info>  (net/enxc23f5bf11f46): released by modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3
Sep 18 20:13:10 Qosmio-X775 ModemManager[1017]: <info>  (tty/ttyACM0): released by modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3
Sep 18 20:13:49 Qosmio-X775 ModemManager[1017]: <info>  Creating modem with plugin 'Generic' and '2' ports
Sep 18 20:13:49 Qosmio-X775 ModemManager[1017]: <info>  Modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3' successfully created
Sep 18 20:14:15 Qosmio-X775 ModemManager[1017]: <warn>  Modem couldn't be initialized: couldn't load current capabilities: Failed to determine modem capabilities.
Sep 18 20:19:28 Qosmio-X775 systemd[1]: Stopping Modem Manager...
Sep 18 20:19:28 Qosmio-X775 ModemManager[1017]: <info>  Caught signal, shutting down...
Sep 18 20:19:28 Qosmio-X775 ModemManager[1017]: <info>  ModemManager is shut down
Sep 18 20:19:28 Qosmio-X775 systemd[1]: Stopped Modem Manager.
Seems to have fixed the disconnect problem; connection has now been active for several minutes.

Update - This seems to have fixed the disconnect problem.


Comments, suggestions and/or assistance is welcome.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Wayne_

Re: <SOLVED>Laptop Keeps Dropping Wired Network Connection

Post by Wayne_ »

Thank you for sharing this, helped me as well.
tj2705
Level 1
Level 1
Posts: 2
Joined: Fri Jul 10, 2020 2:56 pm

Re: <SOLVED>Laptop Keeps Dropping Wired Network Connection

Post by tj2705 »

Wow, I didn't expect this to be the issue but I tried it anyway. Worked for me!
Locked

Return to “Networking”