Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added section "Installing WHP Without Using the WiFiMon Preconfigured Image"

...

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 Without Using the WiFiMon

...

Preconfigured Image

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
languagebash
titlekill-firefox.sh
#!/bin/bash
let COUNT=$(pgrep firefox | wc -l)
for (( i=1; i<=COUNT; i++ ))
do
  PID=$(pgrep -o firefox)
  kill $PID
  sleep 3
done

and

Code Block
languagebash
titlepi-reboot.sh
#!/bin/bash
sudo reboot

Then, Steps 3 and 4 must be followed as described above. Script wireless.py should be included in the home directory of the Raspberry PI.