Date: Fri, 01 Nov 2013 22:00:04 +0200 From: clutton <clutton@zoho.com> To: freebsd-wireless@freebsd.org Subject: Re: service netif restart [iface] runs a wpa_supplicant twice Message-ID: <1383336004.13657.18.camel@eva02.mbsd> In-Reply-To: <CAJ-VmonRPHaYAKTm8V5Rj2Uc_ONqbTu2wxZrTM%2Buwpkc7RpLTg@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> <CAJ-VmonRPHaYAKTm8V5Rj2Uc_ONqbTu2wxZrTM%2Buwpkc7RpLTg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-X1xQAmpEcOdnYv12MzDa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2013-11-01 at 12:33 -0700, Adrian Chadd wrote: > On 1 November 2013 12:16, Bernhard Schmidt <bschmidt@techwires.net> wrote= : >=20 > > 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. >=20 > Uhm, I'm confused by this. Would you mind explaining it in a bit more det= ail? >=20 >=20 > -a The devd runs a pccard_ether script when the IFNET interface appears. In some rare cases you can see two copies of the wpa_sopplicant. --=-X1xQAmpEcOdnYv12MzDa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAABAgAGBQJSdAhEAAoJECNkWbjnbjuifxQP/A9v06ssmQIGYwM72aBRZb+5 s8zYErVMZXN1MkA669Et3N9BVVytez28AbewShMfuqBL+zL3WFoNhPRmqkKTjew4 plAutlGLVyqP5syJx5+af/eWax8m9bIvHU/FyNgP+7d1DbnXmuh0/RI6ECcCBx5k +dEa85liRhp5SM8K4YOEe6FFwCfCQQd2FVOGMM+LAF5G9nNQ/0CKFs0EFjwiv4OP dHCnix4S2qNSP5zYsv5LHaSOkX3RcvcqlnYiN1HXZdXGUtPkuQiBFmS19FbOBREh 6uCMYrdFx+02CC0m2bzhAQ1n3gfn4y2rw8FPhWG4e2SP71GGBzm4AmLw+nFVa/nj 2K3U06u83A05NZjo6UAhgpHsuSK3OgF805H7yovc/zRwFfSpP5aDHJdfAjx5Ji4B 7M0xdPW2zsOEcbHiA4P2xYYiEfuEKMxQrxwwtbgZ+QGfyjw8eRdvxjxYEcd1upsG kFpg9FKY66Ld9zvWcYfvJ0OkPxUBRBlJCiNWESjCUXVdPFV+qRCTRfpAxPjOJCuK evntX3X/f9hKpxtzLBaFbstUsDnQTnLRZ4kywlTAVRH4btmOWHrXCsYDKS+6RQLi OmszcRdcTiqoDaoT9NECtCc8Rx8Q2lkhM6+5Ps/9Et4zOO9oJ6fDBIBP8ziWvTlr fzFD6nwm4uWZfWZRxtBi =4T0U -----END PGP SIGNATURE----- --=-X1xQAmpEcOdnYv12MzDa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1383336004.13657.18.camel>