Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    WiFi authentication

    Scheduled Pinned Locked Moved WiPy 2&3
    wifiwipywipy 1
    7 Posts 4 Posters 2.5k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      michalt38
      last edited by

      Hello,
      to connect to a wifi I need to set a username and password but here: wlan.connect('your-ssid', auth=(WLAN.WPA2, 'your-key')) only password is given. How to set a username?

      1 Reply Last reply Reply Quote 0
      • Y Offline
        YazIdo
        last edited by

        hello , you have to put your home wifi ssid at "your-ssid"

        1 Reply Last reply Reply Quote 0
        • M Offline
          michalt38
          last edited by michalt38

          ssid is a network name but also I have to give a username

          1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino
            last edited by jmarcelino

            That means your network uses WPA-Enterprise (or WPA-802.1X) for authentication, unfortunately for now the WiPy only supports the much more common WPA-PSK (Pre-Shared Key) connections

            I 1 Reply Last reply Reply Quote 0
            • I Offline
              Innocenzo @jmarcelino
              last edited by

              @jmarcelino said in WiFi authentication:

              That means your network uses WPA-Enterprise (or WPA-802.1X) for authentication, unfortunately for now the WiPy only supports the much more common WPA-PSK (Pre-Shared Key) connections.

              So WiPy 2.0 does not support WPA-Enterprise, right?

              But it is an hardware problem or maybe it can support WPA-Enterprise in future?

              Thx.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jmarcelino @Innocenzo
                last edited by

                @Innocenzo

                The hardware definitely supports it and there's even a C example to do it in ESP-IDF:

                https://github.com/espressif/esp-idf/tree/7522b5342320d73036a54501b1773889ecd36c05/examples/wifi/wpa2_enterprise

                However this isn't on the MicroPython side yet.

                I 1 Reply Last reply Reply Quote 2
                • I Offline
                  Innocenzo @jmarcelino
                  last edited by

                  @jmarcelino Thx a lot

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom