[Ilugc] Re: NAT modules

  • From: cyborg4k@xxxxxxxxx (Shakthi Kannan)
  • Date: Wed Feb 28 12:01:39 2007

Hi,

Please don't switch to private message (PM) when you
are corresponding to a public mailing list:

1. I don't reply to PM, unless I really have to.

2. There are other people in the mailing list who will
be following the threads in this post. 

If it discontinues for them, they will wonder as to
what happened to this discussion.

Please find my answers below:

--- Vignesh <mvikyk@xxxxxxxxxxx> wrote:

[root@imslab netfilter]# modprobe ./iptable_nat.ko
FATAL: Module ./iptable_nat.ko not found.

modprobe will search for the module for your running
kernel version in /lib/modules. No need to give the
.ko extension.

[root@imslab netfilter]# insmod ./iptable_nat.ko
insmod: error inserting './iptable_nat.ko': -1
Unknown
symbol in module

Googling says, I might probably be trying to load a
.ko compiled for different kernel.  however that
doesn't seem to be the case with mine.

Check with output of /bin/uname -a, and under which
/lib/modules/<kernel> directory you are using insmod
from.
 
On my system if I do modprobe abc<tab><tab> i find
it
autocompleted as modprobe abc_xyz.ko (if one such 
exists).

... only when you are in the directory where the .ko
is present. Try it from a different directory and it
won't do tab completion.

SK

--
Shakthi Kannan
http://www.shakthimaan.com


 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

Other related posts: