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 not working out of the box

    Scheduled Pinned Locked Moved LoPy
    wlan
    5 Posts 2 Posters 232 Views 2 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
      mbivans
      last edited by

      I recently purchased a LoPy4 and when it arrived, the wifi was not broadcasting in AP mode as it should. I have tried to turn it on through the console with no success. Is there anything I can do to test that it is indeed working and get it in AP mode? When I enter the commands from the guide I get an error that 'wlan' is not recognized.

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @mbivans
        last edited by

        @mbivans Which firmware version is loaded to the module? You get that by either pushing Ctrl-B or by the commands:

        import uos
        uos.uname()

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

          1.20.2.rc6 [v1.11-o1f49f7] pybytes version 1.3.1

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

            I downgraded the firmware to 1.18.2.r2 and reconfigured it to AP mode and now it seems to work.

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @mbivans
              last edited by robert-hh

              @mbivans It seems to me that your problem was cause by PyBytes. You cango back to V1.20.2rc6, and once you have the REPL open, issue the commands:

              import pycom
              pycom.pybytes_on_boot(False)
              

              That setting survives reboot and power cycling, and will result in performing the expected and documented behavior.

              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