How do I disable the PCI wifi and use only a USB wifi card?

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I have a laptop with a built-in network card that stopped working. Until upgrading to Ubuntu 18.04, I could use a USB card instead, but in Gnome it seems I can not enable/disable the network interfaces one by one. If I connect to a network both interfaces try to connect, leaving the system without a working condition.
For reference, here is an old question on how to disable a network interface permanently, but that seems to work only for older Ubuntu versions: How to disable built-in wifi and use only USB wifi card?
Edit:
$ lspci -nnk | grep net
<snip>
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc AR9285 Wireless Network Adapter (PCI-Express) [11ad:6613]
networking 18.04
 |Â
show 2 more comments
up vote
0
down vote
favorite
I have a laptop with a built-in network card that stopped working. Until upgrading to Ubuntu 18.04, I could use a USB card instead, but in Gnome it seems I can not enable/disable the network interfaces one by one. If I connect to a network both interfaces try to connect, leaving the system without a working condition.
For reference, here is an old question on how to disable a network interface permanently, but that seems to work only for older Ubuntu versions: How to disable built-in wifi and use only USB wifi card?
Edit:
$ lspci -nnk | grep net
<snip>
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc AR9285 Wireless Network Adapter (PCI-Express) [11ad:6613]
networking 18.04
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:lspci -nnk | grep 0280 -A3
â chili555
May 29 at 14:44
I think what I used to do is justrfkillthe internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.
â Sergiy Kolodyazhnyy
May 29 at 15:24
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output oflspci --nnk. Greping for0280-A3didn't return anything
â leo
May 29 at 17:34
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a laptop with a built-in network card that stopped working. Until upgrading to Ubuntu 18.04, I could use a USB card instead, but in Gnome it seems I can not enable/disable the network interfaces one by one. If I connect to a network both interfaces try to connect, leaving the system without a working condition.
For reference, here is an old question on how to disable a network interface permanently, but that seems to work only for older Ubuntu versions: How to disable built-in wifi and use only USB wifi card?
Edit:
$ lspci -nnk | grep net
<snip>
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc AR9285 Wireless Network Adapter (PCI-Express) [11ad:6613]
networking 18.04
I have a laptop with a built-in network card that stopped working. Until upgrading to Ubuntu 18.04, I could use a USB card instead, but in Gnome it seems I can not enable/disable the network interfaces one by one. If I connect to a network both interfaces try to connect, leaving the system without a working condition.
For reference, here is an old question on how to disable a network interface permanently, but that seems to work only for older Ubuntu versions: How to disable built-in wifi and use only USB wifi card?
Edit:
$ lspci -nnk | grep net
<snip>
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc AR9285 Wireless Network Adapter (PCI-Express) [11ad:6613]
networking 18.04
edited May 29 at 17:41
asked May 29 at 14:41
leo
1458
1458
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:lspci -nnk | grep 0280 -A3
â chili555
May 29 at 14:44
I think what I used to do is justrfkillthe internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.
â Sergiy Kolodyazhnyy
May 29 at 15:24
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output oflspci --nnk. Greping for0280-A3didn't return anything
â leo
May 29 at 17:34
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06
 |Â
show 2 more comments
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:lspci -nnk | grep 0280 -A3
â chili555
May 29 at 14:44
I think what I used to do is justrfkillthe internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.
â Sergiy Kolodyazhnyy
May 29 at 15:24
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output oflspci --nnk. Greping for0280-A3didn't return anything
â leo
May 29 at 17:34
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:
lspci -nnk | grep 0280 -A3â chili555
May 29 at 14:44
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:
lspci -nnk | grep 0280 -A3â chili555
May 29 at 14:44
I think what I used to do is just
rfkill the internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.â Sergiy Kolodyazhnyy
May 29 at 15:24
I think what I used to do is just
rfkill the internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.â Sergiy Kolodyazhnyy
May 29 at 15:24
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output of
lspci --nnk. Greping for 0280-A3 didn't return anythingâ leo
May 29 at 17:34
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output of
lspci --nnk. Greping for 0280-A3 didn't return anythingâ leo
May 29 at 17:34
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You ran the terminal command:
lspci -nnk
You found your wireless device:
Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
We search for the device ID 168c:002b and find, among others: https://wikidevi.com/wiki/Arcadyan_WN7811A
It reports:
Probable Linux driver ath9k
You can verify that this is the module that is loaded with:
lsmod | grep ath
If so, let's unload and blacklist the driver:
sudo -i
modprobe -r ath9k
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
You should be all set.
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you typesudo modprobe ath9kafter boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.
â velix
May 29 at 18:16
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You ran the terminal command:
lspci -nnk
You found your wireless device:
Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
We search for the device ID 168c:002b and find, among others: https://wikidevi.com/wiki/Arcadyan_WN7811A
It reports:
Probable Linux driver ath9k
You can verify that this is the module that is loaded with:
lsmod | grep ath
If so, let's unload and blacklist the driver:
sudo -i
modprobe -r ath9k
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
You should be all set.
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you typesudo modprobe ath9kafter boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.
â velix
May 29 at 18:16
add a comment |Â
up vote
1
down vote
accepted
You ran the terminal command:
lspci -nnk
You found your wireless device:
Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
We search for the device ID 168c:002b and find, among others: https://wikidevi.com/wiki/Arcadyan_WN7811A
It reports:
Probable Linux driver ath9k
You can verify that this is the module that is loaded with:
lsmod | grep ath
If so, let's unload and blacklist the driver:
sudo -i
modprobe -r ath9k
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
You should be all set.
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you typesudo modprobe ath9kafter boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.
â velix
May 29 at 18:16
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You ran the terminal command:
lspci -nnk
You found your wireless device:
Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
We search for the device ID 168c:002b and find, among others: https://wikidevi.com/wiki/Arcadyan_WN7811A
It reports:
Probable Linux driver ath9k
You can verify that this is the module that is loaded with:
lsmod | grep ath
If so, let's unload and blacklist the driver:
sudo -i
modprobe -r ath9k
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
You should be all set.
You ran the terminal command:
lspci -nnk
You found your wireless device:
Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b]
We search for the device ID 168c:002b and find, among others: https://wikidevi.com/wiki/Arcadyan_WN7811A
It reports:
Probable Linux driver ath9k
You can verify that this is the module that is loaded with:
lsmod | grep ath
If so, let's unload and blacklist the driver:
sudo -i
modprobe -r ath9k
echo "blacklist ath9k" >> /etc/modprobe.d/blacklist.conf
exit
You should be all set.
answered May 29 at 18:12
chili555
36.1k54775
36.1k54775
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you typesudo modprobe ath9kafter boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.
â velix
May 29 at 18:16
add a comment |Â
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you typesudo modprobe ath9kafter boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.
â velix
May 29 at 18:16
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you type
sudo modprobe ath9k after boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.â velix
May 29 at 18:16
Note that the wifi card will not be unpowered but just unusable because the drivers will not load on boot. If you type
sudo modprobe ath9k after boot, the card will be usable again. To complete disable a pci device you should do it through acpi call.â velix
May 29 at 18:16
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1041607%2fhow-do-i-disable-the-pci-wifi-and-use-only-a-usb-wifi-card%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
I think the method in the link is entirely valid. Let's identify the driver we need to blacklist for the internal device. Please edit your question to add the result of the terminal command:
lspci -nnk | grep 0280 -A3â chili555
May 29 at 14:44
I think what I used to do is just
rfkillthe internal PCI-e wifi card, and only then plug in USB, otherwise my laptop would get stuck.â Sergiy Kolodyazhnyy
May 29 at 15:24
@chili555 Thanks, I probably just didn't understand what to look for then. I edited to add the output of
lspci --nnk. Greping for0280-A3didn't return anythingâ leo
May 29 at 17:34
why dont you remove physically the wifi adapter?
â cmak.fr
May 29 at 17:51
I will answer in some depth to help the searchers.
â chili555
May 29 at 18:06