Solved

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

Posted on 2004-08-02
7
206 Views
Last Modified: 2013-12-15
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
Comment
Question by:Bassam72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11691855
Hi Bassam72,

modprobe -c

Sunnycoder
0
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 250 total points
ID: 11692615
modprobe -c only shows the modprobe configuration - not whether a module has actually loaded.

lsmod is the one you want.
0
 

Author Comment

by:Bassam72
ID: 11700147
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
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11700678
If it is in the default directories.

insmod tun

man insmod for more information
0
 
LVL 6

Expert Comment

by:de2Zotjes
ID: 11708798
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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question