-
hi, using the example found here to connect my lopy to my router. when running the code I can connect and all seems to work ok.
how do I modify the boot.py so it connects on bootup. I have ftp'd the device but unable to read/open boot.py or main.py.
https://docs.pycom.io/lopy/lopy/tutorial/wlan.html#connecting-to-your-home-router
Can you help me modify the boot.py file.
I am unable to open, unable to delete or download
Thank you
-
Did you make sure your Filezilla settings are correct?
-
Hi, I didn't use filezilla but winscp. I can try with filezilla to see if this makes a difference
thank you
-
-
@Bashir said in Connecting to home router:
Hi, I got this working. basically you don't modify boot.py but you add the code to main.py. now after rebooting my lopy it connects to my router.
I'm using the code to connect to my home wifi in the boot.py without any problems. I think the reason for putting it in the boot.py is so that the module doesn't fall back to default wifi settings if you make a mistake in your main.py later on which would prevent the whole main.py from being executed.
-
If you own a home network best wireless router, you'll sometimes need to connect to it for troubleshooting or configuration updates. How to access your router as an administrator requires knowing the router's IP address as well as the administrator login name and password. With wireless routers, you should also be aware of a few common Wi-Fi connection problems and how to solve them.
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