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

    Duet muti printer server anyone?

    Scheduled Pinned Locked Moved
    General Discussion
    16
    54
    7.5k
    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.
    • pogo1213undefined
      pogo1213
      last edited by

      I'll try right when I get home, it will be 3 hours. I tried late last night with 1.02 to no avail.

      1 Reply Last reply Reply Quote 0
      • Cataundefined
        Cata
        last edited by

        Nice server. Currently I am using a split screen with two tabs. I will try this in my 7" screen with raspberry pi 3.

        1 Reply Last reply Reply Quote 0
        • tomasfundefined
          tomasf
          last edited by

          Nice work. This could be pretty handy.

          Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS. 😕

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            @tomasf:

            Interesting to see that DWC includes a Access-Control-Allow-Origin header that allows stuff like this. Doesn't feel great that any website could pull data from my Duet if it wanted to. Or for that matter, execute arbitrary G-code, which would work even without CORS. 😕

            Just my opinion:

            The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.

            With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it...).

            Given that a Duet can't be treated as secure, then configuring toward maximum utility on the local network segment makes sense.

            Again, just my opinion.

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by

              @Austin55:

              I am much more interested to know more about duet printer server. I will wait for next updates.

              About

              • A Duet Board/Firmware?

              • "Duet Web Control" that comes with the board firmware?

              • "Multi Duet Web Monitoring and Control" which is being discussed in this thread?

              Delta / Kossel printer fanatic

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

                @Danal:

                There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                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 Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  @dc42:

                  @Danal:

                  There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                  Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                  Ah, interesting… is the underlying technique usable from a browser/javascript?

                  And/or is the "Find my Duet" source available?

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators
                    last edited by

                    @Danal:

                    And/or is the "Find my Duet" source available?

                    See https://github.com/chrishamm/FindMyDuet

                    Duet software engineer

                    1 Reply Last reply Reply Quote 0
                    • tomasfundefined
                      tomasf
                      last edited by

                      @Danal:

                      The Duet server should be treated as insecure, with or without any given header, etc. For one thing, it doesn't do HTTPS, and so the password should be considered open to discovery by anyone on the same network. Traffic to and from a Duet should never be exposed outside the network segment it is on… NEVER to the public internet. It should ALWAYS be proxied with external authentication and external facing HTTPS provided by that proxy.

                      I agree. I just think it's a shame that this is the case. TLS might be a bit too much to ask, I guess, but some rudimentary cookie-based authentication sounds reasonable to me. Attackers could still sniff the traffic and find the password when the user authenticates, but it's much better than nothing.

                      @Danal:

                      With regard to "Any Arbitrary Website", the code loaded from a malicious website into a browser that was already connected to a Duet (via DWC or MultiDWMC) would have to find the Duet's address. There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                      Yep, apart from using a zeroconf address (that you would still have to guess). However, a web page could iterate through common local IP numbers (say 192.168.0.*) and the chance of finding it would be relatively significant. I don't like the idea of security through obscurity. 🙂

                      1 Reply Last reply Reply Quote 0
                      • Danalundefined
                        Danal
                        last edited by

                        @dc42:

                        Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                        So mDNS / Bonjour is supported by Duet firmware. Unfortunately, there is no way (I can find) to browse for a mDNS / Bonjour directly from Browser based Javascript.

                        This does (somewhat) address the security concern.

                        Delta / Kossel printer fanatic

                        1 Reply Last reply Reply Quote 0
                        • Danalundefined
                          Danal
                          last edited by

                          By the way, I'm taking a short pause to re-package "Multi" for github, and create build scripts that produce a .zip package suitable for "serving from Duet" and a package suitable for "Serving from anywhere".

                          More soon… meanwhile, keep the feedback and design ideas coming...

                          http://danalspub.com/MultiDWMC

                          for now, if you want to take a look.

                          Delta / Kossel printer fanatic

                          1 Reply Last reply Reply Quote 0
                          • BuildA3DPrinter.euundefined
                            BuildA3DPrinter.eu
                            last edited by

                            I really like (and want!) this. We are building a farm of at least 10 large scale custom printers (build volume 1000x1000x1200mm at least).
                            This would be a great addition to keep everything in check.

                            My wishlist now would be:

                            • Make printers manually sortable to organize them in a particular order.
                            • Show name of the current print.
                            • Make the action buttons customizable. I do not want a calibration button but for instance would like to have a babystep button or something else. Making it possible to select the buttons I want would be awesome.
                            • Make the theme match the Dark theme. Luxury wishlist naturally.

                            I can help with the Dutch translation if you want. Native Dutch speaker here… 😉

                            Keep up the great work!

                            Build A 3D Printer.eu - Duet reseller in the Netherlands

                            1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal
                              last edited by

                              Sorting: On the way.

                              Name of current print: On the way.

                              Action buttons custom: Probably not. Lot of work, and the real answer is just to click in the name/ip box for that printer and open full DWC in another tab.

                              Theme: Maybe. Probably, but no absolute commitment. Under the covers, this uses the same CSS as DWC, so this should be relatively easy.

                              Dutch translation: Under the covers it uses the same language files and translation scheme as DWC, at this moment, the language is greyed out, but I do plan to turn it on. When it becomes active, there will need to be a few more entries in each language…. for you to do the Dutch ones should be erg makkelijk.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal
                                last edited by

                                R2.00 posted to http://danalspub.com/MultiDWMC/

                                Changes in this release:

                                Repackaged to make building for Duet vs. "any server" easier.
                                Added sorting of rows. Not entirely happy with how it works internally, may change it.
                                Added file name and size when printing.

                                Should be fairly usable at this point. The package builders for "Server from Duet" and "Serve from anywhere" are working and lightly tested. I will put this on github in the next few days.

                                Delta / Kossel printer fanatic

                                1 Reply Last reply Reply Quote 0
                                • Danalundefined
                                  Danal
                                  last edited by

                                  R2.01 now available.

                                  Including "Serve from Duet". See: https://github.com/DanalEstes/MultiDuetWebMonitor

                                  Or:

                                  1. Download the github file (via the download button, NOT via "right click")
                                    https://github.com/DanalEstes/MultiDuetWebMonitor/blob/master/MultiDuetWebControl-Duet-2.01.zip

                                  2. Upload to Duet via the normal upload process. Do not unzip.

                                  3. Invoke via HTTP://your-duet-ip-or-name/multi.htm

                                  Feedback welcome.

                                  Delta / Kossel printer fanatic

                                  1 Reply Last reply Reply Quote 0
                                  • SputnikOC3dundefined
                                    SputnikOC3d
                                    last edited by

                                    @dc42:

                                    @Danal:

                                    There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                                    Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                                    Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …

                                    P.S. - very cool project / server app buddy KUDOS.

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

                                      @SputnikOC3d:

                                      @dc42:

                                      @Danal:

                                      There is no (known) way to discover a Duet. (Otherwise, I'd be using it…).

                                      Actually there is a way to discover a Duet WiFi if you have an Android smartphone or tablet. Look for "Find my Duet" on Google Play.

                                      Jeeebus H Mary and Josef !!!! Where has this been all my Duet life ? Thanks for this - finding where this machine is on my net has been doing my dome in for weeks …

                                      P.S. - very cool project / server app buddy KUDOS.

                                      Thanks are due to chrishamm for writing it, not to me.

                                      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 Reply Quote 0
                                      • DjDemonDundefined
                                        DjDemonD
                                        last edited by

                                        Works great, monitoring 3 machines. Extremely easy to install and setup.

                                        Excellent work. I could see this being very popular.

                                        Simon. Precision Piezo Z-Probe Technology
                                        www.precisionpiezo.co.uk
                                        PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                        1 Reply Last reply Reply Quote 0
                                        • 3D_lowundefined
                                          3D_low
                                          last edited by

                                          Was there any progress on this? Is it possible to contribute in some way?

                                          Danalundefined 1 Reply Last reply Reply Quote 0
                                          • AlexLinundefined
                                            AlexLin
                                            last edited by

                                            cool this should be promoted a bit more

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