Re: service netif restart [iface] runs a wpa_supplicant twice

2013-11-02 Thread clutton
On Sat, 2013-11-02 at 10:00 -0700, Adrian Chadd wrote: > right, this makes it clearer. > > What about: > > * the wpa_supplicant rc script only starts/stops one wpa_supplicant instance > * upon ethernet / wlan clone creation, use interface_add to add the > interface to wpa_supplicant > * upon ethe

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-11-02 Thread Adrian Chadd
right, this makes it clearer. What about: * the wpa_supplicant rc script only starts/stops one wpa_supplicant instance * upon ethernet / wlan clone creation, use interface_add to add the interface to wpa_supplicant * upon ethernet / wlan clone destruction, use interface_remove how's that sound?

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-11-02 Thread Bernhard Schmidt
On Sat, Nov 2, 2013 at 10:00 AM, clutton wrote: > On Fri, 2013-11-01 at 23:50 -0700, Adrian Chadd wrote: >> OK, so where's the other path for invoking wpa_supplicant? > > What do you mean? kldload if_ath if will create ath0 which is a INET interface which will invoke pccard_ether, which will conf

Re: service netif restart [iface] runs a wpa_supplicant twice

2013-11-02 Thread clutton
On Fri, 2013-11-01 at 23:50 -0700, Adrian Chadd wrote: > OK, so where's the other path for invoking wpa_supplicant? > > > -a > > On 1 November 2013 13:35, clutton wrote: > > On Fri, 2013-11-01 at 13:02 -0700, Adrian Chadd wrote: > >> What's running the other copy? > >> > >> > >> > >> Adrian > >