androidandroid-10.0ifconfig

ifconfig doesn't work on Android 10 (permission denied)


When I try to run ifconfig on Oculus Quest 2 (Android 10) I get a 'permission Denied' error:

ifconfig: ioctl 8927: Permission denied

Any alternatives/solution to this?


Solution

  • Eventually I found an alternative command that works on Android 10 (even the output is different from ifconfig's):

    ip -f inet addr show