Wpa_cli command line applicantion is not working in android

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Wpa_cli command line applicantion is not working in android

3,553 次查看
ThanarajS
Contributor III

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.

Regards,
Thanaraj Subramani
标签 (6)
0 项奖励
回复
1 回复

2,341 次查看
art
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复