I know this question might be asked before but I could not find it. I want module brcmfmac to start on boot before GUI starts. So how do I load modules on boot? Currently I have to do modprobe every time I boot. Writing a script and crontab seems silly to me since there is a way in distros like Ubuntu to do it without using scripts.
:S Ok is there udev rule or some other way. This one is old school way of doing this and my module-load.d is empty and bunch of modules are getting loaded on boot.
That Arch wiki is pretty straight forward imho since i already did something like what you’re asking.
First create a file name after your module and add an extension .conf
Because of the module,
It’s highly likely this is a RPi (I don’t know if any other hardware would use this module).
It’s my impression that things load differently on a RPi and as the Wiki article describes can be done based simply upon detection of supported hardware.
If you’ve created exactly what @jetchisel described and it’s not working,
Then IMO next step is to inspect your bootlog and look for all entries related to your module…
= If the module is not mentioned at all
= If there is an attempt to load the module but results in a failure.
You should be able to write the previous bootlog to a file with the following, and then you can perform actions on the content of file. Name your file whatever you’d loke
journalctl -b -1 > bootlog_last_boot.txt
If you can’t or don’t know how to analyze your bootlog, post it to a pastebin and post the link to that pastebin so someone else can look at it.
WOW what the heck, it was blacklisted in 50-blacklist.conf. I do not know if it was done by broacom-wl or something before that, that that was the problem. As a side not broadcom-wl also creates file called 50-brcmfmac.conf in modprobe.d directory that does the same thing and I thought I got rid of blacklist, but apparently no.