Unregulatory

This is a OpenWRT repository which, for experienced users and for testing purposes (such as debugging DFS issues), lifts the software limitations implemented by the kernel and drivers, and allows using a router in every existing band with virtually no power limit.

Please note using this file allows transmitting in bands and with power levels that may not be legal where you live. As per the license, I take no responsability.

Installation

Configuring the repository is slightly convoluted but needs to be done just once per device, as it will survive reboots (and maybe upgrades? I'm not so sure):

  1. Log into your OpenWRT device using the root account via SSH.

  2. Fetch the package signing key:

    wget https://orca.pet/unregulatory/unregulatory.pub
    
  3. Install the signing key:

    opkg-key add unregulatory.pub
    
  4. Append the repository to the custom feeds list:

    echo "src/gz unregulatory https://orca.pet/unregulatory/openwrt" >>/etc/opkg/customfeeds.conf
    

If you have Luci installed, the following actions may be done much more easily on the web interface.

  1. Update the feeds list:

    opkg update
    
  2. Finally, upgrade the wireless-regdb package:

    opkg install wireless-regdb
    

The new package version should read 9999.*.

Usage

After installing, reboot to ensure the wireless driver picks up the new, updated wireless registry. Once done, you may choose any country you want on the wireless configuration, and then configure the channel and power to your hearth's content.

Warning: just because the GUI lets you configure a certain frequency doesn't mean it's going to work. Also don't go nuts and set the transmission power too high - you might damage your device if it's not limited by hardware. It's unlikely, but not impossible.

How this was built

There's a quick and dirty Bash script which I've used for generating these OpenWRT repo and packages.