i can't find available device in wireshark?

Igor Robul igorr at speechpro.com
Fri Feb 16 13:59:20 UTC 2007


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
...


More information about the freebsd-questions mailing list