2

I recently installed a Linksys Wireless-N Notebook Adapter w/Dual-Band (WPC600N), which is working nicely via the PCMCIA slot; however, I cannot find where to permanently disable the internal WiFi adapter. Currently, I'm forced to manually disable it with each reboot.

2
4

Unless there is a hardware switch to turn it off, just blacklist the module.

You can find out which module is in use with this:

lspci -nnk | grep -iA2 net

...to blacklist a module, add blacklist module_name to /etc/modprobe.d/blacklist.conf

3
  • Thanks for the information. Being an old DOS hack, I was able to figure out what changes to make and where to make them, but I've been unable to save them to the blacklist.conf file. i don't seem to have permission to modify the file. Any comments? – Stan Haskell Mar 30 '12 at 8:09
  • You have to open it with super user privileges, like this: gksudo gedit /etc/modprobe.d/blacklist.conf. If you need help with the module names, post the output of lsmod. – mikewhatever Mar 30 '12 at 10:22
  • Thanks mikewhatever, I'll give that a whirl. Hopefully, there won't be any follow-up questions. I appreciate your time. – Stan Haskell Apr 2 '12 at 22:21
1

Add the following line to /etc/network/interfaces:

iface wlan0 inet manual

(Replace wlan0 with the interface you want to disable)

1
  • How does this disable the interface? I already had that line and the interface was never disabled. It even survived reboots. – chx101 Dec 22 '16 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.