this post was submitted on 23 Jun 2023
15 points (100.0% liked)

3DPrinting

15595 readers
29 users here now

3DPrinting is a place where makers of all skill levels and walks of life can learn about and discuss 3D printing and development of 3D printed parts and devices.

The r/functionalprint community is now located at: [email protected] or [email protected]

There are CAD communities available at: [email protected] or [email protected]

Rules

If you need an easy way to host pictures, https://catbox.moe may be an option. Be ethical about what you post and donate if you are able or use this a lot. It is just an individual hosting content, not a company. The image embedding syntax for Lemmy is ![](URL)

Moderation policy: Light, mostly invisible

founded 1 year ago
MODERATORS
 

I'll start out saying, i'm not very good with this stuff.... I have an Ender 5+.
I had it setup with octoprint and klipper from a guide I found a couple years ago, and it worked OK for me to get klipper installed, working on octoprint, and pressure advance tuned ok ish.

Recently my SD Card became corrupt, and like an idiot I didn't have anything backed up.

So I'm trying to setup the system again from less than scratch and it's kicking my ass.

I've decided i'd like to try Mainsail, as it's interface looks interesting (no other reason) But I can't for the life of me get it working.

EVERY guide I try and follow seems to fail on the connect between klipper and the printer.

I can flash the klipper firmware successfully, and have updated the port ID in the printer.cfg file, but it always comes back to klipper not being able to see/access the port.

Any help would be appreciated here.

you are viewing a single comment's thread
view the rest of the comments
[–] stoppillowrape 1 points 1 year ago (1 children)

Since you mention permissions/access denied, have you given your user permissions to use serial? You can do this with:

sudo usermod -a -G dialout $USER

What is the output of:

ls -al /dev/serial/by-id/*

[–] [email protected] 1 points 1 year ago (2 children)

This is likely the problem. I'll try it when I get off work.

Thanks!!

[–] [email protected] 2 points 1 year ago (1 children)

Thank you for pointing me in the right direction.

Pi Imager lets you option for a username change. I changed it originally, and mainsail is setup for "pi" user normally.

I reflashed with pi Imager, without changing username, and it all is working now.

[–] stoppillowrape 1 points 1 year ago

Awesome, I’m glad you we were able to get it solved and it get everything back working.

[–] stoppillowrape 1 points 1 year ago

I forgot you will also need tty access, so you'll also need to do:

sudo usermod -a -G tty $USER

After that you will need to relogin in order for the changes to take effect. I'd say just to reboot so you know everything is reloaded with:

sudo reboot now

These are all of course assumptions based on your mentioning permissions, and without any logs to verify. If you decide to go with the nuclear option and redo the OS and setup I'd recommend looking at using https://github.com/th33xitus/kiauh. It will allow you to setup Mainsail, but also you can try other front end options as well. Just something to consider if you decide not to continue troubleshooting and opt to start over.