Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Editing files in /sys/subdirectory???

    Duet Web Control
    4
    15
    70
    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.
    • GeorgeM
      GeorgeM last edited by

      Since I am using my machine for both printing and laser engraving, I am making use of the M505 command to use alternate configuration files. However it seems like I cannot edit the files in the directory under the sys directory. I have to put the card in my computer to edit them. Is there something I am missing or is that a request that should go in for an enhancement?

      T3P3Tony Dougal1957 Danal 3 Replies Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Duet Web Control does not support editing arbitrary files in arbitrary directories.

        You can turn on FTP and transfer/edit/transfer anything anywhere on the SD. When FTP is on, so is SFTP and some editors will use (one of these) to make it fairly seamless. Many people do this simply to use an "editor of choice" instead of the primitive edit capability build into DWC.

        Make sense?

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • T3P3Tony
          T3P3Tony administrators @GeorgeM last edited by T3P3Tony

          @GeorgeM

          On 1.X versions of DWC this is not available as far as I remember

          On 2.X version go to system and the option to make and enter directories should work

          Duet Hardware Designer
          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • Dougal1957
            Dougal1957 @GeorgeM last edited by Dougal1957

            @GeorgeM said in Editing files in /sys/subdirectory???:

            Since I am using my machine for both printing and laser engraving, I am making use of the M505 command to use alternate configuration files. However it seems like I cannot edit the files in the directory under the sys directory. I have to put the card in my computer to edit them. Is there something I am missing or is that a request that should go in for an enhancement?

            It works for me on the latest system Not tried it on v2 system tho

            Just tested on V2 of DWC and it works ok there as well

            1 Reply Last reply Reply Quote 0
            • Danal
              Danal @GeorgeM last edited by Danal

              @GeorgeM said in Editing files in /sys/subdirectory???:

              files in the directory under the sys directory

              @T3P3Tony said in Editing files in /sys/subdirectory???:

              go to system and the files are there

              Tony, I don't believe that DWC supports editing files in sub directories under /sys

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • Dougal1957
                Dougal1957 last edited by Dougal1957

                DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

                Danal 1 Reply Last reply Reply Quote 0
                • Danal
                  Danal @Dougal1957 last edited by

                  @Dougal1957 said in Editing files in /sys/subdirectory???:

                  DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

                  Having them, yes. Editing files in them??

                  Delta / Kossel printer fanatic

                  Dougal1957 1 Reply Last reply Reply Quote 0
                  • Dougal1957
                    Dougal1957 @Danal last edited by

                    @Danal said in Editing files in /sys/subdirectory???:

                    @Dougal1957 said in Editing files in /sys/subdirectory???:

                    DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

                    Having them, yes. Editing files in them??

                    Yes I can edit them as well!

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

                      Yep, just answered my own question. Web 1.x doesn't let you, Web 2.x does. Thanks @Dougal1957 !!

                      Latest repository: https://github.com/chrishamm/DuetWebControl check under "releases".

                      Delta / Kossel printer fanatic

                      GeorgeM 1 Reply Last reply Reply Quote 0
                      • GeorgeM
                        GeorgeM @Danal last edited by

                        @Danal Is "package.json" the file I should dl?

                        T3P3Tony 1 Reply Last reply Reply Quote 0
                        • T3P3Tony
                          T3P3Tony administrators @GeorgeM last edited by T3P3Tony

                          @GeorgeM go to:

                          https://github.com/chrishamm/DuetWebControl/releases

                          and grab the appropriate zip file for your Duet (duet 2 or Duet 3)

                          The contents go in the www directory

                          Duet Hardware Designer
                          www.duet3d.com

                          GeorgeM 1 Reply Last reply Reply Quote 0
                          • GeorgeM
                            GeorgeM @T3P3Tony last edited by

                            @T3P3Tony Never mind. I figured it out.

                            1 Reply Last reply Reply Quote 0
                            • GeorgeM
                              GeorgeM last edited by

                              Well I spoke too soon. I dl from here
                              https://github.com/chrishamm/DuetWebControl/tree/next
                              which is the "next" tree of DWC.
                              It downloads a file DuetWebControl-next.zip
                              But when I install this from within DWC 1.22.6 I see it unzipping a lot of files and then a blank screen.
                              I have to copy my backup /www directory onto the card to get back up.
                              Do I have the wrong file?

                              T3P3Tony 1 Reply Last reply Reply Quote 0
                              • T3P3Tony
                                T3P3Tony administrators @GeorgeM last edited by

                                @GeorgeM

                                @T3P3Tony said in Editing files in /sys/subdirectory???:

                                @GeorgeM go to:

                                https://github.com/chrishamm/DuetWebControl/releases

                                and grab the appropriate zip file for your Duet (duet 2 or Duet 3)

                                The contents go in the www directory

                                Duet Hardware Designer
                                www.duet3d.com

                                GeorgeM 1 Reply Last reply Reply Quote 0
                                • GeorgeM
                                  GeorgeM @T3P3Tony last edited by

                                  @T3P3Tony Thank You. That works.

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