...
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 Prepared 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 | ||||
---|---|---|---|---|
| ||||
#!/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 | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
sudo reboot |