Re: [PATCH 2/2] realtek: add support for HPE 1920-24G-PoE-370w

2024-09-23 Thread Evan Jobling via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- On 22/9/24 19:50, Bjørn Mork wrote

Re: [PATCH 2/2] realtek: add support for HPE 1920-24G-PoE-370w

2024-09-23 Thread Evan Jobling via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi Tim!> > My thoughts were that

[PATCH 11/11] base-files: set root password if present inside board.json

2024-09-23 Thread John Crispin
The code checks if the first character is "$". In that case it is assumed that the string contains a solted hash. Alternatively we assume that it is a cleartext password. Signed-off-by: John Crispin --- .../files/etc/uci-defaults/50-root-passwd | 15 +++ 1 file changed, 15 in

[PATCH 11/11] base-files: set root password if present inside board.json

2024-09-23 Thread John Crispin
The code checks if the first character is "$". In that case it is assumed that the string contains a solted hash. Alternatively we assume that it is a cleartext password. Signed-off-by: John Crispin --- .../files/etc/uci-defaults/50-root-passwd | 15 +++ 1 file changed, 15 in

[PATCH 10/11] base-files: add timezone to UCI during config_generate

2024-09-23 Thread John Crispin
Signed-off-by: John Crispin --- package/base-files/files/bin/config_generate | 5 + 1 file changed, 5 insertions(+) diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index be21d0079a..9d1968ce20 100755 --- a/package/base-files/files/bin

[PATCH 10/11] base-files: add timezone to UCI during config_generate

2024-09-23 Thread John Crispin
Signed-off-by: John Crispin --- package/base-files/files/bin/config_generate | 5 + 1 file changed, 5 insertions(+) diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index be21d0079a..9d1968ce20 100755 --- a/package/base-files/files/bin

[PATCH 05/11] base-files: execute uboot-env script before calling config_generate

2024-09-23 Thread John Crispin
This allows /etc/board.d/* scripts to use values from the uboot environment. Signed-off-by: John Crispin --- package/base-files/files/etc/init.d/boot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/ini

[PATCH 02/11] base-files: uci-defaults: allow setting default credentials and ssh keys

2024-09-23 Thread John Crispin
Introduce new uci-default functions: - ucidef_set_root_password [password hash/cleartext] - ucidef_set_ssh_authorized_key [ssh key] Signed-off-by: John Crispin --- .../base-files/files/lib/functions/uci-defaults.sh | 14 ++ 1 file changed, 14 insertions(+) diff --git a/pac

[PATCH 06/11] uboot-envtools: add fw_loadenv tool

2024-09-23 Thread John Crispin
This tool will load the uboot environment to /var/run/uboot-env/. This allows more efficient use when accessing multiple variables. Signed-off-by: John Crispin --- package/boot/uboot-envtools/Makefile | 1 + package/boot/uboot-envtools/files/fw_loadenv | 26 2 files

[PATCH 04/11] base-files: uci-defaults: allow setting the number of MACs a radio can use

2024-09-23 Thread John Crispin
Introduce new uci-default functions: - ucidef_set_wireless_mac_count [count] Signed-off-by: John Crispin --- .../files/lib/functions/uci-defaults.sh | 21 +++ 1 file changed, 21 insertions(+) diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/pa

[PATCH 00/11] allow loading default credentials from flash

2024-09-23 Thread John Crispin
The series adds board.d enhancements that allow loading persistently stored values that can then be used during config_generate. - root password - ssh auth key - wifi credentials - timezone - num_global_macaddr There is a script that will attempt to load these values from the uboot-env. Daniel

[PATCH 08/11] wifi-scripts: populate default wifi credentials and country code from board.json

2024-09-23 Thread John Crispin
Signed-off-by: John Crispin --- .../wifi-scripts/files/lib/wifi/mac80211.uc | 22 +++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc b/package/network/config/wifi-scripts/files/lib/wifi/mac80211.uc i

[PATCH 09/11] dropbear: add a uci-defaults script for loading authorized keys

2024-09-23 Thread John Crispin
Write the ssh authorized key to /etc/dropbear/ssh_authorized_keys if present inside boad.json. Signed-off-by: John Crispin --- package/network/services/dropbear/Makefile| 2 ++ .../services/dropbear/files/dropbear.defaults | 15 +++ 2 files changed, 17 insertions(+) cre

[PATCH 07/11] uboot-envtools: add a board.d script to load defaults from the environment

2024-09-23 Thread John Crispin
This allows loading default wifi credentials, passwords and ssh keys on firstboot. Signed-off-by: John Crispin --- package/boot/uboot-envtools/Makefile | 2 ++ package/boot/uboot-envtools/files/fw_defaults | 16 2 files changed, 18 insertions(+) create mode 100644 pac

[PATCH 03/11] base-files: uci-defaults: allow setting default timezone

2024-09-23 Thread John Crispin
Introduce new uci-default functions: - ucidef_set_timezone TZ Signed-off-by: John Crispin --- package/base-files/files/lib/functions/uci-defaults.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/fil

Re: State of APK package manger integration

2024-09-23 Thread Petr Štetiar
Paul Spooren [2024-08-11 20:34:09]: Hi, > Some time has passed and there are further news for the APK migration: awesome progress, thanks a lot to all of you pushing this forward! :-) > If you run one of those images, please give APK a spin and see how it’s > doing. A simple example would b t