Re: loading modules at kernel startup

From: Alex Riesen
Date: Tue Dec 21 2004 - 04:38:54 EST


On Tue, 21 Dec 2004 14:44:23 +0530, linux lover
<linux.lover2004@xxxxxxxxx> wrote:
> Hi all,
> How to load own kernel modules just after eth0
> interface is brought up?
> I want to load kernel module as soon as networking part of kenrel
> starts.

Look at udev and hotplug

> I dont want to loose any packets that travels on my linux
> machine.

You'll always loose something: there will be a gap between activating
of the network interface and running of your module (or sniffer, as it sounds).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/