2
0

1709 Commits

Author SHA1 Message Date
29d51396f5 s6-rc-up-tree doesn't need runtime fennel 2026-03-18 21:09:55 +00:00
5f92529f4f odhcp6c: upgrade to newer (but not new) upstream
* we need new enough for cmake 3
* but not so new it depends on libubox

This is a "get it working again" patch, not a long-term solution.
Either we should add libubox to liminix or we should find another
dhcp6 client
2026-03-18 21:07:49 +00:00
a1d7c49e22 luaossl: remove .orig file after patching
*something* tries to patch src/openssl.c again in the install phase
(I haven't figured out what) and dies because it can't make
src/openssl.c.orig if it exists already.
2026-03-18 21:06:19 +00:00
7f23c5dc0f update dropbear, simplify authorized_keys patch 2026-03-11 18:22:39 +00:00
c364095c44 build our own fennel
final.lua53Packages.fennel seems somehow to drag in glibc
2026-03-11 07:45:00 +00:00
ef07dcc10a bump ubifs max leb count 2026-03-11 07:38:00 +00:00
4b40e51a1d run-liminix-vm tell qemu not to reboot when guest terminates 2026-03-11 07:30:00 +00:00
9fef673ca0 remove ci.nix "all" attribute
use ci-all.nix instead if you want to do all the jobs
2026-03-09 12:01:19 +00:00
7b1324208b note nixpkgs version reqt 2026-03-09 11:42:38 +00:00
cab0d7a805 update ppp package 2026-03-09 11:12:40 +00:00
41375681dd hash for firmwre-utils 2026-03-09 11:12:27 +00:00
dd3629ae8e update firmware-utils for compatibility with newer cmake 2026-03-08 01:08:50 +00:00
3026eaf879 copy airoha firmware recursively 2026-03-08 00:28:45 +00:00
48022da733 nixpkgs fennel moved into luaPackages 2026-03-07 23:03:43 +00:00
9596a7eccf chrony doesn't use texinfo any loger 2026-03-07 22:28:33 +00:00
f15ffaeac2 kludge: force gcc 13 for kernel builds
we can get rid of this when we upgrade devices from kernel 5.x to 6.x
(which clearly we also need to do)
2026-03-07 22:27:12 +00:00
9f3c8f7cbd treewide: nixfmt and deadnix 2025-11-11 21:49:45 +00:00
9784e90d1f bridge: remove obsolete workaround
we no longer need to remove ipv6 routes from member interfaces when
adding to the bridge, because there will no longer be any ipv6 routes
on the member interfaces
2025-11-11 21:49:01 +00:00
18193bf765 add dhcp6 client to wap profile 2025-11-11 21:49:01 +00:00
9f21c3036f dnsmasq: set ipv6 autoconfig in "router" mode
dnsmasq is configured to send RA, so the interface it's running on
should not also be accepting RA.
2025-11-11 21:49:01 +00:00
40194d5351 enable ipv6 autoconfig when dhcp6c is specified
DHCP6 and autoconfig work in tandem not in opposition! dhcp6 does not
provide a default gateway: it depends on router solicitation/router
adverts for that

Tl;dr the network/site admin will ensure that router adverts are being
sent periodically. The adverts will have either Autonomous or Managed
bits set and that is what tells the host to use SLAAC or to use DHCP6
2025-11-11 21:49:01 +00:00
ff7aaec874 disable ipv6 autoconfig when bringing links up 2025-11-11 21:44:38 +00:00
9bb2d4d4fb remove commented code 2025-11-11 21:44:38 +00:00
53ec331e29 attempt disabling ipv6 autoconfiguration at boot
This dosn't work as well as you might think if you didn't know that
the config semantics are weird. By setting 'default' we disable
autoconfig on interfaces that do not yet exist, but setting 'all' here
has no effect.
2025-11-11 21:44:38 +00:00
d538e8f6cf add options for setting sysctl parameters at boot time 2025-11-11 21:44:37 +00:00
8646677ead think 2025-11-11 21:44:37 +00:00
bedc1009f8 whitespace 2025-11-11 21:44:37 +00:00
4abdbeb1ea fix reference to dhcp client in tutorial 2025-11-11 21:44:37 +00:00
e5c036f100 fix bad relative path 2025-11-11 21:44:37 +00:00
e49f8055f3 add etc/hosts to base module
this is hardcoded to localhost only.  it would be better to have
a config option to allow defining static hosts
2025-11-11 21:44:37 +00:00
7261ef8b21 DHCPNAK means we can't use the requested address
so probably we should flush it
2025-11-11 21:44:37 +00:00
489d1843b5 no action needed for dhcp renewal message
... according to my reading, a renewal is always for the same
address we have already
2025-11-11 21:44:37 +00:00
bf7d02ae85 note dhcp client rename 2025-11-11 21:44:37 +00:00
d9f91e4820 update examples for dhcp4c rename 2025-11-11 21:44:37 +00:00
46dcf71e16 fix swconfig build
missing ctype.h
2025-11-04 18:53:38 +00:00
6e3bfa9029 think 2025-11-04 00:28:26 +00:00
78e4d30120 dhcp4 client: start controlled service when lease acquired
it is problematic to have dhcp signal readiness when a lease is
acquired, because it holds the s6 service lock while it's waiting
and that can lead to deadlock. Instead, start the dhcp client
"daemon" process and monitor its outputs, bringing up and down
a controlled "dhcp lease acquired" service that other services
(e.g. ntp, or resolvconf, or ...) can declare as a dependency
2025-11-04 00:24:39 +00:00
bb2c36a0b4 prefer modules/dhcp4c over system.services.network.dhcp.client 2025-11-03 23:51:52 +00:00
c5e0567511 bridge: flush ipv6 routes via member interfaces
Adding an interface as a bridge member does not (by itself) remove the
routes which go via that interface, whioch makes them basically into
null routes. This isn't a problem for IPv4 because there were no
addresses anyway, but interfaces can acquire IPv6 addresses via
autodiscovery before they get added to the bridde

Possibly it would be better to disable autodiscovery on these
interfaces. More thought needed.
2025-11-03 22:01:35 +00:00
a3c4ebbe29 dhcpc touch outputs/state
this is important for service subscribers to see the change event
2025-11-03 19:12:58 +00:00
5da61c6d31 bundles depend on controlled services if any of their contents do 2025-11-03 19:12:07 +00:00
d3b99aba96 remove unneeded comma 2025-11-01 11:35:55 +00:00
671b795fbb think 2025-11-01 11:35:38 +00:00
574c95640b remove dhcpc readiness notification
because there's an ugly deadlock. s6-rc won't start anything else
while waiting for int.link.dhcpc to announce it's ready, and the
-running service needs to call s6-rc to launch the scripts that add
members to the bridge. dhcpc won't work until the bridge has a member
2025-10-31 21:46:21 +00:00
19360eca57 remove ifwait service name clash opportunity 2025-10-31 21:45:01 +00:00
9699f0eaa4 think 2025-10-31 21:44:23 +00:00
f2ba9c2f61 use correct openssl in cqueues 2025-10-29 21:19:11 +00:00
5c4004e1b8 add readiness support for ntp 2025-10-29 21:16:49 +00:00
32f0be84be think 2025-10-28 23:40:44 +00:00
5d810dbbbd README should probably not stil claim we're pre-1.0 2025-10-28 23:39:57 +00:00