Newbie Seeking Help
Im trying to get my Duet 2 v2.0 running. I can connect via YAT USB COM8 port. I've tried sending my wifi details & the M587 command seems to accept but when i request register, it comes back with IP NULL.
I have my IP set for 192.168.1.120 & it receive "Your Duet rejected the HTTP request: page not found".
Blue light is ON solid. i.e. not flashing. The band i am connecting the Duet 2 is 2G.
I did a DuetWiFiServer.bin update but same problem exists.
I have been trying for days to get the http working & updating the firmware to V3.01 RC1 without success.
i also have a microsd car with /www & /sys folder in the root section.
What can i do now?
Have you extracted the latest DWC into the /www folder?
Can you should the contents of that folder?
Is it correct?
That looks correct.
Your config files should be part of the sys folder and not in their own separate directory.
Can you get an output of M122 and M115? That can be done through YAT
I suggest you check that the files in /www are accessible on the Duet. To do this, send the following command from YAT:
So i have /www separate & /sys separate.
The /config/sys & /config/www directory & files, i was just trying to see if that would solve the problem.
This post is deleted!
It does remember my SSID, just not my IP address.
Do i need to port forward? i have an Asus GT-AC5300 router.
This is interesting. Does this mean i can't see my /sys files?
If so why?
Danal last edited by
They should not be sub-directories of /config.
It does imply that.
I would suggest copying everything off the SD card and formatting it with the SD card formatter https://www.sdcard.org/downloads/formatter/
I would also suggest only copying across the /sys and /www folders.
Thankyou. I have deleted those other files. Checked /sys folder again.
But still no DWC !!!!
PaulHew last edited by
@turbo3000 I would go back to basics. Please post your config.g just incase.....
M587 with only the S & P parameters, so it gets the address from the router as opposed to being defined, just incase........................
Get DWC working first then progress from that.
So M20 "/www" does not show anything? It did on your post @ 16:40.:confused:
; Configuration file for Duet WiFi (firmware version 2.00)
; executed by the firmware on start-up
; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri May 01 2020 01:28:58 GMT+1000 (Australian Eastern Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name
M667 S1 ; select CoreXY mode
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z4000.00 E98.00 ; set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E1500.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
M906 X950 Y950 Z950 E950 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X330 Y330 Z400 S0 ; set axis maxima
M574 X1 Y1 Z1 S0 ; set active low and disabled endstops
M558 P5 H5 F0 T6000 ; set Z probe type to switch and the dive height + speeds
G31 P600 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings are not defined
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
Which browser are you using?
Does it work any better if you enter this in the address bar:
PS - firmware version 2.0 is rather old!
i got something !!!!
I think the reason may be that the version of Duet Web Control you are using is much later than the version of the main firmware. Firmware 2.0 was designed to work with a much older version of DWC.
I suggest you upgrade to firmware 2.05.1. Download Duet2CombinedFirmware from https://github.com/dc42/RepRapFirmware/releases/tag/2.05.1 and copy it into /sys on the SD card. Put the card back in the Duet, start the Duet, and send M997 from YAT. After 30 seconds, reconnect form YAT and send M115 to see if the update was successful.
Ok the firmware update worked perfectly, however, this problem remains!
should i force the static IP in the config.h file?
Danal last edited by Danal
Now is the time to follow this:
You will already be at about step 6, with what you've done.
When you type in just the IP address in the browser, what message does it report now? You may need to clear the browser cache.
no errors in the browser when going the direct IP address.
and strangely, it knows my assigned static IP address but it cannot remember it? maybe this is a firmware issue?
I didn't have to send the M587 S & P command, it knows my static address, but when we run the M587, the SSID is remembered, but the IP is NULLED, yet the static IP address is there.
ok so i go to Step 8.
Sent M552 S0
then M552 S1 P192.168.1.120
and now i get this... and even after 30seconds, i try M552 & it remains with those errors