Enabling Wi-Fi on First boot

Nishant Sharma codemarauder at gmail.com
Tue Jul 6 08:05:40 PDT 2021


On 06/07/21 7:56 pm, Henrique de Moraes Holschuh wrote:

> So, to safely and responsibly enable wireless by default in a device (or
> firmware) you're delivering to a third-party, you need that "per-unit
> unique wireless password" per device thing most vendors are doing.
> 
> [2] not really: openwrt sysugrade *does not help* in that there is no
> way to add variable information to an already *finished* image file, to
> be used on first-boot only, and which would *survive a factory reset*.
> 

How about a first-boot script that enables the Wi-Fi if it is disabled
and then sets the password (if not already set) using the first MAC
address it finds on the device?

Regards,
Nishant



More information about the openwrt-devel mailing list