LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-06-2009, 04:43 PM   #1
ftumsh
LQ Newbie
 
Registered: Oct 2003
Distribution: slackware
Posts: 7

Rep: Reputation: 0
how to load a modue (lp) at start up 12.2.0


Lo,

I'm having trouble loading a module at startup. it's the lp module. parport and parport_pc load. When
I modprobe lp it loads and I can then print.

Now, back in the olden days, all I'd do is edit rc.modules and all would be fine. However rc.modules appears to be deprecated (indeed, I don't have one) and I'm under the impression that one is to use udev.
udev seems hellish complicated for getting a parallel printer to run. ISTR tackling it before to get my scsi scanner to work and it wasn't a nice experience.

So, should I just create an rc.modules script or put it in rc.local or could some kind soul let me know what the udev rule should look like please?

Thanks

John
 
Old 02-06-2009, 05:11 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
If you installed a kernel-modules package in Slackware 12.2, you should have a file /etc/rc.d/rc.modules. It is a symbolic link to another file in the same directory called rc.modules-<something>.

So all you have to do is uncomment the relevant lines. Of course you need to chmod +x /etc/rc.d/rc.modules*
 
Old 02-06-2009, 05:18 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Hmm. Perhaps I missed that day in school, but my 12.2 setup has an rc.modules file. Actually, rc.modules is soft link to rc.modules-2.6.27.7-smp. I also have an rc.modules-2.6.27.7 file.

The rc.modules files are installed from the a/kernel-modules-smp-2.6.27.7_smp-i686-1 and a/kernel-modules-2.6.27.7-i486-1 packages. Perhaps try reinstalling those packages.

From within those rc.modules files, I still enable the lp kernel module. Just like previously, delete the comment hash mark and ensure the rc.modules file is executable.
 
Old 02-12-2009, 07:25 AM   #4
ftumsh
LQ Newbie
 
Registered: Oct 2003
Distribution: slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Woodsman View Post
Hmm. Perhaps I missed that day in school, but my 12.2 setup has an rc.modules file.
I think I missed it too.
It looks like some lamebrain has deleted it (That'd be me). Either that or the upgrade fubard,
which is highly unlikely.

Thank you both for your time.

John
 
  


Reply



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
Problem with sppeed of load my site, no start of load mladja04 Linux - Server 1 04-25-2008 03:48 PM
Load Program on start up stevest SUSE / openSUSE 2 04-03-2008 12:51 PM
How to enable Apache mod_rewrite, after apache installed without this modue jCash Linux - Newbie 1 10-24-2006 10:23 AM
How to load a module on start-up? sylvaticus Linux - Hardware 4 07-06-2006 12:36 PM
X won't start at load n3w813 Mandriva 3 07-09-2004 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:58 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