October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Fix “Direct Firmware Load for regulatory.db Failed with Error -2”

The Linux regulatory.db error -2 means the kernel could not find its Wi-Fi regulatory database. Install or update wireless-regdb and verify its signed files are in the firmware search path.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This message means the kernel could not find regulatory.db when loading Wi-Fi regulatory rules. On Linux kernel 4.15 and newer, the usual fix is to install or update your distribution’s wireless-regdb package, then confirm the database and its signature are in the firmware search path. CRDA is normally not needed on these kernels.

What the error means

-2 is the missing-file error in this context: cfg80211 requested regulatory.db through the kernel firmware loader, but the file was not found. The related log lines may look like this:

As an Amazon Associate I earn from qualifying purchases.

platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The regulatory database supplies country-specific Wi-Fi rules, including permitted frequencies and power limits. Its absence does not always prevent wireless from starting, but it can leave the system using a fallback regulatory domain rather than the intended country rules.

#1 Best Overall
Sale
TP-Link AC600 USB WiFi Adapter for Desktop PC - USB Wireless Adapter for PC | WiFi dongle for PC with 2.4GHz, 5GHz High Gain Dual Band 5dBi Antenna, Supports Win11/10/8.1/8/7/XP, Black (Archer T2U Plus)
  • 𝐋𝐨𝐧𝐠 𝐑𝐚𝐧𝐠𝐞 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 – This compact USB Wi-Fi adapter provides long-range and lag-free connections wherever you are. Upgrade your PCs or laptops to 802.11ac standards which are three times faster than wireless N speeds.
  • 𝐒𝐦𝐨𝐨𝐭𝐡 𝐋𝐚𝐠 𝐅𝐫𝐞𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 – Get Wi-Fi speeds up to 200 Mbps on the 2.4 GHz band and up to 433 Mbps on the 5 GHz band for upgraded web surfing, gaming, and streaming. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • 𝐃𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝟐.𝟒 𝐆𝐇𝐳 𝐚𝐧𝐝 𝟓 𝐆𝐇𝐳 𝐁𝐚𝐧𝐝𝐬 – Dual-bands provide flexible connectivity, giving your devices access to the latest routers for faster speeds and extended range. Wireless Security - WEP, WPA/WPA2, WPA-PSK/WPA2-PSK
  • 𝟓𝐝𝐁𝐢 𝐇𝐢𝐠𝐡 𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚 – The high gain antenna of the Archer T2U Plus greatly enhances the reception and transmission of WiFi signal strengths.
  • 𝐀𝐝𝐣𝐮𝐬𝐭𝐚𝐛𝐥𝐞, 𝐌𝐮𝐥𝐭𝐢-𝐃𝐢𝐫𝐞𝐜𝐭𝐢𝐨𝐧𝐚𝐥 𝐀𝐧𝐭𝐞𝐧𝐧𝐚: Rotate the multi-directional antenna to face your router to improve your experience and performance

Why this appeared after upgrading to Linux 4.15

Starting with Linux 4.15, cfg80211 can request the regulatory database directly as a firmware file. Linux Wireless documents that CRDA is no longer needed as of kernel v4.15; the kernel firmware request looks for the file in /lib/firmware.

This changed the expected file and loading path. Older CRDA-based setups used regulatory.bin, while the direct-loading path expects regulatory.db. Debian Bug #892229 records the resulting error after the 4.15 transition. Debian later fixed its packaging in wireless-regdb version 2019.06.03-1; that version number describes Debian’s fix, not a universal minimum for every distribution.

Install or update wireless-regdb

  1. Identify your distribution and running kernel:

    cat /etc/os-release
    uname -r

  2. Refresh package metadata using your distribution’s package manager, then install or upgrade the package named wireless-regdb. Package-manager commands differ across distributions, so use the package manager documented for the system identified above.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    Rank #2
    Sale
    TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
    • AC1300 Dual Band Wi-Fi Adapter for PC, Desktop and Laptop. Archer T3U provides 2.4G/5G strong high speed connection throughout your house.
    • Archer T3U also provides MU-MIMO, which delivers Beamforming connection for lag-free Wi-Fi experience.
    • Usb 3.0 provides 10x faster speed than USB 2.0, along with mini and portable size that allows the user to carry the device everywhere.
    • World's 1 provider of consumer Wi-Fi for 7 consecutive years - according to IDC Q2 2018 report
    • Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
  3. Check whether the database and signature are present in the usual firmware directory:

    find /lib/firmware -maxdepth 1 -name 'regulatory.db*' -ls

    The signed database and its signature should be in the firmware search path. Linux Wireless describes this direct-loading location as /lib/firmware.

    Rank #3
    UGREEN WiFi Adapter for Desktop PC, AX900 USB WiFi 6 Adapter
    • Wifi 6 High-speed Transmission: The WiFi adapter supports the new generation of WiFi6 technology with transmission speeds of up to 600 Mbps on 5 GHz + 287 Mbps on 2.4 GHz, enabling lightning-fast transmission of video at ultra-high speed and low latency
    • Dual-band Connection: The AX900 USB WiFi adapter under the AX standard, the 5G band rate can reach 600Mbps, and the 2.4G band can reach 286Mbps. Note: Use WiFi 6 Router to achieve AX900 speed
    • Built-in Drivers for Windows 10/11: The WiFi Adapter for Desktop PC just supports Windows 10/11 which CPU architecture is X86/X64, supports CD-free installation, no need to download drivers, saving time and worry. Please note this Adapter doesn't support MacOS/Linux/Win 8, 8.1, 7, XP
    • Receive & Transmit Two in One: A desktop computer can connect to the WiFi wireless Internet by connecting it to a wireless network card. A networked computer can connect to the network card to transmit WiFi and share it with other devices
    • Stay Safe Online: The wifi dongle supports WPA-PSK, WPA2-PSK, WPA/WPA2 mixed encryption modes. Note: Make sure that the distance between the adapter and router should be within 30ft
  4. Reboot to retry the load. Reloading the wireless stack can also work, but only do so if you know the correct module sequence for your hardware and system.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  5. Check the kernel log for the result:

    journalctl -k | grep -E 'regulatory.db|cfg80211'

ArchWiki likewise notes that the kernel loads the database directly when wireless-regdb is installed, and may log cfg80211: failed to load regulatory.db when it is absent: ArchWiki: Respecting the regulatory domain.

If the error persists

  • Check the actual firmware path. /lib/firmware is usual, but embedded systems may configure a different path. Confirm where the running kernel or initramfs searches for firmware.

    Rank #4
    Sale
    TP-Link USB WiFi 6 Adapter for Desktop PC,AX1800 Dual Band WiFi Antenna
    • 𝐏𝐥𝐞𝐚𝐬𝐞 𝐮𝐬𝐞 𝐔𝐒𝐁 𝟑.𝟎 𝐩𝐨𝐫𝐭 𝐭𝐨 𝐞𝐧𝐬𝐮𝐫𝐞 𝐨𝐩𝐭𝐢𝐦𝐚𝐥 𝐩𝐞𝐫𝐟𝐨𝐫𝐦𝐚𝐧𝐜𝐞.
    • 𝐋𝐢𝐠𝐡𝐭𝐧𝐢𝐧𝐠-𝐅𝐚𝐬𝐭 𝐖𝐢𝐅𝐢 𝟔 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 -Experience faster speeds with less network congestion compared to previous generation Wi-Fi 5. AX1800 wireless speeds to meet all your gaming, downloading, and streaming needs
    • 𝐃𝐮𝐚𝐥 𝐁𝐚𝐧𝐝 𝐖𝐢𝐅𝐢 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 - 2.4GHz and 5GHz bands for flexible connectivity (up to 1201 Mbps on 5GHz and up to 574 Mbps on 2.4GHz)
    • 𝐎𝐧𝐥𝐲 𝐖𝐢𝐧𝐝𝐨𝐰𝐬 𝟏𝟏/𝟏𝟎 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐥𝐞 - The Archer TX20U Plus is only compatible with Windows 11 and 10 on desktops and laptops. Not compatible with Linux or Mac.** For best performance: keep firmware updated by checking the Tether App.
    • 𝐔𝐩𝐠𝐫𝐚𝐝𝐞 𝐘𝐨𝐮𝐫 𝐂𝐨𝐦𝐩𝐮𝐭𝐞𝐫'𝐬 𝐖𝐢-𝐅𝐢 - All USB WiFi adapters are designed to add or upgrade your computer’s Wi-Fi. Actual speeds cannot exceed the connecting router’s maximum speed. For optimal performance, pair the Archer TX20U Plus with a WiFi 6 or above router.
  • Check the initramfs and file permissions. An initramfs may contain an older copy or omit the database, even if the installed system has the current package. Ensure the files can be read and rebuild the initramfs using your distribution’s documented procedure if needed.

  • Check package compatibility. Confirm the installed wireless-regdb package supplies the filenames expected by the running kernel and distribution.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Separate regulatory data from device firmware. If the log also reports a missing device-specific file, such as an Intel .ucode file or a Broadcom firmware blob, that is a separate driver-firmware issue. regulatory.db does not replace device firmware.

    Best Value
    Sale
    TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
    • AC600 Nano size wireless Dual band USB Wi-Fi adapter for fast and high speed Wi-Fi connection.
    • Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.
    • Sleek and miniature sized design allows the user to plug and leave the device in it's place.
    • Industry leading support: 2-year and free 24/7 technical support
    • This network transceiver supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
  • Use a signed database from a trusted package. The wireless-regdb documentation explains that digital signatures are used to verify integrity and authorship. Do not download an unsigned database from an arbitrary site: wireless-regdb documentation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Do you need CRDA?

For kernels 4.15 and newer, generally no: cfg80211 can load regulatory.db directly through the firmware loader. Older kernels may still use the CRDA and regulatory.bin flow, so the right remedy depends on the running kernel and the files supplied by the distribution. Installing the distribution’s matching wireless-regdb package is the normal fix for the direct-loading error.

Is it safe to ignore?

Sometimes Wi-Fi still works because the system has a compiled-in regulatory database or uses a world regulatory domain. Treat the warning as an unresolved configuration problem if wireless does not work, expected country-specific channels are unavailable, or regulatory behavior is incorrect. Do not disable regulatory controls just to silence the log: they enforce lawful frequency and transmit-power limits.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 2
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
$15.96
SaleBestseller No. 5
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.; Industry leading support: 2-year and free 24/7 technical support
$12.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.