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

The name of the pictureThe name of the pictureThe name of the pictureClash 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]






share|improve this question






















  • 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










  • @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










  • I will answer in some depth to help the searchers.
    – chili555
    May 29 at 18:06














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]






share|improve this question






















  • 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










  • @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










  • I will answer in some depth to help the searchers.
    – chili555
    May 29 at 18:06












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]






share|improve this question














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]








share|improve this question













share|improve this question




share|improve this question








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 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










  • 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 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










  • 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










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.






share|improve this answer




















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%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






























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.






share|improve this answer




















  • 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














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.






share|improve this answer




















  • 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












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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










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 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















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












 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?