From 1cf9492e5792d2f63e9c4161239ddf18b448f2e4 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Thu, 10 Jul 2025 13:45:17 -0500 Subject: [PATCH 1/2] install: explicitly install iwd When archinstall is run using an ethernet connection, iwd will not be installed. Explicitly install and enable the service --- install/network.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 install/network.sh diff --git a/install/network.sh b/install/network.sh new file mode 100644 index 0000000..5f06ce8 --- /dev/null +++ b/install/network.sh @@ -0,0 +1,6 @@ +# Install iwd explicitly if it wasn't included in archinstall +# This can happen if archinstall used ethernet +if ! command -v iwd &>/dev/null; then + yay -S --noconfirm --needed iwd + sudo systemctl enable --now iwd.service +fi From 563575124f922970e399f1378390626b7d4d5f48 Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Sat, 12 Jul 2025 20:28:49 -0400 Subject: [PATCH 2/2] Add override to only require one network interface online --- install/network.sh | 10 ++++++++++ migrations/1752365998.sh | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 migrations/1752365998.sh diff --git a/install/network.sh b/install/network.sh index 5f06ce8..66b6c63 100644 --- a/install/network.sh +++ b/install/network.sh @@ -4,3 +4,13 @@ if ! command -v iwd &>/dev/null; then yay -S --noconfirm --needed iwd sudo systemctl enable --now iwd.service fi + +# Fix systemd-networkd-wait-online timeout for multiple interfaces +# Wait for any interface to be online rather than all interfaces +# https://wiki.archlinux.org/title/Systemd-networkd#Multiple_interfaces_that_are_not_connected_all_the_time +sudo mkdir -p /etc/systemd/system/systemd-networkd-wait-online.service.d +sudo tee /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf >/dev/null </dev/null <