Skip to content

UI wont start on Raspberry Pi Zero #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PaluZoli opened this issue Feb 4, 2025 · 2 comments
Open

UI wont start on Raspberry Pi Zero #665

PaluZoli opened this issue Feb 4, 2025 · 2 comments

Comments

@PaluZoli
Copy link

PaluZoli commented Feb 4, 2025

Hello,
First of all thank you for your work!
I have used PiVPN which is now not working Bookworm. I have installed Wireguard, and also downloaded the wireguard-ui-v0.6.2-linux-arm.tar.gz
I'm able to unpack it no issue, but when I try to start it responds with: Illegal instruction.
I have followed the https://www.bachmann-lan.de/raspberry-pi-mit-wireguard-und-wireguard-ui-webinterface/ instructions.
It works well in an LCX container (wireguard-ui-v0.6.2-linux-amd64.tar.gz) but not on Pi Zero (wireguard-ui-v0.6.2-linux-arm.tar.gz)

Could you help me to identify the problem?

Meanwhile I have found out that pi zero is ARM6 based and most probably wireguard-ui should be compiled for it.
Who can help me with that?

@samrocketman
Copy link

You need arm64; not arm download.

@raihei
Copy link

raihei commented May 4, 2025

You need arm64; not arm download.

Pi zero (not Pi zero 2 w) only supports 32-bit Raspbian, therefore arm64 is the wrong architecture.

@PaluZoli wireguard-ui-v0.6.2-linux-arm.tar.gz should be correct (if it supports ARMv6), but I am also getting the "illegal instruction" error on a pi zero.

Looks like it was compiled for ARMv7

name: wireguard-ui build release

on:
  release:
    types: [created]

jobs:
  releases-matrix:
    name: Release Go Binary
    runs-on: ubuntu-22.04
    strategy:
      fail-fast: false
      matrix:
        # build and publish in parallel: linux/386, linux/amd64, darwin/386, darwin/amd64
        goos: [linux, freebsd, darwin]
        goarch: [386, amd64, arm, arm64]
        exclude:
          - goarch: 386
            goos: darwin
          - goarch: arm
            goos: darwin
          - goarch: arm64
            goos: darwin
        goarm:
          - 7

If I compile it for ARMv6, it works also on Pi zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants