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

    Macro for setting up your network

    Scheduled Pinned Locked Moved
    Gcode meta commands
    9
    19
    1.3k
    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 @stuartofmt
      last edited by

      @stuartofmt I think what seems to happen sometimes with dual band networks is that the router erroneously steers the Duet to the 5ghz network even though the Duet can't use it. I'm not sure if that's ever been definitively confirmed though.

      Z-Bot CoreXY Build | Thingiverse Profile

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

        @Phaedrux said in Macro for setting up your network:

        @stuartofmt I think what seems to happen sometimes with dual band networks is that the router erroneously steers the Duet to the 5ghz network even though the Duet can't use it. I'm not sure if that's ever been definitively confirmed though.

        I suspect that some different network issue(s) may have been explained away as such. Unless the client was sitting "right on top of the router antenna" - it should not be possible for a 2.4GHz client to even "see" a 5Ghz signal. Still ... stranger things have happened.

        I'm just a bit leery of pointing people towards what might be an unnecessary complication (i.e. splitting SSIDs into separate frequency bands).

        1 Reply Last reply Reply Quote 1
        • OwenDundefined
          OwenD @Macgyver
          last edited by

          @Macgyver
          It's a pity M587.2 doesn't have an option to return an array with just SSID names.
          Then you could cut out incorrect entries.

          Unfortunately it only gives a text output full of unnecessary information (for a macro) or a json return

          1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @stuartofmt
            last edited by

            @stuartofmt it's been a problem 2008-2012ish in some networks I've been on, but I can say its never been a problem for a Duet2Wifi, Duet3mini, or any of the ESP8266/ESP32 modules for the STM port.

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            1 Reply Last reply Reply Quote 0
            • mrehorstdmdundefined
              mrehorstdmd
              last edited by

              Is there any possibility that the browser being used to access the web server has some effect on reliability of the connection?

              I have had a lot of trouble keeping a Duet2 WiFi board connected to my mixed 2.4/5GHz network for the last few years. About a year ago I switched to a mesh network with no change in the connection behavior. The mesh router has a dedicated 2.4 GHz IOT network that I use for the Duet and things like light bulbs, appliances, etc. The Chrome browser in my laptop would connect and I could access the control panel for between 30 seconds and maybe 2 minutes at a time, then the connection would fail. It got a bit better when I shut off the VPN (even though I had local network sharing enabled) on the laptop, but still not what anyone would call reliable. I gave up on ever getting it to work reliably.

              I recently tried the Mullvad browser that is based on Firefox (I think) and Duet board miraculously stays connected for up to an hour, maybe more, at a time, so it seems the browser used plays a part in the reliability of the connection.

              Or am I completely wrong?

              https://drmrehorst.blogspot.com/

              jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @mrehorstdmd
                last edited by

                @mrehorstdmd I think this is to do we the number of AJAX tries etc

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                  @mrehorstdmd if you have a PanelDue In your machine, is the network connection more reliable if you leave it on the Setup page?

                  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

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

                    @dc42 There's no Panel Due. This particular controller is in the sand table.

                    I have gone through all the posts on wifi problems and played with ajax retries, it didn't seem to do much good. I also shut off the VPN when I am connecting to the table. The Mullvad browser just seems to work about 10x more reliably than Chrome.

                    https://drmrehorst.blogspot.com/

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

                      @mrehorstdmd

                      When you're unable to connect, are you still able to ping the Duet IP?

                      Does the chrome dev console show any errors?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                      • mrehorstdmdundefined
                        mrehorstdmd @Phaedrux
                        last edited by

                        @Phaedrux I don't have access to the table right now- it's over at my brother's distillery tasting room and I don't know when it will be back.

                        https://drmrehorst.blogspot.com/

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

                          @mrehorstdmd another thread talks about connection weirdness when using VPN, maybe it’s related to that?
                          https://forum.duet3d.com/topic/37190/duet-2-wifi-don-t-connect-to-android

                          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

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

                            @mrehorstdmd
                            Are you are taking about using a VPN to connect to your home wifi? or are you using an outbound VPN connection from home to the internet?
                            Assuming the former - just some colour commentary regarding VPN from a phone into the home network...

                            You need to be careful when testing from the same location as the home wifi. For some (maybe most ?) VPN - the phone needs to be connected ONLY to mobile data i.e. not connected with the home wifi.

                            In my own case: I can connect with VPN (using my iphone) from a remote location to my home wifi and access DWC without issue.
                            If I return home (and the phone connects to my home wifi) - I cannot connect using VPN (not that I'd need to). I use Chrome without issues.

                            Having said that, it looks you might be using Mullvad VPN to provide outbound VPN.

                            Since it looks like you have tested both Chrome and Mullvad Browser - I'd be especially careful to make sure (when checking Chrome) that the Mullvad VPN services are totally disabled. There have been reports of poor interaction between Chrome and Mullvad VPN (e.g. inability to access certain sites). I think they are unlikely to be a factor - but you never know ... πŸ™‚

                            mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                            • mrehorstdmdundefined
                              mrehorstdmd @stuartofmt
                              last edited by mrehorstdmd

                              @stuartofmt I don't try to control the sand table table from my phone, only laptop. The laptop has Mullvad VPN but I shut that off when accessing the table. I have found that using the Mullvad browser keeps the connection to the table working for better than an hour at a time, where Chrome drops the connection every few (5-10 , usually closer to 5) minutes. In the past I had the VPN running with local network sharing enabled. The connection would drop every 30 sec to 1 minute that way. When I disabled the VPN the connection would stay up for 5-10 minutes. I am using my home wifi network, not a direct connection to the Duet board. There's no VPN running on the router, just on specific computers on the network.

                              In the last couple years I have scoured all the posts about Duet2 wifi connection issues and have tried everything short of replacing the board to no avail -until I tried the Mullvad browser. AFAIK, the Mullvad browser is based on firefox with a bunch of security/anonymity stuff taken from Tor. Maybe there's something in there that makes a difference.

                              https://drmrehorst.blogspot.com/

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

                                @mrehorstdmd this might be a function of how many concurrent HTTP connections the browser tries to open to the web server on the Duet. Are you using the latest version 2.1 wifi firmware on the Duet?

                                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

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

                                  @dc42 I think so. I don't have the table here, but I'll probably be going to visit it later today. I'll check then. IRIC, the last time I updated firmware was about a year ago.

                                  https://drmrehorst.blogspot.com/

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