Comments (7)
yup... at first i cant even use klipper because of that, i flashed the firmware manually in the terminal instead of using the script.
from kiauh.
I will add a fix for that.
from kiauh.
Hi, thank you for using KIAUH.
What Linux distro are you using with that OrangePi? RaspberryPi OS?
Usually during the Moonraker installation (at the very beginning actually) there will be checked if a printer.cfg exists:
https://github.com/th33xitus/kiauh/blob/master/scripts/install_moonraker.sh#L28
and
https://github.com/th33xitus/kiauh/blob/master/scripts/functions.sh#L14
The function will read the /etc/default/klipper file for the printer.cfg location. If there isn't a printer.cfg at that location, the script will ask if you want to create a basic printer.cfg. Not really a working config, it's more like just having that file at the right spot to continue later on. I do see a problem here if Klipper was installed as systemd service. I think i need to fix that.
Regarding your permission issue:
The script DOES NOT check for any permissions. I know that might not be comfortable but for now users have to make sure that all permissions are set. I haven't encountered any of those permission issues yet myself.
from kiauh.
Use this command to grant access to your USB port
sudo adduser YOUR_USERNAME dialout
from kiauh.
Thank you.
from kiauh.
ubuntu-20.04 lts also doesn't grant serial port access to a non-root user by default... perhaps it is a good idea to check and automatically add the user to the group
from kiauh.
ubuntu-20.04 lts also doesn't grant serial port access to a non-root user by default... perhaps it is a good idea to check and automatically add the user to the group
@megablue
Thanks for the info. So basically i should already check during the Klipper installation if the user is in group dialout
?
Currently, membership of group dialout
is only checked, if you want to flash a MCU.
But now, further thinking of it, it makes sense to always make sure that the user is in that group, so communication with the serialport is possible?
from kiauh.
Related Issues (20)
- Can't install on Qidi printer, Permission denied kiauh.log HOT 2
- Multi Printer setup using gcode shell command does not play audio unless command used multiple times and only on second printer when shell script is run in background (&)
- I couldn't use the custom macros that i created with gcode_shell command in a gcode file HOT 1
- Installing KlipperScreen via KIAUH causes /dev/null permissions errors HOT 2
- Install pyserial with python HOT 3
- fix: create_required_folders removes symlink to gcodes
- Installing Klipper packages failed! - Échec de la connexion [IP : 199.232.170.132 80]
- python3.10
- KlipperScreen install randomizes MAC address
- mainsail file permissions 403 errors -- set umask to 022
- Stuck instalation Raspberry Pi Zero 2W with Raspberry Pi OS Lite (32bit) BookWorm HOT 3
- camera-streamer on rpi5 HOT 2
- feat: possibility to set custom install directory HOT 4
- feat: copy instances/endpoints info while updating mainsail/fluidd HOT 2
- Cloning Klipper from https://github.com/Klipper3d/klipper : failed! HOT 3
- Set name to access in local network HOT 2
- local dep for unzip missing in fluidd.sh and mainsail.sh HOT 1
- Bad ref for git/logs/refs/remotes/origin/protoupdate
- BeagleBone Black and Replicape
- feat: only git clone --depth 1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiauh.