Hi Petr!
As you may guess from the thread, the community doesn't want or like to have this feature
"easily" accessible due to it's security implications.
Still, for me having this feature would be very very helfpul.
On Thu, 8 Jul 2021, Petr Štetiar wrote:
Date: Thu, 8 Jul 2021 09:39:33
From: Petr Štetiar <yn...@true.cz>
To: Paul Spooren <m...@aparcar.org>
Cc: Enrico Mioso <mrkiko...@gmail.com>, openwrt-devel@lists.openwrt.org
Subject: Re: Enabling Wi-Fi on First boot
Paul Spooren <m...@aparcar.org> [2021-07-07 15:10:59]:
Hi,
Feel free to check this out, it's not ready yet but should give an idea:
https://github.com/openwrt/openwrt/pull/4349
More sophisticated setups are not supported this is merely used to allow
are not supported for *now*, but once folks notice this, they'll of course try
to extend this for their use case and thus bloat it further. BTW why is
wireless so special? Why there is not default config for example for LTE or
ppoe as well?
Sorry, but I don't like this, as you're solving just one very simple use case,
adding stuff which would never be enabled in official images. IIUC this
feature can't be used from imagebuilder either, thus folks would need to
always build the images from scratch, which seems to be overkill just for
tweaking config. Or am I missing something?
The standard way for doing such tweaks is `files` directory, which has clumsy
UX. If you want to improve that UX, you're probably looking for something like
ucentral[1] is doing. Having some default image configuration specified in
ucode/YAML (would probably need YAML support added into ucode first) and then
generate those uci configs into respective `files` directory. BTW this should
be external project, no need to have this in the tree, it would make CI/QA
much easier etc.
1.
https://github.com/blogic/ucentral-schema/blob/main/renderer/templates/interface/ssid.uc
-- ynezz
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel