Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet2 wifi Not connecting

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    83
    3.7k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      @Tisum1979 said in Duet2 wifi Not connecting:

      WiFi firmware version 1.20

      Still on 1.20.

      Please follow this link an update your wifi server firmware.

      https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware

      The correct version for RRF 2.05 is wifi server 1.23

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • Tisum1979undefined
        Tisum1979
        last edited by

        Ran M587 and this is what it shows- Remembered networks:<LF>
        MySpectrumWiFiF8-2G IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0<LF>
        ok<LF>

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

          Did you look at the link?

          Updating WiFi firmware
          Upload the new DuetWiFiServer.bin file to the /sys folder on the on-board SD card, either via the Settings page of DuetWebControl (if WiFi is working), or by temporarily moving the on-board SD card to a PC. If you copy it directly to the SD card on a PC, you must remove the version number from the filename so that its name on the SD card is exactly DuetWiFiServer.bin. If you upload it through the Settings page of DuetWebControl, the renaming will be done automatically.
          Send command M997 S1 to install the new firmware. Preferably, send this command from Pronterface or PanelDue, because then the update status will be reported.
          If you sent the M997 S1 command via the web interface, it will lose the connection and you should allow a minute or so for the firmware installation to complete before you press the Connect button.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Tisum1979undefined
            Tisum1979
            last edited by

            ok, so I did what you said and took the 1.23 off the Duetwifiserver.bin as you said. I loaded it to my SD card from usb way. I uploaded it on yate with the command 997 S1 and this is the response given- - WiFi -<LF>
            Network state is disabled<LF>
            WiFi module is disabled<LF>
            Failed messages: pending 0, notready 0, noresp 0<LF>
            Socket states: 0 0 0 0 0 0 0 0<LF>
            ok<LF>

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

              Now send M552 S1 to re-enable the wifi module and then M122 again to check it.

              When you sent M997 S1 what did it actually say? The text you've posted is the results of M122.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • Tisum1979undefined
                Tisum1979
                last edited by

                I can not connect to my DWCB to be able to load any thing that way. I still get the blue blinking light indicating it is trying to connect to the internet.

                1 Reply Last reply Reply Quote 0
                • Tisum1979undefined
                  Tisum1979
                  last edited by

                  This is what I got- - WiFi -<LF>
                  Network state is changing mode<LF>
                  WiFi module is trying to connect<LF>
                  Failed messages: pending 0, notready 0, noresp 0<LF>
                  WiFi firmware version 1.23<LF>
                  WiFi MAC address 98:f4:ab:cf:be:21<LF>
                  WiFi Vcc 3.33, reset reason Turned on by main processor<LF>
                  WiFi flash size 4194304, free heap 27864<LF>
                  Socket states: 0 0 0 0 0 0 0 0<LF>
                  ok<LF>
                  WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
                  WiFi module is idle<LF>
                  WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
                  WiFi module is idle<LF>

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

                    Remove the SD card from the Duet and put it in your PC.

                    Download this file: https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/DuetWiFiServer.bin

                    and put it in the /sys folder. Overwrite any existing file of the same name.

                    Now put the SD card back in the Duet and connect via USB terminal.

                    Send M997 S1 to flash the wifi firmware.

                    Z-Bot CoreXY Build | Thingiverse Profile

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

                      @Tisum1979 said in Duet2 wifi Not connecting:

                      WiFi firmware version 1.23

                      Ok, at least we got that flashed now.

                      Does your wifi password include any special characters or capital letters?

                      It might be a good idea to set up some macros to make wifi trouble shooting a bit easier.

                      https://github.com/Duet3D/RRF-machine-config-files/blob/master/DBotCoreXY/x0r-wifi-RRF3/macros/Diagnostics/WIFI-Forget Networks

                      https://github.com/Duet3D/RRF-machine-config-files/blob/master/DBotCoreXY/x0r-wifi-RRF3/macros/Diagnostics/WIFI-Add SSID

                      https://github.com/Duet3D/RRF-machine-config-files/blob/master/DBotCoreXY/x0r-wifi-RRF3/macros/Diagnostics/WIFI-Reset Module

                      https://github.com/Duet3D/RRF-machine-config-files/blob/master/DBotCoreXY/x0r-wifi-RRF3/macros/Diagnostics/WIFI-AP-MODE

                      You can download those and use a text editor to edit them to match your own SSID and password.

                      Then put them on the SD card in the /macros folder.

                      Then you can execute them with M98 P"MACRONAME"

                      or you can just use the text of them as a guide on what to type in the USB terminal. The nice thing about the macro for the wifi SSID and password is that it avoids the problem of the USB terminal altering the password being sent.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Tisum1979undefined
                        Tisum1979
                        last edited by

                        This is what was said when I sent M997 S1- M997 S1<LF>
                        M997: File DuetWiFiServer.bin not found<LF>
                        ok<LF>

                        1 Reply Last reply Reply Quote 0
                        • Tisum1979undefined
                          Tisum1979
                          last edited by

                          I feel like I am banging my head against a wall. I went to the link you sent me and downloaded then transfered over to the sd card sys. file but it didn't ask if I wanted to replace existing files.

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

                            It must have found it at some point if M122 says you're using version 1.23 now.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • Tisum1979undefined
                              Tisum1979
                              last edited by

                              I just typed in M122 and it shows the version is 1.23

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

                                Now that you have the wifi server updated, try sending these commands over USB terminal:

                                M552 S0 ; Disable network module
                                M588 S"*" ; Clear all saved wifi networks
                                M587 S"NETWORKNAME" P"PASSWORD" ; add your network
                                M552 S1 ; enable wifi module

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Tisum1979undefined
                                  Tisum1979
                                  last edited by

                                  Keep in mind I am green at this so I don't understand some of the terms used or if I am downloading the correct things

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

                                    No problem. If there's anything you're unsure of, just ask for clarification.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • Tisum1979undefined
                                      Tisum1979
                                      last edited by

                                      My SSID had upper and lower case letters is that an issue

                                      1 Reply Last reply Reply Quote 0
                                      • Tisum1979undefined
                                        Tisum1979
                                        last edited by

                                        Should I use all upper or lower case letters for my password

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

                                          Upper and lower case in the SSID isn't a bit deal, but if you are using upper and lower case in the password you should read the notes here: https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

                                          Many programs used to send GCodes convert all characters to uppercase. In firmware 1.19.2 and later, within any quoted string you can use a single-quote character to indicate that the following character should be changed to lowercase. For example, M587 S"ABC" P"P'A'S'SW'O'R'D" would specify that the password is "PassWord". Use two single quote characters to represent one actual single quote character in the password or in the SSID. For example, if your SSID is "Pete's network" then enter "Pete''s network".

                                          The use of special characters in the SSID cannot be guaranteed to work. In general it's best to avoid most special characters. Spaces, periods, dashes, underscores, and other punctuation is likely ok, but special characters on the number keys likely are not safe. (@#$%^&*). If you are having troubles adding your SSID, try a simplified version with only letters and numbers.

                                          This is why I suggest using a macro to enter the SSID and password, so that it doesn't matter.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • Tisum1979undefined
                                            Tisum1979
                                            last edited by

                                            I did what you said above and entered in my SSID and password which was all lower case with number and it loaded OK. I sent M552 S1 and then M122 while the command was trying to connect and this is what I got-- WiFi -<LF>
                                            Network state is changing mode<LF>
                                            WiFi module is trying to connect<LF>
                                            Failed messages: pending 0, notready 0, noresp 0<LF>
                                            WiFi firmware version 1.23<LF>
                                            WiFi MAC address 98:f4:ab:cf:be:21<LF>
                                            WiFi Vcc 3.33, reset reason Turned on by main processor<LF>
                                            WiFi flash size 4194304, free heap 28264<LF>
                                            Socket states: 0 0 0 0 0 0 0 0<LF>
                                            ok<LF>
                                            WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
                                            WiFi module is idle<LF>

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