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

2013-11-01 Thread clutton
On Wed, 2013-10-23 at 21:43 -0700, Adrian Chadd wrote: > IT's not. It's devd doing something dumb. > > > -a > > > On 23 October 2013 21:30, clutton wrote: > > > Indeed. > > > > I have looked at a sys/net80211 and at a sys/dev/ath. > > But I still have no idea which one triggers rc script and

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

2013-11-01 Thread Bernhard Schmidt
On Fri, Nov 1, 2013 at 7:40 PM, clutton wrote: > On Wed, 2013-10-23 at 21:43 -0700, Adrian Chadd wrote: >> IT's not. It's devd doing something dumb. >> >> >> -a >> >> >> On 23 October 2013 21:30, clutton wrote: >> >> > Indeed. >> > >> > I have looked at a sys/net80211 and at a sys/dev/ath. >> > B

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

2013-11-01 Thread Adrian Chadd
On 1 November 2013 12:16, Bernhard Schmidt wrote: > That actually is a design question I once wrapped my head around > unsuccessfully. The lines above are responsible for configuring wlan0 > if it is created, eg. > ifconfig wlan0 destroy > ifconfig wlan0 create wlandev ath0 > will invoke above co

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

2013-11-01 Thread clutton
On Fri, 2013-11-01 at 12:33 -0700, Adrian Chadd wrote: > On 1 November 2013 12:16, Bernhard Schmidt wrote: > > > That actually is a design question I once wrapped my head around > > unsuccessfully. The lines above are responsible for configuring wlan0 > > if it is created, eg. > > ifconfig wlan0

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

2013-11-01 Thread Adrian Chadd
What's running the other copy? Adrian On Nov 1, 2013 4:00 PM, "clutton" wrote: > On Fri, 2013-11-01 at 12:33 -0700, Adrian Chadd wrote: > > On 1 November 2013 12:16, Bernhard Schmidt > wrote: > > > > > That actually is a design question I once wrapped my head around > > > unsuccessfully. The li

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

2013-11-01 Thread clutton
On Fri, 2013-11-01 at 20:16 +0100, Bernhard Schmidt wrote: > On Fri, Nov 1, 2013 at 7:40 PM, clutton wrote: > > On Wed, 2013-10-23 at 21:43 -0700, Adrian Chadd wrote: > >> IT's not. It's devd doing something dumb. > >> > >> > >> -a > >> > >> > >> On 23 October 2013 21:30, clutton wrote: > >> > >>

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

2013-11-01 Thread clutton
On Fri, 2013-11-01 at 13:02 -0700, Adrian Chadd wrote: > What's running the other copy? > > > > Adrian > > On Nov 1, 2013 4:00 PM, "clutton" wrote: > On Fri, 2013-11-01 at 12:33 -0700, Adrian Chadd wrote: > > On 1 November 2013 12:16, Bernhard Schmidt > wrote: >

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

2013-11-01 Thread Adrian Chadd
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 >> >> On Nov 1, 2013 4:00 PM, "clutton" wrote: >> On Fri, 2013-11-01 at 1