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

    WiFi Unreliable

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    10
    114
    7.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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      As for the slow wifi speeds it's a bit perplexing as the signal strength seems good and the SD card should be fine.

      I notice you mentioned you have some pis in close proximity on wifi that work ok. Does powering off those pis have any improvement? Perhaps interference?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • DessiVerseundefined
        DessiVerse
        last edited by

        @phaedrux I’ve tried that with no luck. 😕 I’ve also tried in other areas with no luck as well

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

          Can you try setting it up in Access Point mode where the duet creates a network which you then connect to and test the speeds that way?

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

          Z-Bot CoreXY Build | Thingiverse Profile

          DessiVerseundefined 2 Replies Last reply Reply Quote 0
          • DessiVerseundefined
            DessiVerse @Phaedrux
            last edited by

            @phaedrux I can try that, yeah give me a few minutes

            1 Reply Last reply Reply Quote 0
            • DessiVerseundefined
              DessiVerse @Phaedrux
              last edited by

              @phaedrux said in WiFi Unreliable:

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

              Hi so I tried this, and the SSID isn't broadcasting, I also tried a direct connection rather than just browsing for one. It also disconnected from my network so I can no longer connect.

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

                @dessiverse said in WiFi Unreliable:

                @phaedrux said in WiFi Unreliable:

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

                Hi so I tried this, and the SSID isn't broadcasting, I also tried a direct connection rather than just browsing for one. It also disconnected from my network so I can no longer connect.

                Sorry, but I'm not exactly clear on what you mean by this.

                What command did you send to setup the access point mode?

                Z-Bot CoreXY Build | Thingiverse Profile

                DessiVerseundefined 1 Reply Last reply Reply Quote 0
                • DessiVerseundefined
                  DessiVerse @Phaedrux
                  last edited by

                  @phaedrux I initially tried M589 with a custom SSID and password, but that didn't initially work so I tried M589 S"DuetSSID" P"password" I192.168.0.1 C1 from the example. It disconnected from my modem, but it wasn't broadcasting the SSID so I couldn't connect to it.

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

                    Did you try sending M552 S2 after that? That should enable the module in AP mode.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    DessiVerseundefined 2 Replies Last reply Reply Quote 0
                    • DessiVerseundefined
                      DessiVerse @Phaedrux
                      last edited by

                      @phaedrux I'm trying this now, but the second I send M589 the duet goes offline and is unreachable. I'll have to try via USB.

                      1 Reply Last reply Reply Quote 0
                      • Stephen6309undefined
                        Stephen6309 @DessiVerse
                        last edited by

                        @dessiverse This may not be your problem. On a previous firmware for my ASUS RT-AX56U, I had to reboot the router once in a while to get back my wifi connections to my printers. Duet 3 6HC with a PI 4 and Mini 5+.

                        DessiVerseundefined 1 Reply Last reply Reply Quote 0
                        • DessiVerseundefined
                          DessiVerse @Stephen6309
                          last edited by

                          @stephen6309 That's, concerning.

                          1 Reply Last reply Reply Quote 0
                          • DessiVerseundefined
                            DessiVerse @Phaedrux
                            last edited by

                            @phaedrux Hello, finally got to test it, and using the Duet in AP mode there were 0 speed issues. Any ideas as to the causality of the original problem?

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

                              So AP mode the speed is great, but when connecting through your router the speed is poor?

                              That would tell me there might be something going on with your router settings maybe. What kind of wifi router are you using?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              DessiVerseundefined 1 Reply Last reply Reply Quote 0
                              • DessiVerseundefined
                                DessiVerse @Phaedrux
                                last edited by DessiVerse

                                @phaedrux It's the Xfinity Modem / Router combo. I don't think it's an issue with the router only because no devices on my network have any speed issues. Even 2.4GHz devices. I have a Pi 3 that runs on 2.4GHz mode that I was using with SBC and it had no issues with speed.

                                EDIT: Is there any diagnosing things I can do to confirm if that is the case somehow?

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

                                  I'm not saying the router has a problem in and of itself, other than it might not be playing nicely with the duet wifi module. Though any time there have been issues like this it's been with ISP provided gear. Off the shelf stuff usually works without issue.

                                  You mentioned a wifi repeater as well. What is it and how is it configured? Is the Duet using the repeater or direct to the router?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  DessiVerseundefined 2 Replies Last reply Reply Quote 0
                                  • DessiVerseundefined
                                    DessiVerse @Phaedrux
                                    last edited by

                                    @phaedrux The repeater is like a pod Xfinity offers? I'm not really sure how it is configured. The Duet is using the repeater as well

                                    1 Reply Last reply Reply Quote 0
                                    • DessiVerseundefined
                                      DessiVerse @Phaedrux
                                      last edited by

                                      @phaedrux Question, is it possible to view the dashboard via OctoPrint or another way? I'm trying to see if I can bridge the connection to mitigate the WiFi issue

                                      1 Reply Last reply Reply Quote 0
                                      • stuartofmtundefined
                                        stuartofmt @DessiVerse
                                        last edited by

                                        @dessiverse said in WiFi Unreliable:

                                        Is there any diagnosing things I can do to confirm if that is the case somehow?

                                        Maybe try tracert (win) or traceroute (linux) to the Duet from other machines may give some clues. If there are repeaters involved the results may (or not 😞 ) point to some differences.
                                        Also - is the repeater a bridge (same ip subnet on either side of the repeater) or is there a different subnet to the router? If the latter - what happens when everything is on the router side with the repeater turned off (just for luck 🙂 ) ?

                                        DessiVerseundefined 1 Reply Last reply Reply Quote 0
                                        • DessiVerseundefined
                                          DessiVerse @stuartofmt
                                          last edited by

                                          @stuartofmt I tried SSHing into the duet but it wasn't letting me connect? It kept saying connection refused so I couldn't diagnose most things at its end

                                          stuartofmtundefined 1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators @DessiVerse
                                            last edited by dc42

                                            @dessiverse, here is how you can test whether it is the WiFi or the SD card writing that is slowing down the upload speed in standalone mode:

                                            1. To test the upload speed, rename a large GCode file (or any other file) to a name ending in ".dummy", then try to upload it on the Jobs page. You will need to set the file filter to "all files" to allow you to select that file. This will upload the file without writing it to SD card.

                                            2. To test the SD card write speed, send M122 P104.

                                            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

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