Maestro Network startup



  • Hoping that someone has run across a network startup fix, searched the forum, a lot of can't connect to DWC but no mention of a specific network issue.

    Initial power on will not give me a network connection. Only a quick power cycle will light up the network interface leds on the Maestro and my network switch, then everything works fine.
    It's seems like the network interface does not initialize from a cold startup.

    I'm using a static IP. M98 Pconfig.g gives no errors.

    Any pointers would be appreciated.
    Thanks..

    Firmware Electronics: Duet Maestro 1.0
    Firmware Version: 2.05.1 (2020-02-09b1)
    Web Interface Version: 1.22.6

    ; Configuration file for Duet Maestro (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Mar 13 2020 15:11:23 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"TEST1" ; set printer name

    ; Network
    M552 P192.168.0.75 S1 ; enable network and set IP address
    M553 P255.255.255.0 ; set netmask
    M554 P192.168.0.26 ; set gateway
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet



  • need to add M552 S1 to enable the network after setting it up (i think)

    what does it say if you run just M552?



  • @bearer said in Maestro Network startup:

    M552
    I'll give it a try.

    M552
    Network is enabled, configured IP address: 192.168.0.75, actual IP address: 192.168.0.75.



  • Hmm, could be trouble with auto negotiation of the link parameters between the switch and the Maestro, have been a few examples of that. Unless you have a managed switch not much to do about it, but you could try a direct connection to your computer and see if setting a fixed link speed there helps?


  • Moderator

    How about if you use DHCP on the duet and let the router reserve the ip address?



  • I don't think its a layer 3 issue, as the lights on the interface would be on even if the IP stuff didn't work.



  • Splitting out the single line code M552 from;
    M552 P192.168.0.75 S1 ; enable network and set IP address
    to
    M552 S1 ; enable network
    M552 P192.168.0.75 ; set IP address

    Solved it for for me. Thanks for the pointer bearer!



  • Curious does it make a difference if you do M552 S1 P192.168.0.75 instead of M552 P192.168.0.75 S1 ?

    Are there any other M552 commands in your config? Just asking to see if this is something that should be clearer in the documentation or if it might be unintended behaviour.


  • administrators

    @bearer said in Maestro Network startup:

    Curious does it make a difference if you do M552 S1 P192.168.0.75 instead of M552 P192.168.0.75 S1 ?

    Are there any other M552 commands in your config? Just asking to see if this is something that should be clearer in the documentation or if it might be unintended behaviour.

    It shouldn't matter whether you use 1 or 2 separate M552 commands in config.g. The S1 command will be deferred until config.g has completed running.



  • @dc42 said in Maestro Network startup:

    It shouldn't matter whether you use 1 or 2 separate M552 commands in config.g.

    so either something else changed or the order mattered even it shouldn't have? which is why I asked as it seemed an improbable explanation.

    @dc42 said in Maestro Network startup:

    The S1 command will be deferred until config.g has completed running.

    noted, good to know


Log in to reply