Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 08:46:29 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        lveax <lveax.m@gmail.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: i can't find available device in wireshark?
Message-ID:  <20070216084629.eb96568e.wmoran@collaborativefusion.com>
In-Reply-To: <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com>
References:  <576dcbc20702160538l553c4c1ch1aac0a2373a54a0f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to lveax <lveax.m@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216084629.eb96568e.wmoran>