Date: Tue, 19 Apr 2011 18:47:22 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Maciej Milewski <milu@dat.pl> Cc: freebsd-wireless@freebsd.org Subject: Re: RFC: supporting multiple hostap instances in /etc/rc.conf Message-ID: <BANLkTikKTZU1m3r%2BL2fyF7GMgDWBR%2BruOA@mail.gmail.com> In-Reply-To: <201104191229.26974.milu@dat.pl> References: <BANLkTikGsV7AMYG7GaJ5BN7yUKgugN%2BfBg@mail.gmail.com> <BANLkTimFRR2TE%2BH5Vop%2BTYms8mP4p4FPBg@mail.gmail.com> <201104171605.59340.bschmidt@freebsd.org> <201104191229.26974.milu@dat.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Why'd you remove the flags parameter and hard-code them? 2011/4/19 Maciej Milewski <milu@dat.pl> > One simpler thing for quick running multiple instaces is giving multiple > configs to the hostapd. Hostapd supports it from around 2005. This would > run > one instance of hostapd listening on all interfaces given in config files. > > Manual way: > /usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/hostapd.conf > /etc/hostapd2.conf /etc/hostapd3.conf > > Attached patch doesn't change default behaviour and adding multiple configs > into rc.conf: > hostapd_conf="/etc/hostapd.conf /etc/hostapd2.conf /etc/hostapd3.conf" > makes it work with more interfaces. > Other than that, I think that's ok, but it just feels dirty for some reason. Perhaps instead, allow the whole command line to be overridden, pid file, -B and all? Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikKTZU1m3r%2BL2fyF7GMgDWBR%2BruOA>