Hostapd Config Tester

For testing and evaluating settings of hostapd.

Hostapd Config Tester

I recently started using a Raspberry Pi 3B+ and it's new 802.11ac capabilities to set up an access point in the 5GHz band.

For testing and evaluating the enormous amount of features which hostapd supports I created a small script which spins up an AP, let's an client connect to it and then measure the throughput.

The repository can be found at:

See below the


Script to test different hostapd configs and their performance.

See for RB Pi 3B+ related notes.

Main script which starts a hostapd daemon, waits for a client, runs multiple iperf3 measurements and then plots them.

  1. Make sure to generate ssh keys before and exchange them with the client.
ssh-copy-id pi@PI3-5GHz-02

Modify the Client IP in

Create a hostapd.conf with the settings to test (cp hostapd-sample.conf hostapd.conf).

Start the script: sudo ./ foldername - where foldername is the name of the folder where the logs get stored.


  • hostapd
  • iperf3 (on AP and client)
  • python3
  • python3-pip
  • matplotlib
  • numpy


sudo apt-get install hostapd iperf3 python3 python3-pip
pip3 install -r requirements.txt
sudo ./ foldername

File descriptions

Script which gets executed on the client (which connects to the AP). Please configure the wpa-supplicant on the client before.

Python script to plot the json logfiles of iperf3 (uses matplotlib).


Sample hostapd config with the bare minimum settings to create an 802.11ac (5 GHz) AP on RPi3B+.