2.4 ghz working, 5ghz could not set country code

This commit is contained in:
Fabian Hauser 2020-07-15 17:18:43 +00:00
parent 69269c05a8
commit 1d47d4a5b8
7 changed files with 42 additions and 18 deletions

View file

@ -16,10 +16,26 @@
../role/router-wireless-ap
];
nix.distributedBuilds = true;
nix.buildMachines = [ {
hostName = "10.2.1.38";
system = "x86_64-linux";
sshUser = "fhauser";
sshKey = "/root/.ssh/id_ed25519";
# if the builder supports building for multiple architectures,
# replace the previous line by, e.g.,
# systems = ["x86_64-linux" "aarch64-linux"];
maxJobs = 4;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}] ;
services.router = {
enable = true;
wanInterface = "enp2s0";
wirelessInterfaces = [ "wlp4s0" "wlp6s0" ];
#wirelessInterfaces = [ "wlp4s0" "wlp6s0" ];
lanInterfaces = [ "enp1s0" "enp3s0" ];
internalRouterIP = "10.2.2.1";
dhcp = {
@ -36,7 +52,7 @@
wleInterface24Ghz = "wlp4s0";
wleInterface5Ghz = "wlp6s0";
ssid = "testnet";
passphrase = "testnet";
passphrase = "testnettestnet";
};
};