Skip to main content
Visitor II
November 13, 2018
Question

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

  • November 13, 2018
  • 6 replies
  • 1220 views

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

    Visitor II
    November 13, 2018

    ​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

    Visitor II
    November 13, 2018

    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?

    Visitor II
    November 13, 2018

    Hello,

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

    Thanks

    Visitor II
    November 13, 2018

    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

    Visitor II
    November 14, 2018

    ​Hello,

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

    Regards,

    Elio

    Visitor II
    November 14, 2018

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