Solved

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

Posted on 2004-03-26
3
243 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
[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
  • 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

690 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