Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

USB device plug-in causes loss of Internet connection

Post Reply
Message
Author
User avatar
sps7
Forum Regular
Forum Regular
Posts: 239
Joined: Fri Jul 21, 2006 3:57 pm

USB device plug-in causes loss of Internet connection

#1 Post by sps7 » Tue Jan 30, 2018 8:13 pm

Since I installed MX-17 early this month, I always lose my Internet connection whenever I plug in a USB device (such as when I recharge my mp3 player or when I use my SD card reader). This never happened with MX before MX-17 and when I had my Spectrum/Charter co-axial cable modem. I wonder if there's some workaround or fix for this.

My Internet comes via a Spectrum/Charter co-axial cable modem. When this annoying loss of Internet connection occurs due to plugging in a USB device, I have to unplug the power supply to the Spectrum co-axial cable modem, turn off my router and my desktop tower computer, wait a few minutes and then re-connect everything and turn on the computer.

My sole OS is MX-17 and my desktop is KDE. I connect wirelessly to the Internet.

Here's my system info if this might help someone:

Code: Select all

$ inxi -F
System:    Host: mx17 Kernel: 4.13.0-1-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.8.6
           Distro: MX-17_x64 Horizon December 15, 2017
Machine:   Device: desktop System: DakTech product: Discovery8 v: 2009 serial: N/A
           Mobo: Intel model: DG41RQ v: AAE54511-202 serial: N/A
           BIOS: Intel v: RQG4110H.86A.0010.2009.0408.1515 date: 04/08/2009
CPU:       Dual core Intel Core2 Duo E8500 (-MCP-) cache: 6144 KB
           clock speeds: max: 3163 MHz 1: 1998 MHz 2: 3163 MHz
Graphics:  Card: Intel 4 Series Integrated Graphics Controller
           Display Server: x11 (X.Org 1.19.2 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1280x1024@60.02hz
           OpenGL: renderer: Mesa DRI Intel G41 version: 2.1 Mesa 13.0.6
Audio:     Card-1 Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel
           Card-2 Logitech QuickCam Communicate MP/S5500 driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.13.0-1-amd64
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: down mac: 00:1c:c0:ca:00:e1
           Card-2: Realtek RTL8192CU 802.11n WLAN Adapter driver: rtl8192cu
           IF: wlan0 state: N/A mac: N/A
Drives:    HDD Total Size: 400.1GB (63.8% used)
           ID-1: /dev/sda model: ST3400832AS size: 400.1GB
Partition: ID-1: / size: 15G used: 7.2G (51%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 2.6G used: 1.3G (52%) fs: ext4 dev: /dev/sda6
           ID-3: swap-1 size: 4.05GB used: 1.12GB (28%) fs: swap dev: /dev/sda5
Sensors:   System Temperatures: cpu: 74.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 190 Uptime: 6:39 Memory: 3345.2/3917.4MB Client: Shell (bash) inxi: 2.3.54

User avatar
rokytnji.1
Forum Regular
Forum Regular
Posts: 735
Joined: Sun Apr 13, 2014 9:06 pm

Re: USB device plug-in causes loss of Internet connection

#2 Post by rokytnji.1 » Tue Jan 30, 2018 8:20 pm

When you plug in your usb and the internet connection drops. Post the output in your next post of

Code: Select all

dmesg | tail

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4217
Joined: Wed Jul 12, 2006 4:05 pm

Re: USB device plug-in causes loss of Internet connection

#3 Post by timkb4cq » Tue Jan 30, 2018 8:29 pm

There are some outstanding bugs in network manager related to connections dropping that might be in play here. To test this hypothesis, you could install wicd (from the standard repos), disable your connection in network manager and set it up in wicd.
If that doesn't work we'll have to look elsewhere.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15662
Joined: Fri Dec 15, 2006 8:07 pm

Re: USB device plug-in causes loss of Internet connection

#4 Post by Stevo » Tue Jan 30, 2018 8:58 pm

Since you're also getting your wi-fi from a USB device, that also seems like a good place to look for trouble. Can you switch around the ports you plug the devices into? I wonder if plugging in the mp3 player causes a power drop for a second, for example.

But having it restricted to MX 17 argues against that.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 21818
Joined: Wed Jul 19, 2006 6:13 am

Re: USB device plug-in causes loss of Internet connection

#5 Post by Jerry3904 » Tue Jan 30, 2018 9:23 pm

I wonder if the KDE overlay is interfering?
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Gordon Cooper
Forum Guide
Forum Guide
Posts: 1876
Joined: Mon Nov 21, 2011 5:50 pm

Re: USB device plug-in causes loss of Internet connection

#6 Post by Gordon Cooper » Tue Jan 30, 2018 9:30 pm

That you have to do a power down reset on modem, router and computer seems odd. Have you tried resetting only one at a time.
Also, can you hard wire them and not rely on wireless connection?.
Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
Primary OS : MX-17.1 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.
Dell9010, MX-17.1, Win7

User avatar
sps7
Forum Regular
Forum Regular
Posts: 239
Joined: Fri Jul 21, 2006 3:57 pm

Re: USB device plug-in causes loss of Internet connection

#7 Post by sps7 » Tue Jan 30, 2018 11:59 pm

rokytnji.1 wrote:When you plug in your usb and the internet connection drops. Post the output in your next post of

Code: Select all

dmesg | tail
The ouput requested:

Code: Select all

# dmesg | tail
[26392.326469] sd 5:0:0:0: [sdf] tag#0 Sense Key : Unit Attention [current] 
[26392.326471] sd 5:0:0:0: [sdf] tag#0 Add. Sense: Not ready to ready change, medium may have changed
[26392.326474] sd 5:0:0:0: [sdf] tag#0 CDB: Write(10) 2a 00 00 00 29 ac 00 00 04 00
[26392.326476] print_req_error: I/O error, dev sdf, sector 10668
[26392.326483] Buffer I/O error on dev sdf, logical block 10668, lost async page write
[26392.326486] Buffer I/O error on dev sdf, logical block 10669, lost async page write
[26392.326488] Buffer I/O error on dev sdf, logical block 10670, lost async page write
[26392.326490] Buffer I/O error on dev sdf, logical block 10671, lost async page write
[26425.329989] FAT-fs (sdf): Directory bread(block 20221830) failed
[26425.330048] FAT-fs (sdf): Directory bread(block 20221831) failed

User avatar
rokytnji.1
Forum Regular
Forum Regular
Posts: 735
Joined: Sun Apr 13, 2014 9:06 pm

Re: USB device plug-in causes loss of Internet connection

#8 Post by rokytnji.1 » Wed Jan 31, 2018 11:43 am

timkb4cq wrote:There are some outstanding bugs in network manager related to connections dropping that might be in play here. To test this hypothesis, you could install wicd (from the standard repos), disable your connection in network manager and set it up in wicd.
If that doesn't work we'll have to look elsewhere.
I had to do exactly what is mentioned above on my motorcycle shop wifi Desktop machine running MX 17. I installed WICD first. I disabled Network Manager in XFCE startup and Wicd took over after I installed it. It cured my issue. I see nothing in your dmesg | tail message that is helpful in troubleshooting your problem. But I am just a shady tree MX user. :bagoverhead:

Image
Sense: Not ready to ready change, medium may have changed
:confused:

Link

After reading my link. My take away is that the usb drive being plugged in is toast. But that cannot be right either. Hence the confusion.
when I recharge my mp3 player or when I use my SD card reader).

User avatar
sps7
Forum Regular
Forum Regular
Posts: 239
Joined: Fri Jul 21, 2006 3:57 pm

Re: USB device plug-in causes loss of Internet connection

#9 Post by sps7 » Wed Jan 31, 2018 2:00 pm

I've been using the single USB port at the front end of the desktop tower. I just tested a rear USB port by plugging in my mp3 player and I didn't lose my Internet connection. Therefore the front one must be shot OR maybe the new OS (MX-17) is causing some problem? I put it that way because when I had all these -- MX-16, the Spectrum/Charter co-axial cable modem, my router and my plugged-in USB external wireless adapter -- I don't ever recall losing the connection.

There's also still a bit of mystery to me on what I see when I first boot my computer and I think also after warm reboots. You might recall a few weeks ago when dr-kart (another MX-17 user) told us that "Recovering journal" and "clean" were appearing at startup: see http://bit.ly/2nrrbGo . That user found a kind of solution. I tried the same solution (which was altering /etc/init.d/wicd ) but I continue to see that "Recovering journal" and "clean" at startup every day. [Yes I have wicd installed and also ceni.] And when I run into the loss of the Internet connection due to plugging in a USB device into that front USB port, I also see something at startup about the clock being off by less than 1 day. Even though I see these things, the computer seems to be running fine. Can this be connected with the loss of Internet connection when I plug in a USB device into the desktop front USB port?

[I don't know if dr-kart's also using KDE desktop as I am.]

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8683
Joined: Sun Dec 16, 2007 1:17 pm

Re: USB device plug-in causes loss of Internet connection

#10 Post by dolphin_oracle » Wed Jan 31, 2018 2:11 pm

sps7 wrote:I've been using the single USB port at the front end of the desktop tower. I just tested a rear USB port by plugging in my mp3 player and I didn't lose my Internet connection. Therefore the front one must be shot OR maybe the new OS (MX-17) is causing some problem? I put it that way because when I had all these -- MX-16, the Spectrum/Charter co-axial cable modem, my router and my plugged-in USB external wireless adapter -- I don't ever recall losing the connection.

There's also still a bit of mystery to me on what I see when I first boot my computer and I think also after warm reboots. You might recall a few weeks ago when dr-kart (another MX-17 user) told us that "Recovering journal" and "clean" were appearing at startup: see http://bit.ly/2nrrbGo . That user found a kind of solution. I tried the same solution (which was altering /etc/init.d/wicd ) but I continue to see that "Recovering journal" and "clean" at startup every day. [Yes I have wicd installed and also ceni.] And when I run into the loss of the Internet connection due to plugging in a USB device into that front USB port, I also see something at startup about the clock being off by less than 1 day. Even though I see these things, the computer seems to be running fine. Can this be connected with the loss of Internet connection when I plug in a USB device into the desktop front USB port?

[I don't know if dr-kart's also using KDE desktop as I am.]
could be physical. I have one computer at home that reboots if I plug a USB into the front port. There is an electrical short in that port. I put electrical tape over it to keep the youngin's from using it, but they peeled off the tape to plug in a game controller and boom...reboot city once again. that particular machine is a windows 10 box. That port worked fine for years but developed the short over time.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

Post Reply

Return to “Hardware /Configuration”