• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Maestro Network startup

Scheduled Pinned Locked Moved Solved
Duet Web Control
4
10
347
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    William
    last edited by William 16 Mar 2020, 22:01

    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

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by A Former User 16 Mar 2020, 22:08

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

      what does it say if you run just M552?

      1 Reply Last reply Reply Quote 0
      • undefined
        William
        last edited by 16 Mar 2020, 22:16

        @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.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by 16 Mar 2020, 22:19

          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?

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 16 Mar 2020, 22:59

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

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by 16 Mar 2020, 23:00

              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.

              1 Reply Last reply Reply Quote 0
              • undefined
                William
                last edited by 17 Mar 2020, 15:32

                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!

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by 17 Mar 2020, 16:14

                  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.

                  undefined 1 Reply Last reply 17 Mar 2020, 20:40 Reply Quote 0
                  • undefined
                    dc42 administrators @A Former User
                    last edited by 17 Mar 2020, 20:40

                    @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.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    ? 1 Reply Last reply 17 Mar 2020, 21:06 Reply Quote 0
                    • ?
                      A Former User @dc42
                      last edited by 17 Mar 2020, 21:06

                      @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

                      1 Reply Last reply Reply Quote 0
                      5 out of 10
                      • First post
                        5/10
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA