Solved

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

Posted on 2004-03-26
3
235 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help on running oracle SQL script in linux 3 59
winscp where are logs stored 3 51
Run Secure WMI query from CentOS 5 79
Apache module 5 42
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
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.

792 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