Closed eliasbakken closed 2 years ago
Attempt is ready following these instructions: https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/158-raspberry-pi-auto-wifi-hotspot-switch-direct-connection
PR #311 sets up a hotspot on demand consistently, but if the wifi adapter is missing and probably also when removed, the service fails. Instead, the service should start when wlan0 becomes available and stop when it is removed. Also, there is no simple way to search for and choose an access point. This should be handled through a plugin in OctoPrint/Mainsail.
It has now been tested that the script does not fail when a wifi adapter is not present. It remains to be tested that a wifi connection to an AP can be set up.
Basic support has been added.
It should be possible to set up a printer as a hotspot for direct access. This should be the default behavior if a wifi adapter is available and it has not yet been associated with a different access point.