summaryrefslogtreecommitdiffstats
path: root/content/extra/reghack/README.txt
blob: fe17952b583e3067350a2a534128de04871ab29f (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
The reghack utility replaces the regulatory domain rules in the driver binaries
with less restrictive ones. The current version also lifts the 5GHz radar
channel restrictions in ath9k.

This version is made for current OpenWrt trunk. To patch older releases like 12.09,
use http://luci.subsignal.org/~jow/reghack/old/ .

How to use:

ssh root@openwrt

On ar71xx:

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

On mpc85xx:

cd /tmp/
wget http://luci.subsignal.org/~jow/reghack/reghack.ppc.elf
chmod +x reghack.ppc.elf
./reghack.ppc.elf /lib/modules/*/ath.ko
./reghack.ppc.elf /lib/modules/*/cfg80211.ko
reboot

On x86:

cd /tmp/
wget http://luci.subsignal.org/~jow/reghack/reghack.x86.elf
chmod +x reghack.x86.elf
./reghack.x86.elf /lib/modules/*/ath.ko
./reghack.x86.elf /lib/modules/*/cfg80211.ko

On amd64:

cd /tmp/
wget http://luci.subsignal.org/~jow/reghack/reghack.x86_64.elf
chmod +x reghack.x86_64.elf
./reghack.x86_64.elf /lib/modules/*/ath.ko
./reghack.x86_64.elf /lib/modules/*/cfg80211.ko