• 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
    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
                                • undefined
                                  Frank 0 @Phaedrux
                                  last edited by 8 Jul 2021, 17:06

                                  @phaedrux Better, but still not completely working. Is it possible to connect via just USB instead of using the ethernet/networking?

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

                                    How does it behave now? Are you able to connect to the web interface or not?

                                    Does the SD card have the correct files in the /www folder?

                                    You can stream gcode over USB from a sender program like octoprint or simplify3d or pronterface, but you lose a lot of features including speed and quality.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 12 Jul 2021, 19:29 Reply Quote 0
                                    • undefined
                                      Frank 0 @Phaedrux
                                      last edited by 12 Jul 2021, 19:29

                                      @phaedrux When I try to set up the networking, I get this on YAT: 21268087-14c2-44a7-9c8d-ea10fe828c51-image.png. Visiting this address on a browser does not work. I just want to connect to the Web Control

                                      undefined undefined 2 Replies Last reply 12 Jul 2021, 19:48 Reply Quote 0
                                      • undefined
                                        fcwilt @Frank 0
                                        last edited by 12 Jul 2021, 19:48

                                        @frank-0

                                        You have to have on the SD card a basic config.g and the files for the web interface.

                                        Do you have those on the SD card?

                                        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
                                          Phaedrux Moderator @Frank 0
                                          last edited by 12 Jul 2021, 20:44

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

                                          Visiting this address on a browser does not work.

                                          What do you actually see in the browser when you try to go to that address?

                                          Are you able to ping that address from your computer?

                                          What IP address does your computer have?

                                          This will help us confirm if you're able to communicate with the Duet over the network.

                                          Can you show us a screenshot of the contents of your SD card?

                                          At minimum it should have a folder structure similar to what is shown here: https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure

                                          If the /www folder is missing or empty, you won't be able to connect to the web control even if the network connection is good. If it's missing or empty, you can replace the files using this zip file.

                                          https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/DuetWebControl-SD.zip

                                          Extract the contents of that zip file into the /www folder.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          undefined 2 Replies Last reply 12 Jul 2021, 20:51 Reply Quote 0
                                          15 out of 69
                                          • First post
                                            15/69
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA