From owner-freebsd-wireless@freebsd.org Mon Jun 29 20:25:03 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 989569906CD for ; Mon, 29 Jun 2015 20:25:03 +0000 (UTC) (envelope-from zsolty_szasz@yahoo.com) Received: from nm41-vm4.bullet.mail.gq1.yahoo.com (nm41-vm4.bullet.mail.gq1.yahoo.com [67.195.87.91]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B7961EF6 for ; Mon, 29 Jun 2015 20:25:03 +0000 (UTC) (envelope-from zsolty_szasz@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1435609091; bh=nWgu7shqi72B6OSI7WpgdoWmHC2YRUrLslO9m+5s86U=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=TPTIoqBvVumFcv3B5saB1xRHv/CCM0tYkhQq75AGym2BZFuUlQmEI4bZ0JiqaaeInZzEQF1ljbx0AOV0gCXG6xWtaiqHQZUOyOiVqXZd4xtU0+f/k6X1hWilyAvS2xNKlX1agkkYQ6NIqmLGVPw7WE4LagDoPYZsosOsxTAYJ/O9xltYZavKrAlBCht6IL+/dFhFjNfvTrnXDSG0jqUUjbUDLjxHZuMt6due9x5AUCShDLHbQNl4wCPztJGOXLnLJ9gemWhiivo+rOzw9qvZgXXT65v6zmdV3EBzX3n8qXQSDj3W6xvIOdb3F2G9gcsxqSBkPeoKfkBpe44CJa7LVA== Received: from [127.0.0.1] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 20:18:11 -0000 Received: from [98.137.12.63] by nm41.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 20:15:28 -0000 Received: from [66.196.81.174] by tm8.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 20:15:28 -0000 Received: from [98.139.212.226] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jun 2015 20:15:28 -0000 Received: from [127.0.0.1] by omp1035.mail.bf1.yahoo.com with NNFMP; 29 Jun 2015 20:15:28 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 158562.51168.bm@omp1035.mail.bf1.yahoo.com X-YMail-OSG: f_fObDYVM1nib37Pz9kFi0QflS3gN4LCf2.Tp2S9rAFkiufplXU2FTkSIkSpPkF uwkHhMLcvvx5FGdf.VvoL4vA0gVJ4VvV9us.WeR5rIfBpcFFhOg6pksiVCkdAit7oZHk_aWsC5Jx XxcTscF5RA53g16nV5mlxp6Aqy_MCSCvkA4bpyoStOvdUulGYdvXOgEk22Ci61ZeMHNV08srD6gG BF7D96gHvMU2rW4eRM1dhGhZgs68ymIuk_d1l0AkQ3LTsSZpYej5dWkf2iSyCARJekHpSPNxkECn sZesBGQiCgtMtLfN6xCnz1Rgm41KmMs6fCGGbaBpbEu0icq1f2tiwo8VAPfzJYU6hs_3vU4lXHGO eURqA0gFN8S.4_6uF3DzcdG85Zzbx5.F6ssWSw7ZkZ4ahm5TAciMFqWbYGXGH_b.EF6oimfAnvxE ycO0FIyNTAKWQtOoM1MqNavGOb7AjlbrO78fiAaiw2QKYZ6hx6Za_k4dLJEASjT_3wXgTqf.Hb0b N8eVA_WSxi.Tx.pYjMBwB1J28 Received: by 66.196.81.115; Mon, 29 Jun 2015 20:15:27 +0000 Date: Mon, 29 Jun 2015 20:14:55 +0000 (UTC) From: zsolty szasz Reply-To: zsolty szasz To: Adrian Chadd Cc: "freebsd-wireless@freebsd.org" Message-ID: <40578426.2258333.1435608895736.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: trouble connecting to wifi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 29 Jun 2015 20:25:03 -0000 I checked all the wireless channels which my adapter supports. #ifconfig -v ath0_wlan0 list channelChannel =C2=A0 1 : 2412 =C2=A0 =C2=A0 = =C2=A0MHz 11b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Cha= nnel =C2=A0 7 : 2442 =C2=A0 =C2=A0 =C2=A0MHz 11gChannel =C2=A0 1 : 2412 =C2= =A0 =C2=A0 =C2=A0MHz 11g =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0Channel =C2=A0 7 : 2442 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20Channel = =C2=A0 1 : 2412 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20 =C2=A0 =C2=A0 Channel =C2= =A0 7 : 2442 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40+Channel =C2=A0 1 : 2412 =C2= =A0 =C2=A0 =C2=A0MHz 11g ht/40+ =C2=A0 Channel =C2=A0 7 : 2442 =C2=A0 =C2= =A0 =C2=A0MHz 11g ht/40-Channel =C2=A0 2 : 2417 =C2=A0 =C2=A0 =C2=A0MHz 11b= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Channel =C2=A0 8= : 2447 =C2=A0 =C2=A0 =C2=A0MHz 11bChannel =C2=A0 2 : 2417 =C2=A0 =C2=A0 = =C2=A0MHz 11g =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Cha= nnel =C2=A0 8 : 2447 =C2=A0 =C2=A0 =C2=A0MHz 11gChannel =C2=A0 2 : 2417 =C2= =A0 =C2=A0 =C2=A0MHz 11g ht/20 =C2=A0 =C2=A0 Channel =C2=A0 8 : 2447 =C2=A0= =C2=A0 =C2=A0MHz 11g ht/20Channel =C2=A0 2 : 2417 =C2=A0 =C2=A0 =C2=A0MHz = 11g ht/40+ =C2=A0 Channel =C2=A0 8 : 2447 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40= -Channel =C2=A0 3 : 2422 =C2=A0 =C2=A0 =C2=A0MHz 11b =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Channel =C2=A0 9 : 2452 =C2=A0 =C2=A0 = =C2=A0MHz 11bChannel =C2=A0 3 : 2422 =C2=A0 =C2=A0 =C2=A0MHz 11g =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Channel =C2=A0 9 : 2452 =C2= =A0 =C2=A0 =C2=A0MHz 11gChannel =C2=A0 3 : 2422 =C2=A0 =C2=A0 =C2=A0MHz 11g= ht/20 =C2=A0 =C2=A0 Channel =C2=A0 9 : 2452 =C2=A0 =C2=A0 =C2=A0MHz 11g ht= /20Channel =C2=A0 3 : 2422 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40+ =C2=A0 Channe= l =C2=A0 9 : 2452 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40-Channel =C2=A0 4 : 2427= =C2=A0 =C2=A0 =C2=A0MHz 11b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0Channel =C2=A010 : 2457 =C2=A0 =C2=A0 =C2=A0MHz 11bChannel =C2= =A0 4 : 2427 =C2=A0 =C2=A0 =C2=A0MHz 11g =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0Channel =C2=A010 : 2457 =C2=A0 =C2=A0 =C2=A0MHz 11g= Channel =C2=A0 4 : 2427 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20 =C2=A0 =C2=A0 Cha= nnel =C2=A010 : 2457 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20Channel =C2=A0 4 : 24= 27 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40+ =C2=A0 Channel =C2=A010 : 2457 =C2=A0= =C2=A0 =C2=A0MHz 11g ht/40-Channel =C2=A0 5 : 2432 =C2=A0 =C2=A0 =C2=A0MHz= 11b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Channel =C2= =A011 : 2462 =C2=A0 =C2=A0 =C2=A0MHz 11bChannel =C2=A0 5 : 2432 =C2=A0 =C2= =A0 =C2=A0MHz 11g =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0Channel =C2=A011 : 2462 =C2=A0 =C2=A0 =C2=A0MHz 11gChannel =C2=A0 5 : 24= 32 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20 =C2=A0 =C2=A0 Channel =C2=A011 : 2462 = =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20Channel =C2=A0 5 : 2432 =C2=A0 =C2=A0 =C2= =A0MHz 11g ht/40+ =C2=A0 Channel =C2=A011 : 2462 =C2=A0 =C2=A0 =C2=A0MHz 11= g ht/40-Channel =C2=A0 5 : 2432 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40- =C2=A0 = =C2=A0Channel =C2=A012 : 2467 =C2=A0 =C2=A0 =C2=A0MHz 11bChannel =C2=A0 6 := 2437 =C2=A0 =C2=A0 =C2=A0MHz 11b =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0Channel =C2=A012 : 2467 =C2=A0 =C2=A0 =C2=A0MHz 11gChanne= l =C2=A0 6 : 2437 =C2=A0 =C2=A0 =C2=A0MHz 11g =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Channel =C2=A012 : 2467 =C2=A0 =C2=A0 =C2=A0M= Hz 11g ht/20Channel =C2=A0 6 : 2437 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/20 =C2= =A0 =C2=A0 Channel =C2=A013 : 2472 =C2=A0 =C2=A0 =C2=A0MHz 11bChannel =C2= =A0 6 : 2437 =C2=A0 =C2=A0 =C2=A0MHz 11g ht/40+ =C2=A0 Channel =C2=A013 : 2= 472 =C2=A0 =C2=A0 =C2=A0MHz 11gChannel =C2=A0 6 : 2437 =C2=A0 =C2=A0 =C2=A0= MHz 11g ht/40- =C2=A0 =C2=A0Channel =C2=A013 : 2472 =C2=A0 =C2=A0 =C2=A0MHz= 11g ht/20Channel =C2=A0 7 : 2442 =C2=A0 =C2=A0 =C2=A0MHz 11b I changed my settings to channel 13 since that is using only ht/20. Is that= ok for further testing? #ifconfigath0_wlan0: flags=3D8843 m= etric 0 mtu 1500=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 30:b5:c2:63:51:77=C2=A0 = =C2=A0 =C2=A0 =C2=A0 inet6 fe80::32b5:c2ff:fe63:5177%ath0_wlan0 prefixlen 6= 4 scopeid 0x8=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.2.1 netmask 0xffffff0= 0 broadcast 192.168.2.255=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireles= s Ethernet autoselect mode 11ng =C2=A0 =C2=A0 =C2=A0 =C2=A0 status:= running=C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid freebsdap channel 13 (2472 MHz 11g= ht/20) bssid 30:b5:c2:63:51:77=C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI c= ountry RO indoor ecm authmode WPA2/802.11i=C2=A0 =C2=A0 =C2=A0 =C2=A0 priva= cy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60=C2=A0 =C2=A0 = =C2=A0 =C2=A0 protmode OFF ampdulimit 64k ampdudensity 8 shortgi wme burst = -apbridge=C2=A0 =C2=A0 =C2=A0 =C2=A0 dtimperiod 1 -dfs =20 On Monday, June 29, 2015 12:45 AM, Adrian Chadd w= rote: =20 no, you'll have to ask the pfsense people if they provided a UI to set the channel to HT/20 only. -a On 28 June 2015 at 14:37, Zsolt SZASZ wrote: > with ifconfig ath0_wlan0 -ampdu ? or default? > > > On 6/28/2015 11:41 PM, Adrian Chadd wrote: >> >> 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=3D8843 metric 0 mtu >>> 2290 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet = autoselect mode 11ng >>> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: running >>> >>> ath0_wlan0: flags=3D8843 metric= 0 >>> mtu >>> 1500 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::32b5:c2ff:fe63:5177%ath0_= wlan0 prefixlen 64 scopeid >>> 0x8 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.2.1 netmask 0xffffff00 b= roadcast 192.168.2.255 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet = autoselect mode 11ng >>> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: running >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid freebsdap channel 3 (2422 MHz 11= g ht/40+) bssid >>> 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country RO indoor ecm = authmode WPA2/802.11i >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 privacy MIXED deftxkey 3 AES-CCM 2:12= 8-bit AES-CCM 3:128-bit >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 txpower 30 scanvalid 60 protmode OFF = -ampdu ampdulimit 64k >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ampdudensity 8 shortgi wme burst -apb= ridge dtimperiod 1 -dfs >>> >>> stable 11g is: >>> >>> ath0: flags=3D8843 metric 0 mtu >>> 2290 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet = autoselect mode 11g >>> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: running >>> >>> ath0_wlan0: flags=3D8843 metric= 0 >>> mtu >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::32b5:c2ff:fe63:5177%ath0_= wlan0 prefixlen 64 scopeid >>> 0x8 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.2.1 netmask 0xffffff00 b= roadcast 192.168.2.255 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet = autoselect mode 11g >>> >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: running >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid freebsdap channel 3 (2422 MHz 11= g) bssid 30:b5:c2:63:51:77 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain ETSI country RO indoor ecm = authmode WPA2/802.11i >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 privacy MIXED deftxkey 2 AES-CCM 2:12= 8-bit txpower 30 scanvalid >>> 60 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 protmode OFF wme burst -apbridge dtim= period 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 kn= ow >>>>> 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 >>>>> >>>>> > From owner-freebsd-wireless@freebsd.org Mon Jun 29 21:19:51 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 ED73F990CD2 for ; Mon, 29 Jun 2015 21:19:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 B1D8F19B7 for ; Mon, 29 Jun 2015 21:19:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igcur8 with SMTP id ur8so47828791igc.0 for ; Mon, 29 Jun 2015 14:19:50 -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=ak8Mjs4Ez7db/bLl150zGx61cG2VeYFDZ/5Izr/S/Gc=; b=INH1HCYPgDz1W+uVm6SOMkTN+QYL2spCjyvZ0OxLs0ONoeav3ZoMYwqGzLfRN1axxP PrDyWy42EPAFtd7SpyG+eZ23OXxY+S3x+THSA1956Q48IM4vKsS2IxyaSd213CvSrXi7 b5Teh49yeYZ2FTmdZFFODZo0Y4DB4C+GOL2NdEnAG5TRE8G+5AUuvMLb6djKf/gPXu4M MD5Hbko1ZpppNCxvjNpWf/1Oym4NGW192bi3PtYpTWKM3iTJ38FsuH1JWhx3ru5tWkcg wKYHOUAN4gL0aCAOsGsd5kDU9FyS0ZhCvCCQMXOPhDwirdH1n0s1kB2/moyD30GDjuar Kg7g== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr23514445ioe.29.1435612789974; Mon, 29 Jun 2015 14:19:49 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 14:19:49 -0700 (PDT) In-Reply-To: <40578426.2258333.1435608895736.JavaMail.yahoo@mail.yahoo.com> References: <40578426.2258333.1435608895736.JavaMail.yahoo@mail.yahoo.com> Date: Mon, 29 Jun 2015 14:19:49 -0700 X-Google-Sender-Auth: bp0RVJmAGSnOG7mwc_ZXdKY32_g Message-ID: Subject: Re: trouble connecting to wifi From: Adrian Chadd To: zsolty 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: Mon, 29 Jun 2015 21:19:51 -0000 hi, you can do that. but I'm surprised there's no way in pfsense to explicitly configure the channel as being ht/20 only. You may find some devices won't let you tune to channel 13. It's all very regulatory-y restricted. -a On 29 June 2015 at 13:14, zsolty szasz wrote: > I checked all the wireless channels which my adapter supports. > > #ifconfig -v ath0_wlan0 list channel > Channel 1 : 2412 MHz 11b Channel 7 : 2442 MHz 11g > Channel 1 : 2412 MHz 11g Channel 7 : 2442 MHz 11g > ht/20 > Channel 1 : 2412 MHz 11g ht/20 Channel 7 : 2442 MHz 11g > ht/40+ > Channel 1 : 2412 MHz 11g ht/40+ Channel 7 : 2442 MHz 11g > ht/40- > Channel 2 : 2417 MHz 11b Channel 8 : 2447 MHz 11b > Channel 2 : 2417 MHz 11g Channel 8 : 2447 MHz 11g > Channel 2 : 2417 MHz 11g ht/20 Channel 8 : 2447 MHz 11g > ht/20 > Channel 2 : 2417 MHz 11g ht/40+ Channel 8 : 2447 MHz 11g > ht/40- > Channel 3 : 2422 MHz 11b Channel 9 : 2452 MHz 11b > Channel 3 : 2422 MHz 11g Channel 9 : 2452 MHz 11g > Channel 3 : 2422 MHz 11g ht/20 Channel 9 : 2452 MHz 11g > ht/20 > Channel 3 : 2422 MHz 11g ht/40+ Channel 9 : 2452 MHz 11g > ht/40- > Channel 4 : 2427 MHz 11b Channel 10 : 2457 MHz 11b > Channel 4 : 2427 MHz 11g Channel 10 : 2457 MHz 11g > Channel 4 : 2427 MHz 11g ht/20 Channel 10 : 2457 MHz 11g > ht/20 > Channel 4 : 2427 MHz 11g ht/40+ Channel 10 : 2457 MHz 11g > ht/40- > Channel 5 : 2432 MHz 11b Channel 11 : 2462 MHz 11b > Channel 5 : 2432 MHz 11g Channel 11 : 2462 MHz 11g > Channel 5 : 2432 MHz 11g ht/20 Channel 11 : 2462 MHz 11g > ht/20 > Channel 5 : 2432 MHz 11g ht/40+ Channel 11 : 2462 MHz 11g > ht/40- > Channel 5 : 2432 MHz 11g ht/40- Channel 12 : 2467 MHz 11b > Channel 6 : 2437 MHz 11b Channel 12 : 2467 MHz 11g > Channel 6 : 2437 MHz 11g Channel 12 : 2467 MHz 11g > ht/20 > Channel 6 : 2437 MHz 11g ht/20 Channel 13 : 2472 MHz 11b > Channel 6 : 2437 MHz 11g ht/40+ Channel 13 : 2472 MHz 11g > Channel 6 : 2437 MHz 11g ht/40- Channel 13 : 2472 MHz 11g > ht/20 > Channel 7 : 2442 MHz 11b > > I changed my settings to channel 13 since that is using only ht/20. Is that > ok for further testing? > > #ifconfig > 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 13 (2472 MHz 11g ht/20) 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 ampdulimit 64k ampdudensity 8 shortgi wme burst > -apbridge > dtimperiod 1 -dfs > > > > > On Monday, June 29, 2015 12:45 AM, Adrian Chadd wrote: > > > no, you'll have to ask the pfsense people if they provided a UI to set > the channel to HT/20 only. > > > -a > > > On 28 June 2015 at 14:37, Zsolt SZASZ wrote: >> with ifconfig ath0_wlan0 -ampdu ? or default? >> >> >> On 6/28/2015 11:41 PM, Adrian Chadd wrote: >>> >>> 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 >>>>>> >>>>>> >> > >