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

404 (DuetWebControl)

Scheduled Pinned Locked Moved
General Discussion
2
7
1.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.
  • undefined
    inachisiojexus
    last edited by 26 May 2017, 16:20

    Just started migrating to this controller board, and although I've been reading the documentation, assume I know nothing.

    I can connect to the board with pronsole via USB.
    I have configured the network with a static IP address.
    When opening that IP address in my web browser, I get the 404 page.
    M997 S2 (and S1) returns "Invalid module number '2'"

    RepRapFirmware version seems to be 1.18.1 (checked with M552). The size of the DuetWebControl.bin on the µSD card corresponds to DuetWebControl-1.15a.bin from dc42's DuetWifi Stable branch (DuetEthernet branch lacks the .bin file).

    Any ideas?

    Thanks.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 26 May 2017, 22:26

      Is it the Duet WiFi or the Duet Ethernet that you have? From your M997 behaviour, I presume that it is the Duet Ethernet. In which case, the DuetWebControl.bin file is not used, instead you need the files and folders from DuetWebConfrol.zip extracted to folder /www on the SD card. These files should already have been present on the SD card that was shipped within the board.

      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
      • undefined
        inachisiojexus
        last edited by 27 May 2017, 18:20

        Sorry, forgot to mention that my board is indeed the Duet Ethernet.

        The files are present on the card.

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 27 May 2017, 22:34

          What files exactly do you have in /www on the SD card?

          Is the SD card being read ok? Here are two ways to check:

          1. Send M503 via USB. It should respond with the contents of config.g.

          2. Send M906 from USB or PanelDue and see what motor currents are reported. They should be the currents you defined in config.g. If they are all zero, then config.g wasn't read when the board started up.

          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
          • undefined
            inachisiojexus
            last edited by 28 May 2017, 12:00

            config.g evoked with M503 shows:

            M906 X1000 Y1000 Z1000 E800 I60
            

            M906 returns:

            Motor current (mA) - X:1000, Y:1000, Z:1000, E:800:800:800:800:800:800:800, idle factor 60%
            

            I suppose these are OK?

            The directory on the SD card was missing the following files:

            www/reprap.htm.gz
            www/fonts/glyphicons.ttf.gz
            www/fonts/Homenaje-Regular.ttf.gz

            I copied these files to the directory from DuetWebControl-1.15a.zip and the DWC page now loads!

            But the layout seems to be broken. It looks like a plain HTML page. The "Connect" button also does nothing.

            When I insert the SD card to my PC, Windows says "There's a problem with this drive. Scan the drive now and fix it."

            I've been a little hesitant to let Windows "fix" it as I don't know what that actually entails. Should I try it?

            Here is the complete current recursive file listing of the SD card:

            > tree /F
            Folder PATH listing
            Volume serial number is 153A-D53E
            G:.
            ├───Duet085Firmware-1.18.1stable
            │ RepRapFirmware.bin
            │
            ├───DuetEthernetFirmware-1.18.1stable
            │ DuetEthernetFirmware-1.18.1.bin
            │
            ├───DuetWifiFirmware-1.18.1stable
            │ DuetWiFiFirmware-1.18.1.bin
            │
            ├───gcodes
            │ TestPrint2.gcode
            │
            ├───macros
            │ E motors off
            │ Load filament
            │ Extrude 5mm
            │ Retract 5mm
            │ Unload filament
            │
            ├───SD-image-samples
            │ ├───www
            │ │ │ html404.htm
            │ │ │ favicon.ico.gz
            │ │ │ language.xml.gz
            │ │ │ reprap.htm.gz
            │ │ │
            │ │ ├───fonts
            │ │ │ glyphicons.woff.gz
            │ │ │ glyphicons.woff2.gz
            │ │ │ glyphicons.eot.gz
            │ │ │ glyphicons.svg.gz
            │ │ │ Homenaje-Regular.ttf.gz
            │ │ │ glyphicons.ttf.gz
            │ │ │
            │ │ ├───css
            │ │ │ dwc.css.gz
            │ │ │ slate.css.gz
            │ │ │
            │ │ └───js
            │ │ dwc.js.gz
            │ │
            │ ├───gcodes-Ormerod
            │ │ duettest.g
            │ │ whistle.g
            │ │ circle.g
            │ │ square.g
            │ │ ormaxis.g
            │ │ snowman.g
            │ │ coathook.g
            │ │
            │ ├───sys-Fisher
            │ │ retractprobe.g
            │ │ homez.g
            │ │ iap.bin
            │ │ homedelta.g
            │ │ pause.g
            │ │ bed.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ deployprobe.g
            │ │ homey.g
            │ │ homeall.g
            │ │ stop.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───macros
            │ │ E motors off
            │ │ Load filament
            │ │ Extrude 5mm
            │ │ Retract 5mm
            │ │ Unload filament
            │ │
            │ ├───sys-Ormerod2
            │ │ homez.g
            │ │ iap.bin
            │ │ pause.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ homey.g
            │ │ homeall.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───sys-Ormerod1
            │ │ homez.g
            │ │ iap.bin
            │ │ pause.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ homey.g
            │ │ homeall.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───gcodes-MiniKossel
            │ │ EscherLizard.gcode
            │ │ setheight.gcode
            │ │ octagon-test-delta.gcode
            │ │ HollowDodecahedron.gcode
            │ │
            │ ├───sys-Huxley
            │ │ homez.g
            │ │ iap.bin
            │ │ pause.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ homey.g
            │ │ homeall.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───sys-Prusai3
            │ │ homez.g
            │ │ iap.bin
            │ │ pause.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ homey.g
            │ │ homeall.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───sys-CoreXY
            │ │ homez.g
            │ │ iap.bin
            │ │ pause.g
            │ │ resume.g
            │ │ tpost1.g
            │ │ tpre0.g
            │ │ tfree0.g
            │ │ tpost0.g
            │ │ tfree1.g
            │ │ config.g
            │ │ homey.g
            │ │ homeall.g
            │ │ homex.g
            │ │ iap4e.bin
            │ │ tpre1.g
            │ │
            │ ├───sys-dc42Kossel
            │ │ iap.bin
            │ │ homedelta.g
            │ │ pause.g
            │ │ bed.g
            │ │ resume.g
            │ │ config.g
            │ │ iap4e.bin
            │ │ cancel.g
            │ │
            │ └───sys-MiniKossel
            │ retractprobe.g
            │ iap.bin
            │ homedelta.g
            │ pause.g
            │ bed.g
            │ resume.g
            │ config.g
            │ deployprobe.g
            │ iap4e.bin
            │
            ├───sys
            │ retractprobe.g
            │ iap.bin
            │ homedelta.g
            │ pause.g
            │ bed.g
            │ resume.g
            │ deployprobe.g
            │ DuetWiFiServer.bin
            │ iap4e.bin
            │ DuetWebControl.bin
            │ config.g~
            │ config.g
            │ .config.g.un~
            │
            ├───Utilities_documents
            │ ├───Documents
            │ │ WHATS_NEW.md
            │ │ LICENCE
            │ │ README.md
            │ │
            │ ├───Driver
            │ │ duetinf.cat
            │ │ duet.inf
            │ │ README.md
            │ │ DuetDriverFiles.zip
            │ │
            │ └───SAM-BA
            │ sam-ba_2.16_linux.zip
            │
            └───www
            │ html404.htm
            │ favicon.ico.gz
            │ language.xml.gz
            │ reprap.htm.gz
            │
            ├───fonts
            │ glyphicons.woff.gz
            │ glyphicons.woff2.gz
            │ glyphicons.eot.gz
            │ glyphicons.svg.gz
            │ glyphicons.ttf.gz
            │ Homenaje-Regular.ttf.gz
            │
            ├───css
            │ dwc.css.gz
            │ slate.css.gz
            │
            └───js
            dwc.js.gz
            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 28 May 2017, 17:34

              I suggest you copy the /sys and /macros folders from the SD card to your PC, then reformat the SD card. Then create a new /www folder and extract DWC 1.16.zip into it, restore the /sys and /macros folders, and create a new /gcodes folder.

              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
              • undefined
                inachisiojexus
                last edited by 28 May 2017, 18:11

                While copying the entire contents to my PC, Windows threw this error on the file dwc.js.gz:

                Error 0x80070570: The file or directory is corrupted and unreadable.

                I then proceeded according to your instructions and the DWC now seems to be working perfectly.

                Thanks a lot for the help.

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