<div dir="ltr">Does on "iw scan" (or wpa_cli scan) instead of killing also help?<div><br></div><div style>Did you try the bg_scan feature?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/18 Marc MERLIN <span dir="ltr"><<a href="mailto:marc_hostap@merlins.org" target="_blank">marc_hostap@merlins.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Feb 15, 2013 at 07:43:53PM -0800, Marc MERLIN wrote:<br>
> On Thu, Feb 14, 2013 at 11:28:21PM -0800, Marc MERLIN wrote:<br>
<br>
</div>Could someone give me a clue if I'm hitting bugs in wpa_supplicant (it seems<br>
like it since I have to kill and it works when restarted), or if the problem<br>
might be with the Intel 6300 AGN chip<br>
<br>
Specifically, I'd like to tell the debian folks not to upgrade wpasupplicant<br>
to the newer series and stay with the older versions if I don't have good<br>
feeling that the new version works properly.<br>
<br>
Thanks,<br>
Marc<br>
<div class="HOEnZb"><div class="h5"><br>
> > Howdy<br>
> ><br>
> > First, the basics:<br>
> ><br>
> > kernel: 3.7.4-amd64-preempt-20121226-fixwd<br>
> > debian-testing<br>
> > wpasupplicant-1.0-3+b2<br>
> ><br>
> > iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532<br>
> > iwldvm: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d<br>
> > iwldvm: Copyright(c) 2003-2012 Intel Corporation<br>
> > iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG enabled<br>
> > iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled<br>
> > iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled<br>
> > iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE enabled<br>
> > iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_P2P enabled<br>
> > iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74<br>
> > iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S<br>
> > iwlwifi 0000:03:00.0: RF_KILL bit toggled to enable radio.<br>
> > iwlwifi 0000:03:00.0: device EEPROM VER=0x43a, CALIB=0x6<br>
> > iwlwifi 0000:03:00.0: Device SKU: 0x1F0<br>
> > iwlwifi 0000:03:00.0: Valid Tx ant: 0x7, Valid Rx ant: 0x7<br>
> ><br>
> > I started with being connected ok to 2C:B0:5D:3C:7D:F1, and walked mostly out of range and close to 2c:b0:5d:a0:c8:a6<br>
> ><br>
> > wpa_supplicant actually did connect to 2c:b0:5d:a0:c8:a6, then I had a few pings that went through the<br>
> > new AP, and then the pings stopped.<br>
> > Networking never recovered until after I ran kilall wpa_supplicant.<br>
> > This basically happens every time I roam :(<br>
> ><br>
> > Debian runs it like so:<br>
> > root     14862  0.0  0.0  31024  2828 ?        S    20:59   0:00 /sbin/wpa_supplicant -u -s -O /var/run/wpa_supplicant<br>
> ><br>
> > Should I be overriding what debian does and run it like so instead?<br>
> > /sbin/wpa_supplicant -u -onl80211 -O/var/run/wpa_supplicant -f /var/log/wpa_supplicant.log<br>
> So, I tried that, and it didn't help:<br>
><br>
> Roaming works:<br>
> wlan0: SME: Trying to authenticate with 2c:b0:5d:a0:c8:a6 (SSID='magicnet-a' freq=5785 MHz)<br>
> wlan0: Trying to associate with 2c:b0:5d:a0:c8:a6 (SSID='magicnet-a' freq=5785 MHz)<br>
> wlan0: Associated with 2c:b0:5d:a0:c8:a6<br>
> wlan0: WPA: Key negotiation completed with 2c:b0:5d:a0:c8:a6 [PTK=CCMP GTK=CCMP]<br>
> wlan0: CTRL-EVENT-CONNECTED - Connection to 2c:b0:5d:a0:c8:a6 completed (reauth) [id=0 id_str=]<br>
><br>
><br>
> Feb 15 19:40:06 gandalfthegreat NetworkManager[18472]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed<br>
> Feb 15 19:40:06 gandalfthegreat kernel: [388631.790948] cfg80211: Found new beacon on frequency: 5785 MHz (Ch 157) on phy0<br>
> Feb 15 19:40:09 gandalfthegreat NetworkManager[18472]: <info> (wlan0): roamed from BSSID 2C:B0:5D:3C:7D:F1 (magicnet-a) to 2C:B0:5D:A0:C8:A6 (magicnet-a)<br>
><br>
> I get 2 pings out after connecting to the new AP, and then the<br>
> connection hangs.<br>
><br>
> A while later wpasupplicant goes back to the old unusable AP:<br>
><br>
> wlan0: WPA: Group rekeying completed with 2c:b0:5d:a0:c8:a6 [GTK=CCMP]<br>
> wlan0: WPA: Group rekeying completed with 2c:b0:5d:a0:c8:a6 [GTK=CCMP]<br>
> wlan0: WPA: Group rekeying completed with 2c:b0:5d:a0:c8:a6 [GTK=CCMP]<br>
> wlan0: WPA: Group rekeying completed with 2c:b0:5d:a0:c8:a6 [GTK=CCMP]<br>
> wlan0: CTRL-EVENT-DISCONNECTED bssid=2c:b0:5d:a0:c8:a6 reason=2<br>
> wlan0: SME: Trying to authenticate with 2c:b0:5d:3c:7d:f1 (SSID='magicnet-a' freq=5745 MHz)<br>
> wlan0: Trying to associate with 2c:b0:5d:3c:7d:f1 (SSID='magicnet-a' freq=5745 MHz)<br>
> wlan0: Associated with 2c:b0:5d:3c:7d:f1<br>
> wlan0: WPA: Key negotiation completed with 2c:b0:5d:3c:7d:f1 [PTK=CCMP GTK=CCMP]<br>
> wlan0: CTRL-EVENT-CONNECTED - Connection to 2c:b0:5d:3c:7d:f1 completed (reauth) [id=0 id_str=]<br>
> Feb 15 19:41:00 gandalfthegreat kernel: [388685.212350] iwlwifi 0000:03:00.0: fail to flush all tx fifo queues<br>
> Feb 15 19:41:00 gandalfthegreat kernel: [388685.212462] wlan0: deauthenticated from 2c:b0:5d:a0:c8:a6 (Reason: 2)<br>
> (...)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.455482] wlan0: authenticate with 2c:b0:5d:3c:7d:f1<br>
> Feb 15 19:41:02 gandalfthegreat NetworkManager[18472]: <info> (wlan0): supplicant interface state: scanning -> authenticating<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.487733] wlan0: send auth to 2c:b0:5d:3c:7d:f1 (try 1/3)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.689936] wlan0: send auth to 2c:b0:5d:3c:7d:f1 (try 2/3)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.690640] wlan0: authenticated<br>
> Feb 15 19:41:02 gandalfthegreat NetworkManager[18472]: <info> (wlan0): supplicant interface state: authenticating -> associating<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.693975] wlan0: associate with 2c:b0:5d:3c:7d:f1 (try 1/3)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.897369] wlan0: associate with 2c:b0:5d:3c:7d:f1 (try 2/3)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.905992] wlan0: RX AssocResp from 2c:b0:5d:3c:7d:f1 (capab=0x11 status=0 aid=1)<br>
> Feb 15 19:41:02 gandalfthegreat kernel: [388687.909358] wlan0: associated<br>
><br>
> and then things don't work either because that AP is too far.<br>
><br>
> So why is roaming broken for me and how do I fix it?<br>
><br>
> Thanks,<br>
> Marc<br>
> --<br>
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.<br>
> Microsoft is to operating systems ....<br>
>                                       .... what McDonalds is to gourmet cooking<br>
> Home page: <a href="http://marc.merlins.org/" target="_blank">http://marc.merlins.org/</a><br>
> _______________________________________________<br>
> HostAP mailing list<br>
> <a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
> <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
<br>
--<br>
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.<br>
Microsoft is to operating systems ....<br>
                                      .... what McDonalds is to gourmet cooking<br>
Home page: <a href="http://marc.merlins.org/" target="_blank">http://marc.merlins.org/</a><br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br></div>