You can also put parameters into the file /etc/modprobe.conf or into the file /etc/modprobe.d/<file> but use only one method or the other, not both, as one takes priority.
Something like my file called /etc/modprobe.d/bonding contains:
alias bond0 bonding
options bonding mode=active-backup miimon=1000 primary=eth0
With the above, if I issue the command 'modprobe bonding' or 'modprobe bond0' then the kernel module 'bonding.ko' kets inserted with the parameters on that line.
The ALIAS line just gives an alias to the module, so that if you had a module called 'sdgfuih34hu6789d978f' you could modprobe it much easier by aliasing it, like 'alias easyname sdgfuih34hu6789d978f' and now you would use 'modprobe easyname'
|