Solved

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

Posted on 2004-08-02
7
200 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
Comment Utility
Hi Bassam72,

modprobe -c

Sunnycoder
0
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
If it is in the default directories.

insmod tun

man insmod for more information
0
 
LVL 6

Expert Comment

by:de2Zotjes
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now