On 15.1-RELEASE I put in /boot/loader.conf if_iwlwifi_load="NO" and after reboot kldstat show me still.
With devmatch_blocklist="if_iwlwifi" it works.
Why the first option doesn't works, please?
if_iwlwifi_load="NO" would not load the module when the kernel starts at boot. devmatch_blocklist="if_iwlwifi" prevents it from being automatically loaded after the kernel started.
/boot/loader.conf has settings that are done before the kernel starts, like loading additional kernel modules or setting special kernel parameters.
SirDice and bakul, similar to the OP question, if I wanted not to load a wireless interface driver (e.g. iwlwifi0 and rtw890) at all, because I would never use them, what would be the best way and place to do this, devmatch? Imma have to read on what it does, I am not familiar with it. Similar to the OP, I thought this had to be done in the loader.conf file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.