From 8be16711771879a1b57a673edbadb98776e022cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 2 Nov 2022 11:53:59 +0100 Subject: nixos/spt-mox2: use bridge in hostapd This makes it much more resilient as hostapd adds it to the bridge rather than bridge waiting for hostapd to start. --- nixos/machine/spt-mox2.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nixos/machine/spt-mox2.nix') diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index 982cc50..79109ee 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -38,6 +38,7 @@ with lib; ht_capab = ["HT40+" "LDPC" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1" "MAX-AMSDU-7935" "DSSS_CCK-40"]; vht_capab = ["RXLDPC" "SHORT-GI-80" "TX-STBC-2BY1" "RX-ANTENNA-PATTERN" "TX-ANTENNA-PATTERN" "RX-STBC-1" "MAX-MPDU-11454" "MAX-A-MPDU-LEN-EXP7"]; ssid = "TurrisRules5"; + bridge = "brlan"; wpa = true; wpaPassphrase = "@PASS_TURRIS_RULES@"; bss = { @@ -61,12 +62,12 @@ with lib; bridges = { brlan = { interfaces = [ - "eth0" "wlp1s0" #"mlan0" + "eth0" ]; }; brguest = { interfaces = [ - "eth0.2" "wlp1s0host" #"mlan0host" + "eth0.2" ]; }; }; -- cgit v1.2.3