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

    Can accidental change of MAC address be protected?

    Scheduled Pinned Locked Moved
    General Discussion
    6
    13
    608
    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.
    • User3Dundefined
      User3D
      last edited by User3D

      Can I stop users from changing MAC address i.e. use of M540 ?

      jay_s_ukundefined cosmowaveundefined dc42undefined 3 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @User3D
        last edited by

        @user3d only by building your own version of the firmware and disabling M540. There's no privileges built into RRF. But even then, there's nothing stopping a user from updating to a duet version of the firmware and using M540

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        User3Dundefined 1 Reply Last reply Reply Quote 2
        • cosmowaveundefined
          cosmowave @User3D
          last edited by

          @user3d When the MAC Address is set in config.g , it will be reset after boot up...

          Mankati FSXT+, DeltaTowerV2, E3D MS/TC

          1 Reply Last reply Reply Quote 1
          • dc42undefined
            dc42 administrators @User3D
            last edited by

            @user3d do you mean completely preventing a code being used; or just preventing it after config.g has been run; or just preventing it being used in print files?

            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

            User3Dundefined 2 Replies Last reply Reply Quote 0
            • User3Dundefined
              User3D @dc42
              last edited by

              @dc42 said in Prohibit use of a code?:

              @user3d do you mean completely preventing a code being used; or just preventing it after config.g has been run; or just preventing it being used in print files?

              @dc42 Complete prevention of a code

              1 Reply Last reply Reply Quote 0
              • User3Dundefined
                User3D @jay_s_uk
                last edited by

                @jay_s_uk Got it... Thanks for the reply 🙂

                1 Reply Last reply Reply Quote 0
                • User3Dundefined
                  User3D @dc42
                  last edited by

                  @dc42 @jay_s_uk I don't want anybody to change the MAC address of board as I don't want my version of DWC to work with any other board. So can I stop users from changing MAC address? If not then, is board given any unique serial number that I can use to impose security ?

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @User3D
                    last edited by

                    @user3d Given that the Duet ecosystem, including the firmware, is an open source project, then I would have thought that it is not possible to prevent users from making certain changes. Essentially, what you would need to do is create a custom firmware which could never be updated with any other version, which then makes it closed source. It sounds like you have a version of DWC which uses that philosophy - not sure where you stand with licensing on that......

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    User3Dundefined 1 Reply Last reply Reply Quote 1
                    • User3Dundefined
                      User3D @deckingman
                      last edited by

                      @deckingman Dear Ian ,
                      Thank you for the details. We don't plan to take away rights from the user to upgrade the software. Any upgrade in RRF will always be directed to the user.
                      My requirement is not to disable a feature of processing an instruction, But rather avoid accidental change of address. And looking for suggestion on that.
                      Also, I believe a power cycle will retain back the original address.
                      The point here was merely to ensure no theft, by reading a list of machines connected via DWC, ensuring boards are not tampered with.

                      oliofundefined 1 Reply Last reply Reply Quote 0
                      • oliofundefined
                        oliof @User3D
                        last edited by

                        @user3d I still don't understand what exactly you want to stop from being stolen. Your version of DWC?

                        Technically, you won't easily be able to tie DWC to a specific board; if you find a solution media companies will make you rich for the DRM scheme quicker than you can make money from selling locked down 3d printers.

                        License wise, if that's derived from DWC proper, my layman's understanding is that you are bound to the GPL and need to provide the source code to your customers who then have the right to modify and use and redistribute it (right to modify includes removing MAC address checks or any other hardware checking scheme). Consult a lawyer versed in open source licensing if in doubt.

                        Maybe it's not worth trying to lock down your version of DWC, and just better for everyone if you teamed up with Chris Hamm to make DWC better for all ...

                        If anything, Duet3D has shown for more than 15 years now that you can make a successful hardware company selling and offering completely open source products, from hardware design to software (yes, some components aren't free, like CAN-FD, but IIRC CanOpen wasn't a thing or didn't have the required capabilities).

                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                        User3Dundefined 1 Reply Last reply Reply Quote 1
                        • User3Dundefined
                          User3D @oliof
                          last edited by

                          Dear @oliof @deckingman
                          I believe there is a grave misunderstanding here!

                          Please be rest assured, that I have not done anything that contradicts the licensing terms. The very first question in the thread was "Can I ....?" .
                          I am aware of GNU license terms and have adhered to it, being an active forum user, i also solve queries possible. However, It was a requirement from a naive user who doesn't know how to code and hence the question. Intention here was just to see if user requirement can be fulfilled and nothing more!
                          I guess the subject was misleading and fixed hence!

                          NOTE: my version of DWC = DWC with dark theme with some colors changed for user. no breaching of license.

                          I will check with Chris Hamm , if a solution can be derived to this kind of user requirement.

                          dc42undefined 1 Reply Last reply Reply Quote 1
                          • dc42undefined
                            dc42 administrators @User3D
                            last edited by

                            @user3d the processors used in Duet have unique IDs. You can retrieve the ID from the object model. Look under boards[0].uniqueId.

                            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

                            User3Dundefined 1 Reply Last reply Reply Quote 1
                            • User3Dundefined
                              User3D @dc42
                              last edited by

                              @dc42 Thank you!

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