X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/38fde6be7ea657f7afa7f95cca4d773943b81e75..d87adfd2ac5e311eefe23d4b8544fc4c7e54296e:/files/quickstart.txt?ds=sidebyside diff --git a/files/quickstart.txt b/files/quickstart.txt index 28c159c..5c83c0c 100644 --- a/files/quickstart.txt +++ b/files/quickstart.txt @@ -6,7 +6,7 @@ pwconv Configure wifi ============== vi /etc/wpa/wpa_supplicant.conf -ifup wlp1s0f0 +ifup wlan0 # remove the '#' before allow-hotplug to let wifi come up after boot vi /etc/network/interfaces @@ -27,11 +27,13 @@ passwd username Lightweight desktop =================== +apt-get update apt-get install lightdm blackbox xterm firefox-esr big-cursor /etc/init.d/lightdm start Install gnome ============= +apt-get update apt-get install gnome /etc/init.d/gdm3 start @@ -113,12 +115,12 @@ cat < /etc/fstab EOF cat < /etc/apt/sources.list -deb http://den.debian.org/debian testing main contrib non-free -deb-src http://den.debian.org/debian testing main contrib non-free +deb http://deb.debian.org/debian testing main contrib non-free +deb-src http://deb.debian.org/debian testing main contrib non-free EOF apt update -apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk +apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk firmware-linux cryptsetup apt-get install -y grub-efi-arm64-signed- echo 'grub-efi-arm64 grub2/update_nvram boolean false' | debconf-set-selections @@ -144,6 +146,8 @@ network={ } EOF +passwd + tar -C /lib/firmware/ -xf /boot/efi/vendorfw/firmware.tar cat < /etc/network/interfaces @@ -151,11 +155,11 @@ cat < /etc/network/interfaces # Include files from /etc/network/interfaces.d: source /etc/network/interfaces.d/* -allow-hotplug enp3s0 -iface enp3s0 inet dhcp +allow-hotplug eth0 +iface eth0 inet dhcp -# allow-hotplug wlp1s0f0 -iface wlp1s0f0 inet dhcp +# allow-hotplug wlan0 +iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf EOF @@ -167,6 +171,7 @@ exit cd / umount /mnt/boot/efi +umount /mnt/sys/firmware/efi/efivars umount /mnt/sys umount /mnt/proc umount /mnt/dev/pts @@ -195,6 +200,7 @@ iwd With iwd you can force to use 5ghz. The following needs to be done to get iwd running. +sudo apt-get update sudo apt-get install iwd cat < /etc/iwd/main.conf @@ -267,3 +273,16 @@ echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour # Force discharge echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Find out which device tree you're using +cat /proc/device-tree/compatible + +# Bluetooth +https://g3la.de/hedgedoc/s/MIaCyVv1A#Bluetooth + +# Set Firefox as default browser +xdg-mime default firefox-esr.desktop x-scheme-handler/https x-scheme-handler/http + +Get it running with debian and crypto file system +================================================= +https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw#