Just in case, here are a few commands to verify everything looks good!
Verify the regulatory domain is configured / configured correctly:
You are looking for output similar to:
wlanpi@wlanpi-3fc:~ $ sudo iw reg get
global
country US: DFS-FCC
(902 - 904 @ 2), (N/A, 30), (N/A)
(904 - 920 @ 16), (N/A, 30), (N/A)
(920 - 928 @ 8), (N/A, 30), (N/A)
(2400 - 2472 @ 40), (N/A, 30), (N/A)
(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
(5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
(5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
(5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
(5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
(57240 - 71000 @ 2160), (N/A, 40), (N/A)
This tells us that the NIC is currently configured with the US
country code.
Do you see something like unset
? Try to set the regulatory domain with a valid ISO/IEC 3166-1 alpha2 country code:
Check which channels are accessible within this configured regulatory domain:
If you were interested to see only the frequency information, you could run this command to filter the output:
iw phy0 info | awk '/Frequencies:/{print; flag=1; next} /^[[:space:]]*[A-Z]/ && flag{flag=0} flag'
Check the interface information regarding your current state:
Show information about the current connection: