i can't find available device in wireshark?

Bill Moran wmoran at collaborativefusion.com
Fri Feb 16 13:46:30 UTC 2007


In response to lveax <lveax.m at gmail.com>:
> 
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         options=8<VLAN_MTU>
>         inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255
>         ether 4c:00:10:b4:1d:d2
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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.


More information about the freebsd-questions mailing list