Snapshot build, hostapd_cli says "Failed to attach to hostapd"?

First time I have used "make image" to create and install a snapshot build. So I am not sure if this is to be expected.

The build was latest as of two days ago (OpenWrt SNAPSHOT r18163-d6c5bb69cd / LuCI Master git-21.322.38385-6507b1f). After building the image and flashing it, I decided to use the hostapd_cli command for something, so I "opkg install hostapd-utils". All is fine up till this point.

But when I type in 'hostapd_cli' this is what I get:

hostapd_cli v2.10-devel
Copyright (c) 2004-2019, Jouni Malinen <> and contributors

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

Selected interface 'wlan0'
Warning: Failed to attach to hostapd.

Interactive mode


... and nothing would work. Even a 'ping' command will return with a timeout.

Is there an issue with that snapshot build of hostapd? Or is this normal? Is there a way at all to still use hostapd_cli?

I just fixed this today in 398cbb76fa88.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.