Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 1997 17:10:04 +0100
From:      roberto@keltia.freenix.fr (Ollivier Robert)
To:        hackers@freebsd.org
Subject:   Re: WIDE DHCP
Message-ID:  <Mutt.19970122171004.roberto@keltia.freenix.fr>
In-Reply-To: <9701212127.AA70203@hawpub1.watson.ibm.com>; from kavitha on Jan 21, 1997 16:27:13 -0500
References:  <9701212127.AA70203@hawpub1.watson.ibm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970122171004.roberto>