ufp: add a device fingerprinting daemon

2024-10-02 Thread John Crispin
Hi, I posted a PR today that adds device fingerprinting. --> https://github.com/openwrt/openwrt/pull/16568 2 couple of folks already tested it successfully. would be grateful if others could also give it a spin and let me know what they think. pl

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

2024-09-24 Thread John Crispin
On 24.09.24 12:53, Andreas Gnau wrote: Not a WiFi-expert, but: How will this band parameter work for WiFi 7 MLO where a single-phy device can represent multiple bands? How would we deal with devices having more than one radio per band? For example, some repeaters have a separate radio for b

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

2024-09-24 Thread John Crispin
On 24.09.24 11:58, Jo-Philipp Wich wrote: You should probably just separate the variables into `root_password_plain` and `root_password_hash`, then make the latter take precedence over the former in case both are defined. makes sense ___ openwrt-d

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

2024-09-24 Thread John Crispin
On 24.09.24 10:47, Bjørn Mork wrote: John Crispin writes: + echo -n "$ssh_authorized_key" > /etc/dropbear/authorized_keys This will unnecessarily break an image built with one or more pre-defined keys. Bjørn yeash, I'll check if the file exists an

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

2024-09-24 Thread John Crispin
On 24.09.24 09:57, Bjørn Mork wrote: John Crispin writes: +ucidef_set_ssh_authorized_key() { This should be ucidef_add_ssh_authorized_key() and it should support being called more than once. (no, I don't have a use case - just one of my many hangups after having seen similar thing

[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 c

[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 c

[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

[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

[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

[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

[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

[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

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

2024-09-23 Thread John Crispin
Golle (1): base-files: uci-defaults: allow setting wireless defaults John Crispin (10): base-files: uci-defaults: allow setting default credentials and ssh keys base-files: uci-defaults: allow setting default timezone base-files: uci-defaults: allow setting the number of MACs a radio

[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

[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

[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

[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

Re: OpenWrt 24.XX release plan

2024-09-21 Thread John Crispin
On 21.09.24 11:51, Hauke Mehrtens wrote: @John: You told me you want to add some bigger improvements for board.d, what is the timeline for that? next few days, I am also testing https://github.com/openwrt/openwrt/pull/16342/commits right now. 24.xx should include that patch     John ___

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-09-03 Thread John Crispin
Any news, link, where could we order it? BR Janusz Hi Janusz, the first 50 DVT samples arrived at my place yesterday, we will post an update next few days with further details John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.or

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-05-27 Thread John Crispin
On 27.05.24 15:27, Paul D wrote: I guess this isn't often discussed unless one is dealing with large volume - but does the case include keyhole screw cutouts, those specially made holes that accommodate screws for non horizontal mounting using a couple of screws? These would make life easier f

Re: here we are again: real name 'discussion'

2024-04-18 Thread John Crispin
I do not see anyone from the committers complaining about the revert. If folks felt that a vote was neccesseary, then someone would have started one. I have a feeling that folks are happy with the old status quo and no vote is required.     John On 18.04.24 16:13, Paul D wrote: On 2024-04-1

Re: OpenWrt One / project update

2024-04-12 Thread John Crispin
using OP-TEE and fTPM. pretty high on my list once we find the time https://trustedfirmware-a.readthedocs.io/en/latest/components/spd/index.html https://trustedfirmware-a.readthedocs.io/en/latest/components/spd/optee-dispatcher.html ___ openwrt-

Re: OpenWrt One / project update

2024-04-12 Thread John Crispin
On 12.04.24 15:30, Michael Richardson wrote: Is the MT7981B specification available publically at this point? I can find a 7986 sheet on hackaday, but who knows how it differs (marketing people and their numbers) Hi http://mirror2.openwrt.org/docs/     John ___

Re: OpenWrt Summit 2024 & Battlemesh v16 Announcement

2024-04-11 Thread John Crispin
On 12.04.24 02:19, David Bauer via openwrt-devel wrote: can you share which identifier was assigned for OpenWrt? I don't see it in the list of the IEEE yet. The process is still pending. SFC needs to register the OUI block as "does business as" to make sure OpenWrt shows up as the name.   

Re: OpenWrt Summit 2024 & Battlemesh v16 Announcement

2024-04-10 Thread John Crispin
Hi We will auction off one or two OpenWrt One. The first 15 EVT samples have been tested, and a new production run of 100 DVT samples will start shortly. these 100 samples will have OpenWrt OUI macs and calibration data. the winners of the auction will receive samples via express courier ;)

Re: OpenWrt Summit 2024 & Battlemesh v16 Announcement

2024-04-10 Thread John Crispin
Hi, We will auction off one or two OpenWrt One. The first 15 samples have been tested, an ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

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 tw

Re: here we are again: real name 'discussion'

2024-03-26 Thread John Crispin
Hi, the SoB is a DCO https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin without a real name DCO is not assignable     John On 26.03.24 14:39, Paul D wrote: We have quorum/consensus on this issue. Is it too much to ask that everyone now follow it, or at least have this token 'vote'

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-02-26 Thread John Crispin
Hi Rafał, Is there any update / schedule you could share? I have been meaning to send an update for a few days. Thanks for reminding me. I'm really looking forward to this device. yeah, me too ;) Lots of stuff has been happening. There was a short break due to the lunar new year but we ar

Re: [VOTE] New member proposal: Robimarko (Robert Marko)

2024-01-30 Thread John Crispin
I would like to add Robert to the OpenWrt committers team. +1 thx @robimarko for taking care of the QCA mess ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread John Crispin
On 17.01.24 20:31, David Bauer wrote: Hi John, On 1/9/24 11:49, John Crispin wrote: FAQ * Why are there are 2 different flash chips? - the idea is to make the device (almost!) unbrickable and very easy to recover - NAND will hold the main loader (U-Boot) and the Linux image and will be the

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread John Crispin
On 17.01.24 20:28, Daniel Santos wrote: On 1/16/24 00:36, John Crispin wrote: And in the interest of running *my* own mouth, I'm stoked as hell -- LOVE that it will have mikroBUS! Thanks to John and everyone working on this! My only request is that any unused gpios that don't

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread John Crispin
On 17.01.24 17:19, Fernando Frediani wrote: Hi, again, does this SoC have any type of NAT offload capability ? Now a days with common Internet Broadband plans that is becoming a must. Also is there any possibility to consider more than just 2 Ethernet ports (at least 4)? Would that increase

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread John Crispin
On 17.01.24 17:46, Janusz Dziedzic wrote: Do you think I can use m.2 A->M converter here and use wifi mt7916 A+E (6GHz) instead of NVMe? Eg.https://kamami.pl/akcesoria-do-raspberry-pi/587051-m2-m-key-to-m2-a-key-adapter-m2-m-key-do-m2-a-key.html Will that work? so the theory but we wont know u

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread John Crispin
Additional FAQ for OpenWrt One This is a summary of some further questions regarding the OpenWrt One project gathered so far. After OpenWrt voted to move forward, it will be converted into a page within the OpenWrt wiki as a place for collecting the latest information. Q: Will the various ha

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-15 Thread John Crispin
And in the interest of running *my* own mouth, I'm stoked as hell -- LOVE that it will have mikroBUS! Thanks to John and everyone working on this! My only request is that any unused gpios that don't make it to mikroBUS find their way to a (possibly unpopulated) header some where for the sa

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-14 Thread John Crispin
when did crowdfunding come into play here ? there is no intention of starting a crowdfunder.     John On 15.01.24 01:51, Kathy Giori wrote: Or CrowdSupply (founder Joshua Lifton). Or I could introduce you to BeagleBoard.org -- combo of

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-12 Thread John Crispin
On 12.01.24 16:16, Bas Mevissen via openwrt-devel wrote: Hardwarespecifications: * SOC: MediaTek MT7981B * Wi-Fi: MediaTek MT7976C (2x2 2.4 GHz + 3x3/2x2 + zero-wait DFS 5Ghz) Was the MT7986AV, MT7976DA combo considered? Has 4x4 for office applications (MU-MIMO), so might be useful for corp

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-10 Thread John Crispin
On 10.01.24 12:17, Robert Marko wrote: Along with a well designed minimalistic case with sufficient passive cooling and optional integrated antennas. Thinking something along the Flirc RPi4 cases, using the case itself as a cooler. With half the case radio transparent and a choice between anten

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread John Crispin
On 09.01.24 14:51, Chuanhong Guo wrote: Hi! On Tue, Jan 9, 2024 at 6:52 PM John Crispin wrote: [...] FAQ * Why are there are 2 different flash chips? - the idea is to make the device (almost!) unbrickable and very easy to recover What about a built-in JTAG probe instead of SPI-NOR+USB-UART

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread John Crispin
On 09.01.24 12:56, Robert Marko wrote: ---SNIP--- Why not 6GHz? 6GHz requires an external card, and I doubt you can fit that in the target price. Regards, Robert correct. as mentioned in the email, we wanted to start out small. also upstream mac80211 is still missing a bunch of 11be relat

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread John Crispin
On 09.01.24 12:58, Rafał Miłecki wrote: So are you looking for just a generic interest feedback? Or some technical comments? What are next steps for this project and do you could use some community help? just general feedback. it felt a bit weird to jump straight into voting.     John _

OpenWrt One - celebrating 20 years of OpenWrt

2024-01-09 Thread John Crispin
xt Thanks, Signed-off-by: Alexander Couzens Signed-off-by: Bradley M. Kuhn Signed-off-by: Daniel Golle Signed-off-by: David Bauer Signed-off-by: Denver Gingerich Signed-off-by: Felix Fietkau Signed-off-by: Hauke Mehrtens Signed-off-by: John Crispin Signed-off-by: Jo-Philipp Wich Signed-off-

Re: [PATCH] netifd: exclude 20-smp-packet-steering on bcm53xx

2023-02-02 Thread John Crispin
northstar could ship a uci-defaults script to populate UCI for line 37 --> https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering;h=8a86bf75f60040e97a7779628afb0993aee87c50;hb=HEAD#l37 On 02.02.23 17:06, Rafał Miłecki

Re: mt7621 GPIO mapping mystery

2023-01-21 Thread John Crispin
On 21.01.23 15:51, Sergio Paracuellos wrote: AFAICS, the Ralink driver sets gpio mode for a group of pins using set_mux operation [1] so when the gpio_request_enable() operation is called a check for that pin is set as gpio is performed. Nothing else. Maybe John Crispin who is the writer of

Re: [PATCH procd] instance: dump netdev params

2022-09-26 Thread John Crispin
_each(&in->netdev, var) + blobmsg_add_string(b, NULL, blobmsg_data(var->data)); + blobmsg_close_array(b, n); + } + Acked-by: John Crispin ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.or

Re: [PATCH] ugps: add baud rate command line option

2022-01-16 Thread John Crispin
Hi, thanks for the patch ! + default: + return B0; please default to B4800 and add a fprintf(stderr, ...) indicating this decision     John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

Re: mips: [RFC] adding support for APJET01 ref board

2021-11-13 Thread John Crispin
On 13.11.21 17:30, Oleksandr Hnatiuk wrote: From: Oleksandr Hnatiuk Signed-off-by: Oleksandr Hnatiuk Changes in this version of the patch: - removed nested rootfs partition - added "compatible" field to the linux partition - added IMAGE_SIZE field to device description This patch enables b

Re: warning about which deprecated

2021-11-07 Thread John Crispin
https://lwn.net/Articles/874333/ ?!? On 07.11.21 19:05, Ansuel Smith wrote: Updating to latest ubuntu devel this now comes up /home/ansuel/openwrt/staging_dir/host/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. I think we have to update something? __

Re: [PATCH 2/2] hostapd: force ieee80211w instead of setting a default

2021-10-11 Thread John Crispin
Am 11.10.21 um 19:40 schrieb Henrique de Moraes Holschuh 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 th

[PATCH] netifd: fix wpa enterprise mode

2021-10-11 Thread John Crispin
h can then properly setup wpa3/eap. Tested-on: iPhone 12, Samsung S10/S20 Signed-off-by: John Crispin --- scripts/netifd-wireless.sh | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index 80fbf75..0ee95d9 100644 ---

[PATCH 2/2] hostapd: force ieee80211w instead of setting a default

2021-10-11 Thread John Crispin
WPA3 modes require 11w to be set to optional/required. Using set_default would allow forcing an invalid value from UCI. Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network

[PATCH 1/2] hostapd: fix wpa enterprise mode

2021-10-11 Thread John Crispin
w corretly passed values from netifd are honoured. Tested-on: iPhone 12, Samsung S10/S20 Signed-off-by: John Crispin --- .../network/services/hostapd/files/hostapd.sh | 35 +-- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/package/network/services/hostapd/files/

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-09-26 Thread John Crispin
On 26.09.21 13:34, David Bauer wrote: That being set, the goal of poemgr is not to replace the other efforts. I'm sorry if I caused this impression. it did not replace anything. I am fully with you on this one, realtek-poe took the same approach but merging it was NAK'ed with the argument,

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-09-25 Thread John Crispin
poemgr does not use the APIs provided by libubox so I doubt that this will land in the tree.     John On 26.09.21 07:22, Raylynn Knight wrote: It’s not clear to me what OpenWrt supported device(s) the below poemgr is meant for! It might be helpful to compile a list of currently supported Ope

Re: [PATCH ubus] ubusd: log ACL init errors

2021-08-20 Thread John Crispin
: John Crispin --- ubusd_acl.c | 13 ++--- ubusd_main.c | 3 +++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ubusd_acl.c b/ubusd_acl.c index e050e2c..352c581 100644 --- a/ubusd_acl.c +++ b/ubusd_acl.c @@ -26,6 +26,7 @@ #include #include #include +#include

Re: Guidance on creating man pages for procd utilities

2021-08-18 Thread John Crispin
On 19.08.21 03:24, Lucas Ramage wrote: Greetings, I would like to create man pages for uxc and some of the other utilities in the procd repository. Searching through some of the commits in the openwrt/packages repository shows that man pages are intensionally disabled from being built, but

Re: [PATCH] uqmi: Move to community packages repo

2021-07-02 Thread John Crispin
On 02.07.21 13:35, Koen Vandeputte wrote: +1 for keeping it in the core I agree, moving packages into the feed makes sense, but stuff needed for connectivity should stay in trunk     John ___ openwrt-devel mailing list openwrt-devel@lists.ope

Re: [PATCH] comgt: Move to community packages repo

2021-06-28 Thread John Crispin
On 28.06.21 21:14, Paul Spooren wrote: I'm in favor of this too but if it's a core feature (i.e. SIM card support) we should provide the package by default to, not? this should be explained in the wiki,     John ___ openwrt-devel mailing list ope

Re: [PATCH] comgt: Move to community packages repo

2021-06-28 Thread John Crispin
On 28.06.21 19:26, Piotr Dymacz wrote: I might be wrong here but I think we don't include packages from external feeds inside 'DEVICE_PACKAGES' (not sure/don't remember why). I am in favour of moving all none-core packages to the feeds. the dependency should be removed and a note should be a

Re: [PATCH 0/1] Workaround for rut955 modem initialization

2021-06-28 Thread John Crispin
On 28.06.21 13:56, ontje.luensd...@dlr.de wrote: This will probably affect all other modems and we are not sure if this may cause side-effects on other devices. As similar problem can be observed when looking at swconfig. some switches need a reset, others do not. for this purpose an "option

[PATCH] hostapd: fix 11w support in eap192 mode

2021-06-28 Thread John Crispin
wpa3 enterprise does not work without enabling 11w support. Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files

Re: [PATCH] base-files: add blink and turnoff commands to the led script

2021-06-28 Thread John Crispin
you can either use the uci option to make this a boot default or use the commands to do this manually this is a common feature of LEDs. they can be on/off have a trigger etc etc. John On 28.06.21 12:01, Karl Palsson wrote: John Crispin wrote: This allows us to make all leds blink or

[PATCH] base-files: add blink and turnoff commands to the led script

2021-06-28 Thread John Crispin
This allows us to make all leds blink or force all leds to off. It is also possible to force the default behaviour to not load any led states/triggers by setting system.@system[-1].leds_off to 1. Signed-off-by: John Crispin --- package/base-files/files/etc/init.d/led | 23

Re: Flagship AX routers

2021-05-26 Thread John Crispin
the On 26.05.21 18:44, Bjørn Mork wrote: Alberto Bursi writes: On 26/05/21 10:56, Bjørn Mork wrote: Daniel Golle writes: When using as dual-band AP, also the Gigabit Ethernet of the E8450 can become a bottle-kneck, UniFi 6 LR got that Aquantina 2.5GBase-T PHY But there is no driver for t

Re: Flagship AX routers

2021-05-21 Thread John Crispin
On 21.05.21 20:18, Stijn Segers wrote: Oh you'd provably get the board up and running in a jiffy. I suppose the multi-gigabit PHYs might already be supported as well - not in the loop in those. The wireless? Just look at Broadcom's FOSS track record with 802.11g/n/ac. And vote with your wall

Re: Flagship AX routers

2021-05-18 Thread John Crispin
On 19.05.21 00:09, Paul Spooren wrote: Hi, On 5/18/21 11:52 PM, Philip Prindeville wrote: Hi all, I noticed that there are several AX routers from TP-Link, Netgear, D-Link, etc. and some of them have even had OpenWRT ported to them. Which of these various platforms has the most CPU/RAM/FLAS

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
On 11.05.21 19:51, Rafał Miłecki wrote: On 11.05.2021 19:46, John Crispin wrote: On 11.05.21 19:45, Rafał Miłecki wrote: I'm really tired of dealing with such hacky solutions. Look at netifd, DSA and LuCI as example. We ended up with something that noone fully understands. Jo - our UI

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
On 11.05.21 19:45, Rafał Miłecki wrote: I'm really tired of dealing with such hacky solutions. Look at netifd, DSA and LuCI as example. We ended up with something that noone fully understands. Jo - our UI guru - couldn't deal with designing a proper UI for that f*cked config syntax. sorry mat

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
On 11.05.21 19:38, John Crispin wrote: On 11.05.21 19:34, Rafał Miłecki wrote: I'm happy to see C code, but this implementation still doesn't address any of my comments I posted in the Re: [PATCH v2] rtl83xx-poe: add package https://patchwork.ozlabs.org/project/ope

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
On 11.05.21 19:34, Rafał Miłecki wrote: I'm happy to see C code, but this implementation still doesn't address any of my comments I posted in the Re: [PATCH v2] rtl83xx-poe: add package https://patchwork.ozlabs.org/project/openwrt/patch/20210313165419.10713-1-bj...@mork.no/#2666485 I strong

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
On 11.05.21 17:56, Bjørn Mork wrote: Tested-by: Bjørn Mork Running on a ZyXEL GS1900-10HP: thanks for testing. I just found 2 tiny issues that I already fixed locally and added a uci-defaults script s.T. we can setup a sane default uci for the various switches. If there are no further comme

[PATCH] realtek-poe: add support for PoE on Realtek switches

2021-05-11 Thread John Crispin
"lan1": { "priority": 2, "mode": "PoE", "status": "Delivering power", "consumption": 2.40 }

Re: [PATCH] realtek: Fix VLAN issues introduced by multicast patches

2021-05-08 Thread John Crispin
@bmork, kindly confirm :-)     John On 08.05.21 19:50, Birger Koblitz wrote: realtek: Fix VLAN issues introduced by multicast patches This adds the CPU port to the unknown multicast flooding port mask, which fixes the VLAN issues introduced by the multicast group patches Signed-off-by: Birger

Re: [PATCH 0/4] RFC: ath79: add support for Mikrotik RB91xG

2021-05-06 Thread John Crispin
interesting. I have a rb92xx on my desk and am wondering if this would also work ? after a brief glance at the code I think this might work. the rb92xx certainly has the same latch setup ...     John On 06.05.21 18:19, Denis Kalashnikov wrote: When porting RB91xG ad hoc drivers (gpio-latch an

Re: OpenWrt 21.02-rc1 - realtek and mediatek targets

2021-04-07 Thread John Crispin
Hi, Do we want to keep the realtek and mediatek targets in the 21.02 branch and release or do we want to remove them link the ipq807x target? Hauke keep them for sure. I am running my network on those 2 targets using 21.02     John ___ openwrt

Re: OpenWrt 21.02-rc1

2021-04-07 Thread John Crispin
On 07.04.21 12:16, Bas Mevissen via openwrt-devel wrote: Will Wifi 6 support be added to the interface? We have some support for a couple of AX routers, so it would be nice if they can work without manually tweaking things. The underlying structure seems to support it already: https://foru

Re: Official OpenWrt project endorsement [Was: Re: crowdfunding to create Right to Repair laws in the USA]

2021-04-06 Thread John Crispin
context ?     John On 06.04.21 10:18, Petr Štetiar wrote: Alberto Bursi [2021-04-06 02:22:07]: Hi, [adding openwrt-adm to Cc:] This is at least partially relevant for OpenWrt and I think it's interesting for many in our community. I agree. What about little bit improved promotion of both

mailing list outage

2021-03-29 Thread John Crispin
Hi, Due to a power cut and failing UPS the mailing list has been offline for ~48hrs. It is now back and operational. It will take a while for it to chew through the backlog.     John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org h

Re: [PATCH] procd: Adding support to detect Pantavisor Container Platform

2021-03-20 Thread John Crispin
On 20.03.21 15:46, Gaurav Pathak wrote: as it runs a custom modified version of LXC I assume that if this is a custom downstream version then the change is not applicable for merge into upstream owrt. please explain what "custom version" means.     John

Re: Submitting patches to core services...

2021-02-16 Thread John Crispin
Hi Luka, on this list, just prefix the patches with "ustream-ssl:" (or whatever) that way the according developer can find it     John On 16.02.21 16:20, Luka Logar wrote: Hi, I've implemented LuCI TLS user certificate authentication (instead of standard user/password). How/where do I subm

[PATCH 4/4] mac80211: add AX support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- .../files/lib/netifd/wireless/mac80211.sh | 193 +- .../mac80211/files/lib/wifi/mac80211.sh | 19 +- 2 files changed, 195 insertions(+), 17 deletions(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b

[PATCH 1/4] hostapd: add rts_threshold support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 45a49b8faa..fb9629170c 100644

[PATCH 3/4] hostapd: add HE support

2021-02-15 Thread John Crispin
Signed-off-by: John Crispin --- .../network/services/hostapd/files/hostapd.sh | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 1ded08a6f6

[PATCH 2/4] hostapd: add additional radius options

2021-02-15 Thread John Crispin
- add functionality to configure RADIUS NAS-Id and Operator-Name - sdd functionality to configure RADIUS accounting interval - enable RADIUS "Chargeable User Identity" Signed-off-by: John Crispin --- .../network/services/hostapd/files/hostapd.sh | 18 -- 1 file c

Re: [PATCH procd] hotplug.c: set nl_pid to zero

2021-01-25 Thread John Crispin
d = 0; nls.nl_groups = -1; if ((hotplug_fd.fd = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_KOBJECT_UEVENT)) == -1) { Acked-by: John Crispin Just tested this locally outside a pid namespace. ___ openwrt-devel mailing list openwrt-

Re: [PATCH v6 1/2] [v6, 1/2] ipq806x: add support for Linksys E8350 v1

2021-01-24 Thread John Crispin
On 24.01.21 09:53, Todor Colov wrote: +ucidef_set_led_wlan "wlan" "WLAN" "${boardname}:green:wifi" "phy0tpt" Hi, we stopped adding the ${boardname}: prefix on leds. Please remove it here and also inside the dts file     John ___ openwrt

Re: Job board support on openwrt.org?

2021-01-23 Thread John Crispin
Hi, I do not think this is a good idea. The project should remain commercially and politically independent in order to guarantee its sovereignty. Hauke gave some good pointers on how to contact individuals devs.     John ___ openwrt-devel mailing

Re: [PATCH 2/2] lldpd: fix init.d script

2020-12-11 Thread John Crispin
On 11.12.20 09:30, Bjørn Mork wrote: John Crispin writes: iff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 7a5b25e016..8200556786 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services

Re: [PATCH 2/2] lldpd: fix init.d script

2020-12-11 Thread John Crispin
On 11.12.20 09:30, Bjørn Mork wrote: John Crispin writes: iff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init index 7a5b25e016..8200556786 100644 --- a/package/network/services/lldpd/files/lldpd.init +++ b/package/network/services

[PATCH] hostapd: pass respawn settings when registering the service

2020-12-10 Thread John Crispin
When hostapd gets restarted to often/quickly will cause procd to not restart it anymore. it will think that hapd is in a crash loop. Signed-off-by: John Crispin --- package/network/services/hostapd/files/wpad.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package

[PATCH 2/2] lldpd: fix init.d script

2020-12-10 Thread John Crispin
The script was missing the reload trigger. Additionally running lldpid on a bridge is not correct. Rather than running lldpd on the L3 bridge, it needs to be run on all the L2 members. Signed-off-by: John Crispin --- package/network/services/lldpd/files/lldpd.init | 8 1 file changed

[PATCH 1/2] lldpd: do not start lldpd on the loopback device

2020-12-10 Thread John Crispin
Starting lldpd on 'lo' makes no sense. We know that we are the only one on that device. Signed-off-by: John Crispin --- package/network/services/lldpd/files/lldpd.config | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/lldpd/files/lldpd.config b/packa

Re: [PATCH 5/5] procd: add api wrapper

2020-12-02 Thread John Crispin
can we augment we augment the procd_add_trigger/procd_close_trigger into the helper such as reload_trigger() does ?     John On 02.12.20 15:52, Florian Eckert wrote: This commit add a wrapper for procd services, to add a callback script if the "service.restart" trigger event was fired. Exampl

Re: [PATCH] rtl838x: fine tune default package set

2020-11-09 Thread John Crispin
On 09.11.20 18:32, Petr Štetiar wrote: Althought most of the switches aren't routers, they can be used as such, so let's add some of the packages from the router's DEVICE_TYPE. While at it, remove swconfig package which is not needed on DSA targets. Signed-off-by: Petr Štetiar

Re: [PATCH] base-files: add board.d support for bridge device

2020-11-03 Thread John Crispin
thanks for the quick review     John On 03.11.20 18:24, Adrian Schmutzler wrote: Hi John, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of John Crispin Sent: Dienstag, 3. November 2020 17:43 To: openwrt-devel@lists.openwrt.org Cc

[PATCH] base-files: add board.d support for bridge device

2020-11-03 Thread John Crispin
Latest netifd allows us to setup network bridges with implicit vlan tagging. For this to work, we need to setup several additional uci sections. This feature is particularly usefull for DSA tupe devices. Add board.d and uci-defaults support for generating the sections. Signed-off-by: John Crispin

Re: [RFC PATCH] ath79: remove model name from LED labels

2020-09-30 Thread John Crispin
skimmed over the thread and wondered what upstream does. a quick search yielded ... -- https://www.kernel.org/doc/html/latest/leds/leds-class.html Examples of proper LED names: “red:disk” “white:flash” “red:indicator” “phy1:green:wlan” “phy3::wlan” “:kbd_backlight” “input5::kbd_backlight” “inp

Re: [PATCH 4/5] initd: Don't search the environment list if the watchdog, fd is initialized

2020-09-29 Thread John Crispin
On 29.09.20 21:00, Michael Jones wrote: On Tue, Sep 29, 2020 at 1:59 PM John Crispin wrote: On 29.09.20 20:55, Michael Jones wrote: On Tue, Sep 29, 2020 at 1:47 PM John Crispin wrote: On 29.09.20 18:22, Michael Jones wrote: Signed-off-by: Michael Jones --- watchdog.c | 4 ++-- 1

  1   2   3   4   5   6   7   8   9   10   >