PiNet checks the network connection of a Raspberry Pi by sending ICMP echo requests to IP addresses defined in two network areas and then blinking/lighting one of the three LEDs according to reachable area/address.