LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-08-2004, 10:45 PM   #1
b123coder
Member
 
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
bendeco13
Member
 
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:

type:
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

Cheers
 
  


Reply


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


All times are GMT -5. The time now is 05:18 PM.

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