Skip to content

Analyze WLAN Pi captures on your iPad

Run a Wi-Fi capture on a WLAN Pi from an iPad or iPhone over SSH, with every command shown before it runs, then read the frames on the same device with no laptop in the middle.

A WLAN Pi is the capture radio a lot of Wi-Fi engineers already carry. The usual workflow still needs a laptop: SSH in, put an adapter into monitor mode, run tcpdump, copy the file off, open it in Wireshark. Framehound does that whole loop from an iPad or iPhone. It drives the capture on the Pi over SSH, brings the file back into its library, and analyzes it on the device you are holding.

This guide walks through the first capture. The WLAN Pi is supported as an SSH device and nothing is installed on it: Framehound uses the iw, ip and tcpdump tools the WLAN Pi image already has.

What you need

  • A WLAN Pi, powered and booted.
  • An iPhone or iPad with Framehound. Adding the Pi is free; running a capture on it is part of Framehound Pro.
  • The Pi's SSH password, or a private key it accepts.
  • The last three characters of the Pi's hostname (for example 86a in wlanpi-86a).

1. Add the Pi

In Framehound, tap +, then Capture via WLAN Pi. This is the ordinary SSH capture screen with the WLAN Pi's known answers filled in: the user is wlanpi and SSH is on port 22.

The Capture via WLAN Pi screen on iPhone, with the USB-C link selected

Choose how the Pi is connected. Each option assumes a physical link, so a wrong choice fails with a reason you can act on rather than a bare timeout:

  • Connected by USB-C. The Pi is plugged straight into the iPad or iPhone and answers on 169.254.42.1.
  • Connected by Bluetooth. The Pi's Bluetooth network, at 169.254.43.1.
  • On this network. The Pi is on the same Ethernet or Wi-Fi network as you, at wlanpi-<xxx>.local.

Enter the last three characters of the hostname and the credential. The password or key goes into the iPad's Keychain, behind Face ID or Touch ID. Adding the device sends nothing over the network; it writes a record.

2. Read the Pi

The first packet leaves when you press Read the Device. Framehound connects, and on the first connection it shows you the Pi's SSH host key fingerprint and asks whether to trust it. You can check it on the Pi with ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub. Once you accept, Framehound remembers the key and will refuse to connect if it ever changes.

SSH capture devices on iPhone

Reading runs read-only commands and comes back with the Pi's radios, their interfaces, which modes each radio supports and the channels each one actually offers. There is no channel picker until this has happened, because there is nothing real to fill it with.

3. Set up the capture

Pick the interface, then switch on Set monitor mode for this capture and choose a channel and width. Before anything runs, Framehound shows the exact command lines it will send: taking the interface down, setting it to monitor mode, bringing it up, and setting the channel. These run with sudo, which is what reconfiguring a radio requires.

Three things it handles because they come up on real Pis:

  • The interface you are connected over is never touched. Framehound asks the Pi which interface carries your SSH session and leaves it alone.
  • A busy radio. If setting the channel fails with "Device or resource busy", another interface on the same radio is up. Framehound names it, brings it down and retries.
  • A wrong clock. A Raspberry Pi has no battery-backed clock, so after a power cut it can be months behind, and every frame tcpdump writes would carry that wrong time. If the Pi's clock is off, the setup screen says by how much and offers Set the Device Clock, which sets it from your iPad and reads it back.

4. Capture and open it

Start the capture. tcpdump runs on the Pi and streams to the iPad as it writes, and when you stop, the finished file lands in the library like any other import. Open it and it has already been triaged: a health score and ranked findings on Overview.

For a monitor-mode Wi-Fi capture, the tabs that matter most are:

  • Wireless: frame-type and management-subtype mix, retries, signal and SNR, and per-channel utilization.
  • APs & Clients: every AP heard with its band, channel, security and capabilities, and every client's association sessions.
  • Roaming: 802.11r, k and v support and each roam with its timing. See Find Wi-Fi roaming problems in a capture.

The Wireless tab on a sample survey capture

Already have a pcap on the Pi?

If the capture was taken earlier, copy it off the Pi to a laptop (scp) and send it to the iPad with AirDrop, or use the local upload server. Then open it from the library as usual.

What changes on the Pi

Framehound changes the Pi only when you press a button that says so: monitor mode, the channel and width, bringing a sibling interface down when the radio is busy, and the clock. Every one of those commands is on screen before it runs. The capture travels only between the Pi and your iPad. Nothing goes through mobiadroit. The full list is in the privacy policy.

Common questions

Do I need to install anything on the WLAN Pi?

No. Framehound uses SSH and the tools that ship on the WLAN Pi image (iw, ip and tcpdump). There is no agent, script or package to install.

Can I use a Linux box that is not a WLAN Pi?

Yes. Use From a Device Over SSH instead. It is the same path without the WLAN Pi answers filled in, and it works with any Linux device you can SSH into that has tcpdump or dumpcap and a monitor-capable adapter.

Why does Framehound ask for sudo?

Putting an interface into monitor mode and setting its channel need root on Linux. If the account's sudo asks for a password, Framehound passes the stored password to sudo, and if sudo refuses, it shows you exactly what sudo said.

More guides