To check whether or not a module is running, use the lsmod command. lsmod
In most modern Linux distributions (I think from kernel 2.2 onwards) the module settings are controlled by /etc/modprobe.conf and the files in
/etc/modprobe.d
one of the things that udev does is check all of these files and load modules based on their contents
/etc/modprobe.d/blacklist-custom
Custom blacklist file so I don't mess with any of the files that come with
the module-init-tools package.
blacklist pcspkr
update-initramfs -u
The changes will take place next time you reboot (technically the next time you reload udev)
Manually loading/unloading and listing modules
sudo modprobe -r modname sudo modprobe -r pcspkr sudo modprobe pcspkr modprobe ieee80211_crypt_tkip
or insmod wl.ko
depmod -a
Alternatively to manually remove modules
rmmod bcm43xx; rmmod b43; rmmod b43legacy rmmod ssb rmmod b43 rmmod b43legacy rmmod ndiswrapper //necessary?
to add a module to the kernel at boot?
echo wl >> /etc/modules
user@ubuntu$