From owner-freebsd-questions@FreeBSD.ORG Fri Feb 16 13:46:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D5B716A402 for ; Fri, 16 Feb 2007 13:46:30 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 2776713C4AC for ; Fri, 16 Feb 2007 13:46:30 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 16 Feb 2007 08:46:29 -0500 id 00056420.45D5B5B5.000008FB Date: Fri, 16 Feb 2007 08:46:29 -0500 From: Bill Moran To: lveax Message-Id: <20070216084629.eb96568e.wmoran@collaborativefusion.com> In-Reply-To: <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com> References: <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: i can't find available device in wireshark? 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, 16 Feb 2007 13:46:30 -0000 In response to lveax : > > i can't find any available device in the list > > i notice it depends bpf > but i already have > device bpf # Berkeley packet filter > in my kernel config > > where is wrong? > > $ ifconfig > rl0: flags=8843 mtu 1500 > options=8 > inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255 > ether 4c:00:10:b4:1d:d2 > media: Ethernet autoselect (100baseTX ) > status: active > nve0: flags=8843 mtu 1500 > inet 192.168.6.1 netmask 0xffffff00 broadcast 192.168.6.255 > ether 00:16:e6:84:e6:3e > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 mtu 1492 > inet 219.13x.xxx.xxx --> 58.52x.xxx.xxx netmask 0xffffffff > Opened by PID 874 Did you run it as root? What does "wireshark -D" say? If I run my as non-root: $ wireshark -D wireshark: There are no interfaces on which a capture can be done But it works fine when run as root. -- Bill Moran Collaborative Fusion Inc.