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-06-25 16:58:41 +02:00
|
|
|
|
2023-01-06 13:50:14 +01:00
|
|
|
# legacy compatibility, at least on Lumina?
|
|
|
|
use_default_interface=true
|
2023-06-25 16:58:41 +02:00
|
|
|
|
2023-01-27 09:51:51 +01:00
|
|
|
# build-in network configuration including DHCP client
|
2024-01-27 09:15:54 +01:00
|
|
|
# true if not using systemd-networkd!
|
|
|
|
#EnableNetworkConfiguration=false
|
2023-06-25 16:58:41 +02:00
|
|
|
|
|
|
|
# NOTE! Disable this in case of trouble connecting to network entirely, e.g.
|
|
|
|
# REALTEK devices!
|
|
|
|
#AddressRandomization=disabled
|
|
|
|
|
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
|
2023-02-10 21:04:12 +01:00
|
|
|
# set the locally administered bit. However the range is 00:00:01 to 00:00:FE
|
2023-01-28 17:37:43 +01:00
|
|
|
# (254 possible addresses!)
|
2023-02-10 21:04:12 +01:00
|
|
|
# Helsinki City WLAN (and variations) doesn't seem to like "full" (default)
|
|
|
|
AddressRandomizationRange=nic
|
2023-01-27 09:51:51 +01:00
|
|
|
|
|
|
|
[Network]
|
2023-01-06 13:50:14 +01:00
|
|
|
EnableIPv6=true
|
2024-04-11 09:16:21 +02:00
|
|
|
# My /etc/resolf.conf is generally ::1 127.0.0.1 127.0.0.53 and I am not
|
|
|
|
# entirely opposed to local servers. The two first are unbound, the third/this
|
|
|
|
# systemd-resolved
|
|
|
|
NameResolvingService=systemd
|
|
|
|
#NameResolvingService=none
|
2023-09-26 16:33:12 +02:00
|
|
|
# Default 300, lower preferred by system. Useful when WiFi is known faster
|
|
|
|
# than ethernet like having 10 Mbps switch from time before the building had
|
|
|
|
# anything faster than DSL...
|
|
|
|
#RoutePriorityOffset=0
|