Android adb shell ping - This version of ping should NOT run with privileges. Aborting

StackOverflow https://stackoverflow.com/questions/23633527

  •  21-07-2023
  •  | 
  •  

Pregunta

I am trying to perform a ping via adb shell on a Galaxy S5. I am able to perform this same ping command without issue on a Galaxy S4. Does anyone know how to bypass this? "This version of ping should NOT run with privileges. Aborting"

Ping commands:

adb shell
ping www.google.com
¿Fue útil?

Solución

Change the permission of the ping(a file in /system/bin/) from rwsr-xr-x to rwxr-xr-x, it's done!

Otros consejos

If "root", run ping as "net_raw" user:

su net_raw
ping www.google.com
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top