When I connect a wifi adapter to my computer I can see the available wireless networks listed, but when I use Wireshark and set it to listen with that interface/adapter, no packets are captured (when I am not connected to any network, because if I am I will effectively capture the packets from that network.
But how is the computer able to display the name of the wireless networks? There must be something that is sent so that my adapter can get the computer to display the network's name.
yes, the interface is listening o promiscuous mode.
So, my question is, what is this thing that is sent so that my adapter can get info from networks it is not connected to? Why isn't Wireshark displaying it? How can I capture those packets or whatever they are?