*** From dhcp-server -- To unsubscribe, see the end of this message. ***

> Mellon's comment prompted me to check something else, and I noticed that
> CONFIG_PACKET was built as a module. Apparantly kmod dosen't know how to
> load this dynamically, so it didn't. Adding the line "modprobe
> af_packet.o" to my /etc/rc.d/init.d/dhcpd right before dhcpd is started
> worked like a charm.

That works, but there's a better solution.  Add the following line to 
/etc/conf.modules:

  alias net-pf-17 af_packet

That tells kmod (or kerneld) to automatically load the af_packet module
whenever a program tries to open a socket with this protocol family.  This
gets the af_packet module to load automatically without requiring changes
to startup scripts.

I try to avoid manually installing modules whenever possible -- your
solution requires to to modify the startup script for *any* program that
wants to access the Linux packet filter.

I solved this problem by going to DejaNews and doing a search for:

  af_packet module

-- Lars

-- 
Lars Kellogg-Stedman <[EMAIL PROTECTED]>



------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

Reply via email to