Archlinux/Raspberry Pi - Issues, Notes and Links

Known issues

Pacman -Syu failed


command: pacman -Syu
    error: failed to initialize alpm library
    (database is incorrect version: /var/lib/pacman/)
    error: try running pacman-db-upgrade


command: pacman-db-upgrade
    ==> ERROR: You must have correct permissions to upgrade the database.


The system is executet in read-only mode, to change this you …

Continue reading »

Archlinux/Raspberry Pi - Network Bridge

Setup a network bridge under archlinux

Archlinux Wiki - Network Bridge

#Connects eth0 and eth1 to a bridge
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 eth1
brctl show
sudo ip link set up dev br0

Attention: the network connection from the used devices will stop …

Continue reading »

Archlinux/Raspberry Pi - Einrichtung UMTS Stick XS Stick P10

Am einfachsten können wir ein Script benutzen, dass nahezu alle UMTS Sticks unterstützt, so auch den XS Stick P10 von Callmobile (Amazon 10-15€).


Wenn der Stick angesteckt ist, schauen wir zunächst ob er erkannt wurde

    Bus 001 Device 005: ID 7392:7811 Edimax ...
    Bus 001 Device 004: ID …

Continue reading »

Archlinux/Raspberry Pi - Systemd create a service unit

General example

Description=Start Pi Router
ExecStart=/sbin/ start
ExecStop=/sbin/ stop

echo $(date "+%Y.%m.%d-%H.%M.%S") $*>>/var/log/test_tmp.log
#!/bin …

Continue reading »

Archlinux/Raspberry Pi - Wifi connection

WLAN connection with EDiMAX EW-7811Un


#Installation Stick
pacman -Sy dkms-8192cu

#Verbindung herstellen
wpa_passphrase SSID PASSWORD > /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B

#Aktiviere DHCP Client
dhcpcd wlan0

Kill connection:

killall wpa_supplicant


Continue reading »