fix: hostapd with vlans
This commit is contained in:
parent
639f63af9b
commit
d69c94bf1f
|
@ -67,29 +67,29 @@
|
||||||
apIsolate = true;
|
apIsolate = true;
|
||||||
# not supporte by laptop :(
|
# not supporte by laptop :(
|
||||||
# settings.ieee80211w = 0;
|
# settings.ieee80211w = 0;
|
||||||
|
logLevel = 0;
|
||||||
settings = {
|
settings = {
|
||||||
# vlan_file = "${pkgs.writeText "hostaps.vlans" ''
|
vlan_file = "${pkgs.writeText "hostaps.vlans" ''
|
||||||
# 10 wifi-home br-home
|
10 wifi-home br-home
|
||||||
# 40 wifi-iot br-iot
|
40 wifi-iot br-iot
|
||||||
# 50 wifi-guests br-guests
|
50 wifi-guests br-guests
|
||||||
# ''}";
|
''}";
|
||||||
# rsn_preauth_interfaces = "br-home br-iot br-guests";
|
dynamic_vlan = 1;
|
||||||
bridge = "br-home";
|
|
||||||
};
|
};
|
||||||
authentication = {
|
authentication = {
|
||||||
saePasswords = [
|
saePasswords = [
|
||||||
{
|
{
|
||||||
passwordFile = config.age.secrets.homeWlan.path;
|
passwordFile = config.age.secrets.homeWlan.path;
|
||||||
# vlanid = 10;
|
vlanid = 10;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
passwordFile = config.age.secrets.iotWlan.path;
|
||||||
|
vlanid = 40;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
passwordFile = config.age.secrets.guestWlan.path;
|
||||||
|
vlanid = 50;
|
||||||
}
|
}
|
||||||
# {
|
|
||||||
# passwordFile = config.age.secrets.iotWlan.path;
|
|
||||||
# vlanid = 40;
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# passwordFile = config.age.secrets.guestWlan.path;
|
|
||||||
# vlanid = 50;
|
|
||||||
# }
|
|
||||||
];
|
];
|
||||||
pairwiseCiphers = [
|
pairwiseCiphers = [
|
||||||
"CCMP"
|
"CCMP"
|
||||||
|
|
Loading…
Reference in a new issue