On 07/15/2011 08:14 PM, Katherine Lim wrote:


On Sat, Jul 16, 2011 at 1:09 PM, Todd And Margo Chester <[email protected]> wrote:
On 07/15/2011 07:31 PM, William Scott wrote:
On 16 July 2011 11:50, Todd And Margo Chester<[email protected]>  wrote:
Hi All,

Not having a good time researching this in Google, unless
I want to do it in Ubuntu.

I am trying to make the following command permanent:
      modprobe   ip_nat_ftp

Have a look in /etc/sysconfig/iptables-config

I should have said I am running SL6 x64.

It is there.  But, running /etc/rc.d/init.d/iptables throws an
error on ip_nat_ftp if I do not previously load ip_nat_ftp
with modprobe.

What I am after is to load ip_nat_ftp at boot time with
modprobe.d.

A tape and gum approach would be to load ip_nat_ftp
in /etc/rc.d/init.d/iptables before it did anything with
/etc/sysconfig/iptables-config, but I really would like
to learn the right way to do it in modprobe.d.

-T


Hmm.  Maybe I am going at this wrong.  In Slack12, they
use a /etc/rc.d/rc.modules file and just put the module to
load into it.

Reference: http://www.linuxquestions.org/questions/slackware-14/using-modprobe-d-to-load-modules-at-startup-616612/

Reply via email to