Cannot upload files in duet wifi



  • Got most of the files operating files Duet Wifi for my CR-10 loaded, with some help got the DuetWebControl-1.21.2-b2 zip file ready to upload and cannot open the Upload files button to function I get "× Settings applied!" as the response. Running MS 10, Help please!


  • administrators

    @ngwpower, which browser are you using to load DWC?



  • I forgot to put that in . Google Chrome. thank You


  • administrators

    @ngwpower said in Cannot upload files in duet wifi:

    Got most of the files operating files Duet Wifi for my CR-10 loaded, with some help got the DuetWebControl-1.21.2-b2 zip file ready to upload and cannot open the Upload files button to function I get "× Settings applied!" as the response. Running MS 10, Help please!

    That's an odd fault, it's as if you pressed the Apply Settings button instead of the Upload Files button. I suggest you clear the browser cache, reload DWC, and try again.



  • I tried yesterday and again this AM and as you say it acts as if I applied the upload files button. I made a file ***"Duet WebControl and added the dwc.js.gz and html404 into it. put the sd card back into the duet and I no longer get the error :
    Version mismatch
    Warning: The version of your HTML and JavaScript files do not match. This can lead to unpredictable behavior and other problems. Please install Duet Web Control once more and clear your browser cache. 0_1532359729755_7-23 error upload files.jpg

    Thank You sir.


  • administrators

    Are you saying that you used to get the "version mismatch" error and the problem is now solved; or that you are now getting this version mismatch error?



  • Duet WebControl and added the dwc.js.gz and html404 into it. I had to take this out of the SD card it was presenting more errors. Now I attempt to load the DWC file into upload files and I get the warning mismatch error. I do not know how to work around this error and cannot load the DWC file.



  • Not an engineer, yet want to get this board running. Is there a way to restore a SD card with original files and start over. Am exhausted at all the searching I have done.


  • Moderator



  • @phaedrux Thank You for the link to the sys files, my sd card is full of other coding.



  • @phaedrux I tried restoring with the sys files on a new faormated card. Could not get into any IP address. Back to the original delima of not being able to load DWC on the original sd card, no matterhow many times I clear the cache. Mayb I need my money back on a defective board?


  • administrators

    1. If you run M552 from USB (or PanelDue if you have one), does it say the network is connected and the IP address?

    2. If yes, then what happens when you enter that IP address into the address bar of a browser?



  • @dc42 Ran M552 on Pronterface and get >>> m552 [ERROR] Printer is not online. Afew days ago I could see the control panel on htpp..... and was getting the error about no DWC. Yet looking into the sd card in filw www have a json file and that is all.



  • @dc42 I unplugged the power from the AC outlet and hooked up USB and through Pronterface issued the M552 command. Now getting a SENDING:M552 WiFi module is being started. Don't know the G code to check what is running in pronterface, cannot load on IP address.


  • Moderator

    You can manually extract the DWC files into the www for on the SD card. That might get you the DWC to connect to at least.



  • @phaedrux I thank You, explain this extraction process. I do not know what extractor to use I Z-zip and when I use it I get these files in DWC.zip :
    Css
    Fonts
    Js
    favicon.ico.gz
    html404
    language.xml.gz
    reprap.htm.gz
    And they should go in sys or ww?


  • Moderator

    From the link above:
    ."The /www folder and its subfolders hold the files served by the web server. If you are setting up a new SD card, populate the /www folder by extracting the contents of the DuetWebControl.zip file to it."

    So yes the contents of the zip file go into the /www folder.


  • Moderator

    Also what version of firmware and DWC were you running previously?



  • @phaedrux Thank You, I need all the adult supervision I can get!
    DuetWebControl-1.21.2-b2
    Duet2CombinedFirmware.bin
    RepRapFirmware-Alligator.bin
    DuetDriverFiles


  • Moderator

    I don't think you'll need the alligator firmware unless you run an alligator board? Pretty sure you said DuetWifi up above.

    So have you taken the SD card, put it in your computer, extracted the DWC zip file into the www/ folder?



  • @phaedrux Yes and now I cannot open WizFi on my Coputer. Been reading other situations and get more confused as I go. Can see in pronterface these commands:

    M552 S1
    SENT: M552 S1
    RECV: Turn off the current WiFi mode before selecting a new one
    RECV: ok
    SENT: M105
    RECV: ok B:2000.0 /0.0

    SENT: M105
    RECV: ok B:2000.0 /0.0

    M122
    SENT: M122
    RECV: === Diagnostics ===
    RECV: RepRapFirmware for Duet 2 WiFi/Ethernet version 2.01beta2(RTOS) running on Duet WiFi 1.02 or later
    RECV: Board ID: 08DGM-956GU-DJMSN-6J1DG-3SJ6R-9ANRF
    RECV: Used output buffers: 1 of 20 (9 max)
    RECV: === RTOS ===
    RECV: Static ram: 28484
    RECV: Dynamic ram: 95596 of which 0 recycled
    RECV: Exception stack ram used: 308
    RECV: Never used ram: 6684
    RECV: Tasks: NETWORK(ready,1872) HEAT(blocked,848) MAIN(running,3736)
    RECV: Owned mutexes:
    RECV: === Platform ===
    RECV: Last reset 00:13:53 ago, cause: reset button or watchdog
    RECV: Last software reset at 2018-07-23 11:28, reason: User, spinning module GCodes, available RAM 7840 bytes (slot 1)
    RECV: Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0xffffffff
    RECV: Error status: 0
    [ERROR] Error status: 0

    RECV: Free file entries: 10
    RECV: SD card 0 detected, interface speed: 20.0MBytes/sec
    RECV: SD card longest block write time: 0.0ms, max retries 0
    RECV: MCU temperature: min 34.9, current 35.3, max 35.5
    RECV: Supply voltage: min 12.2, current 12.3, max 12.3, under voltage events: 0, over voltage events: 0
    RECV: Driver 0: standstill, SG min/max not available
    RECV: Driver 1: standstill, SG min/max not available
    RECV: Driver 2: standstill, SG min/max not available
    RECV: Driver 3: standstill, SG min/max not available
    RECV: Driver 4: standstill, SG min/max not available
    RECV: Date/time: 1970-01-01 00:00:00
    RECV: Slowest loop: 0.18ms; fastest: 0.08ms
    RECV: === Move ===
    RECV: Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
    RECV: Scheduled moves: 0, completed moves: 0
    RECV: Bed compensation in use: none
    RECV: Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    RECV: === Heat ===
    RECV: Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    RECV: Heater 0 is on, I-accum = 0.0
    RECV: === GCodes ===
    RECV: Segments left: 0
    RECV: Stack records: 0 allocated, 0 in use
    RECV: Movement lock held by null
    RECV: http is idle in state(s) 0
    RECV: telnet is idle in state(s) 0
    RECV: file is idle in state(s) 0
    RECV: serial is ready with "M122" in state(s) 0
    RECV: aux is idle in state(s) 0
    RECV: daemon is idle in state(s) 0
    RECV: queue is idle in state(s) 0
    RECV: autopause is idle in state(s) 0
    RECV: Code queue is empty.
    RECV: === Network ===
    RECV: Slowest loop: 0.18ms; fastest: 0.01ms
    RECV: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    RECV: HTTP sessions: 0 of 8
    RECV: - WiFi -
    RECV: Network state is starting
    RECV: WiFi module is disabled
    RECV: Failed messages: pending 0, notready 0, noresp 0
    RECV: Socket states: 0 0 0 0 0 0 0 0
    RECV: === Expansion ===
    RECV: ok


  • administrators

    @ngwpower said in Cannot upload files in duet wifi:

    RECV: Network state is starting
    RECV: WiFi module is disabled

    That combination (network stuck in Starting state) if it persists suggests a version mismatch between the main firmware and the WiFi firmware. See https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_How_to_recover_if_the_main_firmware_and_WiFi_firmware_versions_get_out_of_step_on_your_Duet_WiFi for how to recover from this.



  • @dc42 Thank You Sir. Got to this IP screen, could not for the life of me describe this accomplishment, just grateful it has occured and yes I belive in a higher power! 0_1532715442412_2018-7-267 Duet on IP success..jpg Will proceed with details.


Log in to reply