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

    Mini 5+ Wifi connection unstable

    Scheduled Pinned Locked Moved Unsolved
    Duet Web Control
    13
    39
    2.2k
    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.
    • oc_geekundefined
      oc_geek @dc42
      last edited by oc_geek

      @dc42

      @dc42 said in Mini 5+ Wifi connection unstable:

      @oc_geek have you tried going to Settings/Machine specific/General in DWC and increasing "Number of maximum AJAX retries" above its default value of 2 ?

      Will try that suggestion. Now i set it to 4

      Unless you are aware of an issue on the card Wifi on a specific channel (which i'm not) this ain't that problem

      We have some evidence that low channel numbers (typically 1) are sometimes problematic. What works best also depends on what other devices use the 2.4GHz band, e.g. cordless phones and leaky microwave ovens.

      That is ruled out (not using those spectrum areas)

      How have you positioned the antenna of the Duet?

      external to the printer

      377bb679-ff08-4fad-80fb-83e096468f50-image.png

      ... folks we run in circles this way

      It IS NOT a wifi issue.
      Files trasfers are VERY fast
      Is is something else related to the idle state

      Diamondbackundefined 1 Reply Last reply Reply Quote 0
      • Diamondbackundefined
        Diamondback @oc_geek
        last edited by

        @oc_geek That doesn't mean it can't be something external... Could be a broken appliance, could be some phone that got recently updated, could be a rogue device etc.
        Could also be a bad WiFi firmware on the Duet, but that's certainly not the only option.

        oc_geekundefined chrishammundefined 2 Replies Last reply Reply Quote 0
        • oc_geekundefined
          oc_geek @dc42
          last edited by oc_geek

          @droftarts said in Mini 5+ Wifi connection unstable:

          Can you also post the response to M122?

          Mine was already attached in the original post

          A wireshark trace will help, because it will show which end is causing the disconnections, and give us somewhere to start investigating. As we’re not experiencing these issues in our testing or setups, we’re reliant on users to do this. A directionless investigation will frustrate everyone.

          Will try that as well... but i'm already guessing where it is happening...don't we ?

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • oc_geekundefined
            oc_geek @Diamondback
            last edited by

            @diamondback said in Mini 5+ Wifi connection unstable:

            @oc_geek That doesn't mean it can't be something external... Could be a broken appliance, could be some phone that got recently updated, could be a rogue device etc.
            Could also be a bad WiFi firmware on the Duet, but that's certainly not the only option.

            Sorry pale but after 3 replaced cards and this beeing the only device on my wireleass having issues....yes it is the only option

            1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @Diamondback
              last edited by

              @diamondback @oc_geek I've always used my WiFi Duets with a FritzBox 6490 and I haven't seen any connection drops yet. Do you have your PC connected via Ethernet and do the same problems occur when DWC is connected from a different device (cell phone or tablet)? Does M122 report an increasing number of reconnects? If the number of reconnects remains 0, please try to connect to your Duet from a private browsing window to rule out potential interference from third-party addons.

              If none of these points help, we'll need a Wireshark dump that contains the traffic between your PC and Duet. That should help us figure out what's going on.

              Duet software engineer

              Diamondbackundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @oc_geek
                last edited by

                @oc_geek said in Mini 5+ Wifi connection unstable:

                @droftarts said in Mini 5+ Wifi connection unstable:

                @diamondback judging by the graph, you and @oc_geek appear to be using the same router? What is it? Can you also post the response to M122?

                Mine was already attached in the original post

                Yes, your M122 was. I was asking what router you had, as it appears to be the same as @Diamondback, judging by the graphic.

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                oc_geekundefined 1 Reply Last reply Reply Quote 0
                • oc_geekundefined
                  oc_geek @droftarts
                  last edited by

                  @droftarts said in Mini 5+ Wifi connection unstable:

                  I was asking what router you had

                  this

                  35387b68-3251-433d-b959-e157f7477c00-image.png

                  1 Reply Last reply Reply Quote 0
                  • Diamondbackundefined
                    Diamondback @chrishamm
                    last edited by

                    @chrishamm PC is connected to router via Ethernet, yes. When the issue starts appearing again I will try the things you mentioned.
                    Thanks for the help πŸ™‚

                    1 Reply Last reply Reply Quote 0
                    • oc_geekundefined
                      oc_geek @droftarts
                      last edited by oc_geek

                      @droftarts said in Mini 5+ Wifi connection unstable:
                      @chrishamm

                      A wireshark trace will help, because it will show which end is causing the disconnections, and give us somewhere to start investigating

                      Something like this when the event occurs is what you are looking for ?
                      (had to rename the file cse does not allow to upload otherwise, just remove .gcode extension....)

                      WS Capture test

                      chrishammundefined 1 Reply Last reply Reply Quote 0
                      • tomasfundefined
                        tomasf
                        last edited by

                        I've always had unstable Wi-Fi with Duet, ever since my first Duet Wifi, regardless of where I put the printer relative to the router and with different channels, router brands, etc. Then I switched to using an SBC and let the Raspberry Pi handle the Wi-Fi connection and it's been rock solid ever since.

                        oc_geekundefined 1 Reply Last reply Reply Quote 0
                        • oc_geekundefined
                          oc_geek @tomasf
                          last edited by

                          @tomasf yeah which again pinpoints the issue... i only though too late that i shall have opted for the ETH variant and use an access point with GE port...and issue solved.

                          1 Reply Last reply Reply Quote 0
                          • chrishammundefined
                            chrishamm administrators @oc_geek
                            last edited by

                            @oc_geek Thanks for the Wireshark dump but it looks good, I cannot see any connection drops between your PC and the Duet in there. No timeouts, no resets, nothing.

                            How do you connect to your Duet, do you enter <hostname>.local or just <hostname> in your browser? If it's one of these two, please connect via the IPv4 address instead and check if that improves things. You can send M552 over DWC to get it.

                            Duet software engineer

                            oc_geekundefined 1 Reply Last reply Reply Quote 0
                            • oc_geekundefined
                              oc_geek @chrishamm
                              last edited by

                              @chrishamm said in Mini 5+ Wifi connection unstable:

                              @oc_geek Thanks for the Wireshark dump but it looks good, I cannot see any connection drops between your PC and the Duet in there. No timeouts, no resets, nothing.

                              How do you connect to your Duet, do you enter <hostname>.local or just <hostname> in your browser? If it's one of these two, please connect via the IPv4 address instead and check if that improves things. You can send M552 over DWC to get it.

                              Yeah you see nothing because as i wrote that was a sample example.... taken when the issue wasn't there

                              Connecting via IP or hostname has zero influence whatsoever

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

                                @dc42 said in Mini 5+ Wifi connection unstable:

                                have you tried going to Settings/Machine specific/General in DWC and increasing "Number of maximum AJAX retries" above its default value of 2 ?

                                I've set it to 4 yesterday
                                so far it seems to hold ; after the night print in the morning i've not found disconnects/reconnects yet... (touching wood)
                                I'll let you know if the issue comes up again
                                Thanks for the advice

                                Michael Hathawayundefined oc_geekundefined 2 Replies Last reply Reply Quote 0
                                • Michael Hathawayundefined
                                  Michael Hathaway @oc_geek
                                  last edited by

                                  Not to state the obvious, but why not just run a Mini 5+ ethernet board? Just add a access point or wireless router to the network and you will have wireless control without the dropouts. I run my printers from both PC and my phone/tablet. πŸ€”

                                  Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
                                  www.MatterHackers.com - https://discord.gg/Ked7GREqux

                                  chrishammundefined 1 Reply Last reply Reply Quote 0
                                  • chrishammundefined
                                    chrishamm administrators @Michael Hathaway
                                    last edited by

                                    @tinken Either way there should be no connection issues. But since we cannot reproduce them on our own, we will need valid Wireshark captures from affected users where drop-outs can be seen before we can start further investigations.

                                    Duet software engineer

                                    dc42undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators @chrishamm
                                      last edited by

                                      If it mainly happens overnight, it could be related to the PC going to sleep.

                                      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

                                      Michael Hathawayundefined 1 Reply Last reply Reply Quote 1
                                      • Michael Hathawayundefined
                                        Michael Hathaway @dc42
                                        last edited by

                                        Sounds like powersaving mode is active on the PC or other gui device.

                                        Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
                                        www.MatterHackers.com - https://discord.gg/Ked7GREqux

                                        stuartofmtundefined 1 Reply Last reply Reply Quote 1
                                        • stuartofmtundefined
                                          stuartofmt @Michael Hathaway
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • stuartofmtundefined
                                            stuartofmt
                                            last edited by

                                            Throwing this out there as I have wrestled with similar symptoms (but in a different context not related to Duet). It was a real struggle to pin down (until it was). Please just take this as a "check the box" comment:

                                            1. Is your router / modem on a scheduled reboot (at night?) ?
                                            2. Does your router provide dynamic channel selection between reboots ?
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA