[*]Hello!
I've made my experiences with ESP32/uPython. Now I'm testing D1mini Pro.
First I've loaded the firmware 'esp8266-20200326-v1.12-307-gad004db66.bin' with uPyCraft.
Most of the customized ESP32 Sketches are working.
Once the firmware is flashed, I notice an active WLAN 'MicroPython-db5c7f' that was not installed by me.
What's that? Why? I can't login with '12345678(9).
Regards
der_kps
D1mini Pro Firmware drives an AP in background
-
- Posts: 169
- Joined: Fri Aug 19, 2016 11:55 am
Re: D1mini Pro Firmware drives an AP in background
That’s the standard behavior of a freshly installed firmware. See docs. help() tells you how to turn it off. The ESP8266 stores the WiFi configuration in flash so it will stay the way you set it.
Re: D1mini Pro Firmware drives an AP in background
OK!
1.6. WiFi:
'WiFi configuration will be discussed in more detail later in the tutorial.'
Where is later?
2.2. WebREPL - a prompt over WiFi
The benefit should be an alternative to the known commandline.
Actually I'm logged in (ipad) but can't get access (192.168.4.1). I try it later.
And (hence?) I can't find how to turn this behavior off.
I understand only 'railwaystation'
1.6. WiFi:
'WiFi configuration will be discussed in more detail later in the tutorial.'
Where is later?
2.2. WebREPL - a prompt over WiFi
The benefit should be an alternative to the known commandline.
Actually I'm logged in (ipad) but can't get access (192.168.4.1). I try it later.
And (hence?) I can't find how to turn this behavior off.
I understand only 'railwaystation'
Re: D1mini Pro Firmware drives an AP in background
Hello again!
Moments later I recognize that I've scrolled over the solution:
>>> import webrepl_setup
I set it to 'D' and restart.
AP seems not to be running but is still available in WLAN.
Thanks
Moments later I recognize that I've scrolled over the solution:
>>> import webrepl_setup
I set it to 'D' and restart.
AP seems not to be running but is still available in WLAN.
Thanks
-
- Posts: 169
- Joined: Fri Aug 19, 2016 11:55 am
Re: D1mini Pro Firmware drives an AP in background
Section 4 “Network basics”.
I’m not sure I understand what you’re saying, but note that enabling/disabling WebREPL (done using import webrepl_setup) is independent of enabling/disabling the AP (done using network.WLAN(network.AP_IF).active(True/False)).
Re: D1mini Pro Firmware drives an AP in background
By default, when you load a new image onto an ESP8266, it is automatically configured to be an Access Point with an SSID like you note.
The change is persistent so you should only have to do it once.
To disable the AP, you will need to run these command at the REPL...After a fresh install and boot the device configures itself as a WiFi access point (AP) that you can connect to. The ESSID is of the form MicroPython-xxxxxx where the x’s are replaced with part of the MAC address of your device (so will be the same everytime, and most likely different for all ESP8266 chips). The password for the WiFi is micropythoN (note the upper-case N). Its IP address will be 192.168.4.1 once you connect to its network. WiFi configuration will be discussed in more detail later in the tutorial.
Code: Select all
import network
ap = network.WLAN(network.AP_IF)
ap.active(False)
Re: D1mini Pro Firmware drives an AP in background
Well,
'I'll kill that ...' AP.
Thanks to both!
der_kps
stay healthy!
'I'll kill that ...' AP.
Thanks to both!
der_kps
stay healthy!