how to have only one hostapd instance?

Jouni Malinen j at w1.fi
Sat Jul 8 05:24:33 PDT 2017


On Mon, Jul 03, 2017 at 09:50:26PM -0700, Carlito Nueno wrote:
> I am running openwrt 17.01.0 and hostapd v2.7-devel. I have two
> radios, 2.4 ghz and 5 ghz.
> 
> There are two hostapd instances running. How can I have only one
> hostapd instance to control both radios. Reason being, I want to have
> band steering that's built into hostap. This requires to have only one
> hostapd instance, correct?
> 
>  1156 root      1964 S    /usr/sbin/hostapd -s -P
> /var/run/wifi-phy1.pid -B /var/run/hostapd-phy1.conf
>  1178 root      1964 S    /usr/sbin/hostapd -s -P
> /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf

As far as hostapd is concerned, you can run a single process with
multiple configuration files listed on the command line. In other words,
this is more of an OpenWrt question since that's where this starting
separate processed for each interface is coming from.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list