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

config.g disappears

Scheduled Pinned Locked Moved
General Discussion
11
41
2.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.
  • undefined
    norwestie
    last edited by 18 May 2021, 18:31

    My SD card is missing the file, although there is a config.txt. This is the 2nd time this has happened. I'm attempting to get my Kossel set up and the DWC can't connect to the board after working fine for weeks. The 1st time, I connected via USB and found it working and someone suggested copying my config.g from my computer to the SD card. That worked for a while. It happened again and I repeated the process but now I have no ethernet connectivity. All other LEDs are on. I tried copying the entire RRF file to a new SD card but that didn't help. Do I have a faulty board?

    Anycubic Kossel Linear Plus
    Duet Mini 5+ Ethernet
    Firmware 3.3RC2

    undefined undefined 2 Replies Last reply 18 May 2021, 22:20 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by Phaedrux 18 May 2021, 21:32

      Is the SD card the same one as last time, or did you replace it with a new one? If you have no replaced it yet, please do so.

      Is the SD card blank on your PC?

      We've seen SD card readers fail before, but that manifests as not being able to read the card, I've never seen it where it's erased the card. Though we have seen SD cards fail.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 20 May 2021, 20:14 Reply Quote 0
      • undefined
        droftarts administrators @norwestie
        last edited by 18 May 2021, 22:20

        @norwestie Can you take a look at this thread? https://forum.duet3d.com/topic/21652/deleting-config-g-file

        Suggestions are that there is a factory test macro that you may inadvertently be pressing, WiFi environment problems, or Duet board SD card socket malfunction.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        undefined 1 Reply Last reply 19 May 2021, 18:29 Reply Quote 0
        • undefined
          norwestie @droftarts
          last edited by 19 May 2021, 18:29

          @droftarts No macros. I haven't even started a print yet!

          Anycubic Kossel Linear Plus
          Duet Mini 5+ Ethernet
          Firmware 3.3RC2

          1 Reply Last reply Reply Quote 0
          • undefined
            peter247 @norwestie
            last edited by 20 May 2021, 09:35

            @norwestie I had the same problem once.
            I was making changes to config.g when I had problem with my wifi , So it made a blank version of config.g while updating it and now it wouldn't connect to my router so I rebooted my duet 2 wifi which copied the config.g blank file to the config.g backup file.
            So now I keep a copy of the config.g on my laptop !!!

            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

            1 Reply Last reply Reply Quote 1
            • undefined
              Phaedrux Moderator @Phaedrux
              last edited by 20 May 2021, 20:14

              @phaedrux said in config.g disappears:

              Is the SD card the same one as last time, or did you replace it with a new one? If you have no replaced it yet, please do so.

              Is the SD card blank on your PC?

              How bout these questions?

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 20 May 2021, 21:44 Reply Quote 0
              • undefined
                norwestie @Phaedrux
                last edited by 20 May 2021, 21:44

                @phaedrux I tried copying just the config.g from my computer to the SD card, which does show all the other files. When I still couldn't get the ethernet to work, I formatted a new card and copied all files from computer to new card. Still nothing. Then I connected board to my Mac via USB but it did not power nor show up in SerialTools. With external power, the 4 LEDs light up, the blinking red one as well but not the ethernet LEDs.

                Anycubic Kossel Linear Plus
                Duet Mini 5+ Ethernet
                Firmware 3.3RC2

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by 20 May 2021, 22:09

                  Can you try working your way through here?
                  https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond

                  How far can you get?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 22 May 2021, 22:39 Reply Quote 0
                  • undefined
                    norwestie @Phaedrux
                    last edited by 22 May 2021, 22:39

                    @phaedrux I connected my MacBook Pro to the board, the two LEDs next to the USB, the red and green are illuminated, also the red blinking one near the corner is on. And I can connect with SerialTools. But no LEDs on the ethernet port.

                    Anycubic Kossel Linear Plus
                    Duet Mini 5+ Ethernet
                    Firmware 3.3RC2

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Phaedrux Moderator
                      last edited by 22 May 2021, 22:44

                      In serial tools are you able to send M552 S1 to enable networking? That might get you some action on the ethernet port.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 22 May 2021, 23:09 Reply Quote 0
                      • undefined
                        norwestie @Phaedrux
                        last edited by 22 May 2021, 23:09

                        @phaedrux said in config.g disappears:

                        M552 S1

                        Yes, it did! I'll see if it works powered through VIN.

                        It does not work. I did:
                        Send M552 S0 to disable networking, then M552 S1 P0.0.0.0 to enable networking and have your router assign an IP address and it reported back good.

                        Connecting to DWC again with Mac and looking at System, there still is no config.g and I had copied it there an hour ago.
                        Again, reloaded config.g and it appears to be working, for now.

                        Anycubic Kossel Linear Plus
                        Duet Mini 5+ Ethernet
                        Firmware 3.3RC2

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator
                          last edited by 22 May 2021, 23:14

                          It's strange that only config.g would be missing. I'd expect any card issue to make the whole thing unaccessible and DWC wouldn't work at all.

                          I would suggest getting a fresh SD card and copying your files over to that one and see if it holds out longer.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 25 May 2021, 09:41 Reply Quote 0
                          • undefined
                            o_lampe
                            last edited by 23 May 2021, 06:42

                            @norwestie
                            I remember, I edited my config.g on my PC and saved it. But it was named

                            config.g.txt

                            Had to rename it in a DOS shell (Mac is different) and then could use it on my printer.
                            IIRC DWC can also rename files with wrong file-type letters, just have to find it.

                            undefined 1 Reply Last reply 25 May 2021, 09:34 Reply Quote 0
                            • undefined
                              Michael Hathaway @o_lampe
                              last edited by 25 May 2021, 09:34

                              I also had this happen recently on the Duet 3 mini 5+. I lost ethernet connection at the same time. I checked the sd card to make sure it was seated and loaded the config.g back on. If it happens again, I will pull the card, inspect closer and report back. 😁

                              Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
                              www.MatterHackers.com - https://discord.gg/Ked7GREqux

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                peter247 @Phaedrux
                                last edited by 25 May 2021, 09:41

                                @phaedrux it is when you are editing config.g and you press save and it drops the connection while saving it and you get a blank config.g when it reboots.
                                It only happens to config.g because that is the only file you are editing , I guess it could blank any file you are editing ?.

                                Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                                undefined 1 Reply Last reply 25 May 2021, 09:43 Reply Quote 1
                                • undefined
                                  jay_s_uk @peter247
                                  last edited by 25 May 2021, 09:43

                                  @peter247 if it fails during the upload process you're typically left with a config.bak file, that can be renamed config.g

                                  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

                                  undefined 1 Reply Last reply 25 May 2021, 09:48 Reply Quote 0
                                  • undefined
                                    peter247 @jay_s_uk
                                    last edited by peter247 25 May 2021, 09:48

                                    @jay_s_uk The problem is you can't connect back into my duet so you reboot it and the config.bak now automatically overwrites config.g , so now config.bak and config.g are both blank .

                                    Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                                    undefined undefined 2 Replies Last reply 25 May 2021, 09:51 Reply Quote 0
                                    • undefined
                                      jay_s_uk @peter247
                                      last edited by 25 May 2021, 09:51

                                      @peter247 yea, sd card removal is typically required. i'm surprised config.bak is being overwritten though as it only gets created by DWC when the existing config.g is editted. its not automatically created by the firmware on boot. but ultimately, always keep a backup of your files as sd cards aren't the most trustworthy devices

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Michael Hathaway @peter247
                                        last edited by 25 May 2021, 09:57

                                        @peter247 My machine was off for the night, but my duet interface was still open. When I turned the machine back on, there was no connection. When I finally regained connection, config.g was missing. I replaced the card just to be safe.

                                        Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
                                        www.MatterHackers.com - https://discord.gg/Ked7GREqux

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 25 May 2021, 18:55

                                          @Tinken @peter247 What board are you using? Can you share a M122 as well?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          undefined undefined undefined 3 Replies Last reply 25 May 2021, 19:16 Reply Quote 1
                                          10 out of 41
                                          • First post
                                            10/41
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA