Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this

Justin V. vic at yeaguy.com
Thu Dec 16 17:46:36 UTC 2010



On Thu, 16 Dec 2010, Mubeesh ali wrote:

> can u completely not send any traffic or is this a random drop. If
> random there could be interference causing replay counter mismatch.
> This may force AP to drop the packet,  the ap may de authenticate
> client if it sees continuous stream of such packets in a short
> interval and force client to drop existing sessions like ftp.
>
> Please try changing the channel. If the client and AP are both A
> capable please try using the A band as there are more non overlapping
> channels and u may be able to find a channel with low interference.
>
>
>
> On Thu, Dec 16, 2010 at 10:46 PM, Justin V. <vic at yeaguy.com> wrote:
>>
>> I keep seeing my wlan0 interface go down..  I suspected a faulty wifi
>> router.. i changed that out..
>>
>> Ive tried using WEP and WPA.  Currently using WPA.
>>
>> Here are the logs Im seeing..
>>
>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED -
>> Disconnect event - remove keys
>> Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN
>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>> Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with
>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with
>> 00:22:6b:66:bf:74 timed out.
>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>> Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with
>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>> Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with
>> 00:22:6b:66:bf:74 timed out.
>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS
>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with
>> 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz)
>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter
>> did not increase - dropping packet
>> Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with
>> 00:22:6b:66:bf:74
>> Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP
>>
>> Given the errors seen what would be the best debug to use??
>>
>> wlandebug or tcpdump ??
>>
>> I went ahead and enabled since my logs are complaining about association and
>> authentication..
>>
>> yeaguy# wlandebug -i wlan0 auth+assoc
>> net.wlan.0.debug: 0x0 => 0xc00000<assoc,auth>
>> yeaguy#
>>
>>
>> Any tips would be appreciated.. I have an end user continually complaining
>> of disconects over FTP..
>>
>>
>> Thanks,
>>
>> justin v
>>
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
>
>
>
> -- 
> Best  Regards,
>
> Mubeesh Ali.V.M
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>



Hi Mubeesh,

It seems to be a random drop.. FTP will be humming along and then wlan0 
will go down..

I have the router set for channel 11...

i do not have these types of drops with other wifi capable devices..

ex.  WIN laptop, Playstaion 3... etc...



rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
         ether 00:1e:e5:a8:bd:5a
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
         status: associated
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:1e:e5:a8:bd:5a
         inet 192.168.1.169 netmask 0xffffff00 broadcast 192.168.1.255
         media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
         status: associated
         ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74
         country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
         AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450
         bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
         protmode CTS roaming MANUAL



Also yesterday, I lost complete connectivity to the router while my WIN PC 
was connected and browsing just fine..

I had to bounce the interface and reset the default gateway and my 
connection restored.

I did:

/etc/rc.d/netif restart && /etc/rc.d/routing restart


Thanks,

Justin


More information about the freebsd-questions mailing list