[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP Kernel Options - where to set?



On 18 Nov 2002, 16:10:25, Hubert Chan wrote:
> Doug> In the 2.4.16-SMP prepackaged kernel I'm using, CONFIG_UNIX=3Dm
> Doug> is what's set in the config-2.4.16-SMP file . . . I don't know
> Doug> what the m means . . .
> 
> The m means that it's compiled as a loadable module i.e. you can
> dynamically load/unload it using modprobe (or insmod if you know what
> you're doing) and rmmod.  The options you want to be looking for,
> though, are CONFIG_PACKET and CONFIG_FILTER.

Thanks for correcting me!!

> OK, I grabbed the 2.4.19-smp package (I assume 2.4.16 would be similarly
> configured), and looked at the config file.  So CONFIG_FILTER is turned
> on, but CONFIG_PACKET is a module.  The kernel docs tell me that if
> CONFIG_PACKET is a module, the module name is af_packet.  So try running
> "modprobe af_packet", and see if that helps.

I figured the =m was for a module . . . 

> If you want to have it loaded every time you boot up, add a line to the
> end of /etc/modules that just says "af_packet".  You could instead try
> adding a line "alias net-pf-17 af_packet" (at least that's what the
> kernel docs say) to /etc/modutils/aliases and running update-modules.
> That would be the cleaner approach, but I'm not 100% sure if that will
> load the module when dhclient attempts to use it.

Is that the "Debian" way?  Or should I run modconf and select it to be loaded
at boot time?

Hubert, thank you very much for all your time on this . . . 

madmac

-- 
Doug MacFarlane
madmac@covad.net



Reply to: