Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2015 08:17:26 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Zsolt SZASZ <zsolty_szasz@yahoo.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: trouble connecting to wifi
Message-ID:  <CAJ-VmomV2fZjsDkKqDdChesSsHAenVtY%2BotMgZWb0=-owX3pCw@mail.gmail.com>
In-Reply-To: <559397C4.6000700@yahoo.com>
References:  <CAJ-Vmokz5Lj4xnn2qStFONmrb3GTGVAt%2B1L=0FmDTGXYfc7yaA@mail.gmail.com> <40578426.2258333.1435608895736.JavaMail.yahoo@mail.yahoo.com> <CAJ-VmonTY1tFqdy8%2Bhs6i770Mv89o3yNP83JzeKXDyzPU%2BK8fg@mail.gmail.com> <559397C4.6000700@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Let me go and see what the erm, "blessed" way in net80211 is to
disable ht40, then we can go from there.

(I really should default 2GHz to HT/20..)


-adrian


On 1 July 2015 at 00:33, Zsolt SZASZ <zsolty_szasz@yahoo.com> wrote:
> Its working stable!
> I try to contact the pfsense core team about this option to be added in the
> future.
> Shall I install 11-Current and continue from there with the testing?
>
>
> On 6/30/2015 12:19 AM, Adrian Chadd wrote:
>>
>> 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 <zsolty_szasz@yahoo.com> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<PERFORMNUD,AUTO_LINKLOCAL>
>>>          media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
>>> <hostap>
>>>          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 <adrian@freebsd.org>
>>> 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 <zsolty_szasz@yahoo.com> 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 <zsolty_szasz@yahoo.com> wrote:
>>>>>>
>>>>>> ifconfig returns this (ifconfig ath0_wlan0 -ampdu is setup):
>>>>>>
>>>>>> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>>>>>> 2290
>>>>>>           ether 30:b5:c2:63:51:77
>>>>>>           nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>>>>>           media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
>>>>>> <hostap>
>>>>>>           status: running
>>>>>>
>>>>>> ath0_wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<PERFORMNUD,AUTO_LINKLOCAL>
>>>>>>           media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
>>>>>> <hostap>
>>>>>>           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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>>>>>> 2290
>>>>>>           ether 30:b5:c2:63:51:77
>>>>>>           nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>>>>>>           media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>>>>>> <hostap>
>>>>>>           status: running
>>>>>>
>>>>>> ath0_wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<PERFORMNUD,AUTO_LINKLOCAL>
>>>>>>           media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>>>>>> <hostap>
>>>>>>           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 <zsolty_szasz@yahoo.com>
>>>>>>> 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 <adrian@freebsd.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> That's fine. Ok, try this:
>>>>>>>>
>>>>>>>> ifconfig ath0_wlan0 -ampdu
>>>>>>>>
>>>>>>>> .. then reassociate evryone.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -adrian
>>>>>>>>
>>>>>>>>
>>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomV2fZjsDkKqDdChesSsHAenVtY%2BotMgZWb0=-owX3pCw>