I am really new developing for OpenWrt and was looking for it for a long time.
Sorry for my bad English, I am from Brazil.
I am using Lua and Luci to develop a OpenWrt interface.
I want to check if the router has internet connectivity. It could be making a HTTP GET request to my server or getting the IP address or in a simplest way.
I would appreciate not having to install external APIs. There is a way to do that?
Thank you in advance.
Melanke