> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intuitibits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture using a WLAN Pi

> Capture Wi-Fi traffic with a WLAN Pi connected over USB or found on your network in Airtool 2.

A [WLAN Pi](https://www.wlanpi.com) is a portable Linux device for Wi-Fi professionals. It comes ready to work as a capture sensor for *Airtool 2*, so you can capture on its Wi-Fi adapter without setting anything up on the WLAN Pi, and without disconnecting your Mac from its network.

You can use a WLAN Pi in two ways:

| Connection | How it appears in *Airtool 2* | Capture options |
| - | - | - |
| Connected to your Mac over USB | In the *Airtool 2* menu, with the name of its model | Band, channel, and channel width. *Airtool 2* chooses the Wi-Fi adapter. |
| On the same local network as your Mac | In the *Airtool 2* menu and in *Settings* > *Sensors*, as a discovered sensor | Interface name, band, channel, and channel width, as with any [sensor](https://docs.intuitibits.com/airtool2/capture-using-a-sensor.md) |

You can also add a WLAN Pi as a sensor yourself, by hostname or IP address, for example when it's on a different network. See [Add a sensor](https://docs.intuitibits.com/airtool2/capture-using-a-sensor.md#add-a-sensor).

All *Airtool 2* features—including automatic frame slicing, capture size limits, file rotation, and live captures—are fully supported when using a WLAN Pi.

## Requirements

* A WLAN Pi running WLAN Pi OS, with a Wi-Fi adapter that supports monitor mode on the channels you want to capture
* For a USB connection, a USB cable that carries data, connected to the WLAN Pi's port that provides a network connection to a computer. See the [WLAN Pi documentation](https://www.wlanpi.com) for your model.
* For a network connection, your Mac and the WLAN Pi on the same local network, with the WLAN Pi using its Ethernet port or a Wi-Fi adapter other than the one you capture with

> [!NOTE]
>
> The channels and channel widths you can capture on depend on the WLAN Pi's Wi-Fi adapter and its regulatory settings. In the 6 GHz band, *Airtool 2* offers 320 MHz channel widths for adapters that support Wi-Fi 7.

***

## Capture with a WLAN Pi connected over USB

1. Connect the WLAN Pi to your Mac and wait for it to finish starting up.
2. Click the *Airtool 2* icon in the menu bar. The WLAN Pi is listed with the name of its model, followed by an ellipsis (…). If you connect two WLAN Pi devices of the same model, each name is followed by part of its hostname.
3. Choose the WLAN Pi.
4. Choose the band (**2.4 / 5 GHz** or **6 GHz**), the channel, and the channel width.
5. Click **Start Capture**.

*Airtool 2* signs in with the WLAN Pi's default credentials. If you've changed them, it asks for the username and password; select **Remember this password** to store them in your Mac's keychain.

*Airtool 2* remembers the last options you used with each WLAN Pi.

> [!TIP]
>
> *Airtool 2* looks for WLAN Pi devices each time you open its menu. If a WLAN Pi you just connected isn't listed, close the menu and open it again after a few seconds.

***

## Capture with a WLAN Pi on your network

When a WLAN Pi is on the same local network as your Mac, *Airtool 2* finds it automatically and lists it in the *Airtool 2* menu and in *Settings* > *Sensors*, with the name of its model. It's listed for as long as it's available on the network.

1. Choose the WLAN Pi from the *Airtool 2* menu.
2. In **Interface Name**, enter the name of the WLAN Pi's Wi-Fi interface you want to capture with (e.g., `wlan0`), or leave it empty to let *Airtool 2* choose one.
3. Choose the band, the channel, and the channel width, and click **Start Capture**.
4. Enter the WLAN Pi's username and password when asked.

A discovered WLAN Pi can also be used for [multi-source captures](https://docs.intuitibits.com/airtool2/capture-on-multiple-channels-and-sensors.md) and checked with [Run Diagnostics…](https://docs.intuitibits.com/airtool2/capture-using-a-sensor.md#check-a-sensor-with-diagnostics).

> [!NOTE]
>
> Automatic discovery works only within the local network. If the WLAN Pi is on another subnet or VLAN, or your network blocks device discovery, add it as a sensor by its hostname or IP address.

## See also

* [Capture using a sensor](https://docs.intuitibits.com/airtool2/capture-using-a-sensor.md)
* [Capture on multiple channels and sensors](https://docs.intuitibits.com/airtool2/capture-on-multiple-channels-and-sensors.md)
* [Troubleshooting](https://docs.intuitibits.com/airtool2/troubleshooting.md#sensor-captures)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.