1. Check out /lib/modules/2.2.17-21mdk/ipv4/
2. Also, try looking at the man page for find, and if you know anything about regular
expressions
then ip_masq.* will make sense as anything starting with ip_masq followed by zero or
more (*)
characters (.), and then you might try something like:
[john@homer /etc]$ find /lib/modules/2.2.17-21mdk -regex .*ip_masq.*
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_autofw.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_cuseeme.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_ftp.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_irc.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_mfw.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_portfw.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_pptp.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_quake.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_raudio.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_user.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_vdolive.o
[john@homer /etc]$
3. If you don't like that, try looking in /lib/modules/2.2.17-21mdk for the module in
question.
the following looks for any ip_masq module:
[john@homer /etc]$ grep ip_masq /lib/modules/2.2.17-21mdk/modules.dep
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_autofw.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_cuseeme.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_ftp.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_irc.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_mfw.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_portfw.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_pptp.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_quake.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_raudio.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_user.o:
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_vdolive.o:
[john@homer /etc]$
4. Finally, if your slocate database is up to date (update it with "updatedb") then
you can try:
[john@homer /etc]$ locate ip_masq_ftp
/usr/src/linux-2.2.17/net/ipv4/ip_masq_ftp.c
/usr/src/linux-2.2.18/net/ipv4/ip_masq_ftp.c
/usr/src/linux-2.2.18/net/ipv4/ip_masq_ftp.o
/usr/src/linux-2.2.18/net/ipv4/.ip_masq_ftp.o.flags
/usr/src/linux-2.2.18/modules/ip_masq_ftp.o
/lib/modules/2.2.17-21mdk/ipv4/ip_masq_ftp.o
/lib/modules/2.2.18/ipv4/ip_masq_ftp.o
[john@homer /etc]$
5. There must be more ways, but try some of those. Also, you might want to be root for
some of
them (i wasn't for anything i just did, but you might notice differences depending on
what you're
doing.
Hope that helps,
j
--- Chris Spencer <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am wanting to use the ip_masq_vpn module from a stock 7.2 kernel. If I do a
> make xconfig and look at the configuration I can see that it was compiled as
> a module. However, doing a modprobe ip_masq_ipsec results in an error saying
> it can't find the specified module. If it already compiled as a module then
> where is it?
>
> -Chris
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/