Networking/Computing Tips/Tricks

Ok all you MAC users, here is the way you capture Wi-Fi/WLAN frames using your MAC and Wireshark.

First, MAC users get a really easy time of putting their interface into Monitor Mode, because the Wireshark interface works simply and easily, plus you don't need any other drivers or anything to make it work.

If you are a Windows user look here: https://www.cellstream.com/reference-reading/tipsandtricks/332-capturing-wi-fi-wlan-packets-on-windows-for-free

Linux users, look here: https://www.cellstream.com/reference-reading/tipsandtricks/335-capturing-wi-fi-wlan-packets-in-wireshark-on-linux

OK - MAC users - here we go.

First simply install Wireshark from www.wireshark.org.

Once Wireshark is open, select your Wi-Fi/WLAN Interface (just click on it once so it is highlighted green):

2020 04 11 10 41 06

Next - make sure you grab and install our WLAN profile.  You can find it here.  Make sure that profile is selected.  Honestly, this is optional but if you want to do it right.... :-)

Now on the drop down menu of Wireshark - select Capture> Options (or you can select the Gear button, or you can do a command-K).  You will get the following pop up:

2020 04 11 10 46 41

You see my Wi-Fi: en0 interface is highlighted/selected.  Over to the right (you can resize the window if necessary, click on the Monitor Mode tick-box (as shown).

Now there is an assumption here, and that is that you are connected to a Wireless Network.

Click the START button.

You should start to see all the wireless frames your MAC can hear scrolling:

2020 04 11 10 50 35

But look closely, you will only be looking at the channel your current connection is operating on - in my case above the Channel column says Channel 1.

That's fine and may be all you need.

But what if I want to listen/sniff on another 2.4Ghz or 5GHz channel?

Wireshark used to have the Wireless toolbar, but this is gone now (except Windows).  So how do you change channels on your MAC?

Easy.  Open your Spotlight search (command-SPACE) and enter "Wireless Diagnostics".  You should get a screen that looks like this:

2020 04 11 10 55 59

Run that Wireless Diagnostis app.  Your app will look like this:

2020 04 11 10 57 22

Click continue.

Ignore the next screen. Up on the main menu bar, select Window> Sniffer:

2020 04 11 11 01 53

This will bring up the following dialogue:

2020 04 11 11 03 57

Ah-ha - from here you can pick the channel you want your Wi-Fi/WLAN interface to listen to!

All the 2.4Ghz and 5GHz channels are listed in the drop down.  Pkus you can adjust the channel width here as well.

Once you pick which channel, you will have to enter your administrative password once to make the change by clicking the Start button.  To make further changes click Stop, change the channel, then click start again.  You can see in this screen shot, I changed to channel 6 from channel 1, and then changed again to channel 11:

2020 04 11 11 09 45

Keep in mind, you will not be able to use the wireless interface during this time.

Also, once everything is closed, you may have to turn off/on your Wi-Fi interface, and/or manually connect to your AP to get it to reconnect.

We hope this helps, and all comments are welcome! 

 

Comments powered by CComment

The nicest thing you can do is use these inks to support us!  Thank you!

Support our research!  Buy me a coffee :)

Support our research. Become a Patron!

Find by Tag

4G Networks 5G Networks 6in4 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az Addressing Analysis Ansible Architecture ARP AToM BGP Bloom's Taxonomy Broadband Cable cat CBRS CellStream Cellular Central Office Cheat Sheet Chrome Cisco Cloud Coloring Rules Computer Consulting CPI Customer Support Data Center Data Networking DHCPv6 DNS Docker Documentation Dublin-Traceroute dumpcap ECMP Ethernet Ethics Fragmentation G-MPLS Git GNS3 Google GQUIC Hands-On History Home Network ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 Interface Control Internet IoT IPsec IPv4 IPv6 IS-IS L2VPN L3VPN LDP Linux LLN LoL M-BGP MAC MAC OSx Macro Microsoft mininet Monitoring MPLS MTU Multicast My Room Name Resolution Netcat Netmiko NetMon netsh Networking Network Science nmap Npcap Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX OTT Paris-Traceroute Parrot PIM pktmon PMTU Policy POTS POTS to Pipes PPP Profile Programming Project Management Protocol 41 PW3E Python QoS QUIC Remote Desktop Requirements RIP Routing RPL RSVP Rural SAS SDN Security Service Provider Small Business SONET Speed SS7 SSH SSL Subnetting SYSCTL T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone termshark TLS Tools Traceroute Traffic Engineering Training Travel Tunnel Ubuntu Utility Video Virtualbox Virtualization VoIP VRF VXLAN Webex WEP Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Wi-Fi 6/6E Windows Winpcap Wireless Wireless 5G Wireshark Wireshark Tip WLAN WPA2 Zenmap ZigBee Zoom

Support us by clicking:

Twitter Feed