summaryrefslogtreecommitdiffstats
path: root/content/posts/openwrt-reghack.rst
blob: 72b3aee22909a0258770a72258e1d7afb19d8626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
OpenWRT reghack
###############
:date: 2015-01-04 03:20
:tags: reghack, openwrt, wifi

With the reghack_ tool you will be able to have your wifi card run on it's
full potential without all the pesky regulations requiring you to send on a
lower tx power. 

Of course you may only do this in a metal chamber in your lab for testing purposes.

.. code-block:: bash
  
    cd /tmp/
    wget http://luci.subsignal.org/~jow/reghack/reghack.mips.elf
    chmod +x reghack.mips.elf
    ./reghack.mips.elf /lib/modules/*/ath.ko
    ./reghack.mips.elf /lib/modules/*/cfg80211.ko
    reboot
    # use US country for all wifi cards
    # txpower=30 should work now
    uci set wireless.@wifi-device[0].country=US
    uci set wireless.@wifi-device[0].txpower=30

I mirrored the data as of this date on euer.krebsco.de_ just in case


.. _reghack: http://luci.subsignal.org/~jow/reghack/README.txt
.. _euer.krebsco.de: /extra/reghack/index.html