wifi-connect icon indicating copy to clipboard operation
wifi-connect copied to clipboard

Raspberry Pi 64bit Raspbian fails to install

Open tobiasbeck opened this issue 2 years ago • 2 comments

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:

bash <(curl -L https://github.com/balena-io/wifi-connect/raw/master/scripts/raspbian-install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   146  100   146    0     0    381      0 --:--:-- --:--:-- --:--:--   381
100   157  100   157    0     0    285      0 --:--:-- --:--:-- --:--:--   285
100  4624  100  4624    0     0   5571      0 --:--:-- --:--:-- --:--:-- 24209
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-rpi.tar.gz...
/dev/fd/63: line 208: /usr/local/sbin/wifi-connect: No such file or directory
WiFi Connect Raspbian Installer: command failed: wifi-connect --version

File:

file /usr/local/sbin/wifi-connect
/usr/local/sbin/wifi-connect: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.1.9, BuildID[sha1]=b0a72b2b77ec9cd97b145be6cbf10a9998ca6d4f, stripped

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'

tobiasbeck avatar Feb 13 '22 08:02 tobiasbeck

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

Doncode avatar Aug 27 '22 15:08 Doncode

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```

tennisparty avatar Sep 06 '22 16:09 tennisparty