WIP: ap v02 #592

Closed
mdebray wants to merge 33 commits from mdebray/ap-dev into main
Owner
No description provided.
Put DHCPv4 on the default VLAN now.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
We should use the right DHCPv4.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This makes the experience nicer.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This is useful when reflashing the system from scratch in the levitation
mode.

Note that doing this will reset the UBI counter to zero, this is bad for
wear leveling.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This script requires manual efforts on the operator end not to fuck up
too hard.

This adds min-copy-closure and min-garbage-collect to the development
shell.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This is useful to reconfigure A/B in memory.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This is a hack, please fix it in the next iteration of the project
Else we would need to change the switch config when rebuilding the AP
TODO: rewrite history to include these changes at the right place
fix(liminix/hostapd): More verbose logging
All checks were successful
Run pre-commit on all files / pre-commit (push) Successful in 24s
c5c8ec9879
Owner

Faudrait essayer de le rendre mergeable à terme pour éviter d'avoir "2 branches main".

Faudrait essayer de le rendre mergeable à terme pour éviter d'avoir "2 branches main".
@ -0,0 +8,4 @@
in
{
services.prom-exporter = svc.openwrt-prometheus-exporter.build {
httpPorts = [ "192.168.1.148:8888" ];
Owner

L'IP est bonne?

L'IP est bonne?
Author
Owner

ça n'a pas l'air hehe

ça n'a pas l'air hehe
mdebray marked this conversation as resolved
@ -0,0 +8,4 @@
in
{
# Our bridging is a bit complicated, therefore, we need iproute2.
programs.iproute2.enable = true;
Owner

déjà défini autre part

déjà défini autre part
mdebray marked this conversation as resolved
@ -0,0 +11,4 @@
dgn-access-control.enable = true;
users.root = {
# TODO: Change this well-known password
passwd = "$6$Z2MiaMXkpUJRPl2/$fxVE3iD/n208CISM2F6OnWj0Qq0QG2tTQqLCjU80PFJJGIwNLLyOp6SeYH3dH20OvJX1loZRETrThZfIPw.rb/";
Owner

On a besoin du mot de passe si tout le monde a accès avec clés SSH?

On a besoin du mot de passe si tout le monde a accès avec clés SSH?
Author
Owner

Oui ok mais ducoup ça veut dire qu'on pourra plus se ssh depuis les vault

Oui ok mais ducoup ça veut dire qu'on pourra plus se ssh depuis les vault
Owner

En proxy jumpant? mais au pire laisse

En proxy jumpant? mais au pire laisse
Author
Owner

Je vais mettre un mdp un peu plus sûr et on pourra le copier coller

Je vais mettre un mdp un peu plus sûr et on pourra le copier coller
mdebray marked this conversation as resolved
@ -0,0 +20,4 @@
hex = x: lib.fixedWidthString 2 "0" (lib.toHexString x);
mac-1 = "02:5B:6A:00:00:${hex apIndex}";
Owner

On a bien moins que 256 APs?

On a bien moins que 256 APs?
Author
Owner

oui, 102 ou un truc comme ça

oui, 102 ou un truc comme ça
mdebray marked this conversation as resolved
mdebray force-pushed mdebray/ap-dev from 91d0e9dbaf to 079298aa6e 2025-08-18 23:46:35 +02:00 Compare
chore(ap-v02): Rotate password
Some checks failed
Check meta / check_dns (pull_request) Successful in 19s
Build all the nodes / ap01 (pull_request) Failing after 21s
Check workflows / check_workflows (pull_request) Failing after 24s
Build all the nodes / Jaccess01 (pull_request) Successful in 24s
Build all the nodes / Jaccess04 (pull_request) Successful in 26s
Run pre-commit on all files / pre-commit (push) Successful in 31s
Run pre-commit on all files / pre-commit (pull_request) Successful in 34s
Build all the nodes / bridge01 (pull_request) Successful in 45s
Build all the nodes / build01 (pull_request) Successful in 52s
Build all the nodes / cof02 (pull_request) Successful in 49s
Build all the nodes / hypervisor01 (pull_request) Successful in 47s
Build all the nodes / geo01 (pull_request) Successful in 56s
Build all the nodes / geo02 (pull_request) Successful in 58s
Build all the nodes / hypervisor03 (pull_request) Successful in 53s
Build all the nodes / compute01 (pull_request) Successful in 1m8s
Build all the nodes / hypervisor02 (pull_request) Successful in 59s
Build all the nodes / netcore01 (pull_request) Successful in 21s
Build all the nodes / netcore02 (pull_request) Successful in 21s
Build all the nodes / iso (pull_request) Successful in 54s
Build all the nodes / lab-router01 (pull_request) Successful in 44s
Build all the nodes / krz01 (pull_request) Successful in 1m9s
Build all the nodes / storage01 (pull_request) Successful in 50s
Build all the nodes / tower01 (pull_request) Successful in 52s
Build all the nodes / vault01 (pull_request) Successful in 56s
Build all the nodes / rescue01 (pull_request) Successful in 1m2s
Build all the nodes / web02 (pull_request) Successful in 45s
Build all the nodes / web01 (pull_request) Successful in 1m5s
Build the shell / build-shell (pull_request) Successful in 26s
Build all the nodes / web03 (pull_request) Successful in 52s
Build all the nodes / zulip01 (pull_request) Successful in 42s
ca9b2c208c
Author
Owner

@ecoppens wrote in #592 (comment):

Faudrait essayer de le rendre mergeable à terme pour éviter d'avoir "2 branches main".

Ouais, j'ai déjà rebase là mais il y a pas mal de taf. En particulier je pense il faut arriver à upgrade nixpkgs et proprifier tous les hacks qu'on a ici et là (vraiment il y en a plein). C'est out of scope pour le déploiement là (en tout cas je le ferai pas)

@ecoppens wrote in https://git.dgnum.eu/DGNum/infrastructure/pulls/592#issuecomment-17269: > Faudrait essayer de le rendre mergeable à terme pour éviter d'avoir "2 branches main". Ouais, j'ai déjà rebase là mais il y a pas mal de taf. En particulier je pense il faut arriver à upgrade nixpkgs et proprifier tous les hacks qu'on a ici et là (vraiment il y en a plein). C'est out of scope pour le déploiement là (en tout cas je le ferai pas)
@ -0,0 +122,4 @@
baseParams // clientRadius // externalRadius // radiusKeyMgmt
) config.hardware.networkInterfaces.wlan0 secrets-1
);
hostap-1-ready = lib.mkIf (!is5GOnly) svc.hostapd-ready.build {
Owner

Erreur: il y a 3 arguments à mkIf

Erreur: il y a 3 arguments à mkIf
ecoppens marked this conversation as resolved
@ -21,0 +157,4 @@
ap-range = mkRange 0 3;
}
# Tour B
// (mkDualAp "AP-MB705" self."AP-MB716".channelIndex)
Owner

Il manque un tiret.

Il manque un tiret.
Owner

et MB716 n'existe pas

et MB716 n'existe pas
ecoppens marked this conversation as resolved
feat(ap-v01): add Jourdan APs
Some checks failed
Build all the nodes / ap01 (pull_request) Failing after 18s
Check meta / check_dns (pull_request) Successful in 19s
Check workflows / check_workflows (pull_request) Failing after 21s
Build all the nodes / Jaccess01 (pull_request) Successful in 21s
Run pre-commit on all files / pre-commit (push) Successful in 26s
Build all the nodes / Jaccess04 (pull_request) Successful in 26s
Run pre-commit on all files / pre-commit (pull_request) Successful in 32s
Build all the nodes / netcore01 (pull_request) Successful in 23s
Build all the nodes / netcore02 (pull_request) Successful in 25s
Build all the nodes / geo01 (pull_request) Successful in 52s
Build all the nodes / build01 (pull_request) Successful in 54s
Build all the nodes / geo02 (pull_request) Successful in 55s
Build all the nodes / hypervisor01 (pull_request) Successful in 55s
Build all the nodes / cof02 (pull_request) Successful in 57s
Build all the nodes / bridge01 (pull_request) Successful in 58s
Build all the nodes / compute01 (pull_request) Successful in 1m11s
Build all the nodes / hypervisor02 (pull_request) Successful in 58s
Build all the nodes / hypervisor03 (pull_request) Successful in 57s
Build all the nodes / lab-router01 (pull_request) Successful in 53s
Build all the nodes / iso (pull_request) Successful in 57s
Build all the nodes / krz01 (pull_request) Successful in 1m15s
Build the shell / build-shell (pull_request) Successful in 25s
Build all the nodes / tower01 (pull_request) Successful in 45s
Build all the nodes / storage01 (pull_request) Successful in 52s
Build all the nodes / rescue01 (pull_request) Successful in 1m4s
Build all the nodes / web02 (pull_request) Successful in 56s
Build all the nodes / zulip01 (pull_request) Successful in 1m2s
Build all the nodes / vault01 (pull_request) Successful in 1m5s
Build all the nodes / web03 (pull_request) Successful in 1m4s
Build all the nodes / web01 (pull_request) Successful in 1m8s
a72aa89e5c
@ -21,0 +191,4 @@
# Jourdan
#
# Hypnos-1
// alignedFloors {
Owner

il faut bien set les channel index pour hypnos (cc @mdebray)

il faut bien set les channel index pour hypnos (cc @mdebray)
ecoppens marked this conversation as resolved
ecoppens force-pushed mdebray/ap-dev from a72aa89e5c to cb424b4071 2025-08-27 22:43:49 +02:00 Compare
fix(ap): set correct ip for radius
Some checks failed
Check meta / check_dns (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Failing after 20s
Build all the nodes / ap01 (pull_request) Failing after 20s
Build all the nodes / Jaccess01 (pull_request) Successful in 22s
Build all the nodes / Jaccess04 (pull_request) Successful in 26s
Run pre-commit on all files / pre-commit (push) Successful in 30s
Run pre-commit on all files / pre-commit (pull_request) Successful in 32s
Build all the nodes / netcore01 (pull_request) Successful in 24s
Build all the nodes / netcore02 (pull_request) Successful in 25s
Build all the nodes / bridge01 (pull_request) Successful in 57s
Build all the nodes / geo01 (pull_request) Successful in 58s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m3s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m3s
Build all the nodes / geo02 (pull_request) Successful in 1m8s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m9s
Build all the nodes / cof02 (pull_request) Successful in 1m10s
Build all the nodes / build01 (pull_request) Successful in 1m11s
Build all the nodes / iso (pull_request) Successful in 1m13s
Build all the nodes / compute01 (pull_request) Successful in 1m18s
Build all the nodes / lab-router01 (pull_request) Successful in 1m4s
Build all the nodes / storage01 (pull_request) Successful in 59s
Build all the nodes / rescue01 (pull_request) Successful in 1m5s
Build all the nodes / tower01 (pull_request) Successful in 59s
Build all the nodes / krz01 (pull_request) Successful in 1m15s
Build the shell / build-shell (pull_request) Successful in 26s
Build all the nodes / vault01 (pull_request) Successful in 58s
Build all the nodes / web02 (pull_request) Successful in 46s
Build all the nodes / web01 (pull_request) Successful in 1m7s
Build all the nodes / zulip01 (pull_request) Successful in 49s
Build all the nodes / web03 (pull_request) Successful in 56s
474da87b06
feat(meta): add APs meta
Some checks failed
Check meta / check_meta (pull_request) Failing after 16s
Check workflows / check_workflows (pull_request) Failing after 17s
Build all the nodes / ap01 (pull_request) Failing after 18s
Build all the nodes / Jaccess01 (pull_request) Successful in 24s
Build all the nodes / Jaccess04 (pull_request) Successful in 25s
Run pre-commit on all files / pre-commit (push) Successful in 27s
Run pre-commit on all files / pre-commit (pull_request) Successful in 33s
Build all the nodes / netcore01 (pull_request) Successful in 24s
Build all the nodes / netcore02 (pull_request) Successful in 22s
Build all the nodes / bridge01 (pull_request) Successful in 58s
Build all the nodes / build01 (pull_request) Successful in 1m1s
Build all the nodes / cof02 (pull_request) Successful in 1m4s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m6s
Build all the nodes / geo02 (pull_request) Successful in 1m6s
Build all the nodes / geo01 (pull_request) Successful in 1m6s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m7s
Build all the nodes / hypervisor03 (pull_request) Successful in 57s
Build all the nodes / compute01 (pull_request) Successful in 1m16s
Build all the nodes / iso (pull_request) Successful in 1m2s
Build all the nodes / lab-router01 (pull_request) Successful in 59s
Build all the nodes / krz01 (pull_request) Successful in 1m12s
Build the shell / build-shell (pull_request) Successful in 23s
Build all the nodes / storage01 (pull_request) Successful in 48s
Build all the nodes / tower01 (pull_request) Successful in 45s
Build all the nodes / rescue01 (pull_request) Successful in 57s
Build all the nodes / web02 (pull_request) Successful in 53s
Build all the nodes / vault01 (pull_request) Successful in 58s
Build all the nodes / zulip01 (pull_request) Successful in 54s
Build all the nodes / web03 (pull_request) Successful in 55s
Build all the nodes / web01 (pull_request) Successful in 1m3s
5c025f1b0b
ecoppens force-pushed mdebray/ap-dev from 5c025f1b0b to 766c1a0745 2025-09-02 19:21:28 +02:00 Compare
Owner

est-ce qu'on devrait pas nommer ap-prod au lieu d'un nommage par version (ap-v01)

est-ce qu'on devrait pas nommer ap-prod au lieu d'un nommage par version (ap-v01)
ecoppens closed this pull request 2025-09-09 10:39:15 +02:00
dgnum-chores referenced this pull request from a commit 2025-09-17 08:00:18 +02:00
dgnum-chores referenced this pull request from a commit 2025-09-24 08:00:24 +02:00
dgnum-chores referenced this pull request from a commit 2025-10-01 08:00:25 +02:00
thubrecht referenced this pull request from a commit 2025-10-03 13:23:41 +02:00
Some checks failed
Check meta / check_meta (pull_request) Successful in 17s
Required
Details
Check meta / check_dns (pull_request) Successful in 17s
Required
Details
Check workflows / check_workflows (pull_request) Failing after 18s
Required
Details
Build all the nodes / ap01 (pull_request) Failing after 19s
Required
Details
Build all the nodes / Jaccess01 (pull_request) Successful in 24s
Required
Details
Build all the nodes / Jaccess04 (pull_request) Successful in 25s
Required
Details
Run pre-commit on all files / pre-commit (push) Successful in 30s
Required
Details
Run pre-commit on all files / pre-commit (pull_request) Successful in 39s
Required
Details
Build all the nodes / netcore01 (pull_request) Successful in 25s
Required
Details
Build all the nodes / netcore02 (pull_request) Successful in 24s
Required
Details
Build all the nodes / bridge01 (pull_request) Successful in 50s
Required
Details
Build all the nodes / build01 (pull_request) Successful in 54s
Required
Details
Build all the nodes / lab-router01 (pull_request) Successful in 1m5s
Required
Details
Build all the nodes / hypervisor03 (pull_request) Successful in 1m7s
Required
Details
Build all the nodes / geo01 (pull_request) Successful in 1m7s
Required
Details
Build all the nodes / geo02 (pull_request) Successful in 1m7s
Required
Details
Build all the nodes / hypervisor02 (pull_request) Successful in 1m7s
Required
Details
Build all the nodes / cof02 (pull_request) Successful in 1m9s
Required
Details
Build all the nodes / hypervisor01 (pull_request) Successful in 1m13s
Required
Details
Build all the nodes / iso (pull_request) Successful in 1m15s
Required
Details
Build all the nodes / compute01 (pull_request) Successful in 1m23s
Required
Details
Build all the nodes / tower01 (pull_request) Successful in 1m2s
Required
Details
Build all the nodes / rescue01 (pull_request) Successful in 1m13s
Required
Details
Build all the nodes / storage01 (pull_request) Successful in 1m8s
Required
Details
Build all the nodes / vault01 (pull_request) Successful in 1m8s
Required
Details
Build the shell / build-shell (pull_request) Successful in 29s
Required
Details
Build all the nodes / krz01 (pull_request) Successful in 1m37s
Required
Details
Build all the nodes / web02 (pull_request) Successful in 58s
Required
Details
Build all the nodes / zulip01 (pull_request) Successful in 49s
Required
Details
Build all the nodes / web03 (pull_request) Successful in 55s
Required
Details
Build all the nodes / web01 (pull_request) Successful in 1m5s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.