1 Klipper installation notes on Orange Zero¶
Installation notes of Gnu/Linux + Klipper on a Orange Zero Pi 3. This is not a guide, just the history of operation.
Generated on 2024-12-21
1.1 Pre install¶
Perform a sanity check of the SD device with somnething like https://h2testw.org/
Download ISO: https://www.armbian.com/orange-pi-zero-3/
Wiki: http://www.orangepi.org/orangepiwiki/index.php?title=Orange_Pi_Zero_3
1.2 History¶
Discovewr IP address and MAC, add host name and ip addres static on dhcp server:
chrome:~# tail -f /var/log/syslog
2024-07-25T12:56:03.839145+02:00 chrome dnsmasq-dhcp[988631]: DHCPACK(lan) 192.168.0.6 02:00:c6:ab:7f:a9 orangepizero3
dhcp-host=02:00:c6:ab:7f:a9,zero,192.168.0.6,infinite
ssh root@zero
password is 1234
echo "zero" > /etc/hostname
Enable bash_completion:
vim /etc/bash.bashrc
Updates:
apt-get update
apt-get dist-upgrade
apt-get install vim less ncdu htop
apt-get clean
apt-get autoremove
Optional install armbian-config
armbian-config
Download and enable all common .config files (bash.rc, vim.rc …):
wget my-server/dots.tgz
tar -vzxf dots.tgz
bash
Do the same for system user
SSH keys, hosts names:
restart network or reboot to check dhcp and hosts names are ok
host zero
ssh-copy-id zero
do the same for user
Check block devices and resisze filesystems in case:
df -h
cfdisk /dev/mmcblk0
resize2fs /dev/mmcblk0p1
check zram
swapon
zramctl
1.2.1 Install size OS pre Kiauh¶
df -h | grep mmc
/dev/mmcblk0p1 7.2G 1.1G 6.0G 15% /
free -m
total used free shared buff/cache available
Mem: 918 168 659 1 159 749
Swap: 459 0 459
1.2.2 WiFi¶
See: https://docs.armbian.com/User-Guide_Networking/
/etc/netplan/30-wifis-dhcp.yaml
network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
dhcp6: true
access-points:
"Your-SSID":
password: "your-password"
1.3 Kiauh¶
Install Kiauh in /home/user/kiauh
backup with tar and rsync
1.4 ToDo¶
# Serial connection # Backup scripts # Add extra USB ports # Remote X server for klipperscreen
Last: Edit index file, include this document