Hi Nikos,
(Hope you’re well, and,) This is in response to your AGAIL-DEV list query.
First things first, is the device you’re using an RPi 3? If so, RPi3 defaults to wlan0, not wlan1 — just make sure you’re using the correct one. You can run ifconfig on the device host container and it'll show list of interfaces.
Also, I went through the instructions and perhaps they can be a bit more obvious — especially when it comes to the directory structure. We will look to fix this. From the documentation, it should be noted that you will not see a new file created in resin-boot/system-connections because there isn't a two way binding. The way it works is that on device boot, the files in resin-boot/system-connections are copied into /mnt/state/root-overlay/etc/NetworkManager/system-connections without removing any files from the destination. That directory is then bind mounted to /etc/NetworkManager/system-connections in the root filesystem on the Host.
So, basically, delete your existing resin-wifi-1 file in /mnt/boot/system-connections and in /mnt/state/root-overlay/etc/NetworkManager/system-connections/ Your resin-hotspot files should then look like:
root@2xxxx1b:~
/mnt/state/root-overlay/etc/NetworkManager/system-connections/resin-hotspot
/mnt/boot/system-connections/resin-hotspot
/etc/NetworkManager/system-connections/resin-hotspot
find: /proc/1152/fd/11: No such file or directory
root@276201b:~
[connection]
id=resin-hotspot
uuid=36xxxx57-axxd-4xxf-axx4-exxxxxxxxxx7
type=wifi
autoconnect=false
interface-name=wlan0
permissions=
secondaries=
[wifi]
band=bg
mac-address-blacklist=
mac-address-randomization=0
mode=ap
seen-bssids=
ssid=resin-xxx-testhotspot
[wifi-security]
group=
key-mgmt=wpa-psk
pairwise=
proto=
psk=verysecurepassword
[ipv4]
dns-search=
method=shared
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
Reboot, and with: nmcli c up resin-hotspot You should have your WiFi hotspot up.
Hope this helps,
Georgios Michalakidis R&D Manager
The information transmitted is intended only for the addressee and may contain confidential, proprietary and/or privileged material. Any unauthorised review, distribution or other use of or the taking of any action in reliance upon this information is prohibited. If you receive this in error, please contact the sender and destroy this message and any copies.
|