Try this extension Net : Get some information about network and in clock give blocks
If net is connected then
Set label text to connected
Else
Set label text do disconnected
Try this extension Net : Get some information about network and in clock give blocks
If net is connected then
Set label text to connected
Else
Set label text do disconnected