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

    Editing files in /sys/subdirectory???

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    15
    498
    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.
    • GeorgeMundefined
      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?

      T3P3Tonyundefined Dougal1957undefined Danalundefined 3 Replies Last reply Reply Quote 0
      • Danalundefined
        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
        • T3P3Tonyundefined
          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

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • Dougal1957undefined
            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
            • Danalundefined
              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
              • Dougal1957undefined
                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

                Danalundefined 1 Reply Last reply Reply Quote 0
                • Danalundefined
                  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

                  Dougal1957undefined 1 Reply Last reply Reply Quote 0
                  • Dougal1957undefined
                    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
                    • Danalundefined
                      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

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

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

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          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

                          www.duet3d.com

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

                            @T3P3Tony Never mind. I figured it out.

                            1 Reply Last reply Reply Quote 0
                            • GeorgeMundefined
                              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?

                              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                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

                                www.duet3d.com

                                GeorgeMundefined 1 Reply Last reply Reply Quote 0
                                • GeorgeMundefined
                                  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