Open Bucknalla opened 6 years ago
Hey Alex, can you please share the Dockerfile for the application container please? Something is going wrong with NetworkManager...
Hi,
Here's the Dockerfile associated with my issue - I haven't changed it since cloning the resin-wifi-connect repo.
FROM resin/%%RESIN_MACHINE_NAME%%-debian
ENV INITSYSTEM on
RUN apt-get update \
&& apt-get install -y dnsmasq wireless-tools \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
RUN curl https://api.github.com/repos/resin-io/resin-wifi-connect/releases/latest -s \
| grep -hoP 'browser_download_url": "\K.*%%RESIN_ARCH%%\.tar\.gz' \
| xargs -n1 curl -Ls \
| tar -xvz -C /usr/src/app/
COPY scripts/start.sh .
CMD ["bash", "start.sh"]
I could not reproduce the error. I thought it could be a separate instance of wifi-connect running, but that gives a different sort of error. Is the start script a modified version of the one we provide?
No, I just cloned the repo and pushed it to my device. I don't think that I did anything other than that? I'll try to do a fresh clone & push and see if that fixes anything.
Having the same problem on Raspberry 4 / Buster
Having the same problem on Raspberry 4 / Buster
I had to purge openresolv
and dhcpcd5
in order to make it work. There's more info here. @jbrepogmailcom
Hi,
I'm having an issue trying to run the wifi-connect script on my RPi 3 B (v1.2).
[network_manager::dbus_api:ERROR] org.freedesktop.NetworkManager::AddAndActivateConnection method call failed on /org/freedesktop/NetworkManager Error: Creating the captive portal failed caused by: D-Bus failure: org.freedesktop.NetworkManager::AddAndActivateConnection method call failed on /org/freedesktop/NetworkManager caused by: D-Bus failure: Method call failed after 10 retries
Any help would be greatly appreciated!
Thanks,
Alex