Raspberry 3 Arch install¶
Follow the instructions on https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3. Not worth repeating them.
- partition sdcard
- format, mount
- download image and unpack
As of march 2016, the serial console is not working. Wifi requires user interaction to set up. So for the initial setup connect the pi to a normal ethernet.
enable root login via ssh. Login to the pi as user alarm (password
alarm). Become root (
su -, default password root). Edit
/etc/ssh/sshd_config to include PermitRootLogin yes. Restart sshd
systemctl restart sshd.service)
Verfiy root login works.
Rename default user alarm to a useful account.
groupmod \ --new-name me alarm usermod \ --move-home \ --login me \ --home /home/me \ alarm
note requires at least raspberrypi-firmware 20160305.
Using systemd to setup the wifi connections not NetworkManager.
wpa_supplicant will associate with the wifi network. Establishing the layer2 connection. Systemd will then start dhcp to get an ip address (layer3).
wpa_passphrase SSID PSK > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
prepare systemd by creating
[Match] Name=wlan0 [Network] DHCP=yes
# enable and start wpa systemctl enable wpa_supplicant@wlan0 systemctl start wpa_supplicant@wlan0 # check that layer2 works iw wlan0 info iwconfig wlan0 # check that we can manually get an ip dhcpcd -B wlan0 # reload networkd, so it will pickup the changes systemctl restart systemd-networkd.service