Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why does 'iw reg get' country 00: DFS-UNSET''

I’m facing an issue in Kali Linux where the ‘iw reg get’ command shows the regulatory domain as DFS-UNSET, both globally and for phy#0.

Here’s the current output of ‘iw reg get’:

$ iw reg get

global

country 00: DFS-UNSET

    (2402 - 2472 @ 40), (N/A, 20), (N/A)

    ...

phy#0

country 99: DFS-UNSET

    (2402 - 2472 @ 40), (N/A, 20), (N/A)

    ...

I’ve tried setting the regulatory domain using ‘iw reg set’, but the issue persists. Any suggestions on resolving this

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

To address the issue where ‘iw reg get’ shows the regulatory domain as DFS-UNSET, and the previous steps haven’t resolved the problem, you can try the following alternative method:

  1. Create a configuration file:

    echo 'options cfg80211 ieee80211_regdom="BO"' | sudo tee /etc/modprobe.d/cfg80211_options.conf
    

    This command creates a configuration file with the specified regulatory domain.

  2. Bring down the interface:

    ifconfig wlan0 down
    

    This command disables the wireless interface.

  3. Set the regulatory domain:

    iw reg set BO
    

    This command sets the regulatory domain to "BO."

  4. Bring up the interface:

    ifconfig wlan0 up
    

    This command re-enables the wireless interface.

After executing these commands, recheck the output of ‘iw reg get’ to verify if the regulatory domain is now correctly set. Additionally, test if you can adjust the transmit power using ‘iw dev wlan0 set txpower’ as needed.

Remember to reboot or restart networking services if necessary. If the issue persists, consider checking for any error messages or logs that might provide insights into the problem.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading