configured home network

This commit is contained in:
Rouven Seifert 2023-01-15 14:58:38 +01:00
parent 427e0319f7
commit 0d7dbc7d82
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -47,7 +47,24 @@
RouteMetric = 10; RouteMetric = 10;
}; };
}; };
networks."10-wireless" = { networks."10-wireless-home" = {
matchConfig = {
Name = "wlp9s0";
SSID = "Smoerrebroed";
};
networkConfig = {
DHCP = "yes";
IgnoreCarrierLoss = "3s";
};
dhcpV4Config = {
RouteMetric = 20;
};
routes = [
# Route to the Model train network via raspi
{ routeConfig = { Gateway = "192.168.178.63"; Destination = "192.168.179.0/24"; }; }
];
};
networks."15-wireless-default" = {
matchConfig.Name = "wlp9s0"; matchConfig.Name = "wlp9s0";
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";