Why does my network connection keep disconnecting?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












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










share|improve this question



















  • 1




    dmesg usually shows wifi issues, can you copy it here?
    – mikejonesey
    Oct 27 '16 at 23:13










  • This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
    – RazeByte
    Nov 3 '16 at 3:45











  • Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
    – J. Taylor
    Jun 21 at 3:09











  • ... also: superuser.com/questions/974017/…
    – J. Taylor
    Jun 21 at 3:12














up vote
1
down vote

favorite












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










share|improve this question



















  • 1




    dmesg usually shows wifi issues, can you copy it here?
    – mikejonesey
    Oct 27 '16 at 23:13










  • This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
    – RazeByte
    Nov 3 '16 at 3:45











  • Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
    – J. Taylor
    Jun 21 at 3:09











  • ... also: superuser.com/questions/974017/…
    – J. Taylor
    Jun 21 at 3:12












up vote
1
down vote

favorite









up vote
1
down vote

favorite











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










share|improve this question















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







linux networking wifi kali-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 3 '16 at 3:46

























asked Oct 27 '16 at 22:45









RazeByte

613




613







  • 1




    dmesg usually shows wifi issues, can you copy it here?
    – mikejonesey
    Oct 27 '16 at 23:13










  • This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
    – RazeByte
    Nov 3 '16 at 3:45











  • Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
    – J. Taylor
    Jun 21 at 3:09











  • ... also: superuser.com/questions/974017/…
    – J. Taylor
    Jun 21 at 3:12












  • 1




    dmesg usually shows wifi issues, can you copy it here?
    – mikejonesey
    Oct 27 '16 at 23:13










  • This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
    – RazeByte
    Nov 3 '16 at 3:45











  • Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
    – J. Taylor
    Jun 21 at 3:09











  • ... also: superuser.com/questions/974017/…
    – J. Taylor
    Jun 21 at 3:12







1




1




dmesg usually shows wifi issues, can you copy it here?
– mikejonesey
Oct 27 '16 at 23:13




dmesg usually shows wifi issues, can you copy it here?
– mikejonesey
Oct 27 '16 at 23:13












This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
– RazeByte
Nov 3 '16 at 3:45





This is the dmesg command executed while network is up: pastebin.com/ZvhxQGHh
– RazeByte
Nov 3 '16 at 3:45













Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
– J. Taylor
Jun 21 at 3:09





Have you seen this? Not sure if it applies in your situation, but it might help to try ...unix.stackexchange.com/questions/386925/…
– J. Taylor
Jun 21 at 3:09













... also: superuser.com/questions/974017/…
– J. Taylor
Jun 21 at 3:12




... also: superuser.com/questions/974017/…
– J. Taylor
Jun 21 at 3:12










1 Answer
1






active

oldest

votes

















up vote
0
down vote













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.







share|improve this answer




















  • 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







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319427%2fwhy-does-my-network-connection-keep-disconnecting%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













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.







share|improve this answer




















  • 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















up vote
0
down vote













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.







share|improve this answer




















  • 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













up vote
0
down vote










up vote
0
down vote









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.







share|improve this answer












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.








share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 28 '16 at 7:12









GAD3R

23.1k164896




23.1k164896











  • 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

















  • 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
















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





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


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319427%2fwhy-does-my-network-connection-keep-disconnecting%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?