How can I set up an IP address in my WiPyW
-
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
-
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
-
@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.
-
@colombianaus
instead of usingpicocom
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