Mattias Walström and GitHub
f5ad6bc9ea
Merge pull request #1415 from kernelkit/add-yang-check
...
Add yang check
2026-02-27 13:58:27 +01:00
Mattias Walström
5762c75727
test: Upgrade docker for GPS tests
2026-02-27 11:06:31 +01:00
Mattias Walström
bb5240e48b
test: usb: remove unused import
2026-02-27 11:06:31 +01:00
Mattias Walström
002c7791ec
CI: Run unit test once, not once per platform
2026-02-27 11:06:30 +01:00
Mattias Walström
147ffe602f
Change hash for license file in 6.18 kernel
2026-02-27 11:06:30 +01:00
Mattias Walström and Joachim Wiberg
c4f24caa94
yanger: Adapt to new stricter pattern for publish
2026-02-27 08:35:21 +01:00
Mattias Walström and Joachim Wiberg
19a0151f68
confd: ntp: Minor cleanup
2026-02-27 08:35:20 +01:00
Mattias Walström and Joachim Wiberg
bbbb84fba7
sysrepo: Do not report old errors
...
This is a bug introduced in sysrepo 4.x
2026-02-27 08:35:20 +01:00
Mattias Walström and Joachim Wiberg
ed4fe58fda
confd: Add YANG pattern constraints for string leaves
...
Add input validation patterns to string-type leaves in container,
firewall, DHCP, and interface YANG models. Also use mkdtemp() for
temporary key files in keystore.
Signed-off-by: Mattias Walström <lazzer@gmail.com >
2026-02-27 08:35:17 +01:00
Mattias Walström and GitHub
c559b8f2e0
Merge pull request #1384 from kernelkit/new-frr
2026-02-25 18:09:01 +01:00
Mattias Walström and Joachim Wiberg
f187fee89b
package: Add python-spy
...
You can use it to inspect python applications, to inspect
executiontime.
2026-02-24 06:59:28 +01:00
Mattias Walström and Joachim Wiberg
845e7c13fe
yanger: Wi-Fi: Add missing radio component in operational
2026-02-24 06:59:27 +01:00
Mattias Walström and Joachim Wiberg
8c9e36ba5d
Upgrade FRR to 10.5.1
...
This includes adding a netd-daemon since FRR has gone towards all
daemons should be configured from mgmtd using YANG, netd uses gRPC to
reconfigure in mgmtd
Signed-off-by: Enable grpc
2026-02-24 06:59:07 +01:00
Mattias Walström and Joachim Wiberg
a1a02f2727
utils: bump-gns3: Fix syntax after qcow image was renamed
2026-02-24 06:42:52 +01:00
Mattias Walström and GitHub
3ffbef74a8
Merge pull request #1407 from kernelkit/add-support-for-bpi-r3-mini
...
Add support for bpi r3 mini
2026-02-22 13:11:11 +01:00
Mattias Walström
34805dca65
doc: Update Changelog with BPI-r3-mini
2026-02-22 11:52:05 +01:00
Mattias Walström
8b95c10e39
bananapi-bpi-r3: README: Add information about bpi-r3-mini
...
The important part is that it needs a special flow to go from
vendor firmware to Infix.
2026-02-22 11:52:05 +01:00
Mattias Walström
16e72e8741
boards: Add new board bpi-r3-mini
...
This is a simple two port router board, with the same
WiFi chips as BPI-r3.
The bootloader shall be the same as the BPI-r3, the bootloader
now probes which of the two is booting by checking for the PHYS
that only exist on BPI-r3-mini.
2026-02-22 11:52:05 +01:00
Mattias Walström
51b0488e66
test: Return fail if make test fails
...
$? needs to be $$? inside a make rule to expand the
bash variable.
2026-02-21 12:23:04 +01:00
Mattias Walström
4aa0ab73b3
init: Move all copy of files to before udev triger is run
...
This since we may copy udev-rules dependeing on platforms,
this fix #1357
Also remove all workaround scripts we have added for this
purpose.
2026-02-21 09:25:25 +01:00
Mattias Walström
84860e313f
config: Remove legacy settings
2026-02-20 13:53:24 +01:00
Mattias Walström
0e590e9cbf
Upgrade buildroot to 2025.02.11 (LTS)
...
2025.02.11, released February 20, 2026
avahi: CVE-2021-3468, CVE-2023-38469, CVE-2023-38470, CVE-2023-38471,
CVE-2023-38472, CVE-2023-38473, CVE-2024-52615, CVE-2024-52616,
CVE-2025-68276, CVE-2025-68468, CVE-2025-68471, CVE-2026-24401
bind: CVE-2025-13878
busybox: CVE-2025-46394, CVE-2025-60876
expat: CVE-2026-24515, CVE-2026-25210
glibc: CVE-2025-15281, CVE-2026-0861, CVE-2026-0915
gnutls: CVE-2025-14831, CVE-2026-1584
haproxy: CVE-2025-11230
intel-microcode: CVE-2024-24853, CVE-2025-31648
libopenssl: CVE-2025-11187, CVE-2025-15467, CVE-2025-15468,
CVE-2025-66199, CVE-2025-68160, CVE-2025-69418, CVE-2025-69419,
CVE-2025-69420, CVE-2025-69421, CVE-2026-22795, CVE-2026-22796
libpng: CVE-2026-22695, CVE-2026-22801, CVE-2026-25646
libtasn1: CVE-2025-13151
libvpx
linux-pam: CVE-2024-10963
nginx: CVE-2025-53859
nodejs: CVE-2025-27210, CVE-2025-55130, CVE-2025-55131, CVE-2025-55132,
CVE-2025-59465, CVE-2025-59466, CVE-2026-21637
python-django: CVE-2025-13473, CVE-2025-14550, CVE-2026-1207, CVE-2026-1285,
CVE-2026-1287, CVE-2026-1312
python-urllib3: CVE-2026-21441
strongswan: CVE-2025-62291
tor: TROVE-2025-016
vim: CVE-2025-66476
webkitgtk
2026-02-20 13:53:23 +01:00
Mattias Walström and GitHub
48718d764b
Merge pull request #1401 from kernelkit/kernel-upgrade-1acd358b-2cf7-4127-8f0e-ca47d21998b9
...
Upgrade to kernel 6.18.10
2026-02-12 10:59:00 +01:00
Mattias Walström and GitHub
0f1aa30574
Merge pull request #1398 from kernelkit/kernel-upgrade-0b031c70-632a-47dc-a372-f31cd93c53e1
2026-02-07 07:52:39 +01:00
Mattias Walström and GitHub
f47bf0e0b1
Merge pull request #1395 from kernelkit/run-fix
...
Fix extration of rootfs.squashfs in release tarball
2026-02-03 15:13:18 +01:00
Mattias Walström
1e6286f1d3
Doc: Update recommendations for bpi-r3
...
[skip ci]
2026-02-03 09:55:05 +01:00
Mattias Walström
fb89d47c90
yanger: Allow to read back SSIDs encoded with utf-8
2026-01-27 11:09:54 +01:00
Mattias Walström
2b5e4e92f1
cli_pretty: Wi-Fi: signal-strenght to text was inverted
...
Should be like this:
┌────────────┬────────────────────┐
│ RSSI (dBm) │ Status │
├────────────┼────────────────────┤
│ ≥ -50 │ excellent (strong) │
├────────────┼────────────────────┤
│ -60 to -51 │ good │
├────────────┼────────────────────┤
│ -70 to -61 │ poor │
├────────────┼────────────────────┤
│ < -70 │ bad (weak) │
└────────────┴────────────────────┘
2026-01-27 11:09:54 +01:00
Mattias Walström
01e82547f7
confd: Wi-Fi: Rename RSSI to signal-strength
...
RSSI is a vendor-specific relative index (0-255), while dBm is an
absolute power measurement. Since we report dBm values from iw,
rename the leaf to signal-strength for accuracy.
2026-01-27 11:09:51 +01:00
Mattias Walström
a8dc889c7e
confd: wifi: Update wpa_supplicant config when wifi setting change
...
For example changing SSID
2026-01-26 23:35:38 +01:00
Mattias Walström
c0591773d4
yang: wifi: Only one virtual interface can have default MAC
...
The others need to set custom-phys-address, if not dagger will fail
to take up the interface because "The address is not unique on the network"
2026-01-26 23:31:07 +01:00
Mattias Walström and GitHub
2d9ca0cfbd
Merge pull request #1368 from kernelkit/misc
...
confd: Wi-Fi: Set safe defaults
2026-01-26 10:41:09 +01:00
Mattias Walström
262b60c5cb
workflow: build-image: Fix typo in bpi bootloader
2026-01-26 09:21:57 +01:00
Mattias Walström
87737ff23a
confd: Wi-Fi: Set safe defaults
...
Learned one thing, a setting not set, is a safe setting.
bss_color made a lot of iPhones failed to connect.
Remove some more options with unknown impact.
2026-01-26 08:44:33 +01:00
Mattias Walström and GitHub
10273749e4
Merge pull request #1366 from kernelkit/misc
2026-01-24 18:02:02 +01:00
Mattias Walström
0a778805a5
copy.c: Init pointers to NULL before start checking them
...
If copy to stdout dstds will be undefined.
2026-01-24 15:24:01 +01:00
Mattias Walström
1f361f72a7
wifi: Remove 802.11ax (wifi 6) as an opt-in feature
...
Instead it shall be a opt-out per SSID
2026-01-24 15:18:24 +01:00
Mattias Walström
3aa912164a
yanger: wifi: Refactor to only use iw data (except for scanning)
...
Before it was a mess with wpa_cli and hostapd_cli commands, but now
we have a iw => json tool (iw.py) so we can use iw to get the information.
2026-01-24 15:01:32 +01:00
Mattias Walström
4283dc8395
confd: Wi-Fi: Set sane defaults (access point)
2026-01-24 14:01:27 +01:00
Mattias Walström
a471cdf770
confd: wifi: Refactor radio setup (access point)
...
Use common function for configure main SSID and
bss SSID.
2026-01-24 09:51:02 +01:00
Mattias Walström
5fc5a46f30
Upgrade buildroot to 2025.02.10
2026-01-23 16:23:21 +01:00
Mattias Walström
e401c5a080
test: mdns: Add test for mDNS reflector
2026-01-23 13:05:34 +01:00
Mattias Walström
0d55ea46e0
infamy: sniffer: Wait for the capture to actually start in enter()
2026-01-23 13:05:34 +01:00
Mattias Walström
768d3fc233
confd: wifi: Enable wmm (Wi-Fi Multimedia) - QoS for WiFi.
...
This should always be enabled. It is a requirement for higher speeds
n/ac/ax.
2026-01-23 13:05:33 +01:00
Mattias Walström
10d7cbc267
confd: wifi: Disable legacy rates (802.11b)
...
This may improve range of Wi-Fi, with low/none
impact. This could make configurable later on.
2026-01-23 13:05:33 +01:00
Mattias Walström
0f6ab23206
confd: Fix migration script
...
When migrate to 1.7 the keystore was not correctly
migrated.
2026-01-23 13:05:33 +01:00
Mattias Walström
fd331149f3
confd: wireguard: Add check for null pointer
2026-01-23 13:05:32 +01:00
Mattias Walström
fd38b18bb7
Revert "udev: Always enumerate wifi phys from 0"
...
This reverts commit bf1eca0567 .
This mess up order if having more than 1 phy, have not been
reproduce the error that got me to introduce this fix from
the beginning.
2026-01-23 13:05:32 +01:00
Mattias Walström
da412cdc04
YANG: Remove precence of wifi-container
...
This is obsolete. By remove this we expose radio as mandatory.
This since a Wi-Fi interface is not possible to create without
a radio to connect it to.
2026-01-23 13:05:31 +01:00
Mattias Walström
ec93f2f0e7
kernel: Fix kernel panic in brcmfmac
...
Happened when adding a second station interface (only supports one),
was lacking a check for a nullpointer.
2026-01-23 13:05:31 +01:00
Mattias Walström
c57b428965
yang: Lockdown to only allow one station (or scanning) interface per radio
...
This since this is 99% of the cases wrong config, and crashes
on many Wi-Fi chipset.
2026-01-23 13:05:31 +01:00
Mattias Walström
598fbcf326
confd: wifi: Refactor station out from hardware.c
...
This is run per interface, not per radio so its place
in hardware.c was wrong. This also opens up for multiple
station interfaces per radio, but not for now that it locked
down in a must expression for now.
2026-01-23 13:05:30 +01:00
Mattias Walström
118a7bf1ca
confd: Fix errors in the dependency tracking regarding Wi-Fi
2026-01-23 13:05:30 +01:00
Mattias Walström
053d180ade
wifi: rpi: Silence some bogus error message related to the firmaware
...
The firmware seems to keep states when have been configured as an
AP then change to be a station.
2026-01-23 13:05:29 +01:00
Mattias Walström
d9e6ec8032
workflow: Fix SD-card/eMMC image builds
2026-01-23 13:05:29 +01:00
Mattias Walström
c9f68f5823
confd: mdns: Fix reflector
...
enable-reflector was set to on/off, but it shall be set
to yes/no.
2026-01-23 13:05:27 +01:00
Mattias Walström
f002c5570f
confd: wifi: rename setting enable-wifi6
...
Use the standard name instead of the marketing name,
new syntax enable-80211ax, which is consistent with
the nameing of the new roaming settings.
2026-01-23 13:03:58 +01:00
Mattias Walström
0ac4c4ca6f
yanger: show proper phy name for Wi-Fi phys
2026-01-23 13:03:58 +01:00
Mattias Walström
fb8966fabd
yang: wireguard: Require IP address as endpoint
...
hostname can work, but from startup it does not,
wg setconf fails and with that dagger.
2026-01-23 13:03:57 +01:00
Mattias Walström
515561a321
confd: core: Handle when custom-phys-address is changed on a Wi-Fi interface
...
Then hostapd needs to be restarted, handle this by adding the wifi container
to the diff if a custom-phys-address has been changed on a Wi-Fi interface.
2026-01-23 13:03:57 +01:00
Mattias Walström
1f913b5c7e
yang: wifi: Use correct type for counters
2026-01-23 13:03:57 +01:00
Mattias Walström
2b6c343b91
confd: hardware: Coding style
2026-01-23 13:03:56 +01:00
Mattias Walström and GitHub
3191306a5a
Merge pull request #1359 from kernelkit/kernel-upgrade-a7fcea3c-bed1-43da-8f5c-def8fad86460
...
Upgrade to kernel 6.18.6
2026-01-20 12:59:16 +01:00
Mattias Walström and GitHub
d91b4fb2aa
Merge pull request #1360 from kernelkit/fix-kernel-upgrade
...
Fix kernel upgrade
2026-01-20 12:19:17 +01:00
Mattias Walström
1fd6aabe0c
Fix automatic kernel upgrade
...
Was not prepared correctly for 6.18 kernels
2026-01-20 09:18:11 +01:00
Mattias Walström and GitHub
09738bb250
Merge pull request #1353 from kernelkit/upgrade-kernel-to-6.18
...
Upgrade kernel to 6.18
2026-01-19 16:12:38 +01:00
Mattias Walström
3eadc7d290
rpi4: Add script to workaroud with wifi interfaces not deleted at boot
...
The wi-fi architecture in infix require udev to run and remove the kernel automatic wlan-interface
this. Unclear reason, but it seems that udev sometimes miss the add event.
2026-01-19 14:54:39 +01:00
Mattias Walström
79c325a7d2
klish-plugin-sysrepo: Fix when tab competion again
...
Some cases did not work
2026-01-19 14:54:38 +01:00
Mattias Walström
25fd74cd36
confd: wifi: Stop wpa supplicant if interface is removed.
2026-01-19 14:54:38 +01:00
Mattias Walström
7688469ab2
yang: wifi: Add must expression for only one statio per radio
...
This is a decision right now, that we support multi ssid AP, but
only one station interface, this is the only thing the c-code support
right now, so only allow this in the yang validation.
2026-01-19 14:54:37 +01:00
Mattias Walström
d3b39e80e2
github: workflow: Update the check kernel workflow to check for new 6.18
...
Since we use the same kernel for all platforms, we can update this job
to only check for 6.18 instead of 6.12.
2026-01-19 14:54:37 +01:00
Mattias Walström
bf1eca0567
udev: Always enumerate wifi phys from 0
...
At least RPI4 this enumaration feels pretty random.
2026-01-19 14:54:37 +01:00
Mattias Walström
9ba1d45c9a
kernel: rpi: Enable deletion of wlan0 interface
2026-01-19 14:54:36 +01:00
Mattias Walström
ff4de40099
rpi4: Fix factory-config.cfg
...
* Adding ipv6 on ethernet
* Adapt to function with the new Wi-Fi architecture
2026-01-19 14:54:36 +01:00
Mattias Walström
cfbe4bf330
rpi64: uboot: Fix addresses dtb and ramdisk to not overlap with kernel
...
Device tree was overwritten by the kernel while unpacking.
2026-01-19 14:54:35 +01:00
Mattias Walström
6ae4e33a84
banana-pi: Do not try to set autoneg on the SFP ports
...
This will just crash dagger. They are already in autoneg, thats
all they support.
2026-01-19 12:20:05 +01:00
Mattias Walström
3440f5649e
gitignore: add local claude directory
2026-01-19 12:20:02 +01:00
Mattias Walström
cbbc88833a
fstab: Remove commit and error mount option
...
These options does not exist anymore, they are removed in 6.18
2026-01-19 11:02:22 +01:00
Mattias Walström
0e2d12e9ff
Upgrade kernel to 6.18
2026-01-19 11:02:22 +01:00
Mattias Walström
2ff02d0c48
yang: keystore: Revert changes done when merging WireGuard
...
Accept the changes done when including Wi-Fi accesspoint,
which renames cleartext-symmetric-key to symmetric-key.
2026-01-10 10:52:53 +01:00
Mattias Walström
9d43b9d7a4
hostapd: Do not recreate bss-interfaces
...
By default, hostapd always recreate all bss interfaces,
we create them in confd so we do not want this behaviour.
2026-01-10 09:08:30 +01:00
Mattias Walström and GitHub
1b0570b599
Merge pull request #1317 from kernelkit/add-wireguard
...
Add wireguard support
2026-01-09 12:19:08 +01:00
Mattias Walström
7e5da21cf6
Add support for WireGuard
...
Almost full support for WireGuard
admin@server:/> show interface wg0
name : wg0
type : wireguard
index : 10
mtu : 1420
operational status : up
ipv4 addresses : 10.0.0.1/24 (static)
ipv6 addresses : fd00::1/64 (static)
peers : 2
Peer 1:
public key : ROaZyvJc5DzA2XUAAeTj2YlwDsy2w0lr3t+rWj2imAk=
status : UP
endpoint : 192.168.10.2:51821
latest handshake : 2025-12-09T22:51:38+00:00
transfer tx : 1412 bytes
transfer rx : 1324 bytes
Peer 2:
public key : Om9CPLYdK3l93GauKrq5WXo/gbcD+1CeqFpobRLLkB4=
status : UP
endpoint : 2001:db8:3c4d:20::2:51822
latest handshake : 2025-12-09T22:51:38+00:00
transfer tx : 1812 bytes
transfer rx : 428 bytes
in-octets : 1752
out-octets : 3224
admin@server:/>
2026-01-09 11:11:32 +01:00
Mattias Walström
8e9fd27e24
yanger: hardware: Do not crash if failing to read /run/system.json
2026-01-09 11:08:32 +01:00
Mattias Walström
651a274470
yanger: Do not crash if fails to get ethernet links
2026-01-09 10:23:52 +01:00
Mattias Walström
f307dd9779
doc: wifi: Remove duplication
2026-01-09 08:12:48 +01:00
Mattias Walström
801faf0e0f
aarch32: Upgrade to linux 6.12.64
2026-01-08 22:35:30 +01:00
Mattias Walström
5c811d7fc7
test: ntp: client_stratum_selection: Update autogenerated test spec
2026-01-08 14:50:17 +01:00
Mattias Walström
f482a2bfe9
test: spec: rip_multihop: Add missing autogenerated file
2026-01-08 14:50:16 +01:00
Mattias Walström
bd92e603d0
test: spec: ospf_debug: Add missing autogenerated files
2026-01-08 14:50:15 +01:00
Mattias Walström
5a96b64718
infamy: iface.py: Add functions to get interface oper status
2026-01-08 14:50:15 +01:00
Mattias Walström and GitHub
21e7980d23
Merge pull request #1347 from kernelkit/kernel-upgrade-d1436c66-9f37-4de3-8bfe-e9180deec139
...
Upgrade to kernel 6.12.64
2026-01-08 14:01:45 +01:00
Mattias Walström
f195a0a407
klish: followup 8a638fa26 allow when expression to depend on defaults
...
Did not work in some cases.
2026-01-06 20:51:32 +01:00
Mattias Walström
1fcfad14a1
bananapi-r3: Wrong config option for the watchdog
2026-01-06 20:51:31 +01:00
Mattias Walström
480e82a645
hostapd: Remove insane logic that some MAC addresses are not allowed
...
This is described on the internet as:
"If you are unlucky and have a device with wrong MAC address,
too bad"
For us: We set mac addresses static, and do not use hostapds, insane
MAC address allocation (radio MAC + n).
2026-01-06 20:50:55 +01:00
Mattias Walström
aefa3a6962
confd: wifi: Set bssid if custom-phys-address has been used
...
This since hostapd change MAC address from its insane logic
radio + 1, if bssid is not set.
2026-01-06 20:50:42 +01:00
Mattias Walström
f86436e739
yanger: Fix wifi status
...
use sh -c to expand the *
2026-01-06 20:20:22 +01:00
Mattias Walström
6aff287179
confd: wifi: Fix wifi interface type infer
...
If an interface is name is wifiN-whatever it will be infered
with the wifi type. Natural naming whould be wifi0-ssid.
2026-01-06 20:20:21 +01:00
Mattias Walström
89a3ccd51c
confd: Rename get_phys_addr and make it not static
...
This to be able to use the function in hardware.c, when
setting up bssids.
2026-01-06 20:20:18 +01:00
Mattias Walström and GitHub
fe86744ca2
Merge pull request #1342 from kernelkit/klish-nacm-fixes
...
Refactor nacm in klish-plugin-sysrepo after sysrepo change
2026-01-03 15:49:01 +01:00