Start hostapd without config file?

Jouni Malinen j at w1.fi
Sun Dec 22 10:00:47 PST 2024


On Mon, Dec 02, 2024 at 01:01:24PM +0100, nick wrote:
> I am curious if it's possible to start hostapd without using a configuration
> file and run it directly in the background. Are there any workarounds,
> specific flags, or methods for achieving this?

"hostapd -g /var/run/hostapd-global -B" would do that. hostapd runs in
the background (-B) and listens to the global control interface (-g ..)
for local domain socket commands that can be used to instantiate new
interfaces for configuring operations through the control interface
instead of a configuration file.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list