Re: loading modules at kernel startup
From: linux lover
Date: Tue Dec 21 2004 - 05:08:16 EST
The kernel modules are netfilter modules that i wrote
and want to be loaded as soon as eth0 is up. Is there any way in
kernel to add my modules and get it loaded at startup?
I actually added in .bashrc but modules are loaded with
every console i open but not once in system.
On Tue, 21 Dec 2004 10:37:32 +0100, Alex Riesen <raa.lkml@xxxxxxxxx> wrote:
> 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/