intelligent-agent / Rebuild

Linux OS for Recore
0 stars 3 forks source link

Set up an automatic connection to a wifi AP if a config file exists #43

Closed eliasbakken closed 4 months ago

eliasbakken commented 5 months ago

Right now, if a Wifi adapter is detected, Rebuild will try and set up an access point. Instead, a decision should be made on whether the wifi adapter should try and connect to an existing AP or not. This decision can be made using the presence of a file containing the necessary information. For instance, if the file /etc/recore-network-connection is present, a script will read the SSID and password from that file and attempt to connect to the specified network. This setup can be started/done by the rebuild-first-run script. The idea is to eventually allow this information to be supplied from Reflash, so this is the Rebuild side of things.

eliasbakken commented 5 months ago

Committed in main on Reflash there is now support for propagating settings from Reflash to Rebuild. In order to get more information in there, Reflash will have to be updated.

eliasbakken commented 4 months ago

The Rebuild side of this has been merged.