I was reading the netfilter docs hosted at samba.org for setting up
masquerading on a linux box for a dynamic ip ppp connection....there
were 3 commands in section 4.1 (I just want masquerading...help!), but
when I tried them out on my stock redhat 7.2 box, I got these error
blocks for the modprobe and iptables commands respectively:

Note: /etc/modules.conf is more recent than
/lib/modules/2.4.2-2/modules.dep
/lib/modules/2.4.2-2/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.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
iptable_nat failed

Warning: wierd character in interface `-ppp0' (No aliases, :, ! or *).
Note: /etc/modules.conf is more recent than
/lib/modules/2.4.2-2/modules.dep
/lib/modules/2.4.2-2/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.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: insmod
ip_tables failed
iptables v1.2.1a: can't initialize iptables table `nat': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

and I really can't work out exactly what could be wrong here.....if
modprobe is setting the parameters, I would assume they would be
correct....not sure what the init_module: device or resource busy is
about though....

I am (probably obviously) something of a newbie here and have spent
the last month or so (on and off) wading through docs to make good on
my promise to my flatmate that I would be able to network our machines
and set up ipmasquerading on my linux box....if you can give me any
assistance in my quest to keep my word good, I would be very
appreciative....

thanks heaps in advance.

-dionysus

Reply via email to