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)
  3. Klipper-Adaptive-Meshing-Purging
 
Last edited:
Edited this post as removed comments related to: txqueuelen (can0 buffer being 10), it appears the issue is now fixed, buffer is now 128.

So instead, where exactly are the setup help pages?
 
Last edited:
@NoGuru

My current printer.cfg is a copy (from my attachment posted in the forum) and appears to be correct working copy.

Post Edited!
Removed text/question based on wrong assumption, I referenced the wrong git file...

I had to many copies of file open, leading to total confusion on my side... things make more sense now that I got some sleep ;)

Next issue...
When I home all, it homes X, they Y, then it reports: Endstop stepper_z still triggered after retract ?
Endstop STEPPER_Z triggered and Probe triggered ?

[probe]
Had wrong gpio pin: EBBCan:gpio24 should be pin !EBBCan:gpio22 in [probe], after edit homing is working correctly... another step closer
 
Last edited:
Printed a little box...☺️
Didn't do purge line (I forgot to include purge.cfg) and the localized mesh was not centered, it printed left of center?

Added back purge.cfg, how purge works...

To Do:
  1. Adaptive mesh not centering on bed, neither is the print? Fixed! changed 175 to 150 in homing.cfg
  2. RGB is not changing, remains white... I think, best check...
  3. Text upside down on LCD... I will probably print the Touchscreen Flip Mount for BigTreeTech Pi TFT4.3 as I have tried all the fixes published.
Not, fixes for display upside down do work but result in x11 error, "no display", so mainsail doesn't start...

New issue.
I'm printing fine but so far three prints just stopped... No, comms with my browser, no activity on printer and no reports.
Last two attempts, same part, first failed (Pi hung). Rebooted, printed again and it succeeded, no issues...
Nothing in logs either... Looks like he Pi hung?
 
Last edited:
Top