Giter Club home page Giter Club logo

raspberrypi_arch's Introduction

Basic

  1. after flashing the SD card via this procedure https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
  • connect HDMI cable to some monitor, usb keyboard and power, boot, login as root(pass root), root and enable and start sshd
# systemctl enable sshd
# systemctl start sshd
  • if you connected ethernet cable note which LAN IP you got(ip addr) and continue to step 4. if you want to connect via WiFi see how to set it up using Systemd-networkd wiki
  1. if you didn't connect to internet yet, turn off the pi gracefully (# shutdown now) and connect somewhere just with power and ethernet cable

  2. check your router with DHCP server what IP it gave to Pi3, do ssh alarm@${Pi3'sIP}, default password for alarm is alarm

  3. create own users and change root password and alarms too, if you don't wish to delete it

  4. as alarm user, switch to root, default password is root

# su root
  1. update (will take some time depending on your sdcard, same for all the installations)
# pacman -Syu
  1. install basic stuff
# pacman -S htop sudo tmux vim mc
  1. change root's password via
# passwd

and alarm's password via (or delete it after you created your own user)

# passwd alarm
  1. if you wish to use alarm user, skip this step create your own user and set password to it via
# useradd -m -g wheel user
# passwd user

-m create home folder and -g wheel adds to wheel group usable for sudoers

then if you wish to delete the alarm user, first log out and login as your new user via ssh, then remove alarm

@ ssh user@${Pi3'sIP}
# su root
# userdel -r alarm
  1. edit sudoers to allow users in wheel group to run elevated commands(uncommented line 82) or just specify your user as the one (google arch sudo)
# EDITOR=vim visudo
  1. edit locale to your specified languages and run locale-gen (may take some time depending on your sd card)
# vim /etc/locale.gen
# locale-gen
  1. setup default lang, by adding for example LANG=en_US.UTF-8, put the value same as in those in /etc/locale.gen
# vim /etc/locale.conf
  1. if you don't like default UTC timezone, set your time zone e.g. CET,
# rm /etc/localtime
# ln -s /usr/share/zoneinfo/CET /etc/localtime
  1. edit sshd config if needed

  2. edit /etc/systemd/network/eth0.network if you want for example static IP, look on Systemd-networkd wiki for more details

  3. Linux kernel was probably updated in the meantime, reboot and continue to use your alarmpi (or rename it in /etc/hostname)

Camera

Read arch wiki for config

need boot config

and PERHAPS the blacklist

# ln -s /opt/vc/bin/raspi /usr/bin/raspistill
# ln -s /opt/vc/bin/raspivid /usr/bin/raspivid

raspberrypi_arch's People

Contributors

pulecz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.