Re: How do I get ipchainis to work with kernel 2.4.17?


Subject: Re: How do I get ipchainis to work with kernel 2.4.17?
From: Ken Schweigert (ken@byte-productions.com)
Date: Wed Jan 09 2002 - 15:20:41 MST


Markus,

ipchains is run as a kernel module. To load it:
  [root@byte-8 /root]# modprobe ipchains

Make sure you don't have the iptables modules loaded first.
  [root@byte-8 /root]# /sbin/lsmod

It appears as if your startup script is running iptables instead. Try using
chkconfig to toggle ipchains on and iptables off.
  [root@byte-8 /root]# chkconfig --list|grep "ip"
  [root@byte-8 /root]# chkconfig --del iptables
  [root@byte-8 /root]# chkconfig --add ipchains
then to verify, run:
  [root@byte-8 /root]# chkconfig --list|grep "ip"

'man chkconfig' if you have problems and 'man modprobe' for more info.

HTH

--
-Ken Schweigert, Aspiring Network Administrator
Byte Productions, LLC
http://www.byte-productions.com

On Wed, Jan 09, 2002 at 09:47:03PM -0000, Markús S. Kötterheinrich wrote: > Machine: PPC 7300/200 > Linux: YellowDog 2.1 > Kernel: 2.4.17 > Ipchains: ipchains-1.3.9-17a > > When I try to start ipchains I get the following error: > > Flushing all current rules and user defined chains: ipchains: > Incompatible with this kernel > [FAILED] > Clearing all current rules and user defined chains: ipchains: > Incompatible with this kernel > [FAILED] > ipchains: Incompatible with this kernel > /etc/init.d/iptables: gprintf: command not found > /sbin/iptables-restore: invalid option -- p > /sbin/iptables-restore: invalid option -- f > [ OK ] > > Anyone know what to do here? I had a LinuxPPC 2000 machine with kernel > 2.4.10 and I could use ipchains with no problem, so I find it hard to > belive that it only works with kernel 2.2.x. > > Oh and one more thing, does anyone of you have a newer rpm version of > ipchains that this one: ipchains-1.3.9-17a. > > Regards, > > Markus



This archive was generated by hypermail 2a24 : Wed Jan 09 2002 - 15:35:23 MST