Skip to content

Guide for RaspberryPi with ArchLinux

Notifications You must be signed in to change notification settings

rodrigobdz/alarmpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

alarmpi

Arch Linux ARM (alarm) Installation and Configuration on RaspberryPi

Setup

Network

  • Enable hostname alarmpi.local

    pacman --sync avahi
    systemctl enable avahi-daemon
    systemctl start avahi-daemon

    Blog about why to enable .local domain

WiFi

  • 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

    Source

  • 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

    Source

SSH

Source

  • 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 network

    Host pi
      Hostname alarmpi.local
      User alarm
  • Copy SSH public key to archlinux's authorized keys

    ssh-copy-id pi

Install

  • Upgrade system packages

    pacman --sync --refresh --sysupgrade
  • Install vim

    pacman --sync vim
  • Airplay

  • Pi-hole

About

Guide for RaspberryPi with ArchLinux

Topics

Resources

Stars

Watchers

Forks