Skip to content
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

Is this project still active? #489

Open
rafael opened this issue Apr 18, 2023 · 1 comment
Open

Is this project still active? #489

rafael opened this issue Apr 18, 2023 · 1 comment

Comments

@rafael
Copy link

rafael commented Apr 18, 2023

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.
@floion
Copy link

floion commented Apr 19, 2023

@majorz ^

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

2 participants