More Wifi connection issues (bad reply format version)



  • @dc42 said in Cannot get WIFI to work on a new Duet3D WIFI:

    No. The only known reason for that message is mismatched firmware versions, however there have been a few reports of it, so I am starting to suspect a bug. Recommended workaround when you get it: send M552 S-1, then M552 S0, then try the original command again.

    I have a board exhibited the same symptoms. Tried the above workround without luck as well as updating to 2.05.1 & 1.23. Creating an access point on the Duet does work, across power cycles as well, but no effect on client mode.

    Then I tried changeing my wifi settings, PSK/TKIP & PSK/CCMP to no avail, unable to add network to wifi module.

    Back to basics, reset wifi module, create new network without encryption. Initially the same issue with both networks. Apply M552 S-1 M552 S0 workaround and suddenly able to add unencrypted network. Wifi module immediately connects to the unencrypted network after which I can add the encrypted network details; but still unable to switch to the encrypted network.

    I can replace the wifi module, but maybe its of interest to be able to reproduce the issue at will? M588 S"*" gets be back to being unable to add any network. (Mostly FYI, no urgency in having it sorted on my end)

    I've trimmed some repeated wifi errors but other than the following is in a single session following a M588 S"*" and a reset of the Duet. Router is based on a MediaTek MT7603E 802.11bgn radio and no other ESP8266 clients have issues with WPA2 PSK+CCMP(AES) which is the default encryption.

    RepRapFirmware for Duet 2 WiFi/Ethernet Version 2.03 dated 2019-06-13b2
    WiFi module is disabled
    Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 275C.
    
    Done!
    RepRapFirmware for Duet 2 WiFi/Ethernet is up and running.
    WiFi module started
    Error: Temperature reading fault on heater 1: sensor open circuit
    WiFi reported error: no known networks found
    WiFi module is idle
    M587 S"duetwifi" P"duetwifi"
    M587: Failed to add SSID to remembered list
    ok
    Error retrieving WiFi status message: bad reply format version
    WiFi reported error: no known networks found
    WiFi module is idle
    M587 S"OpenWrt" P""
    M587: Failed to add SSID to remembered list
    ok
    Error retrieving WiFi status message: bad reply format version
    WiFi module is idle
    WiFi reported error: no known networks found
    WiFi module is idle
    M552 S-1
    WiFi module stopped
    ok
    M552 S0
    ok
    WiFi module started
    M587 S"OpenWrt" P""
    ok
    M552 S1
    ok
    WiFi module is connected to access point OpenWrt, IP address 10.11.0.209
    M587 S"duetwifi" P"duetwifi"
    ok
    M587
    Remembered networks:
    OpenWrt IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
    duetwifi IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
    ok
    M552 S0
    ok
    WiFi module is idle
    M552 S1 P"duetwifi"
    ok
    WiFi reported error: Didn't find access point while trying to connect to duetwifi
    WiFi module is idle
    M552 S0
    ok
    WiFi reported error: Didn't find access point while trying to connect to duetwifi
    WiFi module is idle
    M552 S1
    ok
    WiFi module is connected to access point OpenWrt, IP address 10.11.0.209
    

Log in to reply