How to disable Wifi Power Save on Kali Linux
I am running kali with virtualbox and my wifi receiver is a usb adapter which is Asus N10 Nano. I made the settings on virtualbox for making the vb recognize my usb wifi adapter. It works but after like 5min my internet drops. Especially during the updates. I figured it out its because the "Wifi Power Save" option is on. I turned it off and tried again. When i turned it off my wifi turned off at the same time. I tried to turn my wifi on but the Wifi Power Save option turned on itself automatically. The usb icon on bottom is like red-green. It needs to be blinking green to work correctly. If i can turn off the Wifi Power Save mod permamently hopefully its gonna be blinking green. I searched for it, I did almost everything like creating directory as /etc/pm/power.d/wireless
and editing the file wireless by these commands:
#!/bin/sh
/sbin/iwconfig wlan0 power off
Then i gave the permission -x
for it. It didnt work. Sorry if I had mistake while I was writing this. Thanks for helping!
lspci output:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
It didn't work. In the end sudo depmod rtl8192cu
output was:
depmod: FATAL: rtl8192cu: not absolute path.
debian wifi virtualbox power-management
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am running kali with virtualbox and my wifi receiver is a usb adapter which is Asus N10 Nano. I made the settings on virtualbox for making the vb recognize my usb wifi adapter. It works but after like 5min my internet drops. Especially during the updates. I figured it out its because the "Wifi Power Save" option is on. I turned it off and tried again. When i turned it off my wifi turned off at the same time. I tried to turn my wifi on but the Wifi Power Save option turned on itself automatically. The usb icon on bottom is like red-green. It needs to be blinking green to work correctly. If i can turn off the Wifi Power Save mod permamently hopefully its gonna be blinking green. I searched for it, I did almost everything like creating directory as /etc/pm/power.d/wireless
and editing the file wireless by these commands:
#!/bin/sh
/sbin/iwconfig wlan0 power off
Then i gave the permission -x
for it. It didnt work. Sorry if I had mistake while I was writing this. Thanks for helping!
lspci output:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
It didn't work. In the end sudo depmod rtl8192cu
output was:
depmod: FATAL: rtl8192cu: not absolute path.
debian wifi virtualbox power-management
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
would you please paste the output oflspci
?
– Rui F Ribeiro
Jan 28 '16 at 20:21
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48
add a comment |
I am running kali with virtualbox and my wifi receiver is a usb adapter which is Asus N10 Nano. I made the settings on virtualbox for making the vb recognize my usb wifi adapter. It works but after like 5min my internet drops. Especially during the updates. I figured it out its because the "Wifi Power Save" option is on. I turned it off and tried again. When i turned it off my wifi turned off at the same time. I tried to turn my wifi on but the Wifi Power Save option turned on itself automatically. The usb icon on bottom is like red-green. It needs to be blinking green to work correctly. If i can turn off the Wifi Power Save mod permamently hopefully its gonna be blinking green. I searched for it, I did almost everything like creating directory as /etc/pm/power.d/wireless
and editing the file wireless by these commands:
#!/bin/sh
/sbin/iwconfig wlan0 power off
Then i gave the permission -x
for it. It didnt work. Sorry if I had mistake while I was writing this. Thanks for helping!
lspci output:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
It didn't work. In the end sudo depmod rtl8192cu
output was:
depmod: FATAL: rtl8192cu: not absolute path.
debian wifi virtualbox power-management
I am running kali with virtualbox and my wifi receiver is a usb adapter which is Asus N10 Nano. I made the settings on virtualbox for making the vb recognize my usb wifi adapter. It works but after like 5min my internet drops. Especially during the updates. I figured it out its because the "Wifi Power Save" option is on. I turned it off and tried again. When i turned it off my wifi turned off at the same time. I tried to turn my wifi on but the Wifi Power Save option turned on itself automatically. The usb icon on bottom is like red-green. It needs to be blinking green to work correctly. If i can turn off the Wifi Power Save mod permamently hopefully its gonna be blinking green. I searched for it, I did almost everything like creating directory as /etc/pm/power.d/wireless
and editing the file wireless by these commands:
#!/bin/sh
/sbin/iwconfig wlan0 power off
Then i gave the permission -x
for it. It didnt work. Sorry if I had mistake while I was writing this. Thanks for helping!
lspci output:
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
It didn't work. In the end sudo depmod rtl8192cu
output was:
depmod: FATAL: rtl8192cu: not absolute path.
debian wifi virtualbox power-management
debian wifi virtualbox power-management
edited May 20 '17 at 4:41
Rui F Ribeiro
39.6k1479132
39.6k1479132
asked Jan 28 '16 at 20:07
user153831user153831
62
62
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
would you please paste the output oflspci
?
– Rui F Ribeiro
Jan 28 '16 at 20:21
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48
add a comment |
would you please paste the output oflspci
?
– Rui F Ribeiro
Jan 28 '16 at 20:21
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48
would you please paste the output of
lspci
?– Rui F Ribeiro
Jan 28 '16 at 20:21
would you please paste the output of
lspci
?– Rui F Ribeiro
Jan 28 '16 at 20:21
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48
add a comment |
1 Answer
1
active
oldest
votes
The Asus N10 Nano has the Realtek 8192CU chipset. I advise to configure the loading of the required kernel modules using the following procedure.
Create the file sudo vi /etc/modprobe.d/rtl8192cu.conf
, with:
options rtl8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Then do:
sudo rmmod rtl8192cu
sudo modprobe rtl8192cu
If the modprobe does not work, restart the server.
Nevertheless, be warned the Asus N10 Nano is using the rtl8192cu which is a notoriously cheap and buggy chip, notoriously in energy management.
Please do read my answer in this thread, talking also about Asus and the same chipset.
Wi-Fi problems using ASUS USB-N13 adapter
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f258366%2fhow-to-disable-wifi-power-save-on-kali-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The Asus N10 Nano has the Realtek 8192CU chipset. I advise to configure the loading of the required kernel modules using the following procedure.
Create the file sudo vi /etc/modprobe.d/rtl8192cu.conf
, with:
options rtl8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Then do:
sudo rmmod rtl8192cu
sudo modprobe rtl8192cu
If the modprobe does not work, restart the server.
Nevertheless, be warned the Asus N10 Nano is using the rtl8192cu which is a notoriously cheap and buggy chip, notoriously in energy management.
Please do read my answer in this thread, talking also about Asus and the same chipset.
Wi-Fi problems using ASUS USB-N13 adapter
add a comment |
The Asus N10 Nano has the Realtek 8192CU chipset. I advise to configure the loading of the required kernel modules using the following procedure.
Create the file sudo vi /etc/modprobe.d/rtl8192cu.conf
, with:
options rtl8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Then do:
sudo rmmod rtl8192cu
sudo modprobe rtl8192cu
If the modprobe does not work, restart the server.
Nevertheless, be warned the Asus N10 Nano is using the rtl8192cu which is a notoriously cheap and buggy chip, notoriously in energy management.
Please do read my answer in this thread, talking also about Asus and the same chipset.
Wi-Fi problems using ASUS USB-N13 adapter
add a comment |
The Asus N10 Nano has the Realtek 8192CU chipset. I advise to configure the loading of the required kernel modules using the following procedure.
Create the file sudo vi /etc/modprobe.d/rtl8192cu.conf
, with:
options rtl8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Then do:
sudo rmmod rtl8192cu
sudo modprobe rtl8192cu
If the modprobe does not work, restart the server.
Nevertheless, be warned the Asus N10 Nano is using the rtl8192cu which is a notoriously cheap and buggy chip, notoriously in energy management.
Please do read my answer in this thread, talking also about Asus and the same chipset.
Wi-Fi problems using ASUS USB-N13 adapter
The Asus N10 Nano has the Realtek 8192CU chipset. I advise to configure the loading of the required kernel modules using the following procedure.
Create the file sudo vi /etc/modprobe.d/rtl8192cu.conf
, with:
options rtl8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Then do:
sudo rmmod rtl8192cu
sudo modprobe rtl8192cu
If the modprobe does not work, restart the server.
Nevertheless, be warned the Asus N10 Nano is using the rtl8192cu which is a notoriously cheap and buggy chip, notoriously in energy management.
Please do read my answer in this thread, talking also about Asus and the same chipset.
Wi-Fi problems using ASUS USB-N13 adapter
edited Apr 13 '17 at 12:36
Community♦
1
1
answered Jan 28 '16 at 20:29
Rui F RibeiroRui F Ribeiro
39.6k1479132
39.6k1479132
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f258366%2fhow-to-disable-wifi-power-save-on-kali-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
would you please paste the output of
lspci
?– Rui F Ribeiro
Jan 28 '16 at 20:21
You have to answer to posts in the comments. By sheer luck, I was the one approving your edit.My mistake, it should be modprobe. Nevertheless, if it does not work, reboot it. Edited the answer.
– Rui F Ribeiro
Jan 28 '16 at 21:41
the pen does not come up in lspci, it has to be lsusb. nevertheless already found the chipset in google
– Rui F Ribeiro
Jan 28 '16 at 21:48