Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d131cc727 | ||
|
|
8a2d67c7a0 | ||
|
|
c8f17c2aab | ||
|
|
0b35b6da6e | ||
|
|
0db9ea384a |
Generated
+4
-4
@@ -181,11 +181,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1789610252,
|
||||
"narHash": "sha256-k8rD1LMf17vAf+fS9lVC4Yp0C6ok5mYVtfZAsKC6Wy8=",
|
||||
"lastModified": 1789726083,
|
||||
"narHash": "sha256-oxlp99L8KXYDdzroS+QeqhQyFigVHp44D6aVFsifpe0=",
|
||||
"ref": "clanService-router-ai",
|
||||
"rev": "60aac6efb277a12c24fde29eb77422b3c3519df4",
|
||||
"revCount": 194,
|
||||
"rev": "4146f2c878b104d96d25575be553378ae276f6e0",
|
||||
"revCount": 198,
|
||||
"type": "git",
|
||||
"url": "https://git.b4l.co.th/B4L/cnx-network-clan"
|
||||
},
|
||||
|
||||
+35
-8
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user