Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 12:33:32 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Bernhard Schmidt <bschmidt@techwires.net>
Cc:        clutton <clutton@zoho.com>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: service netif restart [iface] runs a wpa_supplicant twice
Message-ID:  <CAJ-VmonRPHaYAKTm8V5Rj2Uc_ONqbTu2wxZrTM%2Buwpkc7RpLTg@mail.gmail.com>
In-Reply-To: <CAAgh0_aq7Mw-4JA6sEa2MoaqjivSNTKkRnfJwuct%2B=v-o4U2kg@mail.gmail.com>
References:  <1382572583.1862.39.camel@eva02.mbsd> <CAJ-VmonD%2B0rEAYm0Zk5HviciJEngTQ2j5xcKPzuNXBH8CWNA7g@mail.gmail.com> <1382589020.1846.36.camel@eva02.mbsd> <CAJ-Vmok=-bWq-eohdJt%2BwcTrJ43cak_sQu_hxO%2Bzt7HauGgg5g@mail.gmail.com> <1383331203.12614.1.camel@eva02.mbsd> <CAAgh0_aq7Mw-4JA6sEa2MoaqjivSNTKkRnfJwuct%2B=v-o4U2kg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 November 2013 12:16, Bernhard Schmidt <bschmidt@techwires.net> 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 code which will then invoke pccard_ether. Changing
> the code as you intent to will prevent this.
>
> Someone should step up an decide what is supposed to happen, should
> wlan0 in that case be configured as stated in rc.conf, or not?
>
> The actual issue though, is in wpa_supplicant itself. It has code to
> prevent it being started twice, but that doesn't kick in because the
> instances are started to fast and we loose (have not yet setup enough)
> information in our net code.

Uhm, I'm confused by this. Would you mind explaining it in a bit more detail?


-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonRPHaYAKTm8V5Rj2Uc_ONqbTu2wxZrTM%2Buwpkc7RpLTg>