ip tables - ...
Tasos Kotaras
akota at intranet.gr
Tue Nov 20 17:44:01 EET 2001
v13 at priest.com wrote:
>
> 1on) Kaneis compile *ton idio* ton kernel (make bzlilo, make bzimage..
> whatever)
> 2on) Kaneis to make modules kai make modules_install poy eipes
> 3on) Efoson alakses kati ston kernel kata pasa pithanotita tha
xreiasteis
> reboot.
> 4on) Otan les oti to modules_install den ekane tipota, enoeis oti den
> antegrapse tipota? an nai, tote eisai sigoyros oti exeis balei
> pragmata san modules kai den ta exeis ola ston kernel
kateytheian?
Fysika ekana ola ta parapanw. Loipon pragmati den exw balei modules (ola
einai mesa ston kernel) opote katalabainw giati to 'make
modules_install' den kanei tipota. Alla den 8elw na exw dynamika
modules,
peirazei; :-)
Ela omws poy to ipchains otan to trexw 8elei swnei kai kala na kanei
insmod to ip_tables module!
Ebala tote me to xeri to ip_tables.o sto /lib/modules/... kanw kai ena
depmod kai perimena na kanei kati endiaferon, alla dystyxws phra ayto:
/lib/modules/2.4.2-2/kernel/net/netfilter/ip_tables.o: couldn't find the
kernel version the module was compiled for
/lib/modules/2.4.2-2/kernel/net/netfilter/ip_tables.o: insmod
/lib/modules/2.4.2-2/kernel/net/netfilter/ip_tables.o failed
/lib/modules/2.4.2-2/kernel/net/netfilter/ip_tables.o: insmod ip_tables
failed
iptables v1.2.1a: can't initialize iptables table `filter': Table does
not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Ayto me to 'kernel version' me enepneyse na kanw diafora '/sbin/depmod
-ae -F /boot/System.map' mpas kai 3ypnhsei, alla pali tipota.
Ma telos pantwn, giati prepei na fortwsei kapoio module, afoy ypoti8etai
oti to iptables einai enswmatwmeno ston kernel; Fantazomai oti den
briskei kati sto /proc/net/... logw toy oti o kernel exei ta xalia toy,
kai prospa8ei na swsei thn katastash me insmod...
Telos pantwn, o NKanellopoylos leei oti mporei na ftaiei to version toy
kernel (exw 2.4.2). Apofasisa na ton pistepsw, etsi eipa na
xrhsimopoihsw ta good-old ipchains, ta opoia ta exw tre3ei kai sto 6.2
aki sto 7.2. Omws kai edw tzifos! Ap' oti eida den emfanizontai ta
katallhla /proc/net/ip_* arxeia. Koitazw sto PC me RedHat 7.2 (me ta
IDIA Networking settings ston kernel) kai ola paizoyn kanonika. To idio
kai sto PC me 6.2, me kernel 2.4.2!
Kai twra, den exw oyte ipchains oyte iptables kai eimai enas
dystyxismenos poy prospa8ei edw kai mia ebdomada na kanei ena aplo
forwarding... Den mporw na brw mia logikh akrh. Kati ginetai la8os kata
to building toy kernel mallon, alla den mporw na fantastw ti... An exei
kaneis kammia idea as moy grapsei... mpas kai apofygw epanegkatastash,
upgrades, ktl.
Tasos Kotaras
More information about the Linux-greek-users
mailing list