[PATCH v3] ubox: libubox: logread: add filter logread messages by priority rsyslog related

2024-04-04 Thread Isaev Ruslan
branch: master d413903 This adds an ability to filter log messages priority: -v handle only messages with given log level (0-7), repeatable -V ignore messages with given log level (0-7), repeatable This function is primarily needed to limit the messages sent

[PATCH v2] add filter logread messages by priority rsyslog related

2024-04-04 Thread Isaev Ruslan
This adds an ability to filter log messages priority: -v handle only messages with given log level (0-7), repeatable -V ignore messages with given log level (0-7), repeatable This function is primarily needed to limit the messages sent to rsyslog from the

hostapd size issue

2024-04-04 Thread e9hack
Hi, I face a strange issue about the size of hostapd. If I build hostapd-openssl only, the size of the hostapd binary is 1061680 bytes. If I add wpad-openssl as module in addition, the size of hostapd is 798664 bytes only. Regards, Hartmut .config for hostapd only: # # WirelessAPD # #

Re: [PATCH 0/9] odhcpd patchset

2024-04-04 Thread Daniel Golle
On Fri, Apr 05, 2024 at 02:53:03AM +0200, Paul Donald wrote: > From: Paul Donald > > refactor and fix limit prefix preferred_lt to valid_lt in accordance with > RFC4861 All changes look good and I generally agree. Thank you! Please avoid duplicate commit titles ("various: refactor") as well

[PATCH 0/9] odhcpd patchset

2024-04-04 Thread Paul Donald
From: Paul Donald refactor and fix limit prefix preferred_lt to valid_lt in accordance with RFC4861 Tested on 23.05.0 Paul Donald (9): various: refactor various: refactor various: Comment fixes router: inherit user-assigned preferred_lifetime router: Limit prefix preferred_lt to

[PATCH 4/9] router: inherit user-assigned preferred_lifetime

2024-04-04 Thread Paul Donald
From: Paul Donald Inherit preferred_lifetime value irrespective of whether ra_useleasetime is set or not. User-provided values for preferred_lifetime are now assigned, instead of ignored. Signed-off-by: Paul Donald --- src/router.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 7/9] config: ra_management is deprecated comment

2024-04-04 Thread Paul Donald
From: Paul Donald Signed-off-by: Paul Donald --- src/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.c b/src/config.c index 1cd4608..0368e74 100644 --- a/src/config.c +++ b/src/config.c @@ -892,6 +892,7 @@ int config_parse_interface(void *data, size_t len, const char

[PATCH 8/9] router: Type comments

2024-04-04 Thread Paul Donald
From: Paul Donald Signed-off-by: Paul Donald --- src/router.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router.c b/src/router.c index 4239aa8..c87fd39 100644 --- a/src/router.c +++ b/src/router.c @@ -668,7 +668,7 @@ static int send_router_advert(struct

[PATCH 9/9] ndp: Comments

2024-04-04 Thread Paul Donald
From: Paul Donald Signed-off-by: Paul Donald --- src/ndp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ndp.c b/src/ndp.c index dfbb111..0ec6fed 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -39,7 +39,7 @@ static void setup_addr_for_relaying(struct in6_addr *addr,

[PATCH 2/9] various: refactor

2024-04-04 Thread Paul Donald
From: Paul Donald Refactor "valid" (valid what?) to "valid_lt". Signed-off-by: Paul Donald --- src/dhcpv6-ia.c | 62 - src/dhcpv6.c| 4 ++-- src/dhcpv6.h| 4 ++-- src/netlink.c | 24 +-- src/odhcpd.c| 2 +-

[PATCH 3/9] various: Comment fixes

2024-04-04 Thread Paul Donald
From: Paul Donald Signed-off-by: Paul Donald --- src/dhcpv4.c| 2 +- src/dhcpv6-ia.c | 6 +++--- src/netlink.c | 2 +- src/router.c| 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/dhcpv4.c b/src/dhcpv4.c index 3191ff2..cb0484f 100644 --- a/src/dhcpv4.c +++

[PATCH 1/9] various: refactor

2024-04-04 Thread Paul Donald
From: Paul Donald Refactor "preferred" (preferred what?) and "pref" (obscure) to "preferred_lt". It is now more difficult to conflate prefix, preference and other "pref" related terminology with preferred_lifetime. Signed-off-by: Paul Donald --- src/dhcpv6-ia.c | 84

[PATCH 5/9] router: Limit prefix preferred_lt to valid_lt in accordance with RFC4861

2024-04-04 Thread Paul Donald
From: Paul Donald Follow-up fix for bc9d317f2921ae6b529f2c9f8de79b75992e206f https://www.rfc-editor.org/rfc/rfc4861#page-44 Signed-off-by: Paul Donald --- src/router.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/router.c b/src/router.c index 3890c0b..a1a7829 100644 ---

[PATCH 6/9] router: Apply updated values from RFC8319 (updates RFC4861)

2024-04-04 Thread Paul Donald
From: Paul Donald https://www.rfc-editor.org/rfc/rfc8319#section-4 Signed-off-by: Paul Donald --- src/router.c | 6 -- src/router.h | 21 - 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/router.c b/src/router.c index a1a7829..4239aa8 100644 ---

Re: Status of snapshot builds for omap target

2024-04-04 Thread Raylynn Knight 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 Apr 2, 2024, at 2:50 AM,

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Sander Vanheule
Hi Stijn, On Thu, 2024-04-04 at 17:28 +0300, st...@linux-ipv6.be wrote: > Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit > Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports. > > Hardware: > * SoC: RTL8392M > * RAM: 256MiB > * Flash: 32MiB SPI-NOR > * Ethernet: >   * 8x GbE

Re: OpenWrt One / project update

2024-04-04 Thread Fernando Frediani
Hi Felix Thanks for the clarification. Yeah, USB may be Ok, but M.2 isn't for all usages, specially the simplest and less costly ones. I see that a SD Card is still quiet universal, very cheap for all sorts of projects. Regarding the the standard for the SD card spec I can't answer that, but

Re: OpenWrt One / project update

2024-04-04 Thread Felix Baumann 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 --- Am 4. April 2024 18:05:13 MESZ

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Paul D
On 2024-04-04 17:02, Stijn Tintel wrote: > On 4/04/2024 18:00, Paul D wrote: >> On 2024-04-04 16:28, st...@linux-ipv6.be wrote: >> >>> -netgear,gs110tpp-v1) >>> -    ucidef_set_poe 130 "$(filter_port_list "$lan_list" "lan9 lan10")" >>> -    ;; >> If adding a device, surely these remove lines

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread INAGAKI Hiroshi
Hi stijn, I have some comments below. On 2024/04/04 23:28, st...@linux-ipv6.be wrote: Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports. Hardware: * SoC: RTL8392M * RAM: 256MiB * Flash: 32MiB SPI-NOR * Ethernet: * 8x GbE

Re: OpenWrt One / project update

2024-04-04 Thread Fernando Frediani
Hello there Good work so far. Did I miss anything, but I couldn't find a SD Card slot. Isn't there one ? Regards Fernando On 04/04/2024 07:00, John Crispin wrote: Hi, Just dropping a quick update on the  OpenWrt One project. I've received the first batch of three PCBs for testing today. I

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Stijn Tintel
On 4/04/2024 17:28, st...@linux-ipv6.be wrote: Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports. FYI: this patch and WIP changes are also available in my staging tree:

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Stijn Tintel
On 4/04/2024 18:00, Paul D wrote: On 2024-04-04 16:28, st...@linux-ipv6.be wrote: -netgear,gs110tpp-v1) - ucidef_set_poe 130 "$(filter_port_list "$lan_list" "lan9 lan10")" - ;; If adding a device, surely these remove lines should not be there? Try looking closer. It's called

Re: [PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread Paul D
On 2024-04-04 16:28, st...@linux-ipv6.be wrote: > -netgear,gs110tpp-v1) > - ucidef_set_poe 130 "$(filter_port_list "$lan_list" "lan9 lan10")" > - ;; If adding a device, surely these remove lines should not be there? ___ openwrt-devel mailing

[PATCH] realtek/rtl839x: Edgecore ECS4100-12PH support

2024-04-04 Thread stijn
Add support for the Edgecore ECS4100-12PH, an 8-port PoE Gigabit Ethernet switch with 2 combo RJ45/SFP and 2 SFP ports. Hardware: * SoC: RTL8392M * RAM: 256MiB * Flash: 32MiB SPI-NOR * Ethernet: * 8x GbE RJ45 PoE (built-in RTL8218B) * 2x GbE RJ45 / SFP combo * 2x SFP * Console: RJ45 RS232

Re: OpenWrt One / project update

2024-04-04 Thread Paul D
On 2024-04-04 12:00, John Crispin wrote: > Hi, > > > http://mirror2.openwrt.org/OpenWrtOne_top.png Looks nice. Is that silkscreened PD1 - 5V or PD - 15V? I guess it's not critical since PD auto-negotiates, but avoiding ambiguity is good. Were the chip numbers modified in the photos after?

Re: OpenWrt One / project update

2024-04-04 Thread Michael Richardson
Thank you for the update. I'd really like to find a way to work with your manufacturer to get an IDevID certificate into each unit as it is manufacturered. -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works|

OpenWrt One / project update

2024-04-04 Thread John Crispin
Hi, Just dropping a quick update on the  OpenWrt One project. I've received the first batch of three PCBs for testing today. I am in the process of testing the hardware to make sure everything works as intended. There are twelve further early prototype boards on standby in case we need to