]> git.zerfleddert.de Git - m1-debian/blame - files/quickstart.txt
get rid of the timezone
[m1-debian] / files / quickstart.txt
CommitLineData
cd51dc6c
TG
1# Ethernet
2ip l s
3dhclient <device>
4
708a0d2b
TG
5# Wifi
6rmmod brcmfmac
7rmmod brcmutil
8mount /dev/sda1 /mnt
9tar -C /lib/firmware/ -xf /mnt/linux-firmware.tar
10umount /mnt
11modprobe brcmfmac
19fe2e56 12vim /etc/wpa_supplicant/wpa_supplicant.conf
7a54df2e 13wpa_supplicant -i <interface> -c /etc/wpa_supplicant/wpa_supplicant.conf
708a0d2b
TG
14dhclient wlan0
15
708a0d2b
TG
16# Time
17ntpdate pool.ntp.org
18date --set 2022-01-25
19date --set 14:21
7a54df2e 20
5e01b9d1
TG
21# Configure timezone
22dpkg-reconfigure tzdata
23
7a54df2e 24# Fix grub
a340a66a
TG
25# We deinstall grub-efi-arm64-signed- because it creates a file fbaa64.efi
26# which makes u-boot hang.
27apt-get install grub-efi grub-efi-arm64-signed-
28grub-install --target=arm64-efi --efi-directory=/boot/efi --removable
7a54df2e 29update-grub
60b74f9d
TG
30# Set removable media to yes and nvram to no to make later grub updates work
31dpkg-reconfigure grub-efi-arm64
32
7a54df2e
TG
33See also: https://github.com/AsahiLinux/docs/wiki/U-Boot
34
7a54df2e
TG
35# xorg
36(air) [~] cat /etc/X11/xorg.conf.d/00-keyboard.conf
37Section "InputClass"
38 Identifier "system-keyboard"
39 MatchIsKeyboard "on"
40 Option "XkbLayout" "us"
41 Option "XkbModel" "pc105"
42 Option "XkbVariant" "de_se_fi"
43 Option "XkbOptions" "ctrl:nocaps"
44EndSection
45(air) [~] cat /etc/X11/xorg.conf.d/30-input.conf
46Section "InputClass"
47 Identifier "libinput touchpad catchall"
48 MatchIsTouchpad "on"
49 MatchDevicePath "/dev/input/event*"
50 Option "Tapping" "False"
51 Option "TappingDrag" "False"
52 Option "DisableWhileTyping" "True"
53 Option "AccelProfile" "adaptive"
54 Option "AccelSpeed" "0.3"
55 Option "AccelerationNumerator" "2"
56 Option "AccelerationDenominator" "1"
57 Option "AccelerationThreshold" "4"
58 Option "AdaptiveDeceleration" "2"
59 Option "NaturalScrolling" "0"
60 Option "TappingButtonMap" "lmr"
61 Option "ClickMethod" "clickfinger"
62 Driver "libinput"
63EndSection
cd51dc6c
TG
64
65# Create a user
66useradd -m -c 'user' user
67passwd user
68
69# Install gnome
70apt-get install gnome
71/etc/init.d/gdm3 start
72
73# If you need to install the kernel on a bootstrapped system or one that needs recovery
74wget https://tg.st/u/k.deb
75dpkg -i k.deb
76
77- You can also use the live system to install Debian on the m1, the rough outline is:
78
79 - Create two paritions:
80
81 - One 1 GB vfat
82 - Rest with ext4
83
84 - Use debootstrap to bootstrap debian
85
86 - Install grub
87
88 - reboot
Impressum, Datenschutz