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

Duet connection

Scheduled Pinned Locked Moved
General Discussion
3
23
628
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
    fcwilt @Casugo
    last edited by fcwilt 12 Aug 2023, 00:29 8 Dec 2023, 00:26

    @Casugo

    Yes that is the command line window.

    Please enter:

    ipconfig

    and press the Enter key.

    You should see something like this:

    Windows IPconfig results.jpg

    The lines
    IPv4
    Subnet Mask
    Default Gateway

    are the ones I am interested in.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    1 Reply Last reply Reply Quote 0
    • undefined
      fcwilt @Casugo
      last edited by 8 Dec 2023, 00:29

      @Casugo

      What do you think happened to the file?

      Do you have a backup?

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      undefined 1 Reply Last reply 8 Dec 2023, 00:41 Reply Quote 0
      • undefined
        Casugo @fcwilt
        last edited by 8 Dec 2023, 00:41

        @fcwilt

        Capture3.PNG

        It sounds like the configuration might be resetting itself when attempting to re-establish the connection or set the IP through YAT. What's odd is that while the macros and configurations for components like the BLtouch remain intact, it's specifically the config/g that seems to be affected.

        undefined 1 Reply Last reply 8 Dec 2023, 00:59 Reply Quote 0
        • undefined
          fcwilt @Casugo
          last edited by 8 Dec 2023, 00:59

          @Casugo said in Duet connection:

          Capture3.PNG

          Fantastic.

          If you are directly connecting your computer to the Duet you need to set the Duet IP address to something that falls within the range of addresses your computer is expecting.

          Using the subnet mask you can compute the range which is:

          172.23.32.2 through 172.23.39.254 with the exception of the computers address of 172.23.36.34

          Now if I were faced with having lost the contents of the SD card I would resort to connecting the SD card to my computer using an SD-to-USB adapter.

          Then using a text editor, NotePad or the like, to create the bare minimum config.g file so I could then connect directly to the Duet from my computer.

          Something like this:

          ; ===================================================================================================
          ; config.g - just enough to get connected - beginning of file
          ; ===================================================================================================
          ; ****************************************************************************************************
          ; prologue
          ; ****************************************************************************************************
          M111 S0 ; debug off
          M550 P"FT5" ; machine name (can be anything you like)
          M555 P1 ; firmware compatibility (P1=RepRap P2=Marlin P6=nanoDLP)
          M575 P0 B115200 S2 ; communication parameters for USB serial
          M575 P1 B115200 S1 ; communication parameters for PanelDue
          M552 P172.23.32.2 S1 ; set address (P) enable Ethernet (S1)
          M553 P255.255.248.0 ; set subnet mask (P)
          M554 P172.23.32.1 ; set gateway (P)
          M586 S1 P1 T0 R21 ; enable (S1) FTP (P1) Disable TLS (T0) Port (R)
          M586 S1 P2 T0 R2323 ; enable (S1) Telnet (P2) Disable TLS (T0) Port (R)
          G21 ; dimensions in mm
          G90 ; for X,Y,Z use absolute coordinate values
          M83 ; for E0,E1,etc use relative coordinate values
          ; ===================================================================================================
          ; config.g - just enough to get connected - end of file
          ; ===================================================================================================

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 8 Dec 2023, 01:17 Reply Quote 0
          • undefined
            Casugo @fcwilt
            last edited by 8 Dec 2023, 01:17

            @fcwilt
            Hii!!!

            By connecting the SD card to my computer and restoring the previous config.g file, I successfully established a connection to the DWC :D.However, I've noticed that I'm currently using the previous IP address instead of the ones you suggested.

            Would it be advisable to change it to the recommended IP addresses, or should I leave it as is since the current setup is working fine?"

            Thanks a lot!!!

            undefined 1 Reply Last reply 8 Dec 2023, 01:26 Reply Quote 0
            • undefined
              fcwilt @Casugo
              last edited by 8 Dec 2023, 01:26

              @Casugo

              I see the issue.

              When you took a screen shot from running Windows IPconfig you selected the WiFi connection, not the Ethernet connection - and I did not notice that - my mistake.

              If you ran IPconfig again and looked for the Ethernet connection it would have a similar address to that one that is working for you.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              undefined 1 Reply Last reply 8 Dec 2023, 03:10 Reply Quote 0
              • undefined
                Casugo @fcwilt
                last edited by 8 Dec 2023, 03:10

                @fcwilt

                Oh yes, my bad sorry.

                Do you have any idea of why that happened and why it restart the config?

                Thank you so much for your help 😄

                undefined 1 Reply Last reply 8 Dec 2023, 03:20 Reply Quote 0
                • undefined
                  fcwilt @Casugo
                  last edited by 8 Dec 2023, 03:20

                  @Casugo

                  From a distance, via this forum it's hard to tell what may have happened.

                  I make a point of keeping multiple backups of all the files on my SD card.

                  I guess you know that you can, from the DWC, select all the Gcode files in the SYSTEM folder and download them to your computer as a ZIP file.

                  I just name it something like PRINTER_NAME_SNAP_#.zip where # is a sequential number.

                  So I might have PRINTER_NAME_SNAP_1.zip, PRINTER_NAME_SNAP_2.zip and so on.

                  Is this your only printer?

                  Frederick

                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                  undefined 1 Reply Last reply 8 Dec 2023, 15:27 Reply Quote 0
                  • undefined
                    Casugo @fcwilt
                    last edited by 8 Dec 2023, 15:27

                    @fcwilt
                    Okay!!

                    Yes, I used to regularly save the complete configuration by downloading it directly from the DWC.

                    Is the printer at work just that I upgraded with the duet and is the first time this happen to me.

                    Thank you so much 🙂

                    undefined 1 Reply Last reply 8 Dec 2023, 15:29 Reply Quote 1
                    • undefined
                      fcwilt @Casugo
                      last edited by 8 Dec 2023, 15:29

                      @Casugo

                      Glad to help whenever I can.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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