Why does my network connection keep disconnecting?
Clash 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
linux networking wifi kali-linux
add a comment |Â
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
linux networking wifi kali-linux
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
add a comment |Â
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
linux networking wifi kali-linux
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
linux networking wifi kali-linux
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
add a comment |Â
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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