LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2004, 08:30 AM   #1
HTS
LQ Newbie
 
Registered: Apr 2004
Location: Middle East
Distribution: RH9
Posts: 23

Rep: Reputation: 15
insmod <module> on boot


I need to load a kernel module on the start up.
There is a huge mix of information about what I should do.

Is there any easy and elegant way to do this???

How can I start a simple program that I wrote in start up?

thank you!
HTS
 
Old 06-30-2004, 11:43 AM   #2
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
HTS; this may help,http://tldp.org/HOWTO/HOWTO-INDEX section 4.6 sub-
sections:4.6.1 thru 4.6.10 lots to scroll thru but answers maybe there.
 
Old 06-30-2004, 11:49 AM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
in rc.local add a line to install it.
 
Old 06-30-2004, 11:49 AM   #4
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Re: insmod <module> on boot

Quote:
I need to load a kernel module on the start up.
There is a huge mix of information about what I should do.

Is there any easy and elegant way to do this???
This depends on your distribution (which you don't mention)

On debian to have the module "8139too" (realtech ethernet card) loaded on startup, you just add a line saying "8139too" to /etc/modules.
 
  


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
Unable to insmod module alltime Programming 1 11-05-2005 10:46 AM
insmod invalid module format csfalcon Linux - Hardware 6 01-24-2005 11:03 AM
insmod: error inserting 'new.ko': -1 Invalid module format hemk76 Programming 2 01-24-2005 10:42 AM
insmod: where it search for module blackzone Linux - General 3 01-05-2005 07:10 AM
boot time insmod error of a non-existing netcard module cyberia_2ooo Slackware 2 07-06-2003 03:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:29 AM.

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
Open Source Consulting | Domain Registration