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

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

  •  21-07-2023
  •  | 
  •  

문제

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
도움이 되었습니까?

해결책

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

다른 팁

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

su net_raw
ping www.google.com
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top