Open benfrancis opened 2 months ago
See wifi-setup.ts for the Wi-Fi hotspot implementation used when running on Raspbian.
Have you yet tried to simply turn on this feature as-is and capture all errors/denials from the snap env. ? As long as it uses standard features in the backend it should work similar to the examples you listed in the initial post, we'd just need a list of interfaces (from snappy-debug) and add potentially missing binaries to the snap as long as it uses standard features and tools at least.
As a user I want to connect to the gateway as a Wi-Fi hotspot when it first boots, so that I can connect the gateway to a network of my choosing.
Currently with Raspbian-based images when the gateway first boots it acts as a Wi-Fi hotspot with a captive portal which a user can connect to from another device (e.g. smartphone/tablet/laptop) in order to connect the gateway to a Wi-Fi network.
This will need implementing separately for the snap package when bundled with a custom Ubuntu Core OS image. This could be part of the gateway snap, or possibly a separate one.
For inspiration see: