Hi,
following the sample code simple_sniffer, I was able to run the code I modified to receive detected packets. However, it seems all detected packets are from the same channel (in my case channel 11).
are there any configurations/APIs/ that I need to set in order to receive packets from all channels?
Thanks in advance.
How do I configure promiscuous mode so that I receive packets from all channels
-
- Posts: 11
- Joined: Thu Jul 02, 2020 8:40 pm
How do I configure promiscuous mode so that I receive packets from all channels
Last edited by Weigen Qiu on Thu Jul 16, 2020 1:32 pm, edited 1 time in total.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to I configure promiscuous mode so that I receive packets from all channels
You can't. In the same way as a FM radio can only listen to one channel at the time, a WiFi radio also can only be tuned to one channel. You can theoretically 'fake' it by quickly sweeping over all the channels, but you'll still miss packets on channels you're not listening to.
-
- Posts: 11
- Joined: Thu Jul 02, 2020 8:40 pm
Re: How to I configure promiscuous mode so that I receive packets from all channels
thanks ESP_Sprite.
So I was playing with the Raspberry Pi, and the Wifi driver has a monitor mode. Once I witch to the monitor mode, I can receive packets from all channels. I was wondering the difference between monitor mode and the promiscuous mode.
So I was playing with the Raspberry Pi, and the Wifi driver has a monitor mode. Once I witch to the monitor mode, I can receive packets from all channels. I was wondering the difference between monitor mode and the promiscuous mode.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: How do I configure promiscuous mode so that I receive packets from all channels
No, you can't, as the Raspberry Pi WiFi also only has one radio. They likely use the trick I mentioned earlier, where the radio 'sweeps' over all channels.
Who is online
Users browsing this forum: No registered users and 4 guests