Help me get connected to my Duet2Wifi



  • Im having some complications with my Duet2 wifi. Im trying to install the board and BL touch on a new machine. I set the IP address in the configurator to 192.168.1.20 but I can't connect using that address and when I check the devices on the router it says its on 192.168.1.10. When I go to that address I get this message "Your Duet rejected the HTTP request: overflow" which is leading me to believe the new config is not being taken by the board. How can I confirm the new cofig is on the board or how do I re-connect the the old config?



  • If you have a router its probably best to make a dhcp reservation and let the duet use a dynamic ip.

    @Kwad3d said in Config not updating:

    "Your Duet rejected the HTTP request

    this usually means the DuetWebControl files are missing on the SD card or some other issue causing the Duet not to find /www/index.htm(.gz)

    see https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware_or_DuetWebControl_files

    or M20 S2 P"/www" https://duet3d.dozuki.com/Wiki/Gcode#Section_M20_List_SD_card



  • Thats how I set it up originally when I installed the board on my CR10. After a power outage one day I could never get it to connect again on that printer and never got any help re-establishing that connection. Because of that I chose to assign a IP address this time so I would know exactly what the address is


  • Moderator

    @Kwad3d said in Config not updating:

    Because of that I chose to assign a IP address this time so I would know exactly what the address is

    You should find the manual for your router to figure out how to reserve an IP address for a device. Much safer than forcing an IP address on the IP itself. Too much chance of a conflict with another device.

    How far do you get with the links posted above?



  • @Phaedrux Yea I have quite a few printers on my router. I have only got 2 or 3 complete prints before the board was not able to connect to my network when I allowed the board to choose its own IP. Because of that and lost settings I was never able to get that printer working again so I pulled the board for a new build. But looks like something is still wrong. I have to point out that this does not happen with marlin using a raspberry pi and being that I have to know a secret handshake to get my wifi back up im not sure why everyone says Duet is way better. At the rate its going I will end up installing a SKR back into the machine and selling the Duet to cut my losses.


  • Moderator

    I'm sorry you're having trouble with it. We've given a few troubleshooting options but you haven't really answered how far you're getting so I'm not sure what more help I can provide.



  • @Phaedrux Sorry if I was not clear but Im not getting anywhere at all. I put a new config on a SD card and put it into the board and power it on. Since I can't connect to my wifi or have a duet screen I can not send any G code. I don't even know if the board is accepting the new config from the SD card for that matter. Because my router is showing the board on the wrong IP address I can only assume the new config is not being accepted by the board. Some customer support from Duet3D would be great but they just direct me to this forum instead. When I compiled the config the first time I didn't have to edit any other files to connect to my wifi so Im confused on why I would have to do that now. My only guess is to erase the board and see If that will get me further.


  • Moderator

    @Kwad3d said in Config not updating:

    Some customer support from Duet3D would be great but they just direct me to this forum instead.

    Hi, I'm your customer support. This is it.

    If the board shows up on the router can you ping that IP address to confirm it's actually there?

    When you go to that IP address in a browser you said you get "Your Duet rejected the HTTP request: overflow", which as Bearer said usually means the web interface files are missing on the SD card. He then showed you how to get the files and check.

    If you put the SD card into your PC, what is the folder structure? Does it match this: https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure

    If you can't connect to the web interface and you don't have a Paneldue to send gcode commands you will need to connect a USB cable and use a USB terminal to send commands. Since this seems to be the case, your next steps would be the same as if the duet was brand new and never connected to the network.

    https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7


  • Moderator

    @Kwad3d said in Config not updating:

    After a power outage one day I could never get it to connect again on that printer and never got any help re-establishing that connection.

    If you mean this other thread of yours: https://forum.duet3d.com/topic/18336/how-do-i-reconnect-to-the-duet-wifi?_=1605495719158

    You never replied to it.



  • @Phaedrux you need to be more specific please. Your asked me to "ping" the board. Forgive me for sounding dumb but is Ping a program or something? I know it is not so please be more specific on how your asking me to communicate with the board. I connected the board directly with a USB cable. it shows up under ports in the Device manager.


  • Moderator

    Ok no problem. At any point you don't know what I'm talking about just ask and I'll explain in more detail. That's how you learn.

    Ping is a networking term (and command) that basically sends a packet of information to an IP address and waits for a response. We'll use this to see if the IP address that the router shows the duet is using is actually being used by the duet.

    If you're on windows press windows key + R to open the run dialogue, then type cmd and press enter. That will open up a command prompt terminal. From there, type ping followed by the IP address the router thinks the duet is using. Make sure the Duet is powered on.

    let me know what it says in reply. If it works then we know the duet is connected to the network and you should be able to access the web interface IF the web interface files are present on the SD card.

    If it doesn't work, then we'd need to go through the getting connected steps.


  • Moderator

    @Kwad3d said in Config not updating:

    I connected the board directly with a USB cable. it shows up under ports in the Device manager.

    If we can't get to the Duet by the network then you'll use the usb connection with a terminal program called YAT. It's detailed here. Rather than me retype it, you can read it here. It even has pictures. https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7



  • @Phaedrux Ok thanks. I will attempt to "ping" the board and I will Intall YAT as well while I'm at it in case I have to go that route


  • Moderator

    Having YAT installed is a good idea regardless in case you ever need to communicate with the board in the future. It's a handy fall back for cases just like this.


  • Moderator

    I'm going to sleep, but regardless of how the ping goes, going through the getting connected guide should get your duet at least connected to the wifi network. From there it's just a matter of having the web interface files on the SD card. All the links provided in this thread should get you there. If you get stuck, ask for clarification and someone will likely be able to answer you in short order. Remember, you catch more flies with honey than vinegar. If you get stuck and no one comes to help, I'll be back tomorrow. Eventually we will get you sorted out, it'll just take some time and effort.



  • @Phaedrux Good Morning. So I used YAT to connect to the board and verified the firmware being used. I also used M552 it says the modal is connected to my network. I disabled the modal and re entered my network information and turned it back on but still not connection to my wifi. I also went through my folder structure and confirmed all the files are there. I went through the documentations but Im not sure what to do next



  • @bearer There is no Index.htm.gz file on the card nor is it listed in the SD folder structure. I also downloaded the SD contents Zip and no such file is there either. I don't see any documentation about creating such a file so not sure where this file is supposed to come from the config tool or if Im supposed to write it myself there is not source material for me to do so.


  • Moderator

    When you send M552 in YAT, did it reply with what IP address it's connected to?

    That would be the address to connect to in the browser.

    Can you also send M115 in the console to get the installed firmware version? We'll need to know that to ensure we're using the right DWC files.



  • @Kwad3d said in Help me get connected to my Duet2Wifi:

    I don't see any documentation about creating such a file so not sure where this file is supposed to come from

    @bearer said in Help me get connected to my Duet2Wifi:

    see https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware_or_DuetWebControl_files

    which says

    If your Duet 2 WiFi is running main firmware 1.19 or later:

    • Upload the new DuetWebControl.zip file through the General tab on the Settings page of DuetWebControl.
    • If the web interface is not working, then move the SD card to a PC, delete or rename any existing /www folder, create a new one, and extract the contents of DuetWebControl.zip into it. Do not unzip the individual .gz files, leave them as they are on the SD card.

    You'll find the zip file on the duet github , the config tool offers to download the latest version, and its bundled inside the reprapfirmware releases like 3.1.1



  • @Phaedrux Yes M552 comes back saying "WiFi module is connected to access point NETGEAR19, IP address 192.168.1.10<LF>ok<LF>" but when I go to that Ip address I get this message "Your Duet rejected the HTTP request: overflow".

    M115 comes back with "FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-06-13b2<LF>ok<LF>"



  • @bearer So being that firmware 1.19 and earlier are not supported anymore shouldn't the SD continents be updated? I don't even think boards are shipped with firmware that far back are they? I confirmed the config on the board was never updated so why would I need to alter any files on the SD when It worked fine before?


  • Moderator

    Ok, so next step will be to try replacing your web interface files on the SD card. So pull the SD card and put it in your PC.

    There should be a WWW folder in the root. Delete the contents of the WWW folder.

    Download this zip file and extract it into the /www folder.

    https://github.com/Duet3D/RepRapFirmware/releases/download/2.03/DuetWebControl-1.22.6.zip

    Inside of the www folder there should now be a CSS, JS, and FONTS folder and a few other files.

    This version matches your installed firmware version 2.03.

    Then put the SD card back in the duet, power it up, and try hitting the IP address in your browser again.



  • @Phaedrux Success. I have re-established a connection to the board. I have swapped to board to a new machine that will be using a BLtouch. I have a V3.1 and in the config tool is says to use 3.3v or risk damage to the board. but the documentation shows it connected to a 5v power source. Which is the correct power for my version of the BLtouch?


  • Moderator

    Congratulations.

    First thing, it's time to update your firmware.

    When connected to the web interface go to the system tab and upload this zip file. Don't extract it or anything first, just upload the zip file. It should detect it and take care of updating things.

    https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip

    Then after it reboots, use M115 from the DWC gcode console to check that firmware is now 2.05.1

    If you're going to be setting up a new machine, now is probably a good time to also update to RRF3 and getting a fresh config for the printer. If you tell me what kind of printer it is and some details about it, I can produce a config file set to use. That would make the BLtouch setup moot since it would contain all those files as well.

    As for connecting the BLtouch, the new BLtouch since v2 and the new duetwifi will all work fine with 3.3 or 5v, so you don't have to do anything anymore.



  • @Phaedrux Forgive me its been a while since I have seen the interface. Im not finding a system tab... I do see a settings tab that has a "upload file(s)" option


Log in to reply