Connecting to home router
-
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
-
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.
-
@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.
-
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.
thank you
-
Hi, I didn't use filezilla but winscp. I can try with filezilla to see if this makes a difference
thank you
-
Did you make sure your Filezilla settings are correct?