router0-dmz0: update and tweak wifi

This commit is contained in:
steveej 2024-07-26 14:01:59 +02:00
parent d81f342a21
commit a8ff34b820
4 changed files with 53 additions and 74 deletions

View file

@ -770,13 +770,13 @@ in {
];
routes = [
{
routeConfig = {
# test the set uprouting to a specific IP
Destination = "${repoFlake.colmena.sj-bm-hostkey0.deployment.targetHost}/32";
MultiPathRoute = "10.0.0.0 1";
};
}
# {
# routeConfig = {
# # test the set uprouting to a specific IP
# Destination = "${repoFlake.colmena.sj-bm-hostkey0.deployment.targetHost}/32";
# MultiPathRoute = "10.0.0.0 1";
# };
# }
];
};
"50-wg1" = {
@ -786,12 +786,12 @@ in {
"10.0.0.3/31"
];
routes = [
{
routeConfig = {
Destination = "${repoFlake.colmena.sj-bm-hostkey0.deployment.targetHost}/32";
MultiPathRoute = "10.0.0.2 1";
};
}
# {
# routeConfig = {
# Destination = "${repoFlake.colmena.sj-bm-hostkey0.deployment.targetHost}/32";
# MultiPathRoute = "10.0.0.2 1";
# };
# }
];
};
@ -904,7 +904,8 @@ in {
in {
wlan0 = {
band = "2g";
countryCode = "CH";
# FIXME: apparently setting this could cause bugs, testing disabling it for a while.
# countryCode = "CH";
channel = 0; # 0 would mean Automatic Channel Selection
settings = {
@ -1047,6 +1048,11 @@ in {
ieee8021x = 1;
eap_server = 1;
multicast_to_unicast = 0;
skip_inactivity_poll = 0;
disassoc_low_ack = 0;
};
};