From owner-freebsd-questions Tue Jan 13 16:56:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01293 for questions-outgoing; Tue, 13 Jan 1998 16:23:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from proxyb2-atm.san.rr.com (proxyb2-atm.san.rr.com [204.210.0.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06950 for ; Tue, 13 Jan 1998 15:37:43 -0800 (PST) (envelope-from Studded@dal.net) Received: from dal.net (dt051n19.san.rr.com [204.210.32.25]) by proxyb2.san.rr.com (8.8.7/8.8.8) with ESMTP id PAA27324 for ; Tue, 13 Jan 1998 15:14:49 -0800 (PST) Message-ID: <34BBF564.5B818BDA@dal.net> Date: Tue, 13 Jan 1998 15:14:44 -0800 From: Studded Organization: DALnet IRC Network X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-0112-STABLE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: ISC DHCP server - Address already in use Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk 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 > 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