From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 01:42:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44F9B106564A for ; Fri, 17 Dec 2010 01:42:34 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id C42388FC0C for ; Fri, 17 Dec 2010 01:42:33 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.193]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 5FA1E5C21 for ; Fri, 17 Dec 2010 11:47:23 +1000 (EST) Message-ID: <4D0ABF2E.7080900@herveybayaustralia.com.au> Date: Fri, 17 Dec 2010 11:38:54 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101119 Thunderbird/3.0.10 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 01:42:34 -0000 On 12/17/10 03:46, Justin V. wrote: > > > 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. 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 >>> yeaguy# >>> >>> >>> Any tips would be appreciated.. I have an end user continually >>> complaining >>> of disconects over FTP.. >>> >>> >>> Thanks, >>> >>> justin v >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> >> -- >> Best Regards, >> >> Mubeesh Ali.V.M >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@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 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 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 What version FreeBSD are you using? The only workaround I know is kill wpa_supplicant and run again- been happening to me for ages. But 8.1 it _finally_ sorted it out :)