Get the latest tech news

Configure Kernel Modules Like a Pro


Kernel modules are powerful pieces of code that extend the capability of your kernel, for example, WireGuard was originally developed as a kernel module. Modules can be loaded at the time of kernel image load, initramfs load, or later on during the boot sequence. Unfortunately, the syntax of config files,

To set a module option, append modname.modoption=abc to the appropriate kernel command line in the GRUB config file (e.g./etc/default/grub). If required, you can also prevent loading of a module at the initramfs stage, by adding modprobe.blacklist=modname1 to your kernel command line. In OpenWRT, you can configure module loading and options by creating files in/etc/modules.d(no filename restrictions), using syntax modname1 or modname1 modoption=abc,123.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Pro

Pro

Related news:

News photo

Redmi Note 14 Pro Plus looks to redefine mid-range with powerful SoC and AI-powered upgrades

News photo

iPhone 17 'Air' Expected to Be ~2mm Thinner Than iPhone 16 Pro

News photo

Apple's Second 5G Modem for iPhone 18 Pro and iPad Pro Expected to Support mmWave