From owner-freebsd-wireless@freebsd.org Sun Jun 28 20:41:40 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 007AD98F787 for ; Sun, 28 Jun 2015 20:41:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA79D1661 for ; Sun, 28 Jun 2015 20:41:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so29085131igr.1 for ; Sun, 28 Jun 2015 13:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=eRCMO2zAtIB6PA4azyu9IucSDw3RNdFr2PKGu7zQqFs=; b=RjN/Wfrmj/vlYveQkN9GDtbPkOZbD3aMluZijXfX0z7QPYwMPQ6s7fJ+uwEqnQ757x +kEcg/sj2xWeH+s79LnTcMLGx1zfteB9g9dk1FcLkmS1Pr83hL+990Frep/kXKKQjOvC zRLhFFlmnrqGedhO9haVzCJmKCSCMKBUW6VuidgIJ45awRjTKtD3iw2E5MRtyoATO/2H HNuNIUtHSHPNaBP3+gEouLxv6OqnKR/xjly5Zafx5kAKXnRzn2rX+VkLugSNpTL/R3h4 WsiYCWaqUQIoWXhEIGAm7OJWb36yDo9gl+cELchfToCBzC2XbAOv9J9YOQVe/vZ9rivy BBuA== MIME-Version: 1.0 X-Received: by 10.107.11.169 with SMTP id 41mr16113662iol.8.1435524099193; Sun, 28 Jun 2015 13:41:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 28 Jun 2015 13:41:39 -0700 (PDT) In-Reply-To: <55905B1A.2030803@yahoo.com> References: <72168917.1307646.1435245008197.JavaMail.yahoo@mail.yahoo.com> <55905B1A.2030803@yahoo.com> Date: Sun, 28 Jun 2015 13:41:39 -0700 X-Google-Sender-Auth: 9D8cCa2w7YYplSNFdQDfi8tTDEQ Message-ID: Subject: Re: trouble connecting to wifi From: Adrian Chadd To: Zsolt SZASZ Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 20:41:40 -0000 Ok, it's doing HT/40 in 11n mode, and you're on channel 3. Try HT/20. -a On 28 June 2015 at 13:37, Zsolt SZASZ wrote: > ifconfig returns this (ifconfig ath0_wlan0 -ampdu is setup): > > ath0: flags=8843 metric 0 mtu 2290 > ether 30:b5:c2:63:51:77 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > > ath0_wlan0: flags=8843 metric 0 mtu > 1500 > ether 30:b5:c2:63:51:77 > inet6 fe80::32b5:c2ff:fe63:5177%ath0_wlan0 prefixlen 64 scopeid 0x8 > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > ssid freebsdap channel 3 (2422 MHz 11g ht/40+) bssid > 30:b5:c2:63:51:77 > regdomain ETSI country RO indoor ecm authmode WPA2/802.11i > privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit > txpower 30 scanvalid 60 protmode OFF -ampdu ampdulimit 64k > ampdudensity 8 shortgi wme burst -apbridge dtimperiod 1 -dfs > > stable 11g is: > > ath0: flags=8843 metric 0 mtu 2290 > ether 30:b5:c2:63:51:77 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > > ath0_wlan0: flags=8843 metric 0 mtu > ether 30:b5:c2:63:51:77 > inet6 fe80::32b5:c2ff:fe63:5177%ath0_wlan0 prefixlen 64 scopeid 0x8 > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > ssid freebsdap channel 3 (2422 MHz 11g) bssid 30:b5:c2:63:51:77 > regdomain ETSI country RO indoor ecm authmode WPA2/802.11i > privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60 > protmode OFF wme burst -apbridge dtimperiod 1 -dfs > > > > > On 6/27/2015 8:28 PM, Adrian Chadd wrote: >> >> ok, so you have to use no-11n in order for it to be tsable, ok. >> >> when you test, can you just verify that it's always using the same >> channel? >> >> are you using HT/20 or HT/40 when you're in 11n mode? >> >> >> -a >> >> >> On 25 June 2015 at 08:10, zsolty szasz wrote: >>> >>> No joy! >>> Besides that I had also a lot of these: ath0_wlan0: discard frame w/o >>> leading ethernet header (len 6 pkt len 6). >>> >>> One night when WiFi stopped working then I came with my laptop in my hand >>> to >>> sit in front of my router to do the usual ifconfig ath0 down/up but >>> before >>> doing that I observed that while I was near to the wifi antenna with my >>> laptop the wifi started to work fine again without doing anything (on >>> laptop >>> the connection went from 15Mbps to 280Mbps automatically). I don't know >>> it >>> this information is usefully to you. Of course this happened only one >>> time, >>> I tried next day the same and it wasn't enough. >>> >>> >>> >>> >>> >>> On Monday, June 22, 2015 11:07 PM, Adrian Chadd >>> wrote: >>> >>> >>> Hi, >>> >>> That's fine. Ok, try this: >>> >>> ifconfig ath0_wlan0 -ampdu >>> >>> .. then reassociate evryone. >>> >>> >>> >>> >>> -adrian >>> >>> >