modules - bunnyamin/bunnix GitHub Wiki

Is the devices is controlled by hardware (hard) or a program (soft): rfkill list. If the device is

  • "hard-blocked" then it can only be unblocked with the hardware interface, for example a button or switch
  • "soft-blocked" then it can be unblocked with the command rfkill unblocked <device>.
0: sunxi-bt: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Kernel options

  • module_name.parameter_name=parameter_value

List modules

  • modprobe -c

Load module

  • echo 'module' > /etc/modules-load.d/name.conf

Block modules

  • /etc/modprobe.d/blacklist.conf

Prevent a module from being loaded either as:

  • blacklist <module> The module could still be loaded as a dependency of another module that is not blacklisted.
  • install <module> /bin/true
⚠️ **GitHub.com Fallback** ⚠️