wifi6-stress-test-iperf3.sh

Banana Pi BPI-RT2: AX3000 WiFi 6 Router Board · File : wifi6-stress-test-iperf3.sh · Language : bash · Use case : Mesurer le débit réel du WiFi 6 AX3000 avec iperf3.

Script to launch an iperf3 server on the router and test WiFi 6 performance.

Install iperf3 via opkg. Connect a compatible WiFi 6 client (e.g., smartphone or PC with AX card). Use the displayed commands to launch the client. Compare results with AX3000 specifications (theoretical).

wifi6-stress-test-iperf3.sh

#!/bin/sh
# Test de débit WiFi 6 sur Banana Pi BPI-RT2
# Assurez-vous que iperf3 est installé : opkg update && opkg install iperf3

# Démarrer le serveur iperf3 sur le BPI-RT2 (LAN/WAN)
iperf3 -s &
SERVER_PID=$!

echo "Serveur iperf3 démarré (PID: $SERVER_PID)"
echo "Depuis un client connecté au WiFi 6, lancez :"
echo "iperf3 -c <IP_DU_BPI_RT2> -t 30 -P 4"

# Attendre que le test se termine ou arrêter le serveur
sleep 35
kill $SERVER_PID
echo "Test terminé."

← Back to the board