You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • If you have control over the network, you should under no circumstances run a wifi network using WEP - you might as well not "secure" it at all; WEP was blown wide open years ago, and is now trivial to break into.

    The CC3000 supports it, but the module does not:

    In /libs/network/cc3000/jswrap_cc3000.c
    we see this:

      char ap[32];
      char key[32];
      unsigned long security = WLAN_SEC_UNSEC;
      jsvGetString(vAP, ap, sizeof(ap));
      if (jsvIsString(vKey)) {
        security = WLAN_SEC_WPA2;
        jsvGetString(vKey, key, sizeof(key));
      }
    

    So it looks like if any key is supplied, it uses WPA2.

    I just changed that to WLAN_SEC_WEP and kicked off a build to test with
    http://drazzy.com/espruino/espruino_1v68_espruino_1r3_CC3k_wep.bin

    This does NOT have the bigram changes, and I didn't bother changing compiler flags, so you can't save() with it - but that should be enough to test whether that's all that's needed to make it work with WEP.

About

Avatar for DrAzzy @DrAzzy started