Arch Linux ARM (alarm) Installation and Configuration on RaspberryPi
-
Enable hostname
alarmpi.local
pacman --sync avahi systemctl enable avahi-daemon systemctl start avahi-daemon
Blog about why to enable
.local
domain
-
Set up WiFi connection
wifi-menu
-
Connect to WiFi network, if not already connected
# Placeholder wlan0-red needs to be replaced by your profile name, which is created after executing 'wifi-menu' netctl start wlan0-red
-
Connect to WiFi network automatically on boot
netctl enable wlan0-red
-
(Optional) Manually assign IP address
# Placeholder wlan0 is interface name. List interfaces using ifconfig ip address add 192.168.0.123/24 broadcast + dev wlan0
-
Fix DNS problem
DNSSEC validation failed: signature-expired
systemctl restart systemd-resolved.service
-
Generate SSH keys on archlinux server
# -C stands for comment ssh-keygen -C "$(whoami)@$(uname -n)-\$(date -I)"
-
Add archlinux server to SSH config (
~/.ssh/config
) on another computer in the same networkHost pi Hostname alarmpi.local User alarm
-
Copy SSH public key to archlinux's authorized keys
ssh-copy-id pi