On Saturday 04 May 2002 20:54, Guy Cohen wrote:
> What shows lsmod?

problem solved.
looks like ipchains was also running, and it interuppted iptables.
i did :

/sbin/chkconfig --del ipchains
/sbin/service ipchains stop
/sbin/modprobe -r ipchains

then :

/sbin/chkconfig --levels 2345 iptables on

and then re-loaded iptables :

/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

all works fine now.  ;)

tal.


>
> On Sat, May 04, 2002 at 12:06:27PM +0300, Amir Tal wrote:
> > hi,
> >
> > one of my machines at home is running RH72 , 2.4.9-31 (upgraded from
> > up2date) and since i upgraded i am having problems forwarding traffic
> > through that machine using iptables.
> > the iptables version that comes with RH originally is iptables-1.2.3-1,
> > and i figured that an upgrade is in order here so i removed the old
> > packages and installed iptables-1.2.4-2 using up2date. this is the same
> > error i am getting before and after the update :
> >
> > # /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> > /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
> > Device or resource busy
> > Hint: insmod errors can be caused by incorrect module parameters,
> > including invalid IO or IRQ parameters
> > /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> > /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o failed
> > /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: insmod
> > ip_tables failed
> > iptables v1.2.4: can't initialize iptables table `nat': iptables who? (do
> > you need to insmod?)
> > Perhaps iptables or your kernel needs to be upgraded.
> >
> > insmod produces the following :
> >
> > # insmod ip_tables
> > Using /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o
> > /lib/modules/2.4.9-31/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
> > Device or resource busy
> > Hint: insmod errors can be caused by incorrect module parameters,
> > including invalid IO or IRQ parameters
> >
> > idea's anyone ?
> >
> >
> >
> > --
> > -----------------------------------------------
> > [root@localhost /]# make love
> > make: stop : dont know how to make love
> > [root@localhost /]#ls
> > Amir Tal,
> > ICQ : 15748705
> > http://www.whatsup.org.il
> > -----------------------------------------------
> >
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

-- 
-----------------------------------------------
[root@localhost /]# make love
make: stop : dont know how to make love
[root@localhost /]#ls
Amir Tal,
ICQ : 15748705
http://www.whatsup.org.il
-----------------------------------------------

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to