ARGtek GM5 WLAN 802.11b/g/n (RT3070 RF RT3020 (MIMO 1T1R)) : WPA/WPA2 Problem



  • Hello,

    I setup a USB Wifi adapter on my 2.0RC3, and It work very well. But when i check "Enable WPA" i cannot see anymore my SSID !
    I also try with WPA Mode set to WPA2 (and many more change with many, many reboot after each change to be sure they are applied…) but still not working.
    It is like if my USB WIFI card stop broadcasting when WPA or WPA2 is On... It work in WEP (i can see the SSID broadcasting)

    I run a :
    2.0-RC3 (i386) built on Sun Aug 7 01:58:01 EDT 2011. (do not also work with Fri Aug 12 16:23:11 EDT 2011)

    My USB WIFI Adapter:
    ARGtek GM5 WLAN 802.11b/g/n
    Star Base Model : ARG-0800
    Chipset : Ralink RT3070
    http://www.argtek.com/style/content/CN-08-2cp/product_detail.asp?lang=2&customer_id=1718&name_id=59305&rid=53124&id=302152

    System.log :
    run0: <1.0> on usbus3
    run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 00:0c:43:a6:e4:1f
    run0: firmware RT2870 loaded

    No error message in system.log

    ifconfig run0_wlan0 list caps
    drivercaps=d85c501 <sta,ibss,hostap,shslot,shpreamble,monitor,mbss,wpa1,wpa2,wme,wds>cryptocaps=1b <wep,tkip,aes_ccm,tkipmic>Config on the wireless page:
    Mode: Access Point
    Type : Static
    IP : 192.168.2.1
    Gateway : None
    Mode : Access Point
           Standard : 802.11g
           802.11g OFDM : Protection Mode Off
    Transmit power : 99
    Channel : Auto
    Regulatory Setting : Default, Default,Anywhere
    SSID : ABCDEF
    802.11g Only : Checked
    Enable WPA : Checked
    PSK : testtest
    WPA Mode : WPA
    WPA Key Managemement Mode : Pre Shared Key
    Authentification : Open System Authentification
    WPA Pairwise : AES (recommended)
    KEY Rotation : 60
    MKR : 3600

    All Other CheckBox or field are empty  (as default)

    WORKING : No Protection Mode WPA & WEP Off
    [2.0-RC3][admin@pfSense.localdomain]/root(1): ifconfig -v run0_wlan0
    run0_wlan0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
    ether 00:0c:43:a6:e4:1f
    inet6 fe80::20c:43ff:fea6:e41f%run0_wlan0 prefixlen 64 scopeid 0x9
    inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
    nd6 options=3 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running
    ssid ABCDEF channel 1 (2412 MHz 11g) bssid 00:0c:43:a6:e4:1f
    regdomain 0 country US anywhere -ecm authmode OPEN -wps -tsn
    privacy OFF deftxkey 1
    wepkey 1:40-bit powersavemode OFF powersavesleep 100 txpower 0
    txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
    11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11na    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    11ng    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
    quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
    roam:11a     rssi    7dBm rate 12 Mb/s
    roam:11b     rssi    7dBm rate  1 Mb/s
    roam:11g     rssi    7dBm rate  5 Mb/s
    roam:turboA  rssi    7dBm rate 12 Mb/s
    roam:turboG  rssi    7dBm rate 12 Mb/s
    roam:sturbo  rssi    7dBm rate 12 Mb/s
    roam:11na    rssi    7dBm  MCS  1    
    roam:11ng    rssi    7dBm  MCS  1    
    roam:half    rssi    7dBm rate  6 Mb/s
    roam:quarter rssi    7dBm rate  3 Mb/s
    pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k ampdudensity NA
    -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs -wme -burst -dwds
    -hidessid -apbridge dtimperiod 1 doth -dfs inact bintval 100
    groups: wlan

    NOT WORKING : WPA set
    [2.0-RC3][admin@pfSense.localdomain]/root(2): ifconfig -v run0_wlan0
    run0_wlan0: flags=8902 <up,broadcast,,running,promisc,simplex,multicast>metric 0 mtu 1500
    ether 00:0c:43:a6:e4:1f
    inet6 fe80::20c:43ff:fea6:e41f%run0_wlan0 prefixlen 64 scopeid 0x9
    nd6 options=3 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running
    ssid ABCDEF channel 1 (2412 MHz 11g) bssid 00:00:00:00:00:00
    regdomain 0 country US anywhere -ecm authmode WPA -wps -tsn
    privacy MIXED deftxkey 2
    AES-CCM 2:128-bit powersavemode OFF powersavesleep 100 txpower 0
    txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
    11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11na    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    11ng    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
    quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
    roam:11a     rssi    7dBm rate 12 Mb/s
    roam:11b     rssi    7dBm rate  1 Mb/s
    roam:11g     rssi    7dBm rate  5 Mb/s
    roam:turboA  rssi    7dBm rate 12 Mb/s
    roam:turboG  rssi    7dBm rate 12 Mb/s
    roam:sturbo  rssi    7dBm rate 12 Mb/s
    roam:11na    rssi    7dBm  MCS  1    
    roam:11ng    rssi    7dBm  MCS  1    
    roam:half    rssi    7dBm rate  6 Mb/s
    roam:quarter rssi    7dBm rate  3 Mb/s
    pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k ampdudensity NA
    -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs -wme -burst -dwds
    -hidessid -apbridge dtimperiod 1 doth -dfs inact bintval 100
    groups: wlan

    NOT WORKING :  WPA2 set
    [2.0-RC3][admin@pfSense.localdomain]/root(1): ifconfig -v run0_wlan0
    run0_wlan0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
    ether 00:0c:43:a6:e4:1f
    inet6 fe80::20c:43ff:fea6:e41f%run0_wlan0 prefixlen 64 scopeid 0x9
    inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
    nd6 options=3 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running
    ssid ABCDEF channel 1 (2412 MHz 11g) bssid 00:0c:43:a6:e4:1f
    regdomain 0 country US anywhere -ecm authmode WPA2/802.11i -wps -tsn
    privacy MIXED deftxkey 2
    AES-CCM 2:128-bit powersavemode OFF powersavesleep 100 txpower 0
    txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
    11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11na    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    11ng    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
    quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
    roam:11a     rssi    7dBm rate 12 Mb/s
    roam:11b     rssi    7dBm rate  1 Mb/s
    roam:11g     rssi    7dBm rate  5 Mb/s
    roam:turboA  rssi    7dBm rate 12 Mb/s
    roam:turboG  rssi    7dBm rate 12 Mb/s
    roam:sturbo  rssi    7dBm rate 12 Mb/s
    roam:11na    rssi    7dBm  MCS  1    
    roam:11ng    rssi    7dBm  MCS  1    
    roam:half    rssi    7dBm rate  6 Mb/s
    roam:quarter rssi    7dBm rate  3 Mb/s
    pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k ampdudensity NA
    -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs -wme -burst -dwds
    -hidessid -apbridge dtimperiod 1 doth -dfs inact bintval 100
    groups: wlan

    Any clue ? ???

    Thanks for your help ;)

    Papou</hostap></performnud,accept_rtadv></up,broadcast,running,promisc,simplex,multicast></hostap></performnud,accept_rtadv></up,broadcast,,running,promisc,simplex,multicast></hostap></performnud,accept_rtadv></up,broadcast,running,promisc,simplex,multicast></wep,tkip,aes_ccm,tkipmic></sta,ibss,hostap,shslot,shpreamble,monitor,mbss,wpa1,wpa2,wme,wds>



  • I have a Tenda W311U USB WiFi NIC which is reported as

    run0: <1.0> on usbus3
    run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address c8:3a:35:c4:ee:f3
    run0: firmware RT2870 loaded

    on startup. I'm using WPA2 and can see SSID from it.

    ifconfig run0_wlan0 list caps

    drivercaps=d85c501 <sta,ibss,hostap,shslot,shpreamble,monitor,mbss,wpa1,wpa2,wme,wds>cryptocaps=1b <wep,tkip,aes_ccm,tkipmic># ifconfig -v run0_wlan0
    run0_wlan0: flags=108843 <up,broadcast,running,simplex,multicast,ipfw_filter>metric 0 mtu 1500
    ether c8:3a:35:c4:ee:f3
    inet6 fe80::ca3a:35ff:fec4:eef3%run0_wlan0 prefixlen 64 scopeid 0x9
    inet 192.168.51.173 netmask 0xffffff00 broadcast 192.168.51.255
    nd6 options=3 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running
    ssid zzzz channel 6 (2437 MHz 11g) bssid c8:3a:35:c4:ee:f3
    regdomain ROW country AU indoor -ecm authmode WPA2/802.11i -wps -tsn
    privacy MIXED deftxkey 2
    AES-CCM 2:128-bit
    AES-CCM 3:128-bit powersavemode OFF powersavesleep 100 txpower 30
    txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
    11a    ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11b    ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    11g    ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11na    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    11ng    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
    quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
    roam:11a    rssi    7dBm rate 12 Mb/s
    roam:11b    rssi    7dBm rate  1 Mb/s
    roam:11g    rssi    7dBm rate  5 Mb/s
    roam:turboA  rssi    7dBm rate 12 Mb/s
    roam:turboG  rssi    7dBm rate 12 Mb/s
    roam:sturbo  rssi    7dBm rate 12 Mb/s
    roam:11na    rssi    7dBm  MCS  1   
    roam:11ng    rssi    7dBm  MCS  1   
    roam:half    rssi    7dBm rate  6 Mb/s
    roam:quarter rssi    7dBm rate  3 Mb/s
    -pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k
    ampdudensity NA -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs
    -wme -burst -dwds -hidessid -apbridge dtimperiod 1 doth -dfs inact
    bintval 100
    groups: wlan</hostap></performnud,accept_rtadv></up,broadcast,running,simplex,multicast,ipfw_filter></wep,tkip,aes_ccm,tkipmic></sta,ibss,hostap,shslot,shpreamble,monitor,mbss,wpa1,wpa2,wme,wds>

    Have you changed /boot/loader.conf.local to load the firmware on startup?



  • yes I did it since the begining,I have created and put this line in loader.conf.local

    $ more /boot/loader.conf.local
    runfw_load="YES"

    Without this line the USB device was not available after startup
    anything else to do ? ???



  • @papou:

    anything else to do ? ???

    You could go through your card settings shown by ifconfig and mine to see what is different. I found one difference (there might be more) which I wouldn't expect to "break" WPA2 but there might be a driver bug or hardware bug relating to this.

    I can't think of anything else except see if WPA2 in AP mode works under another OS (e.g. under a recent Linux live CD).



  • Thank you wallabybob, i will check diff-conf.
    I did a try on my ubuntu laptop, and the AP mode is working in WPA2

    A strange thing : Yestarday i did a try with a Netgear W111V2 Usb Key. My server was off, i unplug the ARGTek and plug my Netgear. I boot, and as there are some changes in the LAN configuration, pfesense asked me to assign WAN & LAN port again. I dit it and no trace of interface for the Netgear USB Key. I did not try to make it work for long time, so i unplug the Netgear and re-plug the ARGTeK; I recreate the WLAN interface, first with no WEP/WPA. Ok it brodcast, and i can connect (nothing surprising at all yet… ). Then i activate the WPA2 like as describe in my first post, and then it work ! I reboot, it work again ! (i first think of a corrupted setup interface file, solved by reinstalling the interface). I decide to backup my server  with a live CD on a USB Hardrive, so backup done.
    I reboot and then no more broadcasting.... The led is blinking very fast on the ARGTek and no broadcast.

    My only suspicion (but i do not believe it) is an error message in dmesg.log indicating my CMOS battery is dead but i do not see any relation (expect, perhaps if the wpa crypto algorithm use the Mother Internal time before the ntp as setup up the system time? and it can generate bug.. I will change the battery this evening)

    Just a question : Where are stored the wifi/wpa configuration on the system ?



  • So i change the battery :

    in /var/log/dmesg.boot
    Before :
    …..
    wlan: mac acl policy registered
    RTC BIOS diagnostic error 80 <clock_battery>cryptosoft0: <software crypto="">on motherboard
    ...
    After :
    .....
    wlan: mac acl policy registered
    cryptosoft0: <software crypto="">on motherboard
    .....
    I did the following test:
    Stop the Server
    Remove the USB WIFI
    Boot the Server
    Setup again re0 & sis0
    Plug the USB WIFI
    Setup interface with no WEP & WPA
    It Works
    Setup interface with no WPA2
    It Works !!!

    So, i do not understand…. I let the server up and running for few hours to see if the Wifi will still be there, and then i will try some reboot, to see if it is still working (i doubt....)

    [2.0-RC3][admin@pfSense.localdomain]/root(2): ifconfig -v run0_wlan0
    run0_wlan0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
    ether 00:0c:43:a6:e4:1f
    inet6 fe80::20c:43ff:fea6:e41f%run0_wlan0 prefixlen 64 scopeid 0xa
    inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
    nd6 options=3 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running
    ssid ABCDEF channel 1 (2412 MHz 11g) bssid 00:0c:43:a6:e4:1f
    regdomain 0 country US anywhere -ecm authmode WPA2/802.11i -wps -tsn
    privacy MIXED deftxkey 2
    AES-CCM 2:128-bit
    AES-CCM 3:128-bit powersavemode OFF powersavesleep 100 txpower 0
    txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7
    11a     ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11b     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    11g     ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    turboA  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    turboG  ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    sturbo  ucast NONE    mgmt  6 Mb/s mcast  6 Mb/s maxretry 6
    11na    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    11ng    ucast NONE    mgmt  0 MCS  mcast  0 MCS  maxretry 6
    half    ucast NONE    mgmt  3 Mb/s mcast  3 Mb/s maxretry 6
    quarter ucast NONE    mgmt  1 Mb/s mcast  1 Mb/s maxretry 6
    scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
    roam:11a     rssi    7dBm rate 12 Mb/s
    roam:11b     rssi    7dBm rate  1 Mb/s
    roam:11g     rssi    7dBm rate  5 Mb/s
    roam:turboA  rssi    7dBm rate 12 Mb/s
    roam:turboG  rssi    7dBm rate 12 Mb/s
    roam:sturbo  rssi    7dBm rate 12 Mb/s
    roam:11na    rssi    7dBm  MCS  1    
    roam:11ng    rssi    7dBm  MCS  1    
    roam:half    rssi    7dBm rate  6 Mb/s
    roam:quarter rssi    7dBm rate  3 Mb/s
    pureg protmode OFF -ht -htcompat -ampdu ampdulimit 8k ampdudensity NA
    -amsdu -shortgi htprotmode RTSCTS -puren smps -rifs -wme -burst -dwds
    -hidessid -apbridge dtimperiod 1 doth -dfs inact bintval 100
    groups: wlan

    It is a mystery for me….  ???</hostap></performnud,accept_rtadv></up,broadcast,running,promisc,simplex,multicast></software></software></clock_battery>



  • The configuration work perfectly untill i reboot !  >:(

    Boot normal, no error message, all the network configuration is ok after reboot, but no broadcast….

    I bought an other usb wifi with a RT2770 to see if work better.....

    I keep you informed

    Papou



  • @papou:

    I bought an other usb wifi with a RT2770 to see if work better…..

    I keep you informed

    Papou

    So i bought an "High Power 802.11a/n/b/g 300Mbps USB 2.0 WiFi Wireless Network Dongle" by Kinamax (26.50$ at DealExtrem Shop…) and it work perfectly in WPA2.
    So my ARGTek has clearly and incompatibility problem with FreeBSD. ;)


Log in to reply