What's new
VORON Design

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members!

I managed to loose my configs

MichaelOToole

Well-known member
I changed my service provider and needed to edit wifi info on the raspberry pi SD card in order to access mainsail...
I thought this information must reside in of the conf but could not find it.

Without thinking, I did a complete reinstall raspberry pi on the SD card and now I have to reconfigure everything...
To make matters worse, I can't find my copy of all the config file (I thought I had), haven't given up finding them, but don't hold out much hope.

I did find a copy of my printer.cfg as I had posted it in a post here on the forum, otherwise it would be much more difficult to recover...

I guess my only option is to start over but I forget the process...

Any ideas?

2.4, stealthburner,canbus,endstop virtual,
 
Last edited:
Oh wow, that is not fun.

I can only say, always do a backup before you make any changes. I keep a repo on Github in case my PC crashes. I can help you with this process if you like?

If you can edit the settings on the Router you can always make a DHCP reservation so you don't need to set a static IP on the PI.

One thing that I can suggest when you do to setup the configs, if you get an error and say you are missing a function like Autotune, or some LED macros, you can go find the macro or Github repo and reinstall it, and it can fix the error.
 
Ugh, that sucks. I think you are starting from scratch, so follow the setup help pages. Then go and get your Github backup set up so this won't happen again.
 
I made a little progress, here's the cfg's I had (according to printer.cfg I posted here which should be pretty current)...

  • [include mainsail.cfg]
  • [include canbus.cfg]
  • [include homing.cfg]
  • [include fans.cfg]
  • [include nevermore.cfg]
  • [include probe.cfg]
  • [include K-ShakeTune/*.cfg]
  • [include KAMP_Settings.cfg]
  • [include Adaptive_Mesh.cfg]
  • [include Line_Purge.cfg]
  • [include stealthburner_leds.cfg]
If I comment out the missing cfg's (below), main starts without errors...
  • [include mainsail.cfg]
  • [include canbus.cfg]
  • #[include homing.cfg]
  • [include fans.cfg]
  • #[include nevermore.cfg]
  • #[include probe.cfg]
  • #[include K-ShakeTune/*.cfg]
  • #[include KAMP_Settings.cfg]
  • #[include Adaptive_Mesh.cfg]
  • #[include Line_Purge.cfg]
  • #[include stealthburner_leds.cfg]
I looked for cfg's on git, that use the same setup/hardware as mine, that is ( stealthburner, tap, sensor-less homing, canbus).
The aim is to get close and then edit as needed when I go through the re-build process...

To be honest, I don't remember what links/tutorials I followed the first time, it's going to take a lot of time...

NoGuru, we had a similar setup at some point, do you have any configs matching sensor-less homing, canbus etc. ?
Your current git looks different...

Updates: 14/10/25
  • [include mainsail.cfg]
  • [include canbus.cfg]
  • [include homing.cfg]
  • [include fans.cfg]
  • [include probe.cfg]
  • [include K-ShakeTune/*.cfg]
  • [include KAMP_Settings.cfg]
  • [include Adaptive_Meshing.cfg]
  • [include stealthburner_leds.cfg]
These are working after a fashion, not exact yet...
Will update and record process, less I break it again :)

Install Extras:
  1. kiauh ✓
  2. KlipperScreen (it's big do I actually need it now) ? (installed anyway) Did not start, it did on yesterdays install?
  3. Klipper-Adaptive-Meshing-Purging ✓
 
Last edited:
Little LCD Screen Upside Down

Same issue as first build, but I can't remember the fix, I thought it was simpler like holding down a button when first powering the display up but I could not find that so went with:
Ref: https://docs.ldomotors.com/en/guides/btt_43_rotate_guide

Spoiler Alert! it did not work correctly, it did rotate the display and touch but you loose graphics driver, so no graphics, no KlipperScreen...
Have to find fix I used on original build...
 
Last edited:
Unrelated Fixes: (txqueuelen, )

Prints failing randomly with txqueuelen mentioned in error.
ipconfig reports can0 has txqueuelen of 10 but I set txqueuelen to 1024 in /etc/network/interfaces.d/can0

My fix was to set this manually to 1024 (sudo ip link set can0 txqueuelen 1024) but on startup it defaults back to 10, so I run the code manually at startup.
The fix in the linked post may be the proper solution, I will try it next build.

Fix here: See this related post!
 
Last edited:
Top