Hi Erel:,
This problem appears in Android 13 (it works fine in Android 12).
When I try to retrieve the ip gateway by phone shell: Ph.Shell("ip", Array As String("route", "get", "8.8.8.8"), SB1, SB2)
Log("Result:" & SB1.ToString &","& SB2.ToString)
The results is the error: "Cannot bind netlink socket: Permission denied"
Do you have any suggestion to resolve it?
Thanks in advance.
Marcelo
Hi:
No, the 8.8.8.8 is the ip target used by the command "route get 8.8.8.8" I put this IP to point the route outside tha LAN and get the default router or gateway on wifi.
Thanks.