Skip to main content
Tapio Valli
Associate II
Nov 13, 2018 7:58 AM UTC
Question

Securing WiFi with XNUCLEOIDW04A1, SPWF04SA: HTTP server, MiniAP, WEP vs WPA(2)

Hello,

​

I am using the above mentioned Wi-Fi board o

In my project. Wi-Fi security is my concern, because the http server works in MiniAP mode which only has Open or WEP security. WEP can be trivially cracked. Is there any possibility to enhance security? Can I run http server in STA mode with WPA2 enabled. Can the MiniAP be enabled to use WPA2?

​

Thanks!

    This topic has been closed for replies.

    6 replies

    Elio Cometti
    Visitor II
    Nov 13, 2018 2:26 PM UTC

    ​Hello,

    Even though it is not mentioned in the user manual, the MiniAP can actually be enabled to use WPA/2:

    wifi_mode=3

    wifi_priv_mode=2

    Regards,

    Elio

    Tapio Valli
    Associate II
    Nov 13, 2018 6:06 PM UTC

    Hello,

    Thanks for your answer. I cannot get WPA2 to work. Here's my workflow

    AT+S.WIFI=0

    AT+S.SCFG=wifi_wpa_psk_text,MyWPAKey

    AT+S.SCFG=ip_apdomainname,mydomain.net

    AT+S.SCFG=wifi_mode,3

    AT+S.SCFG=wifi_auth_type,0

    AT+S.SCFG=wifi_priv_mode,2

    AT+S.WCFG

    AT+S.WIFI=1

    The Wifi AP identifies as WEP, does not accept my MyWPAKey - I cannot make WEP to work either; not that familiar with WEP, I used a calculator to turn my key into hex and the set wep_lens and the current wep [0] .. could not authenticate still. What I am doing wrong here?

    Elio Cometti
    Visitor II
    Nov 13, 2018 6:09 PM UTC

    Hello,

    Can you attach your configuration (AT+S.GCFG​) and status (AT+S.STS)?

    Thanks

    Tapio Valli
    Associate II
    Nov 13, 2018 7:04 PM UTC

    OK, just found out this. I have original 1.0.0 FW, the WPA in Mini AP is available in 1.1.0. Now I need to find how to update firmware

    Elio Cometti
    Visitor II
    Nov 14, 2018 8:57 AM UTC

    ​Hello,

    update instructions are include in the FW package STSW-WIFI004.

    Regards,

    Elio

    Tapio Valli
    Associate II
    Nov 14, 2018 6:53 PM UTC

    Updated the FW to 1.1.0. And I got WPA to work! Thanks Elio, great support from you & ST!