Wi-Fi Monitor Mode Overview
The (layer 2) Wi-Fi packets used to control the network and carry traffic can only be seen by a Wi-Fi radio interface in a special mode known as monitor mode. Other methods of capturing network traffic, such as tcpdump, only tend to capture layer 3 packets and above.
Normally, the Wi-Fi radio only captures packets destined for the radio’s Receive Address (RA). The Wi-Fi radio must be put into monitor mode to capture all Wi-Fi packets. While in monitor mode, the radio is in a receive-only mode and no packet transmits occur. The radio is only a passive listening device.
For additional information on monitor mode, see https://en.wikipedia.org/wiki/Monitor_mode.
Supported Products: AER2200, AP22, E3000, E300, IBR1700, IBR900, IBR600C, and R1900 routers. See Identify Cradlepoint Products to identify your router.
Entering Monitor Mode
When monitor mode is started on any radio, all radios are stopped. Normal operation of the AP and Wi-Fi as WAN is disabled. All clients are disconnected. The radio stops sending beacon packets.
Complete the following steps to start a Wi-Fi monitor mode capture:
Log into NetCloud Manager.
Select in the left-side navigation panel.
Select the desired router.
Select the menu and then select .
Select Open Device UI.
Log in to the device from the LOGIN screen. The default username is "admin". Default passwords are supplied with routers.
Navigate to > .
Select the radio to do the capture from the Interface drop-down menu in the Packet Capture section.
Note
Disabled Wi-Fi radios are not shown in the Interface drop-down menu. All Wi-Fi radios are disabled when any radio is selected for monitor mode.
Continue with selecting a channel and channel width.
Selecting a Channel
The 2.4 GHz radio can see channels 1–11 at 20 or 40 MHz channel width. Entering a channel outside this range causes a radio setup error.
A 5 GHz radio can usually see channels 36–165, including the DFS channels in UNI-II. However, some of these channels might be disabled depending on the region. A radio setup error occurs if a blocked channel is selected.
Note
Some router products do not have a 5 GHz radio and other products might have multiple radios in the 5 GHz band. For example, Cradlepoint AP22 routers have a dedicated dual 2.4/5 GHz monitor radio that must be used for monitor mode; the other two AP radios cannot be used in monitor mode.
For Wi-Fi channel help, see https://en.wikipedia.org/wiki/List_of_WLAN_channels.
Selecting a Channel Width
The default channel width in 2.4 GHz channels is 20 Mhz. A 40 MHz channel width is rare. The 2.4 GHz 40 MHz channel puts an additional 20 MHz channel either above or below the center channel, usually indicated by the name 40+ or 40-. Select above/below depending on which channel width is in use.
The predominantly used channel width in 5 GHz channels is 80 MHz, but 20 MHz and 40 MHz channel widths are also supported.
Starting the Packet Capture
After selecting the interface, channel, and channel width, select . Select Yes to continue when prompted to confirm putting the radios into monitor mode.
The first capture takes 10 seconds as Wi-Fi is reconfigured. The Packet Capture dialog’s status displays “Configuring WiFi” while the radios are reconfigured.
Radio Setup Failed Error
In case of incorrect parameters to the radio monitor mode configuration (such as an unsupported channel or an incorrect channel width), the following dialog appears. Check the router log for more information.
The following shows an example failure when attempting to capture channel 36 on the 2.4 GHz radio.
Exiting Monitor Mode
When the Wi-Fi packet captures are complete, the router Wi-Fi radios can be returned to normal operation mode. There are two methods to restore normal operations.
The first method uses Remote Connect in NetCloud Manager or the router UI. Complete the following steps to exit from monitor mode through NetCloud Manager:
Log into NetCloud Manager.
Select in the left-side navigation panel.
Select the desired router.
Select the menu and then select .
Select Open Device UI.
Log in to the device from the LOGIN screen. The default username is "admin". Default passwords are supplied with routers.
Navigate to > .
Select any one of the Wi-Fi Radio pages listed.
The following dialog blocks access to the radio configuration while the Wi-Fi radio is running in monitor mode.
Select to release monitor mode.
The Wi-Fi radios return to normal operation, with beacons resuming and clients again allowed to connect. The second, simpler method to restore normal Wi-Fi operations is through the router command line:
Log into NetCloud Manager.
Select in the left-side navigation panel.
Select the desired router.
Select the menu and then select .
Select Open Console.
Enter the following to exit monitor mode: set /control/wlan/monitor mode false.
The following screenshot is an example from an E3000 router.
The router UI is a convenient interface to that variable.
Note
Monitor mode cannot be enabled through that variable.
Additional Information
The router UI Cloudshark integration is fully functional. Though it is possible to open the Packet Capture window from the NetCloud Manager interface, the Cloudshark implementation there is not meant for Wi-Fi monitor mode capture. NetCloud Manager Cloudshark is described in the following documents:
Known Issues
When running tcpdump as a timed capture, the capture stops after the timer expires. However, the Start button is disabled. Click the button to re-enable the Start button.
The router UI Cloudshark integration shows an https://cloudshark.io link for the most recent capture.
The cloudshark.io domain has been deprecated by Cloudshark and will be updated in a future NetCloud OS release. The correct link is cloudshark.org.