Skip to content

Latest commit

 

History

History
104 lines (78 loc) · 2.34 KB

File metadata and controls

104 lines (78 loc) · 2.34 KB

RaspberryPi

Installation

  1. Download image from here
  1. Follow their instructions

Basic configuration

Connect your ethernet cable and assign an IP to the RaspberryPi. Then login trought SSH.

Timezone in ArchLinux ARM

Set it to America/Lima.

sudo timedatectl set-timezone America/Lima

If you want to consult your time zone, you can run this command:

timedatectl list-timezones | less

Change the hostname

sudo hostnamectl set-hostname raspberrypi

Install yaourt

This package is useful to install package from AUR.

Install aurvote

curl -O --remote-header-name https://aur.archlinux.org/cgit/aur.git/snapshot/aurvote.tar.gz
tar xvfz aurvote.tar.gz
cd aurvote
makepkg -sri

Install package-query

curl -O --remote-header-name https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
tar xvfz package-query.tar.gz
cd package-query
makepkg -sri

Install yaourt

curl -O --remote-header-name https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz
tar xvfz yaourt.tar.gz
cd yaourt
makepkg -sri

Install some utilities

sudo pacman -S dnsmasq hostapd vim htop git mercurial bzr
sudo pacman -S zd1211
sudo pacman -S wireless_tools traceroute
sudo pacman -S dnsutils conntrack-tools
sudo pacman -S udisks
sudo pacman -S dhclient wpa_supplicant wpa_actiond dialog
sudo pacman -S colordiff
sudo pacman -S python-virtualenv
yaourt -S byobu
yaourt -S python-virtualenvwrapper

Autoconnect to known WiFi networks

After copying the files from /etc/netctl as templates, you should create some copies of them and add all the WiFi networks you trust on. You can also use the Priority= option to take preferece one over the others.

After creating all the profiles you will need, just start it:

sudo systemctl start netctl-auto@wlan1

And if everything goes good, you can enable it on boot:

sudo systemctl enable netctl-auto@wlan1