We use OpenWRT 18.06.01 on an Orange Pi Zero board. We have an EG25 LTE modem connected to USB port.
Using pppd we establish a connection to a mobile ISP, get a ppp0 interface with an assigned ip alongside with a gateway ip and mobile ISP's dns servers.
We need to monitor changes happening on network interfaces. For ethernet and wifi interfaces we can use ubus (ubus call network.interface.lan/network.interface.client_wifi status). But with ppp interface(s) we can't - there's no ubus path for our ppp0 interface, created dynamically.
As we got, netifd servise is responsible for implementing network.interface.xxx RPC procedures, should we dig into it to make it aware about our dynamically created interface, or we miss something and there's some other way to monitor changes on ppp interfaces?
Thanks in advance for any help...