You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With RPi5 + vanilla bookworm OS + Netgear Wi-Fi 6E USB adapter, profiler warns that reg domain appears unset. consider setting it with 'iw reg set XX' even when the reg has been set.
See warning lines:
jerry@raspberrypi:~ $ sudo profiler -i wlan1 --debug
2024-09-19 02:50:39,336 [DEBUG] start: profiler version 1.0.18
2024-09-19 02:50:39,336 [DEBUG] start: python platform version is 3.11.2
2024-09-19 02:50:39,336 [DEBUG] start: scapy version is 2.5.0
2024-09-19 02:50:39,341 [DEBUG] start: profiler.manager pid 1741
2024-09-19 02:50:39,342 [DEBUG] start: config {'GENERAL': {'channel': 36, 'interface': 'wlan1', 'ssid': 'Profiler 4e0', 'ft_disabled': False, 'he_disabled': False, 'be_disabled': False, 'profiler_tlv_disabled': False, 'listen_only': False, 'hostname_ssid': False, 'files_path': '/var/www/html/profiler', 'frequency': 0}}
2024-09-19 02:50:39,350 [DEBUG] interface: wlan1 has a mac80211 stack
2024-09-19 02:50:39,359 [DEBUG] interface: phy2 maps to provided wlan1
2024-09-19 02:50:39,359 [DEBUG] interface: new wlan1mon will map to phy2
2024-09-19 02:50:39,359 [DEBUG] interface: frequency is set to 5180 which maps to channel 36
2024-09-19 02:50:39,366 [WARNING] interface: reg domain appears unset. consider setting it with 'iw reg set XX'
2024-09-19 02:50:39,366 [WARNING] interface: https://wireless.wiki.kernel.org/en/users/documentation/iw#updating_your_regulatory_domain
2024-09-19 02:50:39,366 [DEBUG] interface: mac: 94:18:65:48:50:cb, channel: 36, driver: mt7921u, driver-version: 6.6.31+rpt-rpi-2712, chipset: NetGear Wireless_Device
With RPi5 + vanilla bookworm OS + Netgear Wi-Fi 6E USB adapter, profiler warns that
reg domain appears unset. consider setting it with 'iw reg set XX'
even when the reg has been set.See
warning
lines:iw reg get
:The issue in the output above is
phy#0
is the onboard BRCM chip and hasUNSET
in the line.wlanpi-profiler/profiler/interface.py
Lines 204 to 218 in 4d84770
Perhaps there is a better way to handle regulatory detection when multiple adapters are present with different drivers.
The text was updated successfully, but these errors were encountered: