This is an ESP 8266 Based Arduino WiFi Connectivity monitor.
I used a NodeMCU and a simple I2C 16X2 LCD for this. But you can adapt it to any Arduino with a Wifi Module. You might have to do some changes to address those wifi modules 1st.
This Script Ping