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

Is this project still active?

Open rafael opened this issue 1 year ago • 1 comments

Desc

Hi - I'm trying to use this in my project. I have a Dockerfile.template that looks like this:

FROM balenalib/%%BALENA_MACHINE_NAME%%-debian-golang:1.17-bullseye-build as build

WORKDIR /go/src/...

....

RUN apt-get update && apt-get install -y kmod dnsmasq wireless-tools

RUN make


# -- Start of resin-wifi-connect section -- #

# -- Wifi connect
# RUN install_packages dnsmasq wireless-tools - installed above

WORKDIR /usr/src/app

ARG VERSION="4.4.6"
RUN curl -Ls "https://github.com/balena-io/wifi-connect/releases/download/v$VERSION/wifi-connect-v$VERSION-linux-%%BALENA_ARCH%%.tar.gz" \
  | tar -xvz -C  /usr/src/app/

# -- End wify connect -- #


FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:bullseye-run

WORKDIR /go/src/...

...
COPY --from=build /usr/src/app/ /usr/src/app/

CMD ["bash", "start.sh"]

Host OS: balenaOS 2.113.29 Device: Raspberry Pi Zero 2 Wifi

Expected Results:

  • Device starts wifi AP.
  • User can connect to wifi via phone

Actual Results

  • Wifi AP is available
  • I can't connect to the AP using other devices
    • when connecting from the Phone, I get a spinning loading symbol and I never get an IP.
    • when connecting from my laptop, I'm able to connect to the AP and I'm getting an IP assigned. However, I don't see the captive portal and it doesn't seem like there is anything running in the default gateway.

rafael avatar Apr 18 '23 01:04 rafael

@majorz ^

floion avatar Apr 19 '23 08:04 floion