zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Kernel modules

July 23, 2010 by Igor Drobot Leave a Comment

It’s sometimes useful to prevent some kernel modules from loading. This howto will show you how to do this. This is really easy to do, so if you want you can just skip to the end to see some examples.

Load manualy kernel modules:

1
modprobe ip_conntrack_ftp

modprobe ip_conntrack_ftp

List all loaded modules:

1
lsmod

lsmod

This option remove loaded module:

1
modprobe -r pcspkr

modprobe -r pcspkr

Creating a blacklist:

1
2
cat /etc/modprobe.d/blacklist-custom
blacklist pcspkr

cat /etc/modprobe.d/blacklist-custom blacklist pcspkr

Filed Under: Kernel, Linux Tagged With: Kernel Modules, Linux, LKM, modprobe

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok