Unable to Connect Duet Ethernet via Web Interface



  • From the post above it states to change the config.g file. How and where do I do this?





  • @aidar Yes but I don't see where it shows me to change the config file.



  • Your config file is on your SD card in \sys folder. If you cant connect to your Duet via network, then take your card out of Duet, put it in your computer and edit it there. If you dont know, what to edit in config file, then this can help you : https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter



  • Thanks, I will try it when I am home.



  • @aidar Ok I removed the M40 command and changed the IP to 0.0.0.0....and I still can't connect..anything else I am missing?


  • administrators

    What response do you get when you send command M552 via the USB port?





  • @dc42
    ; Configuration file for factory testing Duet Ethernet and Wifi with V2.01 firmware


    FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!


    ; Communication and general
    M111 S0 ; Debug off
    M550 PDuetTest ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)

    *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM
    M552 P0.0.0.0 ; IP address
    M554 P192.168.1.255 ; Gateway
    M553 P255.255.255.0 ; Netmask

    ;*** End of factory test lines to be removed

    ;*** Networking
    M552 S1 ; Turn network on

    M555 P2 ; Set output to look like Marlin
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Disable Fan 1 thermostatic mode
    M106 P1 H-1

    ; 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 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
    M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
    M92 X80 Y80 Z80 ; Set axis steps/mm
    M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
    M201 X1000 Y1000 Z1000 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

    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction
    M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction

    M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

    ; Adjustments for dummy heaters on test rig
    M307 H0 A250 C140 D5.5 B1
    M307 H1 A250 C140 D5.5 B0
    M307 H2 A250 C140 D5.5 B0

    ; Fans
    M106 P1 S-1 ; disable thermostatic mode for fan 1

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a single-nozzle build, comment the next 2 lines
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
    M92 E80:80 ; Set extruder steps per mm

    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command.
    M558 P5 F100 T6000 X0 Y0 Z0 H3 ; Z probe is a Smart Effector and is not used for homing any axes R0.4 not used. Reduced F300 to 100
    G31 P100 X0 Y0 Z-0.25 ; Set the zprobe height and threshold for Smart Effector

    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here

    M208 S1 Z-0.2 ; set minimum Z

    T0 ; select first hot end
    ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config


  • administrators

    The M552 response shows that the Duet failed to get an IP address. Do you have the Duet connected to your router, or directly to a PC or laptop?



  • @dc42 It is connected to a powered land line.



  • @dc42 Question....can the computer I am using be in Wifi? or does it have to be in a land line?



  • @mfisher103 said in Unable to Connect Duet Ethernet via Web Interface:

    @dc42 Question....can the computer I am using be in Wifi? or does it have to be in a land line?

    It shouldn't matter as long as you're both connected to the same router.


  • administrators

    @mfisher103 said in Unable to Connect Duet Ethernet via Web Interface:

    @dc42 It is connected to a powered land line.

    I'm sorry, I don't understand what you mean by "powered land line".



  • @dc42 I think the problem was that the computer I was using was on WiFi....I ran land lines to the computer and the Duet and it's working now...



  • @dc42 i also did the steps but its not working either


Log in to reply