Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ip_tables setup trouble (modules not loading)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wire
n00b
n00b


Joined: 21 Jun 2003
Posts: 21

PostPosted: Tue Jul 15, 2003 9:51 pm    Post subject: ip_tables setup trouble (modules not loading) Reply with quote

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
View user's profile Send private message
Petyr
Guru
Guru


Joined: 08 Jan 2003
Posts: 471
Location: San Diego, CA, USA

PostPosted: Tue Jul 15, 2003 11:56 pm    Post subject: Reply with quote

sanity check:
did you do a make modules_install after you compiled your kernel and modules?

Petyr
Back to top
View user's profile Send private message
wire
n00b
n00b


Joined: 21 Jun 2003
Posts: 21

PostPosted: Wed Jul 16, 2003 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Wed Jul 16, 2003 1:32 am    Post subject: Reply with quote

Check out

http://www.mail-archive.com/gentoo-user@gentoo.org/msg06584.html
https://forums.gentoo.org/viewtopic.php?t=1008
https://forums.gentoo.org/viewtopic.php?t=31732
Back to top
View user's profile Send private message
wire
n00b
n00b


Joined: 21 Jun 2003
Posts: 21

PostPosted: Wed Jul 16, 2003 2:18 am    Post subject: Reply with quote

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
View user's profile Send private message
wire
n00b
n00b


Joined: 21 Jun 2003
Posts: 21

PostPosted: Wed Jul 16, 2003 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum