...
- A Raspberry Pi 3 Model B+ or a newer model
- A micro SD card with at least 16GB
- WiFiMon Raspberry Pi operating system image (Installation option 1) or Raspberry Pi with installed Raspbian Stretch or later (Installation option 2)
Setting up the WHP
There are two options for the WHP installation:
- Installation and configuration from the prepared WiFiMon WHP image (Installation option 1)
- Installation and configuration on the Raspberry Pi with already installed Raspbian image (Raspbian Stretch and later) (Installation option 2)
Installation and configuration from the prepared WiFimon WHP image Anchor Option 1 Option 1
Option 1 | |
Option 1 |
Step 1: Write the image to the micro SD card
Follow the instructions at the official Raspberry Pi site. Skip the "Download the image" step and use the WiFiMon Raspberry Pi operating system image instead (download size is approx. 3.6GB).
...
We advise the user to always secure Raspberry Pi by changing the default password.
Step 2: Start the Raspberry Pi
Follow the simple steps below:
...
You should see a red light on the Raspberry Pi and raspberries on the monitor. The WiFiMon Hardware Probe will boot up into a graphical desktop.
Step 3: Configure the RPi Anchor Step3 Step3
Step3 | |
Step3 |
Secure the Raspberry Pi by changing the default password. Optionally, you may enable SSH to access the command line of a Raspberry Pi remotely or setup remote desktop. Next, you have to connect to the wireless network you want to measure.
...
Line 5 of the crontab is related to the streaming of wireless network interface metrics to the WiFiMon Analysis Server (WAS). Optionally, the intervals of the WHP measurements could be altered by appropriately configuring the crontab so that measurement are more or less frequent. The configuration of the crontab config given above sets up 5-minute intervals between the measurements of each test tool in a way in which there are no overlapping measurements.
Step 4: Streaming Wireless Network Interface Metrics to the WiFiMon Analysis Server (WAS) Anchor Step4 Step4
Step4 | |
Step4 |
In /home/pi, you will find the Python script wireless.py. The contents of the script are the following:
...
That's all! At this point you may (optionally) unplug the keyboard, the mouse and the monitor and let the WHP measure the performance of your wireless network!
Installing WHP on Raspbian Image Anchor Option 2 Option 2
Option 2 | |
Option 2 |
In /home/pi, construct the new directory "scripts". Within this directory, include the following scripts with names "kill-firefox.sh" and "pi-reboot.sh" respectively. The contents of the aforementioned scripts should be the following:
...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash sudo reboot |
Then, Step 3 and Step 4 must be followed as described above. Script wireless.py should be included in the home directory of the Raspberry Pi.