Daniel Barlow
32c24f3809
switch pppoe test back to qemu mips
...
while we find out why it fails
2023-11-26 23:18:24 +00:00
Daniel Barlow
d789a23113
twiddle timeouts
2023-11-24 21:32:53 +00:00
Daniel Barlow
a0bd250963
switch from getty to root shell on console
...
this just makes things marginally simpler
2023-11-21 23:09:48 +00:00
Daniel Barlow
5c1f5fabe2
switch pppoe test to use armv7l
2023-11-05 23:19:40 +00:00
Daniel Barlow
c94d12934f
remove direct use of run-liminix-vm from tests and doc
2023-11-05 20:37:23 +00:00
Daniel Barlow
94e51db649
tests: use run.sh instead of calling run-liminix-vm directly
...
this makes it easier to run tests on aarch64 where
qemu wants an Image file instead of a vmlinux
2023-09-24 00:24:48 +01:00
Daniel Barlow
4389fa15f7
rename mips-vm as run-liminix-vm
2023-09-20 18:33:20 +01:00
Daniel Barlow
3b9c5635b8
update pppoe and wlan tests
2023-09-01 17:55:08 +01:00
Daniel Barlow
767b154eb2
fix pppoe test
2023-08-16 23:35:12 +01:00
Daniel Barlow
fbb2c04132
move module-based-service parameter types into service
...
This is in preparation for writing something that extracts them
into documentation.
user configurations now call config.system.service.foo.build { ...params }
instead of config.system.service.foo
the parameter type definitions themselves now move into the
config stanza of the module referencing the service
new helper function liminix.callService
The only service moved so far is dnsmasq
2023-08-04 20:39:29 +01:00
Daniel Barlow
669af24247
make a module for dnsmasq
2023-07-14 23:18:21 +01:00
Daniel Barlow
5fee3e54d2
use ppp module in pppoe test
2023-07-14 22:23:11 +01:00
Daniel Barlow
b898364719
extend timeout for pppoe test
2023-06-20 23:39:46 +01:00
Daniel Barlow
55387b0ee3
extract common shell fns in tests
2023-05-07 23:01:24 +01:00
Daniel Barlow
0687ae7f5c
rename flashable->flashimage, o.squashfs to rootfs
...
"rootfs" describes what it is for, "squashfs" merely says
how it's implemented
(also, rootfs-as-jffs2 will soon be added)
2023-04-10 18:13:27 +01:00
Daniel Barlow
e40170f7d5
pppoe test: update to expect change in root's PS1
2023-03-18 19:16:27 +00:00
Daniel Barlow
fec77a44b5
DRY loopback interface, it's the same everywhere
2023-03-07 22:36:48 +00:00
Daniel Barlow
4addcbbd51
turn run-qemu.sh script into mips-vm buildEnv command
2023-02-08 22:17:06 +00:00
Daniel Barlow
cc7daeabb3
add routeros to overlay
2023-02-08 18:13:35 +00:00
Daniel Barlow
ebc5d6a3e0
convert pppoe test to a derivation
...
* move shell script to a runCommand
* multicast needs special options to run on loopback
(nix-build sandbox disables non-local network interfaces)
2023-02-05 17:37:31 +00:00
Daniel Barlow
76243d306c
remove checkedConfig, check all the config
2022-10-19 22:09:38 +01:00
Daniel Barlow
77922c875b
add per-device overlay
...
presently this is used to reference the appropriate kernel and (if
needed) openwrt source trees, but I would not be surprised if we find
other uses
2022-10-15 18:55:33 +01:00
Daniel Barlow
2f3072d7d5
enable /proc/config.gz
...
previous attempt hadn't noticed that it has a missing dependency
2022-10-05 21:50:10 +01:00
Daniel Barlow
e9f04931fa
improve syntax for accessing service outputs
2022-10-02 16:35:55 +01:00
Daniel Barlow
c320d0afc7
add dnsmasq and example config for it
...
would be good to move more of this into a module, but that
doesn't sit well with the (potential) ability to run more than one
dnsmasq service, as modules are singletons
2022-09-28 21:33:18 +01:00
Daniel Barlow
dfdaa27f39
make ppp log to stderr not syslog
2022-09-27 22:57:06 +01:00
Daniel Barlow
696bbe6521
rename systemPackages as defaultProfile.packages
...
it doesn't work the same way as in nixos, so don't name it the same way
2022-09-27 16:47:42 +01:00
Daniel Barlow
7803eebfd4
add a "route" service
2022-09-26 13:44:40 +01:00
Daniel Barlow
4bfba33170
handle case when ppp0 eists but is down
2022-09-26 12:11:44 +01:00
Daniel Barlow
cbee488d22
automated test for pppoe
2022-09-26 11:17:31 +01:00
Daniel Barlow
5d51d15b86
working pppoe with readiness notification on ip-up
2022-09-25 21:12:50 +01:00
Daniel Barlow
3540f594b1
address service: rename addr->address & add prefixLength
...
these names are consistent with nixos
2022-09-25 16:51:13 +01:00
Daniel Barlow
c1835d97ee
add pppoe
2022-09-25 11:54:31 +01:00