On Thu, 2013-06-20 at 10:33 +0200, Arend van Spriel wrote:
> On 06/19/2013 11:11 PM, Chris Adams wrote:
> > Once upon a time, Arend van Spriel <ar...@broadcom.com> said:
> >> Can you make a capture using a wireless sniffer (using your thinkpad 
> >> maybe)?
> >
> > How would I go about doing that?  I've done lots of network debugging
> > with tcpdump and such, but not much wireless stuff.
> >
> 
> I use wireshark these days. If you install that you can use the steps 
> below and select the wireless interface in wireshark to capture. I use 
> wlan0 as interface name, but it may be different for you.
> 
> 1. disable network-manager so it won't interfere.

It should be enough run "nmcli nm wifi off" and then un-rfkill the
interface, and NM will leave it alone until you turn wifi back on.  It
will also remove the interface from wpa_supplicant.

Dan

> 2. bring the interface down
> $ sudo ifconfig wlan0 down
> 3. change interface type to monitor
> $ sudo iw dev wlan0 set type monitor
> 4. bring up the interface
> $ sudo ifconfig wlan0 up
> 5. start wireshark and select wlan0
> $ gksudo wireshark
> 
> It will complain that running wireshark as root is not secure. If you 
> care about that, you should read [1].
> 
> Regards,
> Arend
> 
> [1] 
> http://wiki.wireshark.org/Security#Administrator.2Froot_account_not_required.21
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



_______________________________________________
b43-dev mailing list
b43-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/b43-dev

Reply via email to