wide-dhcp

wide-dhcp

Post by Myth » Thu, 14 May 1998 04:00:00



I installed wide-dhcp.  When I start the box, and type 'dhcpc ep0' I get get
something to the effect of not finding bpf.  any help would be greatly
appreciated.

thanks

 -Myth

 
 
 

wide-dhcp

Post by Myth » Thu, 14 May 1998 04:00:00


I don't know if my last post came up, but I didn't word it correctly, lemme
try again...

When I try to run dhcpc -r -n ep0 I get the following error message:

Can't open bpf to read dhcp messages: No such file or directory

and also, what should I set my hostname and domainname to (with a proxy)?
my ISP is Earthlink, should I just set both to earthlink.net?

 
 
 

wide-dhcp

Post by Jordan K. Hubba » Thu, 14 May 1998 04:00:00



> I installed wide-dhcp.  When I start the box, and type 'dhcpc ep0' I get get
> something to the effect of not finding bpf.  any help would be greatly

See: http://home.san.rr.com/freebsd/dhcp.html

--
- Jordan Hubbard
  Co-founder/Release Manager, The FreeBSD Project
  Walnut Creek CDROM

 
 
 

wide-dhcp

Post by Staffan Ulfber » Fri, 15 May 1998 04:00:00



> I installed wide-dhcp.  When I start the box, and type 'dhcpc ep0' I get get
> something to the effect of not finding bpf.  any help would be greatly
> appreciated.

You need bpf (Berkeley Packet Filter) compiled into the kernel.  Add a
line

pseudo-device   bpfilter        4

to your kernel configuration file and recompile it.  For more info on
bpf do "man bpf".  If it doesn't already exist you may also need to go
to the /dev directory and type "./MAKEDEV bpf0" to add the device file
for this device.

Staffan

 
 
 

wide-dhcp

Post by Myth » Sat, 16 May 1998 04:00:00




>> I installed wide-dhcp.  When I start the box, and type 'dhcpc ep0' I get
get
>> something to the effect of not finding bpf.  any help would be greatly
>You need bpf (Berkeley Packet Filter) compiled into the kernel.  Add a
>line

>pseudo-device bpfilter 4

>to your kernel configuration file and recompile it.  For more info on
>bpf do "man bpf".  If it doesn't already exist you may also need to go
>to the /dev directory and type "./MAKEDEV bpf0" to add the device file
>for this device.

>Staffan

which src files (at ftp://ftp.freebsd.org/pub/FreeBSD/2.2.6-RELEASE/src/ )
would I need to download, and which source options in sysinstall would I
need to check to accomplish this? Thanks.

-Myth

 
 
 

wide-dhcp

Post by Staffan Ulfber » Sun, 17 May 1998 04:00:00





> >You need bpf (Berkeley Packet Filter) compiled into the kernel.  Add a
> >line
> >to your kernel configuration file and recompile it.  For more info on
> >bpf do "man bpf".  If it doesn't already exist you may also need to go
> >to the /dev directory and type "./MAKEDEV bpf0" to add the device file
> >for this device.

> which src files (at ftp://ftp.freebsd.org/pub/FreeBSD/2.2.6-RELEASE/src/ )
> would I need to download, and which source options in sysinstall would I
> need to check to accomplish this? Thanks.

If you have already installed FreeBSD, go to "configure" in the first
menu. Then choose to install a distributon -- the distribution is
called "src".  In there, it is sufficient to retrieve the "sys"
sources, that is, the ones for the kernel.

Then copy /sys/i386/conf/GENERIC and edit it to match your hardware,
and add the pbfilter line, and recompile (how to do this is described
in the FreeBSD Handbook, Chapter 5.

Staffan