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

Unable to connect to DWC after startup

Scheduled Pinned Locked Moved
Duet Web Control
3
40
3.0k
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.
  • undefined
    NitroFreak
    last edited by 1 Apr 2019, 12:46

    Ok so i have just updated the Wifi firmware version to 1.22 from the separate .bin file, we will see if that fixes the problem.
    David you may want to check if you surely included the Wifi firmware 1.22 in the Duet2Firmware-2.02a.zip, since i got my Duet at the start of February, and only updated at the start of march.
    My downloaded and unzipped folder included the 1.21 version?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by dc42 4 Feb 2019, 11:04 2 Apr 2019, 11:04

      I have just verified that the Duet2Firmware-2.02a zip file in the Releases area does include DuetWiFiServer.bin version 1.22. But I have now added Duet2Firmware-2.02b.zip which includes DuetWiFiserver.bin version 1.23.

      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
      • undefined
        NitroFreak
        last edited by NitroFreak 4 Feb 2019, 13:53 2 Apr 2019, 13:37

        Okay so it happened again, this time much earlier than the usual 2-day cycle. Still can´t connect back up, it has been like this for the last 5 hours. So the 1.22 version did not change this. I´ll try updating to 1.23 once it comes back up.
        It´s just weird that, the Duet says it´s connected, so the problem must lie with the PC or router. But when i restart both of them, the problem does not go away?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 2 Apr 2019, 16:11

          Does the router say that the Duet is still connected, or not?

          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

          undefined 1 Reply Last reply 2 Apr 2019, 20:06 Reply Quote 0
          • undefined
            NitroFreak @dc42
            last edited by 2 Apr 2019, 20:06

            @dc42
            Where do i check that?

            undefined 1 Reply Last reply 2 Apr 2019, 20:13 Reply Quote 0
            • undefined
              Phaedrux Moderator @NitroFreak
              last edited by 2 Apr 2019, 20:13

              @nitrofreak You'd have to log into the routers configuration page.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                NitroFreak
                last edited by 4 Apr 2019, 00:18

                Ok so it works again and i have updated to Wifiserver 1.23
                I just checked with the router and this is what i got.

                0_1554337039456_router.png

                It says it is connected, but it is no witchcraft since the DWC works also at the moment.
                If i get another disconnect, i will check back if it says the same address, correct?

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by 4 Apr 2019, 00:22

                  It looks like it says dynamic rather than static. You may be able to tell the router to assign the same IP address every time.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    NitroFreak
                    last edited by 4 Apr 2019, 01:02

                    Ok so i´ve just had a disconnect, just around the time i was looking around in the router system.

                    0_1554339576845_IMG_2983.JPG

                    I checked in the router, and the 192.168.0.199 , so my printer, was still marked as connected.
                    That disconnect settled itself after a restart though.
                    So i tried switching off the duet, and check if it said it was still connected, which it did. It did not disapper for about 5-10 minutes after i had shut the duet down. When i restarted the duet, it was right back there.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 4 Apr 2019, 10:48

                      Next time it disconnects, check the IP address again in the router or on PanelDue (by sending M552), then see if you can ping that IP address from your PC.

                      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
                      • undefined
                        NitroFreak
                        last edited by 27 Apr 2019, 18:55

                        Ok so i wasn´t printing for some time, but i started it back up again now. DWC does not work.
                        So i checked the M552 and it says it is connected to the usual (197.168.0.199) address.
                        I check the router and it does say that it is connected.
                        I tried to ping it and this is what came out
                        0_1556391323122_ping.png

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          NitroFreak
                          last edited by 1 May 2019, 21:38

                          Now it works again

                          0_1556746709974_ping2.png

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 4 May 2019, 14:52

                            Have you tried setting your router to use a different WiFi channel? I recently encountered a situation in which a laptop used to connect reliably to a Duet WiFi running in AP mode; but when the pair were moved to the hall at 3D Meetup Sweden, it kept disconnecting. A wifi scan showed that the entire wifi spectrum was congested. Changing the WiFi channel resolved the problem (AFAIR we changed it from channel 6 to channel 2, but channel 1 might have been better).

                            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

                            undefined 1 Reply Last reply 1 Aug 2019, 16:05 Reply Quote 0
                            • undefined
                              NitroFreak
                              last edited by NitroFreak 31 Jul 2019, 16:51

                              Ok so this hasn´t happened for quite a while now, but now here it is again.
                              Resetting and restarting the router has no effect.
                              This time the Duet also says that it is not connected to the wifi (it doesnt really say that, it just does not say anything about wifi being connected)
                              I can´t set the router to use a specific channel, and it doesnt show me which channel it is using.
                              All i can do is set what frequency i want.
                              What should i set?
                              1_1564591854204_duet2.png 0_1564591854204_duet1.png

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                NitroFreak @dc42
                                last edited by 1 Aug 2019, 16:05

                                @dc42 said in Unable to connect to DWC after startup:

                                Have you tried setting your router to use a different WiFi channel?

                                I tried filling the three "favorite" boxes with any of the corresponding Wifi channels frequencies but no luck. This is now going on for two days, longer than it ever has.
                                What else could i do?

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  NitroFreak
                                  last edited by 21 Aug 2019, 18:01

                                  Ok so this seems permanent now. 20 days later and i still can´t connect anymore.
                                  Any idea?

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator
                                    last edited by 21 Aug 2019, 18:10

                                    As an exercise to test the functioning of the wifi module, can you try setting it up in access point mode where the duet creates its own wifi network that you connect to.

                                    https://duet3d.dozuki.com/Wiki/Gcode#Section_M552_Set_IP_address_enable_disable_network_interface

                                    https://duet3d.dozuki.com/Wiki/Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

                                    M552 S2 and M587 to set the IP of the access point

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      NitroFreak
                                      last edited by 21 Aug 2019, 18:31

                                      Ok so i tried this. I first set
                                      M552 S-1 to disable
                                      M552 S2 to configure access point

                                      Then i tried the M587 command but it didn´t let me ("Failed to add SSID to remembered list") so i checked with M552 and it says that the wifi module is being started, and that doesn´t change.
                                      What does that mean?

                                      undefined 1 Reply Last reply 21 Aug 2019, 19:42 Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator @NitroFreak
                                        last edited by Phaedrux 21 Aug 2019, 19:42

                                        @nitrofreak said in Unable to connect to DWC after startup:

                                        M552 S-1 to disable

                                        Instead of S-1, try S0 instead.

                                        Then I think you need to configure M587 with SSID for the duet, and IP address first, then enable access point mode with M552 S2

                                        It's been a while since I've put it into access point mode.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined undefined 2 Replies Last reply 21 Aug 2019, 20:14 Reply Quote 0
                                        • undefined
                                          NitroFreak @Phaedrux
                                          last edited by NitroFreak 21 Aug 2019, 20:14

                                          @phaedrux said in Unable to connect to DWC after startup:

                                          Instead of S-1, try S0 instead.

                                          Then I think you need to configure M587 with SSID for the duet, and IP address first, then enable access point mode with M552 S2

                                          It's been a while since I've put it into access point mode.

                                          Doesnt work, I´ve tried every combination, if i do
                                          M552 S0
                                          M552 S2
                                          it says i have to stop the running wifi mode before selecting the new mode.
                                          If i do the M587 while either S-1 S0 or S2 is active, it gives me
                                          "Failed to add SSID to remembered list"

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