Is there a possibility to change credentials of LoPy device?
-
The default credentials of ftp are always
username: micro
pass: python
Is there a possibility to change those? -
-
@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?
-
@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
-
@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?
-
@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
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