Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 16:57:50 +0300
From:      Igor Robul <igorr@speechpro.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: i can't find available device in wireshark?
Message-ID:  <45D5B85E.2010101@speechpro.com>
In-Reply-To: <20070216084629.eb96568e.wmoran@collaborativefusion.com>
References:  <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com> <20070216084629.eb96568e.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D5B85E.2010101>