1)
My-MacBook-Pro:~ user$ sudo tcpdump -vv -i en0 -e -I type mgt subtype beacon
tcpdump: listening on en0, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 262144 bytes
00:49:19.722187 294568054us tsft 1.0 Mb/s 2437 MHz 11g -53dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
00:49:19.824598 294670453us tsft 1.0 Mb/s 2437 MHz 11g -57dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
00:49:19.927035 294772851us tsft 1.0 Mb/s 2437 MHz 11g -56dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
en0 ---- Name of wireless interface
mywifi ---- Name of SSID
-I ---- to capture 802.11 frames
2)
My-MacBook-Pro:~ user$ sudo tcpdump -vv -i en0 -e -XX -I type mgt subtype beacon
-XX ----- To print data in hex
-I ---- to capture 802.11 frames
3)
My-MacBook-Pro:~ user$ sudo tcpdump -i en0 -e -I -s 256 type mgt subtype probe-resp or subtype probe-req
-I ---- to capture 802.11 frames
4)
My-MacBook-Pro:~ user$ sudo tcpdump -vv -i en0 -e -I type mgt subtype beacon
tcpdump: listening on en0, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 262144 bytes
00:49:19.722187 294568054us tsft 1.0 Mb/s 2437 MHz 11g -53dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
00:49:19.824598 294670453us tsft 1.0 Mb/s 2437 MHz 11g -57dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
00:49:19.927035 294772851us tsft 1.0 Mb/s 2437 MHz 11g -56dBm signal -95dBm noise antenna 0 0us BSSID:24:e9:11:61:0a:53 (oui Unknown) DA:Broadcast SA:24:e9:11:61:0a:53 (oui Unknown) Beacon (mywifi) [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 6, PRIVACY
en0 ---- Name of wireless interface
mywifi ---- Name of SSID
-I ---- to capture 802.11 frames
2)
My-MacBook-Pro:~ user$ sudo tcpdump -vv -i en0 -e -XX -I type mgt subtype beacon
-XX ----- To print data in hex
-I ---- to capture 802.11 frames
3)
My-MacBook-Pro:~ user$ sudo tcpdump -i en0 -e -I -s 256 type mgt subtype probe-resp or subtype probe-req
-I ---- to capture 802.11 frames
4)