trouble connecting to wifi

zsolty szasz zsolty_szasz at yahoo.com
Mon Jun 29 20:25:03 UTC 2015


I checked all the wireless channels which my adapter supports.
#ifconfig -v ath0_wlan0 list channelChannel   1 : 2412      MHz 11b              Channel   7 : 2442      MHz 11gChannel   1 : 2412      MHz 11g              Channel   7 : 2442      MHz 11g ht/20Channel   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 11bChannel   2 : 2417      MHz 11g              Channel   8 : 2447      MHz 11gChannel   2 : 2417      MHz 11g ht/20     Channel   8 : 2447      MHz 11g ht/20Channel   2 : 2417      MHz 11g ht/40+   Channel   8 : 2447      MHz 11g ht/40-Channel   3 : 2422      MHz 11b              Channel   9 : 2452      MHz 11bChannel   3 : 2422      MHz 11g              Channel   9 : 2452      MHz 11gChannel   3 : 2422      MHz 11g ht/20     Channel   9 : 2452      MHz 11g ht/20Channel   3 : 2422      MHz 11g ht/40+   Channel   9 : 2452      MHz 11g ht/40-Channel   4 : 2427      MHz 11b              Channel  10 : 2457      MHz 11bChannel   4 : 2427      MHz 11g              Channel  10 : 2457      MHz 11gChannel   4 : 2427      MHz 11g ht/20     Channel  10 : 2457      MHz 11g ht/20Channel   4 : 2427      MHz 11g ht/40+   Channel  10 : 2457      MHz 11g ht/40-Channel   5 : 2432      MHz 11b              Channel  11 : 2462      MHz 11bChannel   5 : 2432      MHz 11g              Channel  11 : 2462      MHz 11gChannel   5 : 2432      MHz 11g ht/20     Channel  11 : 2462      MHz 11g ht/20Channel   5 : 2432      MHz 11g ht/40+   Channel  11 : 2462      MHz 11g ht/40-Channel   5 : 2432      MHz 11g ht/40-    Channel  12 : 2467      MHz 11bChannel   6 : 2437      MHz 11b              Channel  12 : 2467      MHz 11gChannel   6 : 2437      MHz 11g              Channel  12 : 2467      MHz 11g ht/20Channel   6 : 2437      MHz 11g ht/20     Channel  13 : 2472      MHz 11bChannel   6 : 2437      MHz 11g ht/40+   Channel  13 : 2472      MHz 11gChannel   6 : 2437      MHz 11g ht/40-    Channel  13 : 2472      MHz 11g ht/20Channel   7 : 2442      MHz 11b
I changed my settings to channel 13 since that is using only ht/20. Is that ok for further testing?
#ifconfigath0_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 at 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 at 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 at 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 at 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 at freebsd.org>
>>>>> wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> That's fine. Ok, try this:
>>>>>
>>>>> ifconfig ath0_wlan0 -ampdu
>>>>>
>>>>> .. then reassociate evryone.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -adrian
>>>>>
>>>>>
>


  


More information about the freebsd-wireless mailing list