1

I have successfully installed Kali Linux on my computer, but, upon installing it, I faced the problem of my network connection being extremely slow and disconnecting all the time. So I looked on the Internet and apparently my wireless card has a bad reputation with Linux.

I then decided to buy a wireless USB from Amazon.

I tried it out and it it has full bars, unlike my wireless card which had only 1 bar. I went on the Internet and everything was working fine. Then, all of a sudden, my Internet just went really slow and stopped working. I couldn't connect to anything and loading would be endless. Every time this happened, I'd go to the terminal and type in:

systemctl restart network-manager

After about a few seconds of executing this command, I'd be able to connect to the Internet normally with fast speeds again. Notice when the Internet starts to slow down, the bars are still full in the wireless tab for the USB adapter. This would happen every 5-10 minutes and I would do it every 5-10 minutes. I wanted to make a cron job for this but I honestly think that's a really stupid cheap way of fixing a bigger problem.

What is happening?

If someone needs any log files, just give me the command and I'll put the output on here.

EDIT(1): This is the dmesg command executed while network is up: http://pastebin.com/ZvhxQGHh

0

According to wikidevi the possible driver is rtl8192cu and can be installed from backports or as follows :

sudo apt-get update
sudo apt-get install git linux-headers-generic build-essential dkms
git clone https://github.com/pvaret/rtl8192cu-fixes.git
sudo dkms add ./rtl8192cu-fixes
sudo dkms install 8192cu/1.10
sudo depmod -a
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/

There is a known issue with power management on some hardware. If your WiFi connection drops after a few minutes, install the following module setting file to disable power management in your WiFi interface:

sudo cp ./rtl8192cu-fixes/8192cu-disable-power-management.conf /etc/modprobe.d/

And then reboot.

  • I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-generic E: Unable to locate package dkms AND cp: cannot stat ‘./rtl8192cu-fixes/8192cu-disable-power-management.conf’: No such file or directory – RazeByte Nov 3 '16 at 3:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.