Joachim Wiberg
08a72cfd46
board: fix SIGTERM handling in wan-monitor at shutdown
...
When the shell is blocked on sleep, signal handlers don't execute until
the command completes. This caused the script to ignore SIGTERM at
shutdown, forcing Finit to wait and eventually SIGKILL it instead.
Fix by running sleep in the background and using wait, which is
interruptible by signals.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-24 18:08:31 +01:00
Joachim Wiberg
ea076e27cc
board: update static factory-config files with new nacm groups
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-24 18:08:31 +01:00
Joachim Wiberg
f5c6ac3905
package/klish: bump for new command line mark/kill and quote chars
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-24 18:08:30 +01:00
Joachim Wiberg
389e0c5f92
package/feature-wifi: enable more realtek dongles
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-24 18:08:30 +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
Joachim Wiberg and GitHub
0432d7f9b6
Merge pull request #1365 from kernelkit/kernel-upgrade-aac2140b-4090-400b-807d-7bb87a0ce54d
...
Upgrade to kernel 6.18.7
2026-01-23 18:38:19 +01:00
Joachim Wiberg and GitHub
d19201e7d4
Merge pull request #1364 from kernelkit/upgrade-buildroot
...
Upgrade buildroot to 2025.02.10
2026-01-23 18:38:04 +01:00
ael-bot
b683b376c7
Upgrade Linux kernel to 6.18.7
2026-01-23 15:35:23 +00:00
Mattias Walström
5fc5a46f30
Upgrade buildroot to 2025.02.10
2026-01-23 16:23:21 +01:00
Joachim Wiberg and GitHub
200389ab1f
Merge pull request #1352 from kernelkit/misc2
...
Misc2
2026-01-23 14:40:27 +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
Joachim Wiberg and GitHub
ce90ad9a41
Merge pull request #1354 from kernelkit/srperms
2026-01-23 11:51:57 +01:00
Joachim Wiberg
594239864b
doc: update ChangeLog
...
Slight refactor of WARNING and NOTE admonintions to improve readability.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:05 +01:00
Joachim Wiberg
46f95160ec
doc: update restconf scripting with details on patch
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:05 +01:00
Joachim Wiberg
b5a8fe10b5
doc: update user guide with more on nacm and user privileges
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:04 +01:00
Joachim Wiberg
1495a96b2b
doc: use 'example' consistently as hostname in cli examples
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:04 +01:00
Joachim Wiberg
1b006c1a44
doc: drop extra chars in cli help text
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:03 +01:00
Joachim Wiberg
f4ffadecd8
doc: further discourage legacy scripting
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:50:03 +01:00
Joachim Wiberg
f4d9bb6898
test: run 9pm report tool inside container
...
Ensure the 9pm report tool runs inside the container so that it has
permissions to write to the test/.log directory. Then mark the log
directory as 777 when done so the ghmoon 'git clean -ffdx' can clean
it up when switching between jobs.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 09:47:56 +01:00
Joachim Wiberg
b706f521b5
test: fix race condition in DHCP Server Multiple Subnets
...
Need to verify that client hostnames have been set before starting the
client, otherwise the test will fail due to clients getting pool lease,
which is intended.
In a real-world scenario this is not a problem. Here we've booby trapped
the server to try to trip up errors.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:26 +01:00
Joachim Wiberg
0376a83677
test: new case nacm-basic
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:26 +01:00
Joachim Wiberg
ca2bf42c0a
test/infamy: refactor, rename modname -> xpath
...
For consistency with netconf transport and general understanding.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:25 +01:00
Joachim Wiberg
7ac77b2eef
test/infamy: add patch_config() for single operations on running
...
Used by the new NACM basic test to verify ACL rules on explicit XPaths
or modules. For this we cannot rely on put_config_dict() since it now
uses the candidate datastore for all changes.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:25 +01:00
Joachim Wiberg
a63f2474a2
test/infamy: Use PATCH for RESTCONF merge semantics
...
Switch RESTCONF from PUT to PATCH for configuration updates. This gives
RESTCONF the same merge behavior as NETCONF edit-config, allowing NACM
to correctly enforce path-specific permissions instead of requiring
write access to the entire datastore.
Fixes #617
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:25 +01:00
Joachim Wiberg
71384ff070
test/infamy: ensure residual state is cleaned up in dhcp server
...
Fixes #1344
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2026-01-23 06:12:24 +01:00