Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

How to make sure that a specific module is already loaded into the kertrel

Hi,
I have a Linux redhat 9 machine and it is required from me to install some modules.

Before I start the installation, how can I make sure that a specific model (mod_ssl, tun, ...etc) are already loaded into the kernel??


Thanks in advance for your help

Cheers
Bassam

0
Bassam72
Asked:
Bassam72
1 Solution
 
sunnycoderCommented:
Hi Bassam72,

modprobe -c

Sunnycoder
0
 
owensleftfootCommented:
modprobe -c only shows the modprobe configuration - not whether a module has actually loaded.

lsmod is the one you want.
0
 
Bassam72Author Commented:
Ok thanks, now, how can I load a specific module in the kernel ? for example I want to load the module "tun", is there a way to do that?


Regards
Bassam
0
 
sunnycoderCommented:
If it is in the default directories.

insmod tun

man insmod for more information
0
 
de2ZotjesCommented:
The easy way to load is using modprobe:

modprobe <module>

This will resolve module dependecies and load the modules you need.

Viewing all loaded modules is done by

lsmod


Hope this helps
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now