7e7aaaa871a24a3d47a45366cddd344f861bc3f8
MainsailOS install
Image
Start with MainsailOS from Raspberry Pi Imager install
Driver update
Run rpi-upate to get at least kernel 6.6 and update camera driver
Configuration files
Copy over configuration files from this repo to ~/printer_data/config/
Set up Klipper firmware
Check ~/printer_data/config/printer.cfg, [mcu] section:
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
baud: 250000
250000 is fastest transfer supported by Ender 3 board. It needs to match baud setting in make menuconfig low-level settings.
cd ~/klipper
make clean
make menuconfig
make
make flash FLASH_DEVICE=/dev/ttyUSB0
(seems to work better than make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0)
Flashing fails sometimes. Possible workarounds:
- Klipper app is still talking to device? Shutdown firmware and app first?
/dev/ttypUSB0and/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0are links to same device, but one works and other doesn't?- Try rebooting Pi
/boot
Copy config.txt and cmdline.txt from this repo.
Zabbix agent
cd
wget https://repo.zabbix.com/zabbix/7.0/raspbian/pool/main/z/zabbix-release/zabbix-release_7.0-1+debian11_all.deb
sudo dpkg -i zabbix-release_7.0-1+debian11_all.deb
sudo apt update
sudo apt install zabbix-agent2
Update /etc/zabbix/zabbix_agent2.conf from zabbix/zabbix_agent2.conf in this repo.
Confirm /etc/zabbix/* files are owned by zabbix:zabbix.
sudo systemctl restart zabbix-agent2
sudo systemctl status zabbix-agent2
Description
Languages
Text
100%