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.
Generally, this is not a question of any NXP product, but of general Linux operation. Please try to configure the software as described at the links below:
https://linux.die.net/man/8/wpa_cli
https://linux.die.net/man/8/wpa_supplicant
https://wiki.archlinux.org/index.php/WPA_supplicant
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------