Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Failed to add SSID to remembered list Duet 2 WIFI

    General Discussion
    6
    12
    1653
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lickett_E_Splitt
      Lickett_E_Splitt last edited by

      Not sure what step to take next. I'm trying to connect to the WIFI network.

      The router is an ASUS RT-AC66R that's hidden. It has WPA2-Personal security if that makes a difference. I've tried both the 2.4 and 5 bands. I set my cellphone as a hotspot and tried that. All with the same results.

      The commands sent are below followed by the results of M122.

      For brevity I cut out the "no known networks found" and "WIFI module is idle" that were between the commands.

      M552 S0
      ok
      WiFi reported error: no known networks found
      M552 S1
      ok
      WiFi reported error: no known networks found
      M587 S"My SSID was here" P"My Network Password was here"
      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
      M587
      M587: Failed to retrieve network list
      ok
      Error retrieving WiFi status message: bad reply format version
      WiFi module is idle
      M588 S"*"
      M588: Failed to reset the WiFi module to factory settings
      ok
      Error retrieving WiFi status message: bad reply format version
      WiFi module is idle
      M587
      M587: Failed to retrieve network list
      ok
      Error retrieving WiFi status message: bad reply format version
      WiFi module is idle

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
      Board ID: 08DGM-917DA-G4MSD-6J1F8-3SJ6L-K8TV9
      Used output buffers: 13 of 20 (13 max)
      === RTOS ===
      Static ram: 25524
      Dynamic ram: 98532 of which 0 recycled
      Exception stack ram used: 256
      Never used ram: 6760
      Tasks: NETWORK(ready,1240) HEAT(blocked,1256) MAIN(running,3868) IDLE(ready,200)
      Owned mutexes:
      === Platform ===
      Last reset 00:01:42 ago, cause: power up
      Last software reset time unknown, reason: Heat task stuck, spinning module Platform, available RAM 6356 bytes (slot 0)
      Software reset code 0x00a0 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0043380f BFAR 0xe000ed38 SP 0x2000493c Task 0x4e49414d
      Stack: 0043ca33 00449aae 41000000 00000000 00000000 00000000 00000000 3e178897 3e1cd04f 41880000 3e3a33b0 3e638eb9 3e92497a 3b750939 3ecccd35 bd7a7541 3f800000 c0a00000 00000000 60000010 00000001 2000855c 0043ca33
      Error status: 0
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest block write time: 0.0ms, max retries 0
      MCU temperature: min 22.5, current 28.1, max 28.1
      Supply voltage: min 0.0, current 0.3, max 0.3, under voltage events: 0, over voltage events: 0, power good: no
      Driver 0: ok, SG min/max not available
      Driver 1: ok, SG min/max not available
      Driver 2: ok, SG min/max not available
      Driver 3: ok, SG min/max not available
      Driver 4: ok, SG min/max not available
      Date/time: 1970-01-01 00:00:00
      Cache data hit count 195632570
      Slowest loop: 201.06ms; fastest: 0.06ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
      === Move ===
      Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
      Scheduled moves: 0, completed moves: 0
      Bed compensation in use: none
      Bed probe heights: 0.000 0.000 0.000 0.000 0.000
      === Heat ===
      Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Stack records: 1 allocated, 0 in use
      Movement lock held by null
      http is idle in state(s) 0
      Error retrieving WiFi status message: bad reply format version
      WiFi module is idle
      WiFi reported error: no known networks found

      1 Reply Last reply Reply Quote 0
      • nhof
        nhof last edited by

        Couple things to try:

        1. Make sure you are using the latest wifiserver version
        2. Turn the wifi module totally off, then back on to idle (M552 S-1, followed by M552 S0) then try to run the commands again.
        1 Reply Last reply Reply Quote 1
        • dc42
          dc42 administrators last edited by

          @lickett_e_splitt said in Failed to add SSID to remembered list Duet 2 WIFI:

          Error retrieving WiFi status message: bad reply format version

          As @nhof says. This message:

          Error retrieving WiFi status message: bad reply format version

          suggests that the main and WiFi firmware versions may be out of step. Try upgrading the WiFi firmware to DuetWiFiServer version 1.23, available from https://github.com/dc42/RepRapFirmware/releases/download/2.03beta3/DuetWiFiServer.bin.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • Lickett_E_Splitt
            Lickett_E_Splitt last edited by

            I just downloaded the WIFI Firmware from the Github link above, uploaded it, It counted down in 5% increments and I got Upload Successful.

            M122 still reports

            M122
            === Diagnostics ===
            RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
            Board ID: 08DGM-917DA-G4MSD-6J1F8-3SJ6L-K8TV9
            Used output buffers: 7 of 20 (7 max)
            === RTOS ===

            Then

            M587 S"my SSID" P"My network password"
            ok
            WiFi reported error: no known networks found
            WiFi module is idle
            WiFi reported error: no known networks found
            WiFi module is idle
            WiFi reported error: no known networks found
            WiFi module is idle
            M587
            M587: Failed to retrieve network 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
            WiFi reported error: no known networks found
            WiFi module is idle
            M552 S1
            ok
            WiFi reported error: no known networks found
            WiFi module is idle
            WiFi reported error: no known networks found
            WiFi module is idle
            WiFi reported error: no known networks found
            WiFi module is idle
            M587 S"my SSID" P"My network password"
            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

            1 Reply Last reply Reply Quote 0
            • Phaedrux
              Phaedrux Moderator last edited by

              Does it actually show version 1.23 for the wifi server version at the end of the M122 report?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 1
              • dc42
                dc42 administrators last edited by

                I suspect that your board has a faulty WiFi module, because you shouldn't be getting that "bad reply format version" message. Are you able to read the WiFi firmware version from the WiFi section of the M122 report, as @Phaedrux suggests?

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • Lickett_E_Splitt
                  Lickett_E_Splitt last edited by

                  Sorry, thought I had all the output from M122 that we needed. Here is the full output.

                  WiFi module is idle
                  M122
                  === Diagnostics ===
                  RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
                  Board ID: 08DGM-917DA-G4MSD-6J1F8-3SJ6L-K8TV9
                  Used output buffers: 4 of 20 (4 max)
                  === RTOS ===
                  Static ram: 25524
                  Dynamic ram: 98532 of which 0 recycled
                  Exception stack ram used: 256
                  Never used ram: 6760
                  Tasks: NETWORK(ready,1276) HEAT(blocked,1256) MAIN(running,3868) IDLE(ready,200)
                  Owned mutexes:
                  === Platform ===
                  Last reset 00:00:21 ago, cause: power up
                  Last software reset time unknown, reason: Heat task stuck, spinning module Platform, available RAM 6356 bytes (slot 0)
                  Software reset code 0x00a0 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0043380f BFAR 0xe000ed38 SP 0x2000493c Task 0x4e49414d
                  Stack: 0043ca33 00449aae 41000000 00000000 00000000 00000000 00000000 3e178897 3e1cd04f 41880000 3e3a33b0 3e638eb9 3e92497a 3b750939 3ecccd35 bd7a7541 3f800000 c0a00000 00000000 60000010 00000001 2000855c 0043ca33
                  Error status: 0
                  Free file entries: 10
                  SD card 0 detected, interface speed: 20.0MBytes/sec
                  SD card longest block write time: 0.0ms, max retries 0
                  MCU temperature: min 21.4, current 25.2, max 25.3
                  Supply voltage: min 0.0, current 0.1, max 0.2, under voltage events: 0, over voltage events: 0, power good: no
                  Driver 0: ok, SG min/max not available
                  Driver 1: ok, SG min/max not available
                  Driver 2: ok, SG min/max not available
                  Driver 3: ok, SG min/max not available
                  Driver 4: ok, SG min/max not available
                  Date/time: 1970-01-01 00:00:00
                  Cache data hit count 39256480
                  Slowest loop: 0.26ms; fastest: 0.06ms
                  I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
                  === Move ===
                  Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
                  Scheduled moves: 0, completed moves: 0
                  Bed compensation in use: none
                  Bed probe heights: 0.000 0.000 0.000 0.000 0.000
                  === Heat ===
                  Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                  Heater 1 is on, I-accum = 0.0
                  === GCodes ===
                  Segments left: 0
                  Stack records: 1 allocated, 0 in use
                  Movement lock held by null
                  http is idle in state(s) 0
                  telnet is idle in state(s) 0
                  file is idle in state(s) 0
                  serial is ready with "M122" in state(s) 0
                  aux is idle in state(s) 0
                  daemon is idle in state(s) 0
                  queue is idle in state(s) 0
                  autopause is idle in state(s) 0
                  Code queue is empty.
                  === Network ===
                  Slowest loop: 1.27ms; fastest: 0.00ms
                  Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                  HTTP sessions: 0 of 8

                  • WiFi -
                    Network state is changing mode
                    WiFi module is idle
                    Failed messages: pending 0, notready 0, noresp 0
                    Failed to get WiFi status
                    Socket states: 0 0 0 0 0 0 0 0
                    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
                  1 Reply Last reply Reply Quote 0
                  • Lickett_E_Splitt
                    Lickett_E_Splitt last edited by

                    Not sure why it looks like the M122 cuts off after Socket States:

                    1 Reply Last reply Reply Quote 0
                    • dc42
                      dc42 administrators last edited by

                      Please ask for your Duet to be replaced under warranty. i think it needs a new WiFi module.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      UnderDoneSushi 1 Reply Last reply Reply Quote 0
                      • UnderDoneSushi
                        UnderDoneSushi @dc42 last edited by UnderDoneSushi

                        @dc42 I think I am having the same issue on a v1.02 board that I hadn't ever used and am just now using after over 2 years since buying from Filastruder. I just uploaded Duet2Firmware-2.05.1.zip and DuetWiFiServer-1.23.bin. The wifi module blinks once when plugging into my desktop and M122 reads as follows ---

                        === Network ===
                        Slowest loop: 1.25ms; fastest: 0.00ms
                        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                        HTTP sessions: 0 of 8
                        - WiFi -
                        Network state is changing mode
                        WiFi module is idle
                        Failed messages: pending 0, notready 0, noresp 2
                        Failed to get WiFi status
                        Socket states: 0 0 0 0 0 0 0 0
                        
                        
                        A Former User 1 Reply Last reply Reply Quote 0
                        • A Former User
                          A Former User @UnderDoneSushi last edited by

                          @UnderDoneSushi said in Failed to add SSID to remembered list Duet 2 WIFI:

                          I think I am having the same issue on a v1.02 board

                          probably best to make a new topic instead of adding to a year old one.

                          create the macros from the link below then run them, or send each individual command from all three over USB and post the output of it all in a new topic if it doesn't sort the issue. (you can skip M291)

                          also substitute your own wifi details in M587 ofc.

                          https://forum.duet3d.com/post/139882

                          UnderDoneSushi 1 Reply Last reply Reply Quote 1
                          • UnderDoneSushi
                            UnderDoneSushi @Guest last edited by

                            @bearer thank bearer, yeah I should have just posted it in a new one

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA