From owner-freebsd-questions@FreeBSD.ORG Fri Feb 16 13:59:20 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 BAEBD16A402 for ; Fri, 16 Feb 2007 13:59:20 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (gateway.speechpro.com [81.3.190.130]) by mx1.freebsd.org (Postfix) with ESMTP id 760A413C471 for ; Fri, 16 Feb 2007 13:59:20 +0000 (UTC) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] by s1.stc with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HI3cK-0004hS-3a for freebsd-questions@freebsd.org; Fri, 16 Feb 2007 16:59:16 +0300 Message-ID: <45D5B85E.2010101@speechpro.com> Date: Fri, 16 Feb 2007 16:57:50 +0300 From: Igor Robul User-Agent: Thunderbird 1.5.0.9 (X11/20070130) MIME-Version: 1.0 To: Free BSD Questions list References: <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com> <20070216084629.eb96568e.wmoran@collaborativefusion.com> In-Reply-To: <20070216084629.eb96568e.wmoran@collaborativefusion.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archived: Yes 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:59:20 -0000 Bill Moran wrote: > 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. > > just add something like this: [bpf=100] add path 'bpf*' mode 0660 group wheel to your /etc/devfs.rules and devfs_set_rulesets="/dev=bpf" to /etc/rc.d Then reboot or do "sudo /etc/rc.d/devfs restart" Make sure that you are in wheel group, or just change rule. You can read more if you do man devfs man devfs.rules ...