How to stop a driver in kernel from bringing up wireless adapter?
Hello,
The driver for my wireless adapter is included with the linux kernel, and when booting my notebook, brings up the adapter. I dont want this behaviour. I want to be able to modprobe the driver as and when I need it on the desktop, but at all other times, have the adapter disabled. Is there a way to stop the driver being loaded by the kernel at boot time? |
breakbeat, if you're using a distro like Debian which has a /etc/modprobe.d directory, you can add a file there (say wireless-blacklist.conf), or add to an existing file where it will make sense (default Debian includes alsa and fbdev blacklists for which neither make sense to put a wifi module). Whatever the file, add the following line:
Code:
blacklist modulename |
Thanks goumba :)
|
All times are GMT -5. The time now is 07:15 PM. |