1d337588f9
think
2024-06-15 09:04:19 +01:00
29a869b4fa
qemu: use kmodloader for wifi
2024-06-13 10:12:17 +01:00
5ae1b0a193
Revert "bodervm: remove usbutils until we can fix the udev dep"
...
This reverts commit c22e3fb2ef
.
2024-06-12 20:58:13 +01:00
473a4947a5
inout test: wait longer for disk to appear
2024-06-12 20:44:03 +01:00
50bad5c604
libusb needs udev on build
...
this is a workaround to make CI work again, but what we really need to
do is completely separate the nixpkgs used for nixos build-system
tools from the nixpkgs we use for liminix host binaries
2024-06-12 18:55:30 +01:00
c22e3fb2ef
bodervm: remove usbutils until we can fix the udev dep
2024-06-12 13:07:29 +01:00
f898e4dca2
remove debug
2024-06-12 13:03:26 +01:00
5121a8563d
callService: dependencies are services not names
2024-06-12 12:58:57 +01:00
78be354b6e
think
2024-06-12 12:52:52 +01:00
be13ab23ca
wwan gets address from ppp ipcp not dhcp
2024-06-12 12:51:07 +01:00
4b30cd7a75
think
2024-06-11 14:05:32 +01:00
b15542b668
start correct services at boot
...
- uncontrolled services that are not dependent on a controlled service
- controllers
- _not_ controlled services or any other service that depends on one
2024-06-11 14:04:14 +01:00
6daeaf29a0
flip controller/controlled relationship for wwan services
2024-06-11 14:02:48 +01:00
e6ca5ea064
store derivations not just names for service deps
...
.. also controllers, contents. This is to make it possible (easier)
to work out transitive dependencies at build time
2024-06-11 14:01:06 +01:00
e6e4665a18
flip dependencies for triggered/controlled services
...
Instead of treating the trigger as the "main" service and the
triggered service as subsidary, now we treat the triggered
service as the service and the trigger as "subsidary". This
needs some special handling when we work out which services
go in the default bundle, but it works better for declaring
dependencies on triggered services because it means the
dependency runs after the triggered service comes up, not
just when the watcher-for-events starts
2024-06-09 22:37:45 +01:00
2c10790a6d
think
2024-06-09 11:19:38 +01:00
571adf84c0
inherit builtins.map
2024-06-07 16:55:45 +01:00
c8c79fd75a
update all calls to uevent-watch
2024-06-02 20:42:09 +01:00
884d8d194e
wrap uevent-watch in a service
2024-06-02 20:42:09 +01:00
f091bbd706
devout: recognise attr,attrs when parsing search term string
2024-06-01 23:48:05 +01:00
37d7e20582
wwan use uevent-watch to find tty for AT commands
2024-06-01 23:47:20 +01:00
04b068f7a3
delete unused code
2024-06-01 22:43:48 +01:00
53f57c1a8c
devout: support sysfs attributes for (grand*)parent device
2024-06-01 22:43:27 +01:00
19aba0d873
devout: support search for sysfs attributes
2024-06-01 21:20:41 +01:00
7d00b39249
rename attributes->properties when referring to uevent fields
...
properties: key-value pairs in the uevent message
attributes: file contents in sysfs
2024-06-01 12:17:49 +01:00
7aa8633cde
think
2024-06-01 12:16:21 +01:00
58bec8a40f
semi-automate tftpbooting with minicom
2024-05-26 18:03:32 +01:00
a3fca5bf05
devout: add functions to read sysfs attributes
2024-05-26 18:03:32 +01:00
e0bd7aec1e
wwan: hook usb-modeswitch to uevent
2024-05-26 18:03:32 +01:00
e815f61bb5
think
2024-05-26 18:00:31 +01:00
af9200a136
skip symlink handing unless linkname was provided
2024-05-26 18:00:31 +01:00
898958fa10
make a serviceDefn for wwan
2024-05-22 18:54:49 +01:00
fa0f262706
commentary
2024-05-22 18:54:49 +01:00
71aeb27b2f
add hacky wwan service with hardcoding all over
2024-05-22 18:54:49 +01:00
530b4080c9
create cdc-ncm module
2024-05-22 18:54:49 +01:00
58cd007ccc
barebones usb_modeswitch package
2024-05-22 18:54:49 +01:00
3a56798eb5
l2tp set default route via tunnel
2024-05-22 18:54:49 +01:00
758c7ef657
exec xl2tpd
...
haven't fully worked out why, but without this s6 is unable to stop it.
2024-05-22 18:54:49 +01:00
73225a70b2
add rudimentary l2tp service module
2024-05-22 18:54:49 +01:00
ab304dd3f1
bordervm enable nat
2024-05-22 18:47:37 +01:00
0d49f0f7a7
gl-ar750 appendDTB
2024-05-22 18:47:16 +01:00
e64390460a
memorable net device names for gl-ar750
...
linux's view of eth1 and eth0 are opposite to that of u-boot
2024-05-22 18:47:08 +01:00
c0ef6ce282
list pkgs we need in bordervm build
...
it's a bit silly trying to build it with the whole liminix overlay
when it's a nixos system not a liminix system
2024-05-22 18:45:35 +01:00
bd6ec5201f
run dhcp server on bordervm
...
this is for testing clients that have dhcp upstream
2024-05-22 18:45:35 +01:00
b4068da9fe
tftp addresses
2024-05-22 18:45:35 +01:00
aa4b09da85
think (foreshadowing)
2024-05-22 18:45:23 +01:00
471c63b399
s6-rc do cleanup in "finish", don't append to "run" script
...
s6-supervise sends signals (e.g. SIGTERM) to the pid of the process
running "run", so how do we know if the ceanup commands are even
getting executed if the shell interpreter that is supposed to do that
got killed already?
2024-05-13 17:53:02 +01:00
782feaeafa
set default for firewall extraRules
2024-05-03 16:28:53 +01:00
ac54c89427
add busybox to bordervm for udhcpd
2024-05-01 23:09:23 +01:00
5a3646cb29
add authorized keys to bordervm
...
You don't often need this because it has autologin, but sometimes
you want to do antics involving sshing through it to the wan port
of a test device.
Note that you probably wanted to start bordervm with funny qemu
options to even make that possible
nix-shell --run "QEMU_NET_OPTS=hostfwd=tcp::10022-:22 run-border-vm"
2024-05-01 23:07:11 +01:00