Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-08-2004, 10:45 PM   #1
Registered: Nov 2004
Location: india
Distribution: Fedora core 1
Posts: 67

Rep: Reputation: 15
adding own module to kernel

I have written some netfilter modules and want those module to be loaded
automatically first whenever i boot that kernel. i actually include my
netfilter module nf1.c in kernel directory and make changes to Makefile. when
i compile kernel module is created but is not installed?
Old 12-08-2004, 11:05 PM   #2
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Rep: Reputation: 30
I don't know if this is exactly what your asking,
but I would suggest:

modprobe "TheNameOfTheModule"

this will load the module.
After rebooting, the module will most likely not be loaded anymore.
You could maybe create a simple script that loads the module and put it in ~/.kde/startup (assuming your using kde) (not sure if thats the correct directory...I'm away from my box right now.)
There's surely a better way to get the kernel to do this at boot, but I'm not sure how.

Hope that helps



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding module to vanilla kernel serefarikan Linux - General 0 02-06-2005 05:26 PM
Adding module back into kernel Reefcrazed Linux - Software 1 08-29-2004 12:46 AM
adding simple module to kernel(2.6) qfupa Linux - General 5 07-15-2004 07:13 AM
Problem adding a simple kernel module in 2.6 palbox2003 Linux - Software 2 07-14-2004 04:23 AM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 10:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration