LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-27-2021, 07:01 AM   #1
ario
Member
 
Registered: Nov 2010
Posts: 65

Rep: Reputation: 2
iw reg set doesn't work


Hi Folks,
I run:
Code:
iw reg get
It shows:
Code:
global
country 00: DFS-UNSET
Then I run:
Code:
iw reg set DE
Nothing happens. I tried different country codes, nothing happened.
I tried:
Code:
echo "options cfg80211 ieee80211_regdom=DE"  >  /etc/modprobe.d/cfg80211.conf
Nothing happened.
Any ideas?
 
Old 03-27-2021, 07:53 AM   #2
ario
Member
 
Registered: Nov 2010
Posts: 65

Original Poster
Rep: Reputation: 2
It seems like the hardware driver can stop iw from setting regulation zone. As I have two wlan hardware, one built-in (raspberry pi 4) and the other USB dongle (rtl8192eu), I blacklisted the kernel module (brcmfmac) which was the driver of the built-in wlan and rebooted. With the built-in wlan disabled, now the command works on the USB dongle one:
Code:
iw reg set DE
And then:
Code:
iw reg get
shows the country code correctly.

Last edited by ario; 03-27-2021 at 07:54 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reg: Reg Single Process Multiple sockets! bkannadassan Linux - Networking 3 07-19-2018 02:37 PM
iw reg set Mercury305 Slackware 7 08-20-2012 10:02 AM
Windows: Which program can track the reg updates at software install and make a reg? frenchn00b General 5 11-20-2008 04:26 PM
'login' doesn't work, 'su' doesn't work, can't login as root antiqui.populi Linux - Security 3 10-20-2006 04:32 PM
Nice surprise Kaffeine plays Reg 1 and Reg 2 disks 1kyle SUSE / openSUSE 1 10-10-2005 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration