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

    Cannot connect to DWC Simple fix??

    Scheduled Pinned Locked Moved
    Duet Web Control
    7
    33
    2.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.
    • fcwiltundefined
      fcwilt @AMPMAKER
      last edited by

      @AMPMAKER said in Cannot connect to DWC Simple fix??:

      M552
      WiFi module is connected to access point ORBI, IP address 192.xxx.x.xx<LF>ok<LF>

      And is that the name of your access point?

      Frederick

      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

      1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal @AMPMAKER
        last edited by Danal

        @AMPMAKER said in Cannot connect to DWC Simple fix??:

        Let me rephrase that.
        It came back with "Packets sent 4, Received =0, Lost =4 (100% loss)

        Yep, that equals "will not". 🙂

        You are not giving up security information to put the actual IP addresses on this forum. For example, one of my Duets is at 192.168.1.15. And I can ping it (see below)

        What is the actual IP of your printer? And of your PC?

        Pinging my printer:

        Pinging 192.168.1.15 with 32 bytes of data:
        Reply from 192.168.1.15: bytes=32 time=2ms TTL=255
        Reply from 192.168.1.15: bytes=32 time=184ms TTL=255
        Reply from 192.168.1.15: bytes=32 time=9ms TTL=255
        Reply from 192.168.1.15: bytes=32 time=2ms TTL=255
        
        Ping statistics for 192.168.1.15:
            Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
        Approximate round trip times in milli-seconds:
            Minimum = 2ms, Maximum = 184ms, Average = 49ms
        

        My windows machine's ip configuration:

        C:\Users\Danal>ipconfig
        
        Windows IP Configuration
        
        
        Ethernet adapter Ethernet:
        
           Media State . . . . . . . . . . . : Media disconnected
           Connection-specific DNS Suffix  . :
        
        Ethernet adapter Ethernet 2:
        
           Media State . . . . . . . . . . . : Media disconnected
           Connection-specific DNS Suffix  . :
        
        Wireless LAN adapter Local Area Connection* 12:
        
           Media State . . . . . . . . . . . : Media disconnected
           Connection-specific DNS Suffix  . :
        
        Wireless LAN adapter Local Area Connection* 13:
        
           Media State . . . . . . . . . . . : Media disconnected
           Connection-specific DNS Suffix  . :
        
        Wireless LAN adapter Wi-Fi:
        
           Connection-specific DNS Suffix  . :
           Link-local IPv6 Address . . . . . : fe80::9d90:e77f:bdf1:4625%19
           IPv4 Address. . . . . . . . . . . : 192.168.1.9
           Subnet Mask . . . . . . . . . . . : 255.255.255.0
           Default Gateway . . . . . . . . . : 192.168.1.1
        

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • AMPMAKERundefined
          AMPMAKER
          last edited by

          Yes Orbi is the name of the router. Orbi is a tri band router and this may be an issue. From what I have read
          it has the ability to pick up 2.4 or 5 ghz independently. But this does not look like that is happening.
          I have looked at other forums to see a way around this, but it gets way more into changes I don't want
          to explore.
          192.168.1.31 Duet IP
          And with the Duet wifi only working with 2.4 I may be out of luck. As we need the Orbi right now to get the
          signal farther for everyone to have a good signal.
          Can the Duet be setup and used without the wifi.? For now I need to get our printer back up. This has consumed
          way to much of my time and will use it or will need to replace.

          fcwiltundefined Adrian52undefined 2 Replies Last reply Reply Quote 0
          • EasyTargetundefined
            EasyTarget
            last edited by EasyTarget

            @AMPMAKER said in Cannot connect to DWC Simple fix??:

            Can the Duet be setup and used without the wifi.?

            Yes it can, I have done just this in the past. It got me through a crisis.

            It's a lot of fiddling; constantly removing the SD card to edit config files or add gcode files.

            • Use the terminal to test and refine the correct syntax for config file commands; generate heater tunings etc..
            • You will then need to be popping the SD card out and in to upload gcode files, and make any permanent changes to the config files,
            • Use M23 etc to select and print.
            • Conceptually; the web interface does it's magic by sending gcode commands to RRF behind-the-scenes, and allowing direct uploading files to SD. In theory there is nothing you can command in the web interface that cannot also be sent via the terminal.

            Another 'get me working' option would be to use a mobile phone or similar to make a hotspot for just the printer and run the UI from the phone, or a laptop on the same hotspot.

            Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
            PrintPy2024 to the rescue!
            MicroPython based; with simple wiring and and no custom PCB.

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by Danal

              • The printer can be an AP. Totally separate from your network. That does mean you have to switch to it... but probably less hassle than physically manipulating the SD card.

              • Does Orbi not route between the 2.4 and 5 segments? Yikes!! That's a real problem. And, with great respect, are you sure this is the problem? I've run both Linksys mesh routers and Google WiFi mesh routers, and also Netgear "single central" routers with two Duet WiFi. No issues with printer on 2.4 and PC on 5.

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @AMPMAKER
                last edited by fcwilt

                @AMPMAKER said in Cannot connect to DWC Simple fix??:

                Yes Orbi is the name of the router. Orbi is a tri band router and this may be an issue. From what I have read
                it has the ability to pick up 2.4 or 5 ghz independently. But this does not look like that is happening.

                Unless something is wrong with the router configuration, or perhaps the router itself, devices connected via the LAN connection(s) on the router, via 2.4 GHz or 5.0 GHz should all be able to communicate with one another.

                All of the access points in my home are dual band (2.4 & 5) and I have no issues like you are having. I can connect to my two Duet Wifi equipped machines without any problems.

                Don't give up.

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 1
                • AMPMAKERundefined
                  AMPMAKER
                  last edited by

                  No I am not sure the router is the issue, But...
                  I asked someone who is more knowledgeable than me, that's said the Orbi is a mesh network
                  and most likely the issue. In hind sight it would have been easier to wire an Ethernet cable.

                  Easy Target. Our issue with removing the card, over time, is our screen will be put on the right side
                  of the printer, and access to the card is the left. So it would need to have separate containment for
                  the Panel-Duet. We are using cards to transfer the files now, which is fine, but all the conf.. that's
                  a lot of back and forth.

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal
                    last edited by

                    Yeah, Orbi should be fine with 2.4 and 5 devices talking to each other. And "mesh" is NOT the issue, otherwise nothing in your house would work...

                    You can certainly test this. Find any other device on the 2.4 network (I don't have an orbi, so you'll have to look up how to do this) and ping it.

                    Delta / Kossel printer fanatic

                    1 Reply Last reply Reply Quote 0
                    • Adrian52undefined
                      Adrian52 @AMPMAKER
                      last edited by

                      @AMPMAKER I have been using an orbi router with my duet WiFi. So not a complete no no. Just fixed the address that was assigned to the duet, no other fiddling.

                      AMPMAKERundefined 1 Reply Last reply Reply Quote 0
                      • fcwiltundefined
                        fcwilt @AMPMAKER
                        last edited by

                        @AMPMAKER said in Cannot connect to DWC Simple fix??:

                        I asked someone who is more knowledgeable than me, that's said the Orbi is a mesh network
                        and most likely the issue.

                        If it IS a mesh setup that still would not explain the problem.

                        There is often a setting in the WiFi portion of a router configuration which allows enabling "client isolation".

                        When this is enabled wireless devices (WiFi) cannot communicate with wired devices.

                        That sounds like it might be the case.

                        Frederick

                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                        1 Reply Last reply Reply Quote 0
                        • AMPMAKERundefined
                          AMPMAKER @Adrian52
                          last edited by

                          @Adrian52

                          Ok, Just fix the address? What exactly do you mean?
                          my IP shows 192.168.1.31 on the Duet when I enter M552
                          see below. But when I try to Ping I get no response.

                          m552
                          WiFi module is connected to access point ORBI, IP address 192.168.1.31<LF>ok<LF>

                          The Blue light flashed for a bit and entered M552 again and got a different IP.

                          m552
                          WiFi module is changing mode<LF>ok<LF>WiFi module is connected to access point ORBI, IP address 192.168.1.4<LF>

                          Now it is connected.... Wow very frustrating but all I did.. I Think.. is turned off the ORBI (cycled Power)
                          while the Duet was plugged into and powered by the USB cable.
                          Now I enter 192.168.1.4 and the Duet screen comes up.

                          Thank you all for the suggestions and help. Would have been a long time trying to figure this out without help.
                          Issue solved..

                          1 Reply Last reply Reply Quote 0
                          • AMPMAKERundefined
                            AMPMAKER
                            last edited by

                            Will the Duet remember the IP address? Or do I need to send another M command?

                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                            • AMPMAKERundefined
                              AMPMAKER
                              last edited by

                              Got it M552 S1 is already in the Network config.g file.

                              1 Reply Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt @AMPMAKER
                                last edited by

                                @AMPMAKER said in Cannot connect to DWC Simple fix??:

                                Will the Duet remember the IP address? Or do I need to send another M command?

                                You can specify a static IP Address for the Duet WiFi in the M587 command which is NOT meant to always be present in your config.g file.

                                It's fine to put it there just to get the correct values stored in the WiFi module but once everything is working you need to comment out or remove the M587 command from your config.g.

                                Now the only problem with using a static IP address is that the router may try to handout that same address to another device that is asking for an IP address from the router.

                                You can avoid this problem by limiting the range of addressed the router can handout. This is a setting in the router configuration.

                                For example you could configure the router to handout IP address from x.x.x.21 to x.x.x.254, leaving addresses 2 through 20 for assignment to hardware like your Duet.

                                Frederick

                                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                1 Reply Last reply Reply Quote 0
                                • AMPMAKERundefined
                                  AMPMAKER
                                  last edited by

                                  This is not my strongest area to be working in, so it is very frustrating when I get it to
                                  work and now it doesn't. I unplugged the duet from the USB ate lunch came back to reconnect
                                  and back to square one. Now no YAT. Saying com5 is closed, and no wifi of course.
                                  Device manager see's it plugged into com 5??? What am I missing.

                                  I do understand handing out IP address above a certain range, but shouldn't the device always
                                  have the same IP, once it is set.

                                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                                  • fcwiltundefined
                                    fcwilt @AMPMAKER
                                    last edited by

                                    @AMPMAKER said in Cannot connect to DWC Simple fix??:

                                    I unplugged the duet from the USB ate lunch came back to reconnect
                                    and back to square one. Now no YAT. Saying com5 is closed, and no wifi of course.
                                    Device manager see's it plugged into com 5

                                    That is odd. When I first started with a Duet WiFi I had the odd problem with WiFi but I never had a problem using the USB connection. Perhaps you already have another instance of YAT running and connnected to COM5? Windows only allows one connection at a time to a COM port.

                                    I do understand handing out IP address above a certain range, but shouldn't the device always
                                    have the same IP, once it is set.

                                    If a device like a Duet is setup to use DHCP every time it powers up/resets and asks for an IP address it may get a different one.

                                    The only way to insure that it ALWAYS gets the same one is with a IP reservation. If you can find a link to the manual for your router I will be glad to take a look and see if and how IP reservations can be done.

                                    Frederick

                                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                    spudaddictundefined 1 Reply Last reply Reply Quote 1
                                    • AMPMAKERundefined
                                      AMPMAKER
                                      last edited by

                                      Frederick thank you for the offer, I will keep that offer a bit, but if I don't work this through I may never learn
                                      how it's done. I have been able to get back to a YAT connection with the Duet. Still no internet Although.

                                      M552
                                      WiFi module is connected to access point ORBI, IP address 192.168.1.4<LF>ok<LF>
                                      M587
                                      Remembered networks:<LF>TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0<LF>ORBI65 IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0<LF>ORBI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0<LF>ok<LF>

                                      I did find this on instructables.com Whats your thought on trying it.

                                      https://www.instructables.com/id/Duet-WiFi-Activate-and-Connect-the-WiFi-When-It-Do/

                                      I did contact the company that sold the Duet to us and he suggested a different router 2.4 of course just
                                      for the duet. But I think that isolating the IP is the most Logical.

                                      1 Reply Last reply Reply Quote 0
                                      • AMPMAKERundefined
                                        AMPMAKER
                                        last edited by

                                        I found this post from

                                        dc42 ADMINISTRATORS 8 Mar 2018, 12:54
                                        Either:

                                        1. Send M552 S0, then send M552 P192.168.1.xx, then send M552 S1. You should then be able to connect DWC. In DWC go to the System editor and edit the M552 command in config.g to have that IP address.

                                        Or:

                                        1. Move the SD card to a PC and use a text editor to make the same change to the M552 command in config.g.

                                        So I was able to get connected to the DWC again, I just don't know if I turn this off if it will reconnect.
                                        We shall see. The IP recorded in the config.g was different than the IP that came up when entering the
                                        M552 command.

                                        Do I always have to go thru YAT to get to DWC or should it come up when the Duet is powered on??

                                        1 Reply Last reply Reply Quote 0
                                        • fcwiltundefined
                                          fcwilt
                                          last edited by

                                          Hi,

                                          Read about M552 a little more closely.

                                          Notice:

                                          "On the Duet 2 WiFi running firmware 1.19 and later, the IP address is set in the M587 command when you configure the access point details."

                                          Once you get the WiFi configured correctly it is saved in the WiFi hardware "flash" memory and you can connect any time you power/reset the Duet.

                                          Frederick

                                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                          1 Reply Last reply Reply Quote 0
                                          • spudaddictundefined
                                            spudaddict @fcwilt
                                            last edited by spudaddict

                                            @fcwilt Concerning YAT not connecting, what was described above is what happened to me. I opened a second instance of YAT and got connection errors. I also closed all connections and had some issues connecting back again.

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