Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-02
7
Medium Priority
?
210 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
7 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 11691855
Hi Bassam72,

modprobe -c

Sunnycoder
0
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

963 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