AnsweredAssumed Answered

Wpa_cli command line applicantion is not working in android

Question asked by Thanaraj Subramani on Jun 28, 2017
Latest reply on Jun 29, 2017 by Artur Petukhov

Hi All,

 

   Wi-Fi connect/disconnect is working properly through GUI. But when we use wpa_cli application through command line,we are getting following error,

 

root@sabresd_6dq:/ # wpa_cli -i wlan0

wpa_cli v2.5-devel-6.0.1

Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors

 

This software may be distributed under the terms of the BSD license.

See README for more details.

 

Interactive mode

 

Could not connect to wpa_supplicant: wlan0 - re-trying

root@sabresd_6dq:/ #

root@sabresd_6dq:/ # wpa_cli scan

Using interface 'wlan0'

Failed to connect to non-global ctrl_ifname: wlan0  error: No such file or directory

 

Please provide any solution for this. how to make it work wpa_cli through command line.

 

Regards,

Thanaraj.

 

 

 

Outcomes