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

Cannot Connect to Duet 3 Web Control

Scheduled Pinned Locked Moved
Duet Web Control
4
69
3.6k
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
    Frank 0
    last edited by Frank 0 7 Jul 2021, 16:40 7 Jul 2021, 16:30

    I was able to connect to the web control once, but the next day, I couldn't seem to connect to it again. I followed the instructions from this page: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7. Right now, it seems like the emulator is not behaving the same way as it was last time. The configured IP address displays as what I set it fixed to, but the actual IP address is just displayed as 0.0.0.0. I believe last time, this was flipped the other way. Is anyone able to walk me through this process?

    undefined 1 Reply Last reply 7 Jul 2021, 17:06 Reply Quote 0
    • undefined
      fcwilt @Frank 0
      last edited by 7 Jul 2021, 17:06

      @frank-0

      Please post the contents of your config.g file using the </> tag.

      Thanks.

      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 7 Jul 2021, 17:11 Reply Quote 0
      • undefined
        Frank 0 @fcwilt
        last edited by 7 Jul 2021, 17:11

        @fcwilt How can I find the config.g file? I am very new to this so I apologize about being unknowledgeable. When I had access to the duet 3 Web control, I saw the config.g file, but now I cannot even get connected to the web control.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 7 Jul 2021, 17:14

          If you have access to the Duet over USB terminal send M552 to get a read back of the current IP address. What does it report? Still 0.0.0.0?

          Send M552 S1, what does it report back then?

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 2 Replies Last reply 7 Jul 2021, 17:19 Reply Quote 0
          • undefined
            Frank 0 @Phaedrux
            last edited by 7 Jul 2021, 17:19

            @phaedrux I will check this right now. Could you confirm my connections? I currently have a USB connection to my laptop with the micro USB on the board. I then have an ethernet running from the board to my router. I also tried with the ethernet from my board to my computer.

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 7 Jul 2021, 17:29

              If you connect ethernet between your computer and Duet you must configure a static IP address on both. If you're connecting to the router, the router can issue a DHCP IP address to both as long as the Duet is configured to request one.

              You can retrieve your config.g from the SD card in the Duet by putting the SD card in your PC and looking for it in the /sys/ folder.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 7 Jul 2021, 17:35 Reply Quote 0
              • undefined
                Frank 0 @Phaedrux
                last edited by Frank 0 7 Jul 2021, 17:44 7 Jul 2021, 17:35

                @phaedrux My config.g file has been untouched and when I had access to the web control, it was extremely empty.

                1 Reply Last reply Reply Quote 0
                • undefined
                  Frank 0 @Phaedrux
                  last edited by Frank 0 7 Jul 2021, 17:48 7 Jul 2021, 17:46

                  @phaedrux When I type in M552, it reports "Ethernet is enabled, configured IP address: 192.168.2.2, actual IP address: 0.0.0.0 <LF>ok<LF>". I set my computer IP address to 192.168.2.1. Also when I type in M552 S0 and then M552 S1 P192.168.2.2 (to set the IP address), I only get ok <LF> as a response. Not sure if this is normal.

                  undefined 1 Reply Last reply 7 Jul 2021, 17:59 Reply Quote 0
                  • undefined
                    Frank 0 @Frank 0
                    last edited by 7 Jul 2021, 17:59

                    @frank-0
                    Bolded portions are taken off the guide/documentation linked in my original post (Step 10).

                    DHCP: Most home routers are setup to assign IP addresses by DHCP. Send M552 S0 to disable networking, then M552 S1 P0.0.0.0 to enable networking and have your router assign an IP address.

                    • When I type in M552 S1 P0.0.0.0, I simply get ok<LF> as a response. It doesn't reply with Network running and the IP address the duet is using. Typing in M552 after to check, it just says "Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0 <LF>ok<LF>".

                    Fixed Address: You can set the Duet to use a fixed IP address. Note that if you use a fixed address, care should be taken that it does not conflict with other devices on the network. Send M552 S0 to disable networking, then M552 S1 Px.x.x.x to enable networking, where "x.x.x.x" is the IP address you want to use, eg 192.168.1.15.

                    • When I type M552 S1 P192.168.2.2, I get the same response of ok<LF>. Then when I type M552, I get "Ethernet is enabled, configured IP address: 192.168.2.2, actual IP address: 0.0.0.0 <LF>ok<LF>".

                    In both cases, after 10-30 seconds the board should reply with Network running and the IP address the Duet is using. Send M552 to check the settings.

                    -This does not happen for me. I never get the network running response.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Phaedrux Moderator
                      last edited by 7 Jul 2021, 18:14

                      Do you see the link light on the ethernet port on the Duet light up at all?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 7 Jul 2021, 18:16 Reply Quote 0
                      • undefined
                        Frank 0 @Phaedrux
                        last edited by 7 Jul 2021, 18:16

                        @phaedrux Where is that? Right under the ethernet port? I do not see a light on.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator
                          last edited by 7 Jul 2021, 18:23

                          Do you have the ethernet cable connected to your router or your computer?

                          Can you please post your config.g from the SD card? I'd like to see what it's set to do at startup.

                          Can you also send M122 in the terminal and copy and paste the results?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 7 Jul 2021, 18:30 Reply Quote 0
                          • undefined
                            Frank 0 @Phaedrux
                            last edited by Frank 0 7 Jul 2021, 18:34 7 Jul 2021, 18:30

                            @phaedrux Right now I have it connected to my computer and I am trying to configure/set an IP address. I also set an IP address on my computer. I also tried connecting it to the router, but that did not work either.

                            M122 command: === Diagnostics ===<LF>RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (standalone mode)<LF>Board ID: 08DJM-9P63L-DJMSS-6J9DD-3S06Q-TBFR8<LF>Used output buffers: 1 of 40 (1 max)<LF>=== RTOS ===<LF>Static ram: 149788<LF>Dynamic ram: 92564 of which 120 recycled<LF>Never used RAM 116360, free system stack 164 words<LF>Tasks: NETWORK(ready,545) ETHERNET(blocked,211) HEAT(blocked,297) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,53) MAIN(running,1130) IDLE(ready,19)<LF>Owned mutexes: USB(MAIN)<LF>=== Platform ===<LF>Last reset 00:44:08 ago, cause: power up<LF>Last software reset at 2021-06-30 14:15, reason: User, GCodes spinning, available RAM 117132, slot 0<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a<LF>Error status: 0x00<LF>Aux0 errors 0,0,0<LF>Aux1 errors 0,0,0<LF>MCU temperature: min 39.1, current 49.6, max 49.7<LF>Supply voltage: min 0.2, current 23.6, max 23.7, under voltage event[Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]

                            I cannot upload a screenshot of my config file because it is over 4096 kb... It is EXTREMELY blank. This is all it has (I typed it out).
                            ;Default config.g template for DuetPi
                            ;Replace this with a proper configuration file (e.g. from https://configtool.reprapfirmware.org)

                            ;Display initial welcome message

                            ;Enable network
                            M552 P192.168.2.1 S1.

                            undefined undefined 2 Replies Last reply 7 Jul 2021, 18:32 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @Frank 0
                              last edited by Phaedrux 7 Jul 2021, 18:32 7 Jul 2021, 18:32

                              I can't see anything in your photo. What am I looking at?

                              @frank-0 said in Cannot Connect to Duet 3 Web Control:

                              Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]

                              Please configure YAT to use the correct line break format so we can see the fulll report.

                              yat.png

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 2 Replies Last reply 7 Jul 2021, 18:35 Reply Quote 0
                              • undefined
                                Frank 0 @Phaedrux
                                last edited by Frank 0 7 Jul 2021, 18:39 7 Jul 2021, 18:35

                                @phaedrux I realized the image was impossible to read. Sorry. It was meant to be the config.g file.

                                9c643e9b-01f9-490a-8e34-9ecc62f83340-image.png.

                                When I was on the web control, I changed the 0.0.0.0 to 192.168.2.1

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Frank 0 @Phaedrux
                                  last edited by Frank 0 7 Jul 2021, 18:37 7 Jul 2021, 18:36

                                  @phaedrux My version of YAT does not have these settings. It looks different. 337da240-8daa-4bd8-8520-0b0a1fa3570c-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Frank 0 @Frank 0
                                    last edited by 7 Jul 2021, 18:41

                                    @frank-0 Is the "ETHERNET(blocked,211)" section of this text a concern?

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator
                                      last edited by 7 Jul 2021, 20:04

                                      Are you using a single board computer like a raspberry Pi with your duet3 right now?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      undefined 1 Reply Last reply 7 Jul 2021, 20:25 Reply Quote 0
                                      • undefined
                                        Frank 0 @Phaedrux
                                        last edited by 7 Jul 2021, 20:25

                                        @phaedrux No I am not. I realized the error with the network commands was because the SD card got loose. I am trying to get a wired network connection (ethernet) and access the web control page.

                                        https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet I have read and looked at this page as well.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 7 Jul 2021, 21:33

                                          So with the SD card back in place are you having better luck?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          undefined 1 Reply Last reply 8 Jul 2021, 17:06 Reply Quote 0
                                          8 out of 69
                                          • First post
                                            8/69
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA