• 0 Votes
    5 Posts
    706 Views
    J
    Hello, I released a fully new version (v2.0) of my web server here : https://github.com/jczic/MicroWebSrv2. Open source MIT, fully asynchronous, more robust, more fast and more efficient on Pycom modules. It is delivered with a good documentation. For captive portal, you can use a simple DNS server here (see readme) : https://github.com/jczic/MicroDNSSrv Thank you for your support and feedback. ☺️
  • 1 Votes
    2 Posts
    1k Views
    B
    I was doing the init wrong. I can't get it to give 10.10.10.9 (it gives 10.10.10.11) but I should be able to work with that somehow; will play with it more. Changes: Longer password, combine init into object instantiation. from network import WLAN import machine AP_PASSWORD = '123456abcdef' AP_wlan = WLAN(mode=WLAN.AP, ssid='WiPy', auth = (WLAN.WPA2, AP_PASSWORD), antenna = WLAN.INT_ANT) AP_wlan.ifconfig(id = 1, config = ('10.10.10.10', '255.255.255.252', '0.0.0.0', '0.0.0.0'))