LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2006, 06:58 PM   #1
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Unhappy howto load netfilter module..?


hi.
I'm traying to run an app called "netstat-nat"
but when I do so, I get this error msg:
Could not read info about connections from the kernel, make sure netfilter is enabled in kernel or by modules.
So I did lsmod.. no 'netfilter' reference in there.
then, I tryied to load it with 'modprobe netfilter'
..but:
"FATAL: Module netfilter not found."

then I 'locate netfilter', and I saw a netfilter directory, instead of a netfilter.o or something like that.

so... what should I do to get that netfilter module(s) loaded, just to be able to run the netstat-nat app?

thanks in advance
 
Old 08-13-2006, 07:51 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
Originally Posted by minike
hi.
I'm traying to run an app called "netstat-nat"
but when I do so, I get this error msg:
Could not read info about connections from the kernel, make sure netfilter is enabled in kernel or by modules.
So I did lsmod.. no 'netfilter' reference in there.
then, I tryied to load it with 'modprobe netfilter'
..but:
"FATAL: Module netfilter not found."

then I 'locate netfilter', and I saw a netfilter directory, instead of a netfilter.o or something like that.

so... what should I do to get that netfilter module(s) loaded, just to be able to run the netstat-nat app?

thanks in advance
If you use custom compiled kernel, it is likely that you missed out on netfilter. If you are using slackware's kernel. Try...
Code:
modprobe iptables
Code:
modprobe iptables_nat
If that doesn't work...check out the following directories

Code:
/lib/modules/kernel-version/kernel/net/ipv4
/lib/modules/kernel-version/kernel/net/ipv4/netfilter
/lib/modules/kernel-version/kernel/net/netfilter
Tux,
 
Old 08-13-2006, 08:14 PM   #3
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
thanks 4 answering..
I'm using the 2.6.13 kernel provided in slack 10.2
never compiled a custom kernel, so.. it's the 'standard' one.
I did what U told, but.. nothing happens:
Code:
modprobe iptables
FATAL: Module iptables not found.
..and the same result 4 the modprobe iptables_nat cmd.

Quote:
If that doesn't work...check out the following directories

Code:

/lib/modules/kernel-version/kernel/net/ipv4 /lib/modules/kernel-version/kernel/net/ipv4/netfilter /lib/modules/kernel-version/kernel/net/netfilter
ok.. there's not /lib/modules/kernel-version/kernel/net/netfilter directory nor file, but I've been in the /ipv4/netfilter directory (as I said in my first post), and it's full of *.ko files (modules, maybe?)
the point is: what should I do with such files?
(really don't have a clue how to handle all of this modules thing)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto load rfcomm module? mab_123 Linux - Software 1 08-23-2005 06:43 AM
netfilter/iptables in kernel: module vs static -Nw- neX Linux - Security 5 03-25-2005 06:44 PM
howto load wireless module acx_pci.ko at boot up? goCool Linux - Wireless Networking 1 12-12-2004 03:01 PM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 05:45 PM
Help installing custom netfilter module TySoft Linux - Networking 3 08-04-2003 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration