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

    First-Time Setup - Problem with Connecting to Network

    Scheduled Pinned Locked Moved
    Firmware installation
    5
    43
    5.9k
    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.
    • SnowCrashundefined
      SnowCrash
      last edited by

      @Phaedrux:

      Well I don't think there is a hardware issue just yet. You are able to ping the board and it is replying, so that's good. You're on the network.

      The duplicate wifi network with all caps is just a dud entry. It will do no harm. You can tell it to forget that network later.

      There might be something wrong with the files on the SD card preventing a webpage from showing, so until we can verify what's on the card I'm not sure how best to proceed.

      We could try setting up the Duet to run in access point mode where it creates it's own network and you connect to it that way, but if there is something wrong with the files on the card it would lead to the same result.

      Just a shot in the dark, but have you tried power cycling your wifi router?

      Also, how far away is the Duet from the router?

      Have you ever logged into your router web interface?

      It would be nice to verify at the router end that the Duet is actually getting a proper IP address.

      Hi Phaedrux,

      Turns out the problem is almost certainly with the SD card (or related hardware)!

      It just occurred to me to connect the PanelDue (which I got with the DuetWifi) and see what it shows (sorry, I didn't think about this before because I haven't had any experience with the display before and didn't know it can show the content of the SD card).

      I discovered that the display itself works fine, but when I click on the SD Card icon (or anything else that requires the card like the 'macros' button), I get the following error message:

      Files on SD Card 0

      Error 1 Accessing SD Card

      So either the SD card is empty or faulty or the hardware used for reading it is defective.

      I'll only be able to confirm if it's the card tomorrow when I get the reader, though.

      However, in the likely even that it is the card that's been causing the problem, do you know if there's a source somewhere from which I could download all the relevant content and paste it into a new replacement card?

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

        The PanelDue SD card slot is a little different than the main slot. I'm not sure these results are conclusive.

        https://duet3d.dozuki.com/Wiki/Connecting_an_LCD_control_panel#Section_Using_the_external_SD_card_socket_on_the_LCD_panel

        But yes, you will be able to recreate the correct directories on the card if they are missing.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • SnowCrashundefined
          SnowCrash
          last edited by

          @Phaedrux:

          The PanelDue SD card slot is a little different than the main slot. I'm not sure these results are conclusive.

          https://duet3d.dozuki.com/Wiki/Connecting_an_LCD_control_panel#Section_Using_the_external_SD_card_socket_on_the_LCD_panel

          But yes, you will be able to recreate the correct directories on the card if they are missing.

          Ah, I didn't realize the PanelDue is attempting to read the card from its own slot - I thought it was trying to read the SD card in the controller.

          Another step forward, though. I dug up my old camera and discovered an SD card adapter which meant I could read the content of the DuetWifi Mirco-SD card on my Mac.

          And the card seems to be reading fineโ€ฆ

          I've uploaded all the content of the SD Card here: https://drive.google.com/open?id=19-slsC29NlJQrPa0UW8JmAyMfc3sW_aC

          Could you please have a look and see if it's right?

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

            First thing I would do is a make a backup of the contents of the card. Just in case.

            The config files on the card are pretty generic and will need to be modified to suit your printer.

            But there might be one change we can try to see if it will get you connected. I really don't know if this will help, but it's the only thing I can see that might be interfering.

            In the config.g file find the lines that have
            [c];*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
            M552 P192.168.1.14 ; (0 = DHCP)
            M554 P192.168.1.255 ; Gateway
            M553 P255.255.255.0 ; Netmask[/c]
            and either add a ; before each line, or just delete them.

            Put the card back in and power it up and see if you can connect.

            Even if that doesn't let you connect, I think you should try getting a configuration file package ready to go anyway with the online config tool.

            https://configurator.reprapfirmware.org/

            It will ask you to enter your network information as well and will generate a full set of config files that should more closely match your printer since you'll be providing the details. When you have that ready, copy it over to the SD card and replace the existing files, and give those a try.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 1
            • SnowCrashundefined
              SnowCrash
              last edited by

              Hi Phaedrux,

              Firstly, thank you very much again for helping me tackle this frustrating problem! it's very much appreciated!

              Allow to me respond to your earlier questions first, before moving on to your later suggestion:

              @Phaedrux:

              Just a shot in the dark, but have you tried power cycling your wifi router?

              Yes, did it just now and it made no difference.

              @Phaedrux:

              Also, how far away is the Duet from the router?

              Quite close, about 3-4 meters and it's in the same room I am working in so no walls in between.

              @Phaedrux:

              Have you ever logged into your router web interface?

              Nope, but figured out how to do it and logged in.

              Here are a couple of screenshots of what looked to me to be the most relevant pages:

              https://drive.google.com/open?id=1Xr_vEs3sW3NTY_XFiyCOikZOmxULhjn0

              https://drive.google.com/open?id=1xGxddpLkgyoh_JrSB5ZlxqnfjQVmFCYY

              @Phaedrux:

              It would be nice to verify at the router end that the Duet is actually getting a proper IP address.

              Seem to me that it does, no?

              1 Reply Last reply Reply Quote 0
              • SnowCrashundefined
                SnowCrash
                last edited by

                @Phaedrux:

                First thing I would do is a make a backup of the contents of the card. Just in case.

                Good idea! done ๐Ÿ™‚

                @Phaedrux:

                The config files on the card are pretty generic and will need to be modified to suit your printer.

                But there might be one change we can try to see if it will get you connected. I really don't know if this will help, but it's the only thing I can see that might be interfering.

                In the config.g file find the lines that have
                [c];*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
                M552 P192.168.1.14 ; (0 = DHCP)
                M554 P192.168.1.255 ; Gateway
                M553 P255.255.255.0 ; Netmask[/c]
                and either add a ; before each line, or just delete them.

                Put the card back in and power it up and see if you can connect.

                Tried it just now and still no webpage found (despite having all messages in Printrun about the connection saying it's good just like before).

                @Phaedrux:

                Even if that doesn't let you connect, I think you should try getting a configuration file package ready to go anyway with the online config tool.

                https://configurator.reprapfirmware.org/

                It will ask you to enter your network information as well and will generate a full set of config files that should more closely match your printer since you'll be providing the details. When you have that ready, copy it over to the SD card and replace the existing files, and give those a try.

                Thanks for the suggestion! I will try it tomorrow and report back!

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

                  Looks good on the router front. On the second screen shot you posted there is an option for Always use this IP Address. You should probably set that to yes so that the router doesn't issue a new IP address at some point in the future.

                  I'm stumped as to why you can't connect at this point. Steps forward now are to try a fresh config file set, and if that doesn't work, reinstalling the firmware and trying again. Possibly trying the 1.21 firmware as well. If none of that works, I would start to suspect hardware?

                  Perhaps David has more insight on a better way forward at this point?

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    I'm sorry, I can't see your screenshots hosted on Google Drive because Chrome on my tablet keeps saying that the Drive site returned an invalid response when I touch the link. I'll try from a PC later.

                    Please check that the SD card is being read by the Duet. Two ways:

                    1. Send M503 from YAT. It should respond with a listing of config.g.

                    2. Send M906. If will respond with the motor currents. If config.g was read at startup, they will be the values at in the M06 command in config.g, otherwise they will be zero.

                    PS
                    3 PanelDue can read both SD card slots. It defaults to the one on the Duet.

                    4. Another SD card test: send M122 from YAT. In the Platform diagnostics it should say "SD card detected" and give the interface speed if there is an SD card in the slot.

                    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

                    1 Reply Last reply Reply Quote 0
                    • Dougal1957undefined
                      Dougal1957
                      last edited by

                      Could the contest of the WWW directory be corrupt?

                      1 Reply Last reply Reply Quote 0
                      • SnowCrashundefined
                        SnowCrash
                        last edited by

                        Hi dc42 (David?),

                        @dc42:

                        I'm sorry, I can't see your screenshots hosted on Google Drive because Chrome on my tablet keeps saying that the Drive site returned an invalid response when I touch the link. I'll try from a PC later.

                        If you'd like, I could send you all the screenshots via email? It's just 9 pics and the folder of the SD card is a tiny zip file.

                        On the other hand, it might not be needed, since your suggested tests might indicate the location of the problem as I'll explain below.

                        @dc42:

                        Please check that the SD card is being read by the Duet. Two ways:

                        1. Send M503 from YAT. It should respond with a listing of config.g.

                        Checked and got the response:

                        Configuration file not found!

                        @dc42:

                        2. Send M906. If will respond with the motor currents. If config.g was read at startup, they will be the values at in the M06 command in config.g, otherwise they will be zero.

                        Yep, they're reported as zero.

                        The full response to that command was:

                        Motor current (mA) - X:0, Y:0, Z:0, E:0:0:0:0:0:0:0:0:0, idle factor 30%

                        An important thing to note is that I've run these tests with the original SD card first, and then with a different SD card onto which I copied the entire content of the original SD card.

                        The results were the same.

                        Moreover, given that the SD card itself reads fine on my computer indicates, I think, that the problem is actually with the card reader on the DuetWifi (or some other related hardware on the controller)?

                        @dc42:

                        3. PS PanelDue can read both SD card slots. It defaults to the one on the Duet.

                        Tried using the SD card slot on the PanelDue, but didn't work either - although I seem to remember that in order to utilize that slot a different wiring is needed?

                        Plus, this workaround won't really solve anything as I plan on using the main SD card slot and not the one on the PanelDue.

                        @dc42:

                        4. Another SD card test: send M122 from YAT. In the Platform diagnostics it should say "SD card detected" and give the interface speed if there is an SD card in the slot.

                        Run that one too and got the response:

                        SD card 0 detected, interface speed: 12.0MBytes/sec
                        SD card longest block write time: 0.0ms

                        In light of these results, what do we do now?

                        Do you think a firmware update might solve this issue? and, if so, are there step-by-step instructions on how to do that?

                        Thanks for your help!
                        SnowCrash

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

                          I'm at my PC now and I can see the screen shots.

                          I think the SD card reader on your Duet is faulty.

                          1. Please confirm that you pushed the SD card in until it clicks. [Then you have to push it in again to remove it.]

                          2. One more test please: from YAT send M21 to try to mount the SD card, and report the response.

                          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

                          1 Reply Last reply Reply Quote 0
                          • SnowCrashundefined
                            SnowCrash
                            last edited by

                            @dc42:

                            I'm at my PC now and I can see the screen shots.

                            I think the SD card reader on your Duet is faulty.

                            I think so too.

                            @dc42:

                            1. Please confirm that you pushed the SD card in until it clicks. [Then you have to push it in again to remove it.]

                            Yep, pushed in (gently) till it clicked into place and clicked in (gently) again to release it.

                            @dc42:

                            2. One more test please: from YAT send M21 to try to mount the SD card, and report the response.

                            Sent and no good (tried with both the original SD card and the alternative one).

                            The response was:

                            Cannot initialise SD card 0: Card is unusable

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

                              Glad we got a result. Too bad it wasn't a happier one.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • SnowCrashundefined
                                SnowCrash
                                last edited by

                                @Phaedrux:

                                Glad we got a result. Too bad it wasn't a happier one.

                                Yeah, couldn't agree more.

                                Thanks for the excellent help, Phaedrux! If you ever pass through London I'll be very happy to buy you a beer ๐Ÿ™‚

                                dc42, where do we stand on this? how can we get it resolved as quickly as possible? I don't mean to be impatient, but my project has been at in standstill for the past week because of this and can't move forward until it's sorted out โ€ฆ

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

                                  Please ask your supplier for a warranty replacement, linking to this thread. If you bought it direct from Duet3D then email info at duet3d for com.

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • SnowCrashundefined
                                    SnowCrash
                                    last edited by

                                    @dc42:

                                    Please ask your supplier for a warranty replacement, linking to this thread. If you bought it direct from Duet3D then email info at duet3d for com.

                                    Sent an email to Duet3D as instructed.

                                    I sincerely hope a new board will be sent out to me as soon as possible so I can get my project back on track.

                                    Thanks for the help in this!

                                    1 Reply Last reply Reply Quote 0
                                    • SnowCrashundefined
                                      SnowCrash
                                      last edited by

                                      I wanted to add a postscript to this thread in praise of Duet3D's exceptional customer service.

                                      Identifying the hardware problem with the controller has taken a bit of time and effort (thanks again Phaedrux & dc42!), but once this was accomplished - and notice that dc42 was responding to my queries over the weekend(!) - the matter was resolved extremely efficiently and quickly.

                                      I sent the email to Duet3D with the replacement request on Saturday. I got a response first thing Monday morning to let me know that a new board is on the way, and the board itself arrived the very next day!

                                      Customer service was a major factor in my decision to go with the DuetWifi. As we all know, everybody are great at the point of sale, but very few follow it up later on if/when problems arise. Prior to buying the DuetWifi, I've seen posts from other people commending Duet3D for their customer care, but now I can also vouch for it from my own personal experience. The process was extremely efficient and pain-free. I didn't need to chase anyone or sit and wait till someone got around to sorting it out.

                                      Well done, Duet3D, and keep it up! you'll certainly gain many more loyal customers like myself! ๐Ÿ™‚

                                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 2
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators @SnowCrash
                                        last edited by

                                        @snowcrash thanks for your kind words.

                                        www.duet3d.com

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