help

David A. Bandel david
Mon May 17 11:41:19 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 8 Dec 2002 06:14:07 -0800 (PST)
begin  Richard Sivernell <rrsivernell at yahoo.com> spewed forth:

> David
> 
>    I tried to dump the gw addr:
> [root at Sivernell root]# route del -net 192.168.1.1
> netmask 255.255.255.0  gw gw dev eth0
> gw: No address associated with name
> [root at Sivernell root]# 
> 
> What is wrong with this cmmand.

route del default gw 192.168.1.1

will do it.  If it's the first gw entry, you only need:

route del default

> 
> ipTables showed 
> 
> [root at Sivernell root]# iptables -L -nv       
> /lib/modules/2.4.13/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.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o
> failed
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod ip_tables failed
> /lib/modules/2.4.13/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.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o
> failed
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod ip_tables failed
> /lib/modules/2.4.13/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.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o
> failed
> /lib/modules/2.4.13/kernel/net/ipv4/netfilter/ip_tables.o:
> insmod ip_tables failed
> iptables v1.2.4: can't initialize iptables table
> `filter': iptables who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> [root at Sivernell root]#
> 
> 
> The iptables look like crap here, I have tried to
> follow some books on this. but nothing is changes.
> 
> Rick Sivernell
> res005ru at gte.net

Is your kernel built w/ iptables support and the iptables modules (looks
like not):
try:
modprobe ip_tables

if that doesn't work, then cd to your kernel source tree and:

make menuconfig
Networking options --> select Network packet filtering
then:
Networking options --> IP:Netfilter Configuration --> select all except
ipchains and ipfw as modules (leave ipchains and ipfw unselected).

rebuild and install kernel (get a more recent kernel -- at least 2.4.19
suggested).
 
without iptables support, you can forget anything going out from the
internal boxes, they must be NAT'd behind your gateway.

Ciao,

David A. Bandel
- -- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE983io3uVcotqGMQcRArH8AKCZReDsMnh4wWtLSNFJFGeJ3e2LRwCaApPk
0q1BORtglrzE0VqU/qoIRpA=
=46bY
-----END PGP SIGNATURE-----


More information about the Linux-users mailing list