Date: Tue, 13 Jan 1998 15:14:44 -0800 From: Studded <Studded@dal.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: ISC DHCP server - Address already in use Message-ID: <34BBF564.5B818BDA@dal.net>
next in thread | raw e-mail | index | archive | help
This bounced first time 'round. > Subject: Re: ISC DHCP server - Address already in use > Date: Tue, 13 Jan 1998 11:56:07 -0800 > From: Studded <Studded@dal.net> > To: keith@lsuc.on.ca > CC: freebsd-questions@FreeBSD.ORG > Keith Jackson wrote: > > > > I am trying to get the ISC DHCP server running on a FreeBSD 2.1.0 > > system. > > I have no idea whether it will work on fbsd 2.1.0 or not. :-/ I would > heartily recommend upgrading to FreeBSD 2.2.5-Stable before working on a > project like this. Check out http://home.san.rr.com/freebsd/upgrade.html > for more info on the upgrade. > > > The DHCP server is the Beta 5.16. I have compiled the server > > with no errors. > > Next suggestion, use the port. The person who maintains the port is > very rigorous about keeping it up to date (thanks Justin :). It > contains all the patches that you need, and none you don't. There's info > on www.freebsd.org on how to download and use the ports collection. > > > I have now added the Berkeley Packet Filter to the > > kernel and recompiled it. I have created 4 bpf devices. I have also > > added the #define BROKEN_FREEBSD_BPF to the site.h file of the DHCP > > server source before compiling it just in case the version of FreeBSD > > has this bug. I start up the DHCP server and it says the folowing: > > > > Internet Software Consortium DHCPD $Name: BETA_5_16 $ > > Copyright 1995, 1996 The Internet Software Consortium. > > All rights reserved. > > # Listening on BPF/ed0/0:0:c0:fb:25:c1/142.57.16.0 > > Sending on BPF/ed0/0:0:c0:fb:25:c1/142.57.16.0 > > Can't bind to dhcp address: Address already in use > > dhcpd: exiting. > > Have you been 'sperimenting with this already? I would guess that > you've started it once successfully and it's still running. Try this and > see if it tells you anything: ps -ax | grep -i dhcpd > > If an old one is running, kill that process and start over. Use man kill > if you need info on that. > > Good luck, > > Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34BBF564.5B818BDA>