duet 0.85 no network unless I change the MAC Address
-
I think I'm still on 1.21rc2 firmware. One thing I have noticed is DWC will still run without a connection from the browsers cache, which could be confusing. Refresh your browser and DWC can't connect either. I have tried DHCP and a static IP, but only DHCP after changing the MAC address works for me. Are there diagnostics I can log or run?
Also, somehow I get a 4.000mm offset for my Z access when running bed mesh compensation. Every probe point shows a 4mm shift upwards. My G31 has Z0.22, and the only reference I see to a 4 is the M558 probe height. I will post my config file as soon as I get a network connection or go get the SD card again.
David
-
I suggest you try the 1.22 release. After I upgraded the compiler version (at firmware 1.19.2 AFAIR), several users of older Duets found that their boards wouldn't boot up unless they used a static IP address. Your issue may be related to this. At version 1.22 I upgraded the compiler again, which seems to have resolved the issue.
-
i upgrqded the firmware, now I an't get a network connetion at all okI tried looking in my router logs for errors, but don't see anything. Pronterfae is urrently on Ubuntu, and my windows partition wasn't found today. I have been running screen but don't know how to force an attempt to connect. I saw some diagnostic commands from Chris somewhere. Hope I can find them. BTW, can DWC be run from USB? There should be an alternternative that really works for linux. Maybe I can get screen to work properly, with echo and formatted output.
-
heres my config
; Configuration file for Mini Kossel kit from Think3DPrint3D; Communication and general
M111 S0 ; Debug off
M550 Printer ; Machine name and Netbios name (can be anything you like)
M551 Preprap ; Machine password (used for FTP)
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; MAC Address
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P0.0.0.0 ; IP address (0 = use DHCP)
M554 P192.168.1.1 ; Gateway
M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Comms parameters for PanelDue
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Axis and motor configuration
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
M665 R206.4 L360 B150 H382.17 X0.482 Y-0.244 Z0.00 ; set delta radius, diagonal rod length, printable radius and homed height
M666 X-2.193 Y0.589 Z1.605 A-0.12 B-0.15
; Heater model parameters
M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
M307 H1 A511.2 C214.6 D11.3 S1.00 V0.0 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
; put your endstop adjustments here, or let auto calibration find them
M92 X100 Y100 Z100 ; Set axis steps/mm
M906 X1200 Y1200 Z1200 E1200 I60 ; Set motor currents (mA) and increase idle current to 60%
M201 X3000 Y3000 Z3000 E1000 ; Accelerations (mm/s^2)D
M201 X3000 Y3000 Z3000 E1000 ; Accelerations (mm/s^2)
M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Set auxiliary serial port baud rate and require checksum (for PanelDue)G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Fans
M106 P1 H1 T45 S1 ; hot end fan
M106 P2 H100:101 T45:55 L0.3 ; electronics cooling fan; Thermistors and heaters
M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B4188 R4700 H0 L0 ; Use RTD to monitor Heater 1 temperature; Enable logging after setting the heater models to avoid logging the usual warnings of overpowered heaters
M929 S1 P"eventlog.txt"; Tool definitions
M563 P0 D0 H1 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;M563 P1 D1 H1
;G10 P1 S0 R0 ; Set tool 0 operating and standby temperaturesM92 E100:100 ; Set extruder steps per mm
; Z probe and compensation definition
M558 P8 H8 F1000 T12000 R0.8 S0.05 A3 ; Z probe is delta effector, Z probe dive height 3mm, probing speed 1000mm/min, travel speed 12000mm/min, max 5 taps, tolerance 0.02mm
;M558 P8 H6 F1000 T10000 R0.4 S0.02 A1 ; Z probe is delta effector, Z probe dive height 3mm, probing speed 1000mm/min, travel speed 12000mm/min, max 5 taps, tolerance 0.02mm
G31 X0 Y0 Z-0.32 P100 ; Set the zprobe offsets and threshold (put your own values here)
M208 Z-6 S1
M557 R120 S60 ; Define grid;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation hereM501 ; run config-override.g
T0 ; select first print head
-
Try using a static IP.
-
Try sending M552 to see if your router has assigned the Duet an IP address.
-
I tried static, sending m552 s0, setting the ip to a valid one , then m552 s1. setting the IP to all zeros,then m552 s1. Nothing worked at all. On a hunch I grabed an old lynksys router and connected my printer and laptop to that. Of course it works just like it should.
5260
There is an obvious problem with Spektrum's newest offering, the Sagecom Fast 5260. I found a reference to some MAC addresses being blocked, but no place to block a MAC address, or even really view a log file. I'm using my router from now on. Thanks for replying. I was totally lost until I searched and found the commands to send to test my network. based on what you had me send.I also figured out the ABS heating issue. It was heating fine, I had the wrong steps per mm for my extruder and had never calibrated the ADC on the duet.
I still get a 4mm z offset from somwhere when running mesh compensation. all probee values are 4.XX instead of 0.xx. weird.
-
I'm glad you sorted it. The MAC addresses normally used by the Duet have the "Locally administered" bit set, because they are not assigned by a manufacturer of Ethernet chips. Perhaps this is what your router was objecting to.
@v0i9viper said in duet 0.85 no network unless I change the MAC Address:
I still get a 4mm z offset from somwhere when running mesh compensation. all probee values are 4.XX instead of 0.xx. weird.
What type of Z probe are you using; and how do you home the Z axis?