System freezes when connecting to wireless network

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Mycr0
Level 1
Level 1
Posts: 4
Joined: Thu Feb 16, 2017 6:43 am

System freezes when connecting to wireless network

Post by Mycr0 »

Using a USB-dongle to connect to a WiFi-network produces a system-crash every time. The W-LAN networks are detected and displayed and I can even enter the password, shortly after that the whole system completely locks up and freezes. No input is possible anymore. I have to do a hard system reset or switch off power supply.

Tested with two different USB-WIFI-Dongles with Realtek RTL8188CUS chipset.
This one: https://wikidevi.com/wiki/ASUS_USB-N10_Nano
And this one: https://wikidevi.com/wiki/Edimax_EW-7811Un

Tested on two different PCs, on different USB-slots, even with USB-hubs.

System No. 1:
Processor: 6x AMD FX(tm)-6300 Six-Core Processor
Memory: 8122MB (570MB used)
Kernel: Linux 4.4.0-64-generic (x86_64)
Compiled: #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017
C Library: Unknown
Default C Compiler: GNU C Compiler version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
Distribution: Linux Mint 18 Sarah

System No. 2:
Processor: AMD Athlon(tm) 64 Processor 3800+
Memory: 4045MB (505MB used)
Kernel: Linux 4.4.0-64-generic (x86_64)
Compiled: #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017
C Library: Unknown
Default C Compiler: GNU C Compiler version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
Distribution: Linux Mint 18.1 Serena

Cross-references to same/similar problems:
https://ubuntuforums.org/showthread.php?t=2354453
http://askubuntu.com/questions/885427/w ... untu-16-04
Mycr0
Level 1
Level 1
Posts: 4
Joined: Thu Feb 16, 2017 6:43 am

Re: System freezes when connecting to wireless network

Post by Mycr0 »

Kernel 4.4.0-66-generic (x86_64)

Problems persist. This is rather disgraceful.

Solutions? Suggestions? Recommendations? Cold sweat?
Dbumpster
Level 1
Level 1
Posts: 1
Joined: Tue Mar 28, 2017 4:46 pm

Re: System freezes when connecting to wireless network

Post by Dbumpster »

I went into my BIOS and changed UEFI to Legacy, then when prompted to run "Ubuntu" I chose "Ubuntu Advanced Options" and clicked on the 4.40.53 generic version (the one that does not have anything like "startup" or "recovery" next to it). It appears that it has fixed the problem, however this is my second day on Linux haha. Hope this helps.
sharptooth
Level 1
Level 1
Posts: 1
Joined: Sat Dec 08, 2012 5:14 am

Re: System freezes when connecting to wireless network

Post by sharptooth »

Mycr0 - I experienced this exact same problem following a recent installation of 18.1 MATE and subsequent full update. I was finally able to resolve the issue last night by replacing the default rtl8192cu driver with an amended version.

I found this article - https://sites.google.com/site/easylinux ... /reserve-7 - and followed the instructions exactly; my wi-fi adapter is now working properly and not causing any crashes. I believe fellow forum user Pjotr created this web page, and I'm very grateful to him as all commands worked flawlessly!

In case this helps anyone else, it's worth noting that for me, the system freeze was also causing the caps lock and scroll lock lights on the keyboard to blink, a symptom which led me down various other tangents as this is actually symptomatic of many different issues!
Mycr0
Level 1
Level 1
Posts: 4
Joined: Thu Feb 16, 2017 6:43 am

Re: System freezes when connecting to wireless network

Post by Mycr0 »

Thanks for your answers, the one from "sharptooth" helped me a lot.
sharptooth wrote: I found this article - https://sites.google.com/site/easylinux ... /reserve-7 - and followed the instructions exactly; my wi-fi adapter is now working properly and not causing any crashes. I believe fellow forum user Pjotr created this web page, and I'm very grateful to him as all commands worked flawlessly!
Very commendable step-by-step instructions! Precise and to the point. And it resolved my problems, albeit with some hickups and caveats.

What do I mean by that?

At first, after doing the tutorial, the internet connection was very slow (only about 700 Kbit/s down- and upload with a much, much faster internet connection and 90 % connection quality to the router, which is capped at 72 Mbps).

At this time the wifi-dongle was placed in an usb-hub (unpowered). So I put it into another usb-slot, directly from the motherboard. However, then the internet connection dropped completely, the wifi-connection was still there. Changing the usb-port back to the original or any other did not help.

So I did the all the commands from the above mentioned tutorial again, restarted the computer again, plugged the wifi-dongle directly into an usb-port from the motherboard and lo and behold – no crash and full speed internet connection!

I tested it on another usb-port (from the motherboard) and it worked as intended. So I guess you should avoid usb-hubs.

Interestingly enough, I found out two things:
1) Using the command "lsusb" I can see that the usb-device is correctly recognized by its full name (not by the chip-manufacturer).

2) The producer actually provides a Linux Driver on its website.
See here: http://www.edimax.com/edimax/download/d ... /ew-7811un
However, this driver is from 2012, so I am hesitant to try it. Perhaps its even the faulty one, which is part of the kernel?

I hope these issues are resolved by the Linux Mint devolopers, the Realtek-chipsets are quite common (however most of them are integrated nowadays). It actually seems to be a minor issue, considering it can be resolved fairly quickly.
Post Reply

Return to “Hardware Support”