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

    Is there a possibility to change credentials of LoPy device?

    Scheduled Pinned Locked Moved LoPy
    lopycredentialsftp
    6 Posts 2 Posters 1.9k 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.
    • N Offline
      nukeburns
      last edited by

      The default credentials of ftp are always
      username: micro
      pass: python
      Is there a possibility to change those?

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

        https://docs.pycom.io/pycom_esp32/library/network.Server.html

        N 1 Reply Last reply Reply Quote 1
        • N Offline
          nukeburns @jmarcelino
          last edited by nukeburns

          @jmarcelino the credentials of ftp are changed. I see i can still use the old user and pass when i use Pymaker. Is this normal? Can i change this to? Or i just need to disable boot.py code?

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

            @nukeburns
            Connecting over the serial port? That doesn't require any credentials (the ones shown on Pymaker preferences aren't really used AFAIK). The dupterm() connects the REPL to the UART directly.

            Yes to stop that you'd have to remove the os.dupterm(..) line from boot.py

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nukeburns @jmarcelino
              last edited by nukeburns

              @jmarcelino after removing the os.dumpterm it is not possible to control over usb but all pins RXD and TXD are also disabled. Is there a possibility to just disable usb and sd?

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

                @nukeburns
                Not sure what you mean. For FTP changes to stick between boots you to put the server.init() code to change the credentials into boot.py

                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