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

    First-Time Setup - Problem with Connecting to Network

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

      @dc42:

      So if you enter http://192.168.1.108 into your browser address bar (assuming that is the IP address that M552 reports every time), it should connect.

      Hi dc42 & thanks for joining the conversation!

      I tried your suggestion, but still no go.

      In a bit more detail, I repeated the whole procedure once again, that is, connecting the DuetWifi to the Mac over USB, starting up the wifi module, and making sure I got confirmation about the connection being established.

      Here is a screenshot of Printrun and the information in the console: https://drive.google.com/open?id=1LzulArSIj3sFN6ReQ7uKg1I_oJbO-2Gb

      Despite that, when I go to Chrome and enter the exact address you gave, I get an error message about the page not being found.

      Here's a screenshot of the result I get in Chrome: https://drive.google.com/open?id=1sleWbq0t-RCWi841cxvONJ03VNB71wpM

      Btw, you might notice the 'http://' missing from the address bar, but that's just Chrome removing it automatically (I typed the address exactly as you did) - if you look at the content of the message on the error page, it shows the full address with the 'http://'.

      Help please?

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

        The blue light on the wifi module will blink when the M552 S1 command to connect to your WiFi network is processed; except that if that command is in your config.g file, it will be deferred until config.g has finished running.

        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:

          The blue light on the wifi module will blink when the M552 S1 command to connect to your WiFi network is processed; except that if that command is in your config.g file, it will be deferred until config.g has finished running.

          Thanks for the quick response dc42!

          Ok, but I'm unclear as to how does that help me solve the current problem of not being able to see the web interface.

          Could you please explain more? (preferably, in a step-to-step total noobie style 🙂

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

            @dc42:

            The blue light on the wifi module will blink when the M552 S1 command to connect to your WiFi network is processed; except that if that command is in your config.g file, it will be deferred until config.g has finished running.

            Just out of curiosity, I reset* the controller again and run the 'M552 S0' & 'M552 S1' commands, while looking at the wifi module on the controller the whole time, and saw no blue light anywhere (although the Printrun console confirmed that a connection was established like before).

            Could it be that the wifi module on the controller isn't working as it should and that's the source of the problem?

            • by 'reset' I mean a hard-reset, i.e. pressing the physical 'reset' button on the controller.
            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              I meant to power cycle the board. I'm not exactly sure if the reset button has the same effect.

              As far as I can tell, if you are getting an IP address from the duet connect message then you should be able to use that IP to connect to the DWC.

              Z-Bot CoreXY Build | Thingiverse Profile

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

                Which firmware version are you using? Older versions of the WiFi module firmware don't flash the blue LED.

                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

                  @Phaedrux:

                  I meant to power cycle the board. I'm not exactly sure if the reset button has the same effect.

                  As far as I can tell, if you are getting an IP address from the duet connect message then you should be able to use that IP to connect to the DWC.

                  Thanks for the clarification, Phaedrux!

                  I've done the power cycle too, and still no go.

                  dc42 said it should work as well, but unfortunately so far it doesn't…

                  btw, I've check the browser side to see that there's nothing blocking the content, but couldn't find anything there either.

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

                    @dc42:

                    Which firmware version are you using? Older versions of the WiFi module firmware don't flash the blue LED.

                    As noted in my original post, firmware version number: 1.19.2

                    Here is what I got in the Printrun console:

                    M115
                    SENDING:M115
                    FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.19.2 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-09-01

                    Btw, any idea why I'm constantly getting automatically unsubscribed every time I post on this thread?

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

                      Ok, that explains why the blue led doesn't flash.

                      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
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        With the Duet powered on, if you open a terminal window and use the command [c]Ping 192.168.1.108[/c] What do you get?

                        If you remove the SD card from the Duet and put it in your computer do you see files listed? Can you post the contents of config.g if it exists?

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @dc42:

                          Ok, that explains why the blue led doesn't flash.

                          Cool, and…?

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

                            @Phaedrux:

                            With the Duet powered on, if you open a terminal window and use the command [c]Ping 192.168.1.108[/c] What do you get?

                            Looks like there's something working there.

                            Here's a screenshot of what I get when I ping the address from terminal: https://drive.google.com/open?id=1oe_3Y65EfZliX55R7QwzH_N8s8GVv1sL

                            Does this tell you anything?

                            @Phaedrux:

                            If you remove the SD card from the Duet and put it in your computer do you see files listed? Can you post the contents of config.g if it exists?

                            I don't have an SD card reader on hand atm, but will get one tomorrow so I can find out and post the results.

                            Thanks again, Phaedrux!

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

                              Another update & it's not a particularly happy one:

                              Got my hands on a Windows 7 PC and I can now confirm that the exact same problem I've been experiencing on my Mac also occurs in the Windows setup.

                              In more detail, I've installed the Duet drivers without a hitch, downloaded and run YAT, and repeated the by now familiar procedure of starting the wifi module, getting confirmation of a connection and finally, the error message that the page can't be found in Chrome.

                              For comparison, here's a screenshot of YAT showing the above procedure:

                              https://drive.google.com/open?id=10JMymyqviY-IiLkknzm9QSrbHp-5lTUg

                              And here's a screenshot of the terminal window (or whatever it's called in Windows) running the ping command:

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

                              Like I said, the result is unchanged, i.e. page not found in Chrome.

                              Another small detail I noticed is that in my 'remembered list' of wifi routers there are 2 slightly different entries - one is the correct router name and the other is incorrect as it's all uppercase.

                              However, in the connection confirmation message in YAT, the correct router name appears so I'm guessing that's not the problem (but do correct me if I'm wrong on this).

                              Lastly, in the Windows setup, I also changed the baud-rate value from 9600 to 115200 as I seem to remember seeing that speed setting on the Mac, but it made no difference.

                              From all this it's starting to look to me like this boils down to a hardware problem either in the wifi module or somewhere else in the controller.

                              With that said, I still need to check the content of the SD card and report the results in the hope that the problem is actually there and can be manually fixed. I'll hopefully get this done tomorrow when I get the SD card reader.

                              In the meantime, if anyone has any insight about the information above or the problem in general, please do let me know.

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

                                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.

                                Z-Bot CoreXY Build | Thingiverse Profile

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

                                  @SnowCrash:

                                  @dc42:

                                  Ok, that explains why the blue led doesn't flash.

                                  Cool, and…?

                                  And now we know which firmware is installed. In 1.21 the wifi LED blinks 3 times and then goes solid when it's ready to go and is turned off when the wifi module is off.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA