4

I rooted my device, then I go to adb shell and type su to enter wpa_cli. I was surprised that wpa_cli: not found appeared, although I get information when I type wpa_supplicant.

I know that wpa_cli is from same library wpa_supplicant .

  • Has anyone found a compiled version of wpa_cli and p2p_cli that work on Android 5.0 and newer? Binaries require PIE support when compiled... – RoundSparrow hilltx Feb 21 '16 at 12:53
1

Install the app: WiFi WPS WPA Tester or AndroDumpper..

It has the latest compiled wpa_cli binary..
You can get the binary from the app's data from /data/data, and you might push it to /system/bin/ or /su/bin/ or wherever you need..


Edit:

Instead, you can use the wpa_supplicant binary, which can be found in many devices by default, if that's enough to do what you want..

Or if you wish, you can compile wpa_cli from source.

0

In some cases, wpa_cli will not come along with the Android image. You have to compile and push to Android.

  • how can i do that ? – H.H Mar 8 '13 at 10:30
  • is it the same commands that Wifi direct used ? – H.H Mar 8 '13 at 10:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.