Re: Spawning modprobe for AX25?!

Chris Wedgwood (chris@cybernet.co.nz)
Tue, 13 Oct 1998 10:34:52 +1300


On Mon, Oct 12, 1998 at 01:29:22PM -0400, Chip Salzenberg wrote:

> I configured 2.1.125 _not_ to include AX25, AppleTalk, or IPX.
> Yet for some reason, when /sbin/ifconfig tries to create sockets
> of those types, the kernel spawns "modprobe net-pf-[345]".
>
> Why? Those modules are never there!

most likely, ifconfig has been compiled with support for them (strace
it and watch).

edit /etc/conf.modules, add these lines:

alias net-pf-2 off # ipv4
alias net-pf-4 off # don't auto-load ipx
alias net-pf-5 off # don't auto-load ddp
alias net-pf-10 off # don't auto-load ipv6

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/