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

    Mini 5+ wifi: unable to open DWC

    Scheduled Pinned Locked Moved
    Duet Web Control
    6
    20
    591
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @Sebastian 0
      last edited by

      @sebastian-0 said in Mini 5+ wifi: unable to open DWC:

      WiFi module is connected to access point FRITZ!Box_V-Core3, IP address 192.168.179.2

      ok so that looks good - you are getting an IP address and its connecting. I would use that network for now. The PC you are connecting from needs to be on the same network - it probably won't work with your PC on the main network and the Duet on a guest network.

      if you can ping 192.168.179.2 from your PC (which should also be on 192.168.179.X) then what happens when you try and connect to that IP in a browser?

      www.duet3d.com

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

        @sebastian-0 said in Mini 5+ wifi: unable to open DWC:

        P“myPassword“

        The quotes around that password look strange. I would suggest creating a macro with the M587 command in it to join the network with your password in that. Then use M98 P to call that macro from the usb terminal. That avoids using the USB terminal to send the password itself which can sometimes send different characters than intended.

        Z-Bot CoreXY Build | Thingiverse Profile

        Sebastian 0undefined 1 Reply Last reply Reply Quote 2
        • Sebastian 0undefined
          Sebastian 0 @T3P3Tony
          last edited by

          @t3p3tony This is what happens when I type in the IP address.

          Bildschirmfoto 2021-12-01 um 16.15.40.png Bildschirmfoto 2021-12-01 um 16.13.17.png

          1 Reply Last reply Reply Quote 0
          • Sebastian 0undefined
            Sebastian 0 @Phaedrux
            last edited by

            @phaedrux Unfortunately, I have no idea of how to write macros. In the original code, however, the quotation marks look exactly like those in the SSID. The formatting was probably changed when the password was substituted.

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

              A macro is just a text file that contains the gcode commands you want to send.

              Here's an example of one to add the SSID.

              ; Add default wifi network
              ;
              M552 S0			; Disable network module
              G4 S5			; wait 5 seconds
              M587 S"NETWORKNAME" P"PASSWORD"			; Add duet wifi SSID to remembered networks list
              G4 S5			; wait 5 seconds
              M552 S1			; reenable wifi module
              

              If you save that as a text file called addwifi.g and place it in the sys folder on the SD card you can then execute it from the usb terminal with M98 P"addwifi.g"

              This ensures that your password isn't getting modified by the USB terminal sender which can sometimes happen.

              It may also help to use M588 S"*" to clear out all saved networks first before readding it.

              Z-Bot CoreXY Build | Thingiverse Profile

              Sebastian 0undefined 1 Reply Last reply Reply Quote 0
              • rjenkinsgbundefined
                rjenkinsgb
                last edited by rjenkinsgb

                This may be relevant to the networking problem:

                I've just today received another new Duet 3 6HC board. I don't have the machine assembled yet, but I was curious what the board alone would do, and what firmware was pre-loaded - V3.3, as it happens.

                I connected it via USB & connected to the port that appeared (COM10) using Realterm.

                Then I plugged in the Ethernet cable; it gave a message stating its IP address was 192.168.1.14

                My network runs on 192.168.0.x and the DHCP server only issues addresses in the range 0.100 - 0.199, as I use static IP addresses for all fixed devices.

                Seeing the 1.14 address in the thread above makes me think there is a bug in the firmware.

                (My previous Duet 6HC build has only ever run is SBC mode, I never had cause to directly connect Ethernet to it).

                Robert J.

                Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                Dougal1957undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                • Dougal1957undefined
                  Dougal1957 @rjenkinsgb
                  last edited by

                  @rjenkinsgb IIRC that address is coded into the default Config for the purposes of QC testing but that will need someone from Duet to confirm that or you could just check it yourself

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @rjenkinsgb
                    last edited by

                    @rjenkinsgb yes that's the testing IP in the default config.g, it not hardcoded in anywhere. The default config should also give a warning to replace it with one from the config tool.

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • Sebastian 0undefined
                      Sebastian 0 @Phaedrux
                      last edited by

                      @phaedrux The firmware is now updated (Version 3.3). Like you advised I created a macro, but the DWC is still not opening.

                      ; General preferences
                      G90                                     ; send absolute coordinates...
                      M83                                     ; ...but relative extruder moves
                      M550 P"V-Core 3"                        ; set printer name
                      M669 K1                                 ; CoreXY
                      G21 S1                                  ; Set Units to Millimeters
                      
                      ; Network
                      M588 S"*"                               ; clear out all saved networks first before readding it
                      M98 P"addwifi.g"
                      M552 S1                                 ; enable network and acquire dynamic address via DHCP
                      M586 P0 S1                              ; enable HTTP
                      M586 P1 S0                              ; disable FTP
                      M586 P2 S0                              ; disable Telnet
                      
                      RepRapFirmware for Duet 3 Mini 5+ version 3.3
                      Executing config.g… Error: Failed to reset the WiFi module to factory settings: WiFi module is disabled
                      Error: Failed to add SSID to remembered list: WiFi module is disabled
                      HTTP is enabled on port 80
                      FTP is disabled
                      TELNET is disabled
                      Warning: Sensor number 1 has not been defined
                      Done!
                      RepRapFirmware for Duet 3 Mini 5+ is up and running.
                      WiFi module started
                      Error: Temperature reading fault on heater 1: sensor open circuit
                      WiFi module is connected to access point FRITZ!Box_V-Core3, IP address 192.168.179.2
                      
                      
                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @Sebastian 0
                        last edited by

                        @sebastian-0 said in Mini 5+ wifi: unable to open DWC:

                        ; Network M588 S"*" ; clear out all saved networks first before readding it M98 P"addwifi.g"

                        These lines should be removed from config.g. You'll have to use the USB terminal to send each of those commands separately. They only need to be sent once.

                        Z-Bot CoreXY Build | Thingiverse Profile

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