On 09/15/2015 02:37 AM, Patrik Flykt wrote:
3) How can notifications of tether interface's IP address changes be
obtained via D-Bus?
As tethering is considered to happen automatically without needing any
user intervention, there hasn't been any real need to expose tethered IP
address information either. Although ConnMan is light-weight, it's still
not a generic embedded routing platform.

I have a use case for this as well (not trying to make a router, but just displaying the IP address of the tether interface for informational purposes). The work around that I came up with is to use udev to listen to add, change and remove events. The device is always named "tether" so it is easy to match. If the device is added or changed, I look up the address by using getifaddrs and finding it in the list.
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to