Howto cups printserver
set timezone:
timedatectl set-timezone America/Puerto_Rico
set clock month day hour year:
date 032810452023
initialize the pacman keyring and populate signing keys:
pacman-key --init pacman-key --populate archlinuxarm
update system:
pacman -Syuuu --noconfirm
install base-devel package:
pacman -S --noconfirm base-devel libnewt git sudo
add alarm user to sudoers:
echo 'alarm ALL=(ALL) ALL' >> /etc/sudoers
network
install networkmanager:
pacman -S --noconfirm networkmanager
start and enable networkmanager:
systemctl start NetworkManager systemctl enable NetworkManager
configure wireless using nmcli:
nmcli device wifi rescan nmcli device wifi list nmcli device wifi connect ssid-name --ask
configure lan using nmcli:
systemctl start NetworkManager && \ systemctl enable NetworkManager && \ nmcli con del "Wired connection 1" && \ nmcli con del eth0 && \ nmcli con add con-name eth0 ifname eth0 ipv4.method manual ipv4.address 192.168.75.114/24 ipv4.gateway 192.168.75.1 ipv4.dns 4.2.2.1,4.2.2.2 type ethernet autoconnect yes
expand sd card
expand sd card:
pacman -S parted curl -ko /usr/local/bin/expand-sd https://img.vidalinux.com/files/expand-sd chmod +x /usr/local/bin/expand-sd expand-sd
install cups
install cups packages:
pacman -S --noconfirm a2ps cups cups-filters cups-pdf cups-pk-helper bluez-cups hplip foomatic-db \ foomatic-db-engine foomatic-db-ppds foomatic-db-engine foomatic-db-nonfree \ foomatic-db-nonfree-ppds ghostscript gutenprint gsfonts sane sane-airscan splix ipp-usb