Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2005 12:59:45 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Bakul Shah <bakul@BitBlocks.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: minor WPA problem on a Thinkpad R40
Message-ID:  <20050705195945.GA28034@odin.ac.hmc.edu>
In-Reply-To: <200507012348.j61NmQEs070640@gate.bitblocks.com>
References:  <200507012348.j61NmQEs070640@gate.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 01, 2005 at 04:48:26PM -0700, Bakul Shah wrote:
> After suspend/resume the old wpa_supplicant does not die
> and ath0 does not come up.  Manually running
>     /etc/rc.d/netif stop ath0
> or
>     /etc/rc.d/netif start ath0
> does the right thing.  I am running yesterday's kernel.
> rc.conf contains
>=20
>     ifconfig_ath0=3D"WPA DHCP"
>=20
> Not sure if I am doing something wrong or if this area still
> needs work.  As I understand it, wpa_supplicant should die
> when an interface goes down just like dhclient should.

Hmm, this isn't something I've been able to test.  One shot in the dark
would be adding -w to the wpa_supplicant command line in
/etc/rc.d/wpa_supplicant.  I know wpa_supplicant deals badly with
yanking and reinserting a nic under normal circumstances so I'm not too
suprised it's having trouble with suspend/resume.

> Another curious behavior is that after a manual
>     ifconfig ath0 down
> the interface does not stay down.

I suspect wpa_supplicant is bringing it back up.  I'm not sure what the
answer is there.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCyuawXY6L6fI4GtQRAjO2AKC6r5MGaMa2HEI7bzam1v/BRp9i2wCeJaNb
MOiECmBdvuGEOgIPx2VTvxk=
=lvbV
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050705195945.GA28034>