Open tobiasbeck opened 2 years ago
RaspiOS 64-bit or Ubuntu
curl -L https://github.com/balena-io/wifi-connect/raw/master/scripts/raspbian-install.sh | sed 's/\*rpi/*aarch64/' | bash
I seem to have a problem installing network manager on 64 bit Buster with this method
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 4624 100 4624 0 0 2996 0 0:00:01 0:00:01 --:--:-- 1505k
WiFi Connect Raspbian Installer: Retrieving latest release from https://api.github.com/repos/balena-os/wifi-connect/releases/latest...
WiFi Connect Raspbian Installer: Downloading and extracting https://github.com/balena-os/wifi-connect/releases/download/v4.4.6/wifi-connect-v4.4.6-linux-aarch64.tar.gz...
WiFi Connect Raspbian Installer: Successfully installed wifi-connect 4.4.6
WiFi Connect Raspbian Installer: NetworkManager is not installed```
The installation fails on a 64bit raspbian installation. The reason in my opinion is that the binary is 32bit and therefore cannot be executed on the 64bit version of the os. Since 64bit was officially released 2nd of February 2022 it would make sense to adapt the installation script.
The following error occures:
File:
When changing the regex in line 162 of raspbian-install.sh to select the 64bit build everything works fine:
local _regex='browser_download_url": "\K.*aarch64\.tar\.gz'