Score:0

Capturing in monitor mode reports 0 packet for tshark

cn flag

MacOS 13.4.1

I'm trying to capture 802.11 management packets with a real 802.11 headers (not just Ethernet header) with tshark. So trying to use

% sudo tshark -i wifi0 -I -L                 
Data link types of interface wifi0 when in monitor mode (use option -y to set):
  IEEE802_11_RADIO (802.11 plus radiotap header)

Then trying to use as suggested

% sudo tshark -i wifi0 -I -y IEEE802_11_RADIO   
Capturing on 'Wi-Fi: wifi0'
 ** (tshark:32984) 20:15:55.258837 [Main MESSAGE] -- Capture started.
 ** (tshark:32984) 20:15:55.259162 [Main MESSAGE] -- File: "/var/tmp/wireshark_Wi-FiN4FL81.pcapng"
^Ctshark: 
0 packets captured

So after waiting for a few time and then interrupting with CTRL+C I got 0 packets captured, but with a regular capturing from the interface wifi0 it reports a lot of packets with Ethernet headers.

Why can't a monitor mode with -I capture any packets? Is there a solution for that?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.