Enabling Wi-Fi on First boot

Paul Spooren mail at aparcar.org
Thu Jul 8 02:09:28 PDT 2021


I'd argue that it merely completes the OEM options. If that isn't a valid 
argument we should drop all of VERSIONOPTs since it can be all modified 
via /files.
-- 



Jul 7, 2021 21:39:59 Petr Štetiar <ynezz at true.cz>:

> Paul Spooren <mail at 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



More information about the openwrt-devel mailing list