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

    Duet 3 and jetson Nano?

    Scheduled Pinned Locked Moved
    General Discussion
    8
    111
    8.9k
    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.
    • hanshogelandundefined
      hanshogeland @gtj0
      last edited by

      @gtj0 Yes, they worked i succesfully managed to install all of them in this order:

      Get Packages:

      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetcontrolserver_1.0.3.4_arm64.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetruntime_1.0.3.4_arm64.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetsd_1.0.1_all.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetsoftwareframework_1.0.3.4_arm64.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duettools_1.0.3.4_arm64.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetwebcontrol_2.0.0-2_all.deb
      wget --no-check-certificate http://dueui.org/dsf/binary-arm64/duetwebserver_1.1.0.0_arm64.deb

      Duet runtime need Curl

      apt remove -y libcurl4 - If issues
      apt install -y libcurl4 curl

      Install in the following order:

      sudo dpkg -i /home/user/duetruntime_1.0.3.4_arm64.deb
      sudo dpkg -i /home/user/duetcontrolserver_1.0.3.4_arm64.deb
      sudo dpkg -i /home/user/duetsd_1.0.1_all.deb
      sudo dpkg -i /home/user/duetwebcontrol_2.0.0-2_all.deb
      sudo dpkg -i /home/user/duetwebserver_1.1.0.0_arm64.deb
      sudo dpkg -i /home/user/duettools_1.0.3.4_arm64.deb
      sudo dpkg -i /home/user/duetsoftwareframework_1.0.3.4_arm64.deb

      However when I start the serve i Get an error, maybe I need to setup the ip in a Json somewhere:

      e0bdc3a7-40aa-4c45-a9b9-97444aab50bb-image.png

      1 Reply Last reply Reply Quote 0
      • gtj0undefined
        gtj0
        last edited by

        No, what probably happened is that the DuetWebServer is actually already running.
        Try these...

        systemctl status DuetWebServer
        pgrep -fa Duet
        netstat -antp
        
        1 Reply Last reply Reply Quote 0
        • gtj0undefined
          gtj0
          last edited by

          Oh, the other thing is to set up the GPIO that tells the control server that the duet is alive...
          Need another few minutes to find that.

          1 Reply Last reply Reply Quote 0
          • gtj0undefined
            gtj0
            last edited by

            Yeah. In /opt/dsf/conf/config.json, change "TransferReadyPin" from 25 to 13.
            The GPIO pin numbering is different between the Pi and Nano.

            1 Reply Last reply Reply Quote 1
            • wilrikerundefined
              wilriker
              last edited by

              Please don't use 1.0.3.4 as this has some serious regressions. 1.0.3.3 is currently the best option.

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              gtj0undefined 1 Reply Last reply Reply Quote 0
              • gtj0undefined
                gtj0 @wilriker
                last edited by

                @wilriker OK, no problem. Thanks for the heads up.

                1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0
                  last edited by

                  @hanshogeland I just uploaded the 1.0.3.3 arm64 packages. Same links, just change the version numbers.

                  hanshogelandundefined 1 Reply Last reply Reply Quote 1
                  • hanshogelandundefined
                    hanshogeland @gtj0
                    last edited by

                    @gtj0 Thx, great I think I almost got it to work but I cannot get the website up, tried changing the http.json

                    8ca22823-3996-4652-a812-5a73df8e31ef-image.png

                    1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User
                      last edited by

                      did you change the port to 2947?

                      hanshogelandundefined 1 Reply Last reply Reply Quote 0
                      • gtj0undefined
                        gtj0
                        last edited by

                        And when you do the netstat, use sudo so we can see what's listening on which ports..
                        sudo netstat -antp
                        I should have mentioned that before , sorry.

                        hanshogelandundefined 1 Reply Last reply Reply Quote 0
                        • hanshogelandundefined
                          hanshogeland @A Former User
                          last edited by

                          @bearerno, but I forgot to add :80 will try again 🙂

                          1 Reply Last reply Reply Quote 0
                          • hanshogelandundefined
                            hanshogeland @gtj0
                            last edited by

                            @gtj0 yes, I changed the http json to
                            {
                            "Logging": {
                            "LogLevel": {
                            "Default": "Information"
                            }
                            },
                            "Kestrel": {
                            "Endpoints": {
                            "Http": {
                            "Url": "http://127.0.0.1:80"
                            }
                            }
                            },
                            "UseCors": true,
                            "UseStaticFiles": true,
                            "SocketPath": "/var/run/duet.sock"
                            }
                            And the netstat with sudo
                            5b27971b-2d38-4dda-943c-8d49337450af-image.png

                            1 Reply Last reply Reply Quote 0
                            • gtj0undefined
                              gtj0
                              last edited by

                              OK, that's good. It's DuetWebServer listening on port 80.

                              hanshogelandundefined 1 Reply Last reply Reply Quote 0
                              • hanshogelandundefined
                                hanshogeland @gtj0
                                last edited by

                                @gtj0 yes, hmm when I go to the url 127.0.0.1:80
                                I get 500 response
                                feb90ce3-d75d-4e49-8e5e-e7c838a8cfd1-image.png

                                1 Reply Last reply Reply Quote 0
                                • gtj0undefined
                                  gtj0
                                  last edited by

                                  OK so that probably means that the DuetControlServer isn't running so that's the thing to check next.
                                  systemctl status duetcontrolserver

                                  Did you fix the gpio in config.json?

                                  hanshogelandundefined 1 Reply Last reply Reply Quote 0
                                  • hanshogelandundefined
                                    hanshogeland @gtj0
                                    last edited by

                                    @gtj0 said in Duet 3 and jetson Nano?:

                                    systemctl status duetcontrolserver

                                    Yes, I fixed the GIPO, the status and conf
                                    4ccb2795-3c19-45a4-b237-bdbaf2106504-image.png

                                    hanshogelandundefined 1 Reply Last reply Reply Quote 0
                                    • hanshogelandundefined
                                      hanshogeland @hanshogeland
                                      last edited by

                                      @hanshogeland I think I have some more clues, acutally It is saying Duet is not available and the next exception happens when I navigate to the url
                                      176d8676-cfc1-40a3-864f-cf4b1c9c5907-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User
                                        last edited by A Former User

                                        (if you were to copy paste text and use ` and ``` around words and lines respectively it would be so much easier to read and comment than the screenshots; not to mention faster to load and view

                                        ref https://commonmark.org/help/ for formatting help)

                                        hanshogelandundefined 1 Reply Last reply Reply Quote 0
                                        • hanshogelandundefined
                                          hanshogeland @A Former User
                                          last edited by

                                          @bearer got you, will try that the next time (and thx for the tip :))

                                          1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User
                                            last edited by

                                            For instance I could copy/paste the first part where you start DuetControlServer and point out that when you run the binary like that and it returns to the prompt, it is no longer running. And as such DuetWebServer will not work.

                                            You need to either run the binary in its own terminal or in the background; and more importantly find out why it says Duet is not available

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