View previous topic :: View next topic |
Author |
Message |
wire n00b
Joined: 21 Jun 2003 Posts: 21
|
Posted: Tue Jul 15, 2003 9:51 pm Post subject: ip_tables setup trouble (modules not loading) |
|
|
Hi,
I am having some troubles setting up ip masqerading, and i hope someone can help me out. I compiled the packages as modules but they are failing on boot. I am not entirely sure what info you guys need to help me out so pleas let me know what other files, error messages , etc. i should provide.
This is "cat /usr/src/linux/.config | grep -i ip_nf"
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_TFTP is not set
CONFIG_IP_NF_IRC=m
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
# CONFIG_IP_NF_MATCH_LIMIT is not set
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_PKTTYPE is not set
# CONFIG_IP_NF_MATCH_MARK is not set
# CONFIG_IP_NF_MATCH_MULTIPORT is not set
# CONFIG_IP_NF_MATCH_TOS is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
# CONFIG_IP_NF_MATCH_HELPER is not set
# CONFIG_IP_NF_MATCH_STATE is not set
# CONFIG_IP_NF_MATCH_CONNTRACK is not set
# CONFIG_IP_NF_MATCH_UNCLEAN is not set
# CONFIG_IP_NF_MATCH_OWNER is not set
# CONFIG_IP_NF_FILTER is not set
# CONFIG_IP_NF_NAT is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
this is my modules.autoload
nvidia
nvidia
nvidia
nvidia
8139too
ip_tables
ip_conntrack
ip_conntrack_ftp
ip_conntrack_irc
this is lsmod
8139too 15144 1
nvidia 1547520 10
this is modules-update
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o
a call to iptables returns
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Thanks
-kai _________________ If you graph these numbers, patterns emerge.
Therefore: There are patterns everywhere in nature.
- Max Cohen |
|
Back to top |
|
|
Petyr Guru
Joined: 08 Jan 2003 Posts: 471 Location: San Diego, CA, USA
|
Posted: Tue Jul 15, 2003 11:56 pm Post subject: |
|
|
sanity check:
did you do a make modules_install after you compiled your kernel and modules?
Petyr |
|
Back to top |
|
|
wire n00b
Joined: 21 Jun 2003 Posts: 21
|
Posted: Wed Jul 16, 2003 12:13 am Post subject: |
|
|
yes, i did. btw i have been googling this and it looks like a bunch of ppl are getting that
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.21/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt
thing. Did ne one get this and fix it?
thanks in advance, and thanks petyr.
-kai _________________ If you graph these numbers, patterns emerge.
Therefore: There are patterns everywhere in nature.
- Max Cohen |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
|
Back to top |
|
|
wire n00b
Joined: 21 Jun 2003 Posts: 21
|
Posted: Wed Jul 16, 2003 2:18 am Post subject: |
|
|
Thanks man, that helped a lot. I really appreciate it.
-kai _________________ If you graph these numbers, patterns emerge.
Therefore: There are patterns everywhere in nature.
- Max Cohen |
|
Back to top |
|
|
wire n00b
Joined: 21 Jun 2003 Posts: 21
|
Posted: Wed Jul 16, 2003 2:30 am Post subject: |
|
|
For ne one that is having the same problem, disable the version information option one of the links devon provided talks about. Also don't be a moron like me and forget to mount boot after you recompile your kernel.
-kai _________________ If you graph these numbers, patterns emerge.
Therefore: There are patterns everywhere in nature.
- Max Cohen |
|
Back to top |
|
|
|