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.
Reason:
The system is executet in read-only mode, to change this you …
Continue reading »
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 »
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
lsusb
Bus 001 Device 005: ID 7392:7811 Edimax ...
Bus 001 Device 004: ID …
[Unit]
Description=Start Pi Router
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=/sbin/testscript.sh start
ExecStop=/sbin/testscript.sh stop
#!/bin/sh
echo $(date "+%Y.%m.%d-%H.%M.%S") $*>>/var/log/test_tmp.log
#!/bin …
#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
killall wpa_supplicant