Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 20:26:51 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        "Andrew N. Below" <defan@zenon.net>
Subject:   Re: iwi, hidden SSID and wpa_supplicant problem
Message-ID:  <200610092026.58504.max@love2party.net>
In-Reply-To: <0a2a01c6ebcb$e3d36bd0$970da8c0@jam.zenon.net>
References:  <089501c6ebb0$31848e20$970da8c0@jam.zenon.net> <452CDDDD.8060902@errno.com> <0a2a01c6ebcb$e3d36bd0$970da8c0@jam.zenon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5576585.FA74UGUkao
Content-Type: text/plain;
  charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 09 October 2006 19:53, Andrew N. Below wrote:
> Hi.
>
> [..]
>
> > You can try using ap_scan=3D2 or whatever it is in the
> > wpa_supplicant.conf file.  This causes wpa_supplicant to use directed
> > broadcasts msgs to each ap listed in the file.
>
> In my case setting ap_scan to 2 doesn't help.
>
> BTW, I got successfull connection some time ago when I
> start to use /etc/rc.d/netif start iwi0 instead of manual
> running of wpa_supplicant:
>
> defanbook# ifconfig iwi0
> iwi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 213.189.198.75 netmask 0xfffffff0 broadcast 213.189.198.79
>         ether 00:12:f0:3d:cd:58
>         media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
> (DS/11Mbps) status: associated
>         ssid ZENON-RADIO channel 11 bssid 00:07:0e:b8:d8:ee
>         authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP
> 3:128-bit txpowmax 100 bmiss 10 protmode CTS roaming MANUAL bintval 100
>
> I wrote bssid value to /etc/wpa_supplicant.conf and run
> /etc/rc.d/netif.
>
> Then I drop connection (netif stop iwi0) and tried to start it again.
> I got "associated" state in 5-6 minutes.
>
> In rc.conf I have:
>
> ifconfig_iwi0=3D"ssid MY-SSID channel 11 WPA
>
> How can I get "-dd" output from wpa_supplicant started with netif?
> It could be interesting.

No idea, but a bit more stress testing did reveal a similar problem here. =
=20
After I associated with the AP w/ hidden SSID I changed the channel via=20
webinterface.  The disconnect resulted in the exact problem you were=20
having.  Only stopping and restarting wpa_supplicant fixed the issue and=20
I got associated on the new channel.  Not sure what happens there yet,=20
but something seems to get stuck in an undefined state.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart5576585.FA74UGUkao
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFKpRyXyyEoT62BG0RAhB4AJ43z2IJ3q3Ep6gl469FDljoep7HXQCfa3qS
9a6iE5Les63ngCAwccgJ0zc=
=nSis
-----END PGP SIGNATURE-----

--nextPart5576585.FA74UGUkao--



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