From 4b946c62eaa1a345a007ea3175277025e137292f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 21 Feb 2023 12:55:56 -0500 Subject: [PATCH 1/4] fix dns --- scripts/postinstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index c334b17b..9755d5d7 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -15,6 +15,8 @@ EnableNetworkConfiguration=true EOF ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf +sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf +sudo sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf useradd -m matt -G wheel passwd matt From a8fc487b9c92b9f1cc1b2474e22e5b38784527d5 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 21 Feb 2023 12:56:42 -0500 Subject: [PATCH 2/4] yes --- scripts/postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 9755d5d7..5e1431ef 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -16,7 +16,7 @@ EOF ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf -sudo sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf +sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf useradd -m matt -G wheel passwd matt From b7a394f1a86d8e965514b97ca1b9592bc0a07477 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 21 Feb 2023 12:57:29 -0500 Subject: [PATCH 3/4] todo --- scripts/postinstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 5e1431ef..5f88d572 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -18,6 +18,8 @@ ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf +# TODO : Add school wifi settings + useradd -m matt -G wheel passwd matt From 64cf02bcea191ffb1123236b58772c442fdf0295 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 21 Feb 2023 12:58:50 -0500 Subject: [PATCH 4/4] todo --- scripts/postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 5f88d572..30e472b4 100644 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -18,7 +18,7 @@ ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf -# TODO : Add school wifi settings +# TODO : Add school wifi settings and https://man.archlinux.org/man/reflector.1#EXAMPLES (update README) useradd -m matt -G wheel passwd matt