No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
conf
logs
ubuntu-16.04
.editorconfig
.gitignore
README.md

README.md

WiFi Testing

Scripts and configurations for testing WiFi devices.

Tests can be run directly on a host machine, or against a VirtualBox VM.

You can either run test.py on your host, or use test_vagrant.py to run the tests from within a VM. Run scripts from the root of this repo.

This project is a sloppy collection of scripts. Files are here for documentation, but do not expect the best quality. I would not recommend adapting/forking this for your own needs, as I expect the scripts to change drastically.

Prerequisites

  • python3
  • nmcli
  • Vagrant
  • VirtualBox

Build

Build the test VM.

./bin/build-ubuntu.sh

Test

Unplug your USB NIC.

Reset the VM before a test run.

./bin/reset_vagrant.py

Connect your USB NIC.

Go into the VM settings in VirtualBox and add the USB WiFi device.

You could potentially make other customizations to the VM at this time if you like. For instance, you could install custom drivers or install certain packages. Note, any changes will be lost whenever you restore the snapshot.

Run tests against the VM.

./bin/test_vagrant.py

Analyze the results.

./bin/analyze.py

You can reset and retest as often as needed. Deleting the VM will require a rebuild.

Citations