iwd: enable and rephrase use_default_interface=true, fix egrep deprecation in Country comment

This commit is contained in:
Aminda Suomalainen 2024-07-24 20:47:16 +03:00
parent 5a0218d3f3
commit e644ce1111
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,15 +1,16 @@
[General] [General]
# Request setting regulatory domain (ISO-Alpha-2). Check with `iw reg get`. # Request setting regulatory domain (ISO-Alpha-2). Check with `iw reg get`.
# Location-Aided Routing (LAR) or self-managed devices will just set # 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 # the country by nearby APs which again don't expose that configuration to
# local ISP in my neighbourhood is incorrectly advertising DE rathar than FI # their administrator in that great detail resulting to devices within the EU
# so Lumina gets it wrong. Luckily FI and DE share regulation judging by # advertising country DE.
# 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 # To check/refresh regdomain, `iw wlan0 scan | grep -E "SSID:|Country:"`
# To check/refresh regdomain, `iw wlan0 scan | egrep -e "SSID:|Country:"`
Country=FI Country=FI
# Legacy compatibility. Doesn't seem necessary on Lumina. # Stop iwd from destroying and recreating the interface. I think I am having
#use_default_interface=true # stability issues with systemd-networkd if I have to restart anything
# networking related by hand, which seems to be mitigated by this.
use_default_interface=true
# Build-in network configuration including DHCP client (and server when # Build-in network configuration including DHCP client (and server when
# tethering), true if not using systemd-networkd! # tethering), true if not using systemd-networkd!