From MEPIS Documentation Wiki

Jump to: navigation, search

Blacklisting -- stopping a module from being loaded automatically by the kernel.

One easy way to do it is to create a /etc/modprobe.d/options file (if it doesn't exist) and add a line like:

blacklist module_name

Example to stop IPv6 driver from loading add this line:

blacklist ipv6

After saving the file you need to reboot for the change to take effect.

You might be tempted to add that line in /etc/modprobe.d/blacklist file, but from my understanding that file might get overwritten, therefore it is preferable to use a custom file in /etc/modprobe.d/ directory. You can use whatever file name you want, "options" or "blacklist-custom" are probably good choices.

Personal tools
In other languages