From d2dc35b2d13954d563cd1656c0fe42b87ea89af2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 22 Jan 2023 21:06:46 +0200 Subject: [PATCH] etc/iwd/main.conf: add egrep to the check/refresh command --- etc/iwd/main.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/iwd/main.conf b/etc/iwd/main.conf index 0fd94119..1c154bff 100644 --- a/etc/iwd/main.conf +++ b/etc/iwd/main.conf @@ -5,7 +5,7 @@ # local ISP in my neighbourhood is incorrectly advertising DE rathar than FI # 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 -# To check/refresh regdomain, `iw dev wlan0 scan` +# To check/refresh regdomain, `iw wlan0 scan | egrep -e "SSID:|Country:"` Country=FI # legacy compatibility, at least on Lumina? use_default_interface=true