🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    My Wi-Fi requires both username and password.

    PRODUCTS
    3
    3
    7.5k
    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.
    • A
      Al Mo
      last edited by

      Hello!

      I got an M5 Grey and I can connect properly to Wi-Fi stations that only require a password (following the code examples included in Arduino). However, at home, I have a router that possibly uses a different protocol, but it asks me for both a username and a password.

      Anyone know how this may be accomplished?

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • F
        fonix232
        last edited by

        It depends on the protocol, as you said. Check in your router what kind of authentication your WiFi uses, and adapt the WiFi connection to that.

        If your home network, for some weird reason, uses WPA2 Enterprise, the ESP32 WiFiClientSecure module should be the one you go for: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino

        1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3 @Al Mo
          last edited by

          @al-mo you can specify the user name and password in the code. I cant remember how its down as I dont use Arduino (i just remember seing a demo) @lukasmaximus may know when he make it back on line.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post