How to execute hostapd and hostapd_cli in android terminals?

centos
openhours
release
mezzanine

#1

Hi all,

I always got error. When i execute hostapd command. I was changed everything in my hostapd.conf file but i got error.

hostapd_cli wps_pbc Failed to connect to hostapd - wpa_ctrl_open: No such file or directory

root@sabresd_6dq:/system/etc/wifi # hostapd_cli
hostapd_cli v2.5-devel-6.0.1 Copyright © 2004-2015, Jouni Malinen and contributors

This software may be distributed under the terms of the BSD license. See README for more details.

Could not connect to hostapd - re-trying

How to fix this.?

Thanks,
VinothS,