The
modprobe
command allows you to manually load kernel modules.
modprobe
is a smart command, as it performs several operations to make sure you load the module correctly.
- It loads all modules that your module depends on.
- It consults
/etc/conf.modules
for your module's default parameters.
- It can try a list of modules, and when it loads a module successfully, it ceases to try others in the list.
You can also use the depmod, insmod, and rmmod commands to load modules.
However, I recommend steering away from them, as you will need to follow more steps to obtain the same functionality as modprobe.
The SlideShow below demonstrates how to load modules into the kernel.