2023-01-06 13:50:14 +01:00
|
|
|
[General]
|
2023-01-22 20:02:15 +01:00
|
|
|
# Request setting regulatory domain (ISO-Alpha-2). Check with `iw reg get`.
|
2023-01-22 16:13:54 +01:00
|
|
|
# Location-Aided Routing (LAR) or self-managed devices will just set
|
|
|
|
# the country by nearby APs and for some reason a stock configuration by a
|
2023-01-22 20:02:15 +01:00
|
|
|
# local ISP in my neighbourhood is incorrectly advertising DE rathar than FI
|
2023-01-22 16:13:54 +01:00
|
|
|
# so Lumina gets it wrong. Luckily FI and DE share regulation judging by
|
|
|
|
# https://archive.softwareheritage.org/swh:1:cnt:3f74194de9b0bdcf6052b505067363f17427c28f;origin=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;visit=swh:1:snp:1b8d84b34965cbea94ad57200121527c5ad51616;anchor=swh:1:rev:fe05cc94e070c71486047002fc2edf68f5f2a07a;path=/db.txt
|
2023-01-22 20:06:46 +01:00
|
|
|
# To check/refresh regdomain, `iw wlan0 scan | egrep -e "SSID:|Country:"`
|
2023-01-22 07:11:03 +01:00
|
|
|
Country=FI
|
2023-01-06 13:50:14 +01:00
|
|
|
# legacy compatibility, at least on Lumina?
|
|
|
|
use_default_interface=true
|
2023-01-27 09:51:51 +01:00
|
|
|
# build-in network configuration including DHCP client
|
2023-01-06 13:50:14 +01:00
|
|
|
EnableNetworkConfiguration=true
|
2023-01-27 09:51:51 +01:00
|
|
|
# Generate a different spoofed MAC address for every SSID. Some networks
|
|
|
|
# configured in /var/lib/iwd/ have a new MAC address for every connection.
|
|
|
|
AddressRandomization=network
|
2023-01-27 12:21:32 +01:00
|
|
|
# Randomize only 3 last octets of MAC. Reveals the manufacturer, but doesn't
|
|
|
|
# set locally administered bit. However the range is 00:00:01 to 00:00:FE.
|
|
|
|
#AddressRandomizationRange=nic
|
2023-01-27 09:51:51 +01:00
|
|
|
|
|
|
|
[Network]
|
2023-01-06 13:50:14 +01:00
|
|
|
EnableIPv6=true
|
2023-01-27 09:51:51 +01:00
|
|
|
# resolvconf/systemd/none. I prefer configuring resolv.conf/unbound by
|
|
|
|
# myself.
|
|
|
|
NameResolvingService=none
|