From owner-freebsd-hackers Wed Jan 22 08:23:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA11332 for hackers-outgoing; Wed, 22 Jan 1997 08:23:24 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA11327 for ; Wed, 22 Jan 1997 08:23:21 -0800 (PST) Received: from mexico.brainstorm.eu.org (mexico.brainstorm.fr) by mail.crl.com with SMTP id AA17984 (5.65c/IDA-1.5 for ); Wed, 22 Jan 1997 08:22:48 -0800 Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id RAA05361 for ; Wed, 22 Jan 1997 17:20:44 +0100 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.4/8.6.12) with UUCP id RAA02072 for hackers@freebsd.org; Wed, 22 Jan 1997 17:20:39 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.4/keltia-uucp-2.9) id RAA09583; Wed, 22 Jan 1997 17:10:05 +0100 (CET) Message-Id: Date: Wed, 22 Jan 1997 17:10:04 +0100 From: roberto@keltia.freenix.fr (Ollivier Robert) To: hackers@freebsd.org Subject: Re: WIDE DHCP References: <9701212127.AA70203@hawpub1.watson.ibm.com> X-Mailer: Mutt 0.58.1-8,11-15 Mime-Version: 1.0 X-Operating-System: FreeBSD 3.0-CURRENT ctm#2944 In-Reply-To: <9701212127.AA70203@hawpub1.watson.ibm.com>; from kavitha on Jan 21, 1997 16:27:13 -0500 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk According to kavitha: > When I tried to run the WIDE implementaion DHCP, I'm facing the > following problems: > > 1. First of all it doesn't compile properly. Did you tried the port in net/wide-dhcp ? I assume it has all the proper patches to compile it. > 2. When I compile with the above modifications, while running it > gets stuck at open("/dev/bpf*",O_RDWR) in "initialize" in dhcpc_subr.c > with the message > "Can't open bpf to read the dhcp messages /dev/bpf9: No > such file or directory". > > Isn't it supposed to create the file if there is none? > Or am I supposed to keep some bpf files in /dev? You MUST have BPF into your kernel and some devices made in /dev to run DHCP. That means: - add "pseudo-device bpfilter N" in your kernel configuration file and recompile, - go into /dev and "sh MAKEDEV bpf0" .. "sh MAKEDEV bpfN". -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #36: Mon Jan 13 21:43:35 CET 1997