From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 18:21:23 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 176751065694 for ; Thu, 16 Dec 2010 18:21:23 +0000 (UTC) (envelope-from mubeeshalivm@gmail.com) Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFCF8FC15 for ; Thu, 16 Dec 2010 18:21:22 +0000 (UTC) Received: by bwz5 with SMTP id 5so3998986bwz.8 for ; Thu, 16 Dec 2010 10:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9GdcQvvMYPfl8ZQ8SaCs3CGBkossgxEPJ2ZHqzUYpys=; b=KsPWzPsnoOP0589bjFuKdWn8/dtpn4FgSC4joWtluiXYy2SJbE4vp1ntWCvtE+L7L5 GanBsUTH3YB17TIEeye3I1mdV/QhX2sY/F+c6c6dlFWfJj91xj1O7g8871rh/iuNW3E/ LOXQ5uVHP+riHLaRfVXOaUUidumpkPKTYPd74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h6KylvskvJpdnYGnUPekA41fbAv1/Y/iXkBVLm8klxx8uegM3ug5DWSdXfROxUQthf PJn5AHsvAHPbq0JvfTBEs7ttOLMFL05deZ72O43WcrlV6nb3O9ZrV1phaP7ahhtnvnib 5ODj8tjJKBWmDdfYm2iuQQlT9qUyM7Dqpu9uI= MIME-Version: 1.0 Received: by 10.204.65.135 with SMTP id j7mr8814143bki.85.1292523681348; Thu, 16 Dec 2010 10:21:21 -0800 (PST) Received: by 10.204.101.197 with HTTP; Thu, 16 Dec 2010 10:21:21 -0800 (PST) In-Reply-To: References: Date: Thu, 16 Dec 2010 23:51:21 +0530 Message-ID: From: Mubeesh ali To: "Justin V." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, joko1425@hotmail.com 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: Thu, 16 Dec 2010 18:21:23 -0000 Hi Justin, I see 7 beacon misses on the interface which is not good the client disconnects on beacon miss...typically most ap's are configured to send a beacon every 100 ms . ..this looks similar http://madwifi-project.org/ticket/1957 thanks, Mubeesh On Thu, Dec 16, 2010 at 11:16 PM, 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, =A0the 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.. =A0I suspected a faulty wifi >>> router.. i changed that out.. >>> >>> Ive tried using WEP and WPA. =A0Currently 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=3D'vicnet' freq=3D2462 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=3D'vicnet' freq=3D2462 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=3D'vicnet' freq=3D2462 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 associatio= n >>> and >>> authentication.. >>> >>> yeaguy# wlandebug -i wlan0 auth+assoc >>> net.wlan.0.debug: 0x0 =3D> 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=A0 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 w= ill > go down.. > > I have the router set for channel 11... > > i do not have these types of drops with other wifi capable devices.. > > ex. =A0WIN laptop, Playstaion 3... etc... > > > > rum0: flags=3D8843 metric 0 mtu 2= 290 > =A0 =A0 =A0 =A0ether 00:1e:e5:a8:bd:5a > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > =A0 =A0 =A0 =A0status: associated > wlan0: flags=3D8843 metric 0 mtu = 1500 > =A0 =A0 =A0 =A0ether 00:1e:e5:a8:bd:5a > =A0 =A0 =A0 =A0inet 192.168.1.169 netmask 0xffffff00 broadcast 192.168.1.= 255 > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g > =A0 =A0 =A0 =A0status: associated > =A0 =A0 =A0 =A0ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf= :74 > =A0 =A0 =A0 =A0country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > =A0 =A0 =A0 =A0AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scan= valid 450 > =A0 =A0 =A0 =A0bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rat= e 5 > =A0 =A0 =A0 =A0protmode CTS roaming MANUAL > > > > Also yesterday, I lost complete connectivity to the router while my WIN P= C > 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