Modules in RH7.x

Kevin O'Gorman kevin
Mon May 17 11:34:59 PDT 2004


On Tue, Jul 16, 2002 at 10:39:58AM -0400, Matthew Carpenter wrote:
> Hey Llama-  Here's one up your alley.
> 
> In COL, they have /etc/modules/default as a file to list modules to be
> loaded at startup.  Is there such a thing in RH 7.[2-3]?  This has been
> buggerin' me for a while.  Today, someone asked me how to load the
> ipchains module be default.  I know that it can be loaded from a firewall
> script or from rc.local, but it made me wonder yet again just how RedHat
> DOES module management in the 7.x series...  I've heard that it's all
> probed at startup each time (which sounds scarily like plug-n-pray to me),
> but I don't know the details.  Then I remembered that you maintain a lot
> of RH boxen so I thought you might know.  Thanks.
> 
> Matt
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Hmmmm.  I'm not the llama, but I run RH 7.1 on a bunch of boxen.  Maybe my
$.02 is worth that much.

The ipchains module seems to be loaded without any effort on my part.
The ipchains user code is a separate RPM: mine is ipchains-1.3.10-7.
I have ipchains rules in /etc/sysconfig/ipchains, but they were built at
installation time, by lokkit-0.43-6.

Finally, modules configuration is done in /etc/modules.conf.  This is
where I tell the kernel how to deal with my multiple NIC cards, as well
as some stuff put there at installation.  Mine looks like this:

===== cut here ========
alias scsi_hostadapter aic7xxx
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
 
alias eth0 wd
options wd -o hubnet io=0x300 irq=5
 
alias eth1 8139too
options 8139too -o winnet
===== cut here ========

++ kevin


-- 
Kevin O'Gorman  (805) 650-6274  mailto:kevin at kosmanor.com
Permanent e-mail forwarder:  mailto:Kevin.O'Gorman.64 at Alum.Dartmouth.org
At school: mailto:kogorman at cs.ucsb.edu
Web: http://www.cs.ucsb.edu/~kogorman/index.html
Web: http://kosmanor.com/~kevin/index.html

"Life is short; eat dessert first!"



More information about the Linux-users mailing list