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

    How can I set up an IP address in my WiPyW

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy2.0
    4 Posts 3 Posters 1.4k Views 3 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.
    • C Offline
      ColombianAus
      last edited by

      Hello Everyone,

      I set up a fixed IP address for my WiPy a while ago, and I can't remember it. How can I configure a new IP address again? I can connect using picocom command.

      Cheers
      ColombianAus

      L robert-hhR 2 Replies Last reply Reply Quote 0
      • L Offline
        livius @ColombianAus
        last edited by

        @colombianaus
        instead of using picocom
        i recommend you run device in safe mode
        https://docs.pycom.io/chapter/toolsandfeatures/bootmodes.html
        it then start in AP mode
        then connect to it by ftp and replace script

        think about people first, then computers

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

          @colombianaus Since that must be set in main.py, you could simply dump main.py with the following commands at the REPL in picocom:

          f = open("main.py", "r")
          for _ in f.readlines():
              print(_)
          f.close()
          

          For boot.py, just change the name in the open statement.

          1 Reply Last reply Reply Quote 0
          • C Offline
            ColombianAus
            last edited by

            Hello @robert-hh and @livius , thanks for your suggestions. I have decided to do a full factory reset and start from scratch. However I appreciate your advise

            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