Questo contenuto non è disponibile nella lingua selezionata.

31.6.2. Loading a Customized Module - Persistent Changes


If you want to ensure that a kernel module is always loaded with specific settings, modify an existing or newly-created file in the /etc/modprobe.d/ directory with a line in the following format.
~]# options <module_name> [parameter=value]
Copy to clipboard
where [parameter=value] represents a list of customized parameters available to that module.
The following procedure illustrates the recommended steps for loading a kernel module with custom parameters on the b43 module for Open Firmware for wireless networks, ensuring that changes persist between module reloads.

Procedure 31.2. Loading a Kernel Module with Custom Parameters - Persistent Changes

  1. Add the following line to the /etc/modprobe.d/openfwwf.conf file, which ensures that the b43 module is always loaded with QoS and hardware-accelerated cryptography disabled:
    options b43 nohwcrypt=1 qos=0
    Copy to clipboard
  2. Verify whether the module is not already loaded into the kernel by running the following command:
    ~]# lsmod|grep ^b43
    ~]#
    Copy to clipboard
    Note that the output of the command in this example indicates that the module is currently not loaded into the kernel.
  3. If the module is already loaded into the kernel, you must unload the module and all its dependencies before proceeding with the next step. See Section 31.4, “Unloading a Module” for instructions on how to safely unload it.
  4. Load the b43 module by running the following command:
    ~]# modprobe b43
    Copy to clipboard
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat, Inc.