From owner-freebsd-questions@FreeBSD.ORG Fri May 8 22:37:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED9011065672 for ; Fri, 8 May 2009 22:37:39 +0000 (UTC) (envelope-from invocatum@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB088FC12 for ; Fri, 8 May 2009 22:37:39 +0000 (UTC) (envelope-from invocatum@gmail.com) Received: by fk-out-0910.google.com with SMTP id f33so857594fkf.11 for ; Fri, 08 May 2009 15:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xcHPXpNS7PaBbGcv7XhJ78YFiTCTD5kHRCNiP2INIcQ=; b=tXBGdDFR6F+DRa01f3oREJOQVdVz/Fro7lTTw5wpB5ojCquAfb/lS3Y9pI7FUTYtLj Q3G7TKipheOcaIdtrgoCcd2933KasRTgrHWgZNAP3XKJ+NHaYIeMyy94TNN9O7Mc6+Fc GirvjIpKkkvBjlnFurT5F8D9pBHlAcpw5Be0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=b1VThj5RzF0n+IlCn2RFljInQw29iUsBPfu/g3Oukl6hglI9GjV+PPqEhT7TOw7/W2 qEeXO7j62i9CgLhaYRj0lgD2juRQXeSYz2XwF/krmzI8QPnNgDRkzrdWP6BcbpikLDi2 UM83M+BoXHammMZzNIfa5bx20YGXmL5hSdn10= MIME-Version: 1.0 Received: by 10.103.169.18 with SMTP id w18mr2608719muo.101.1241820494898; Fri, 08 May 2009 15:08:14 -0700 (PDT) Date: Fri, 8 May 2009 17:08:14 -0500 Message-ID: From: D C To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Help creating bpf0 device (bpf won't do it for me) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 22:37:40 -0000 Hello, I'm in the final stages of setting up a new wireless connection but have been having problems getting bpf running. For some reason, even though bpf has been compiled into a new kernel, the system won't automatically create a bpf0 device. On boot, the system complains "pcap_open_live: (no devices found) /dev/bpf0: No such file or directory". The ultimate goal is to have this laptop connect wirelessly to my WPA2-protected WAP (already working fine with other boxes) using a static IP. I've successfully compiled in support for the Atheros-based PCMCIA card, edited rc.conf to exclude DHCP and to use wpa_supplicant.conf, and eventually compiled in bpf when I started receiving the pcap_open_live messages. I suspect bpf is needed not for DHCP which is not running, but for some of the parameters I added to wpa_supplicant.conf, which is as follows: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="my_ssid" scan_ssid=1 proto=RSN key_mgmt=WPA-PSK pairwise=CCMP psk="my_ssid" } If someone would be so kind as to explain what is calling bpf and how I can create a bpf0 device by hand, I would be indebted. Thanks...