Solved

How do i load a module to the kernel on the fly?  What is the command?

Posted on 2004-03-26
3
224 Views
Last Modified: 2013-12-16
How do i load a module to the kernel on the fly?  What is the command?

I want to load something while the machine is running without rebooting.

Please post the command and an example.

Thanks in advance.
0
Comment
Question by:garyhalbert
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 125 total points
ID: 10690806
modprobe is the command you are looking for.

EXAMPLES

modprobe -t net
    Load one of the modules that are stored in the directory tagged "net". Each module are tried until one succeeds.
modprobe -a -t boot
    All modules that are stored in directories tagged "boot" will be loaded.
modprobe slip
    This will attempt to load the module slhc.o if it was not previously loaded, since the slip module needs the functionality in the slhc module. This dependency will be described in the file modules.dep that was created automatically by depmod.
modprobe -r slip
    This will unload the slip module. It will also unload the slhc module automatically, unless it is used by some other module as well (e.g. ppp).
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10690813
man modprobe should help.
0
 

Author Comment

by:garyhalbert
ID: 10693450
Are there any other commands that can load modules?

what does insmod do?
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
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.…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 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

21 Experts available now in Live!

Get 1:1 Help Now