Click to See Complete Forum and Search --> : iptables


ingenious
12-12-2002, 12:37 AM
When I try to use the command iptables -A .... I keep getting an error, which i think means that the ipchains is using the wrong IO or IRQ and was wondering how I can go about changing the IO/IRQ's???

The errors I receive are these...

/lib/modules/.../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/.../ipv4/netfilter/ip_tables.o : insmod /lib/modules/.../ipv4/netfilter/ip_tables.o Failed

/lib/modules/.../ipv4/netfilter/ip_tables.o : insmod Failed

iptables v1.2.3: can't initialize iptables table `filter' : iptables who? (do you need to insmod?)

Perhapes iptables or your kernel needs to be up graded.

I've also tried to 'rmmod ip_tables.o' and no errors come up, however when I try to 'insmod ip_tables.o' I come up with 'Device or resource busy.' and 'Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.' again.

Also if I try to rmmod /ful path/ipchains.o it sais that there is no such module loaded, yet if I insmod /same full path/ipchains.o it sais that the module already exist.

thanx in advance

TreeHugger
12-12-2002, 04:48 AM
firstly ipchains and iptables cannot run together. De-install ipchains completely.

In fact I would de-install iptables and re-install it using the latest version. The only thing you need to save from it is your rules script.

ingenious
12-12-2002, 10:08 AM
That was exactly my problem, i was trying to run both modules at the time :rolleyes:

tamara
12-12-2002, 11:27 AM
A friend set up ipchains for me on RedHat 7.2 (I do not know why he chose ipchains) anyway, I think I've got him pretty well tapped out in the *help* dept. So, I'm gonna ask here:

1) How do I uninstall ipchains?
2) Is there a way to do it so I can put it back if I mess up?
3) I followed the NHF and installed PMFirewall, was that o.k.? Or do I need to start all over?

Thanks!

ingenious
12-12-2002, 12:16 PM
tamara: I'm not too sure why he chose ipchains either, for the fact that your kernel supports ip_tables.

for #1 the command is 'rmmod ipchains', that will unistall it, and if you want to rein stall just type 'modprobe ipchains'. As for your third question I have no idea for the fact that I am doing mine all from konsole instead of GUI.

I hope that helps you some.