dhcp on debian (was: [CLUE-Tech] Building Kernel w/Debian)

Matt Gushee mgushee at havenrock.com
Thu Oct 17 23:30:59 MDT 2002


On Thu, Oct 17, 2002 at 01:08:08PM -0600, Randy Arabie wrote:

> I found some errors in my /var/log/daemon.log file from the dhclient daemon, 
> they looked like this:
> 
> Oct 16 20:10:37 potter dhclient-2.2.x: socket: Protocol not available - make sure 
> CONFIG_PACKET and CONFIG_FILTER are defined in your kernel configuration!
> 
> I checked my kernel config, and sure enough, I don't have CONFIG_FILTER enabled.
> I thought that was strictly related to ipfiltering, ipnat, etc. so I didn't 
> enable it.
> 
> Guess I'll recompile w/ CONFIG_FILTER enabled and see if that fixes my dhcp 
> problem.

Well, your posts have inspired me to finally get off my butt and take a
serious look at my DHCP problem. I found that I was getting the same
error messages, so I've just recompiled the kernel on one of my boxes
with CONFIG_FILTER enabled, and sho' nuff, DHCP is now working.

This thing could stand to be a little better documented. Maybe we should
contact the people responsible for documenting the kernel and dhclient,
and suggest they put in a note about this problem.

-- 
Matt Gushee                 When a nation follows the Way,
Englewood, Colorado, USA    Horses bear manure through
mgushee at havenrock.com           its fields;
http://www.havenrock.com/   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                                
                            --Lao Tzu (Peter Merel, trans.)



More information about the clue-tech mailing list