From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a5cd2361fefbd6cf X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-06-14 15:46:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!news1.telusplanet.net.POSTED!53ab2750!not-for-mail From: trevor.osatchuk@nospam.pscl.com (Trevor Osatchuk) Newsgroups: comp.unix.tru64 Subject: Re: Compiling BPF into a Tru64 Kernel Message-ID: <3d0a6e1e.373109422@news.telusplanet.net> References: X-Newsreader: Forte Free Agent 1.21/32.243 Date: Fri, 14 Jun 2002 22:46:49 GMT NNTP-Posting-Host: 161.184.135.89 X-Trace: news1.telusplanet.net 1024094809 161.184.135.89 (Fri, 14 Jun 2002 16:46:49 MDT) NNTP-Posting-Date: Fri, 14 Jun 2002 16:46:49 MDT Xref: archiver1.google.com comp.unix.tru64:7939 On 14 Jun 2002 07:31:20 -0700, chris.mielke@drake.edu (Milkweed) wrote: >I recently installed ISC DHCP 3.0pl1 on a DEC 3000 running Digital >Unix 4.0D. The install went fine, but when I try to start the DHCP >server it gives an error stating "no bpf devices". I looked at the bpf >and packetfilter man pages and apparently I need to compile >packetfilter and the bpf extensions into my kernel. According to the >man pages I need to add an "options PACKETFILTER" statement to my >configuration file. However, I wasn't sure if there was something else >I needed to do to compile support for the BPF extensions or if they >were already integrated into packetfilter. > >Also, I'm new to Tru64 Unix so I've never compiled a kernel in this OS >before. A quick outline of the steps I need to take to do the compile >would also be greatly appreciated. > >Thanks in advance! You need to do a 'MAKEDEV pfilt' in the /dev directory. This is in the packetfilter man page.Then, to compile a new kernel, edit it as necessary then run doconfig -c NODENAME where NODENAME is the name of you kernel config, found in /usr/sys/conf. So, just add the "options PACKETFILTER" line, compile the new kernel and reboot with the new kernel. That's it! The kernel compile stuff is pretty well-documented in the man pages and in the doc's. I would highly recommend you read the docs before you proceed. You can get to the doc's online here: http://www.tru64unix.compaq.com/docs/pub_page/V40D_DOCS.HTM Also, there is a mailing list archive here: http://www-archive.ornl.gov:8000/ This has a lot of questions answered, if I come across a tough one I always go here first. HTH -- Trev Any man whose errors take ten years to correct is quite a man. - J. Robert Oppenheimer, speaking of Albert Einstein