Tools for Raspberrz pi
Go to file
kevinveenbirkenbach 5853bc92cf
Update README.md
2020-05-06 08:56:11 +02:00
.gitignore Added template 2020-04-30 17:44:35 +02:00
README.md Update README.md 2020-05-06 08:56:11 +02:00
chroot-to-pi.sh Added chroot script for debugging 2020-04-30 17:42:37 +02:00
sd_backup.sh SD-Karten-Backuptool hinzugefuegt 2017-03-12 15:42:41 +01:00
sd_setup.sh Solved hostname bug 2020-04-30 18:33:10 +02:00

README.md

No Maintenance Intended

DEPRECATED

This repository was merged into Core System.

Raspberry Pi sdc tools

This repository contains some shell scripts to install Arch Linux for the Raspberry Pi on a SD-Card and to backup a SD-Card.

Todo

  • Implement ssh configuration
  • Implement wifi automation

Setup

SD-Card

Guided

To install a Linux distribution manually on a SD card type in:

  bash ./sd_setup.sh

Piped

To pase the configuration to the program use this syntax:

(
  echo "$USER"              # | The username
  echo "mmcblk1"            # | The device
  echo "3"                  # | The raspberry pi number
  echo "arch"           # | The operation system
  echo "n"                  # | Force image download
  echo "n"                  # | Transfer image
  #echo "n"                 # ├── Overwrite device before copying
  echo "test12345"          # | The user password
  echo "test12345"          # | The root password
  echo "example-host"       # | The hostname
  echo "y"                  # | Setup Wifi on target system
)| sudo bash ./sd_setup.sh

System

Arch

  pacman-key --init
  pacman-key --populate archlinuxarm
  install -m640 /etc/netctl/examples/wireless-wpa domo-de-kosmopolitoj-wpa
  nano domo-de-kosmopolitoj-wpa
  netctl start domo-de-kosmopolitoj-wpa
  netctl enable domo-de-kosmopolitoj-wpa

Ubuntu\Debian

  sudo apt update
  sudo apt upgrade

Backup

To backup a SD card type in:

  bash ./sd_backup.sh

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.