Closed createcandle closed 3 years ago
If you manually change the network configuration of the gateway then things are going to break, that is not surprising.
Also, FWIW your approach of manually editing OS configuration files from an add-on is going to be brittle and platform dependent. I'd be very cautious about allowing that add-on into the add-on directory as it's likely to break people's gateways in ways that are not easily reversible.
Note that we experimented with making the gateway into a Wi-Fi access point/router a couple of years ago using OpenWrt, which required a separate distribution of the gateway with a different base OS, different first time setup UI and different Network Settings UI. We've recently removed all that code since it wasn't a sustainable path with the resources we had available. I really think if you want to change things this drastically you need to fork the gateway repository rather than trying to do it using add-ons.
I'm going to close this issue because this bug is not reproduceable on master and is probably a problem with your add-on, not the gateway.
I know, back then I even bought that $300 OpenWRT router to try that router-gateway build.
I already fixed this issue as well. It was caused by starting my addon too early, before the network/gateway was settled.
So far the addon is also easily reversible, and doesn't make any changes that a reboot wouldn't remove.
Anyway, this wasn't really an issue so much as a "perhaps someone has a suggestion where I should be looking". But I found it already.
I'm working on an addon that creates a wifi hotspot that is segregated from the home wifi network.
Currently enabling it causes the thing-url-adapter to crash continously:
I'll look into how I can mitigate this, but thought I'd share early.