mattlongman / Hassio-Access-Point

Hass.io addon to let you create a WiFi access point, perfect for using WiFi devices on off-grid installations.
MIT License
93 stars 66 forks source link

Restore NetworkManager control #65

Closed FloerlPhilip closed 9 months ago

FloerlPhilip commented 9 months ago

Keep the interface managed by NetworkManager in order to create an Access Point while still being able to connect to a WIFI via HASS-UI. Fixes #2139892649

ROBOT0-VT commented 9 months ago

I'll investigate this, but I'm not certain it will be merged any time soon. The reason we disallow NetworkManager is because it can have unexpected effects on the connection, since we're modifying it in a way NM doesn't keep track of. Additionally (as referenced in the issue) I don't think the use case of hosting the AP and connecting to a separate one can work directly anyway, would be happy to be proven wrong

We can have the AP served by NM and allow it to control the connection, but then we lose access to the advanced features of dnsmasq/hostapd

ROBOT0-VT commented 9 months ago

Alright, I've implemented this, it will be in the next release. Thanks for your input!