Compare commits

..
3 Commits
Author SHA1 Message Date
kurogeek c8f17c2aab router: stellio wifi APs on wlan0/wlan1
One dual-band SSID "WhiteHouse" on lan (replaces the liminix router's
WhiteHouse/WhiteHouse-5), WPA3 transition, WiFi 6, old channels 2/36,
country TH. Band mapping wlan0=2g/wlan1=5g assumed from mt7986 phy
order; verify with `iw phy`.
2026-09-18 06:19:24 +00:00
kurogeek 0b35b6da6e router: stellio lan1 (2.5G) as untagged mgmt port 2026-09-18 06:19:24 +00:00
kurogeek 0db9ea384a router: stellio lan5 as pre-cutover staging uplink
DHCP client into the old white-house LAN, SSH only, no VLAN membership.
lan5 goes back to accessPorts.lan5 = "mgmt" at cutover.
2026-09-18 06:19:24 +00:00
+35 -8
View File
@@ -32,23 +32,50 @@ in
# device tree in matthew-hardware: eth1 = the 2.5G "WAN" port, lan1 = the
# 2.5G LAN port, lan2-lan5 = the 1G LAN ports (DSA on the MT7531 switch).
roles.default.machines.stellio.settings = {
site = "w";
siteId = 1;
site = "white-house";
siteId = 8;
# PPPoE on the ISP's VLAN 10, as on the liminix router it replaces
# (routers/white-house); set to null if the ISP runs PPPoE untagged.
wan.interface = "eth1";
wan.interface = "end1";
wan.vlanId = 10;
# 2.5G port carries all VLANs tagged (towards a managed switch / AP).
trunkPorts = [ "lan1" ];
# 1G ports: untagged client ports on lan, and one always-available
# untagged mgmt port for on-site recovery.
# lan1 (2.5G): untagged mgmt port for on-site recovery. lan2-lan4 (1G):
# untagged client ports on lan. lan5 is the pre-cutover staging uplink:
# DHCP client into the old LAN (routers/white-house), SSH only, no VLAN
# membership; set stagingPort = null at cutover.
accessPorts = {
lan1 = "mgmt";
lan2 = "lan";
lan3 = "lan";
lan4 = "lan";
lan5 = "mgmt";
};
stagingPort = "lan5";
# Both MT7976 radios broadcast the site SSID (same name and passphrase
# as the liminix router's "WhiteHouse"/"WhiteHouse-5", merged into one
# dual-band SSID) as an untagged access port on lan. Passphrase is the
# `wifi-WhiteHouse-passphrase` vars prompt. Channels as on the old
# router. Check the band mapping with `iw phy` (mt7986: phy0/wlan0 =
# 2.4 GHz, phy1/wlan1 = 5 GHz).
wifi = {
enable = true;
countryCode = "TH";
networks.WhiteHouse.vlan = "lan";
radios = {
wlan0 = {
band = "2g";
channel = 2;
wifi6 = true;
networks = [ "WhiteHouse" ];
};
wlan1 = {
band = "5g";
channel = 36;
wifi6 = true;
networks = [ "WhiteHouse" ];
};
};
};
# 10.1.<id>.0/24, router .1, DHCP pool .100-.199.