LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   my dhcp (https://www.linuxquestions.org/questions/linux-networking-3/my-dhcp-40425/)

poetoe_nata 01-05-2003 09:06 PM

my dhcp
 
:newbie:

Internet Software Consortium DHCP Server V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.

socket: Protocol not available - make sure
CONFIG_PACKET (Packet socket) and CONFIG_FILTER
(Socket Filtering) are enabled in your kernel
configuration!

exiting.
[FAILED]

what i've to do ??

DavidPhillips 01-05-2003 09:52 PM

you will need to rebuild your kernel, in the "Networking Options" section of the config you will see "Packet Socket" you need it enabled, you will also see "Socket Filtering" that needs to be enabled too.


One thing you might try first, as root

Code:

modprobe af_packet
if that loads without an error you may be ok, then just add this to /etc/modules.conf

Code:

"alias net-pf-17 af_packet"
then run this

Code:

depmod -ae


All times are GMT -5. The time now is 12:39 AM.