From bb5c41dff4c81f09cc1878e1b7bdf51a522e70d7 Mon Sep 17 00:00:00 2001 From: mklomp Date: Thu, 5 Oct 2023 12:24:10 +0200 Subject: [PATCH 1/2] Fix for WPA3 issues with wifi-connect --- network_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network_install.sh b/network_install.sh index 078afac..022c202 100755 --- a/network_install.sh +++ b/network_install.sh @@ -22,8 +22,8 @@ sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' # Install wifi-connect MY_ARCH=$(arch) if [[ $MY_ARCH == "armv7l" ]]; then MY_ARCH="rpi"; fi -wget https://github.com/balena-os/wifi-connect/releases/download/v4.4.6/wifi-connect-v4.4.6-linux-"$(echo "$MY_ARCH")".tar.gz -tar -xf wifi-connect* +wget https://github.com/balena-os/wifi-connect/releases/download/v4.11.1/wifi-connect-v4.11.1-linux-"$(echo "$MY_ARCH")".zip +unzip wifi-connect* sudo mv wifi-connect /usr/local/sbin rm wifi-connect* From 964dccaa429a305a03e0a5550ced37d501c02235 Mon Sep 17 00:00:00 2001 From: mklomp Date: Thu, 5 Oct 2023 13:38:52 +0200 Subject: [PATCH 2/2] Download correct version for armv7 --- network_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network_install.sh b/network_install.sh index 022c202..f053f05 100755 --- a/network_install.sh +++ b/network_install.sh @@ -21,7 +21,7 @@ sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' # Install wifi-connect MY_ARCH=$(arch) -if [[ $MY_ARCH == "armv7l" ]]; then MY_ARCH="rpi"; fi +if [[ $MY_ARCH == "armv7l" ]]; then MY_ARCH="armv7hf"; fi wget https://github.com/balena-os/wifi-connect/releases/download/v4.11.1/wifi-connect-v4.11.1-linux-"$(echo "$MY_ARCH")".zip unzip wifi-connect* sudo mv wifi-connect /usr/local/sbin