LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Error encounterred w/ IPTABLES (https://www.linuxquestions.org/questions/linux-networking-3/error-encounterred-w-iptables-33169/)

lee 10-18-2002 05:23 PM

Error encounterred w/ IPTABLES
 
I'm new with iptables and need help with it.

I issued the command "iptables -L" or any iptables command and got this error.

/lib/modules/2.4.18-3/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.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

What's the next step? appreciate any help...

Thanks!
lee

tarballedtux 10-18-2002 06:45 PM

Most likely ipchains is still running. Type lsmod and see if ipchains is there. To remove it type <b>rmmod ipchains</b> Also to make sure it doesn't get loaded at boot, find the file that starts it. (rc.modules or modules.conf?)

--tarballedtux

lee 10-18-2002 07:17 PM

Thanks, that worked! I removed ipchains.
Are you saying that iptables and ipchains wouldn't work together?

i checked modules.conf and here's what i got.

alias parport_lowlevel parport_pc
alias eth0 eepro100
alias usb-controller usb-uhci

I'm not sure what portion starts ipchains. Hope you could enlighten me on this.

I'll start creating my rules now. Thanks again for the help!

tarballedtux 10-18-2002 10:56 PM

Correct. IPCHAINS and IPTABLES don't play nice with each other. They're both out to accomlish the same thing. Would you pick two phones at your house at the same time when you talk to someone? They call will sound crappy with alot of static, but with one phone you can accomlish the same thing easier.

Neither of those modules in modules.conf load ipchains, it must be deep down in the init scripts somewhere.

--tarballedtux


All times are GMT -5. The time now is 05:43 PM.