Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #OpenWrt 14.07 (r42625 - oficialni image pro Ubiquity RouterStation (ar71xx))
- # ORIGINALNI STAV:
- root@AP66:~# iw reg set CZ
- root@AP66:~# iw phy phy0 info
- Wiphy phy0
- max # scan SSIDs: 4
- max scan IEs length: 2285 bytes
- Retry short limit: 7
- Retry long limit: 4
- Coverage class: 0 (up to 0m)
- Available Antennas: TX 0x3 RX 0x3
- Configured Antennas: TX 0x3 RX 0x3
- Supported interface modes:
- * IBSS
- * managed
- * AP
- * AP/VLAN
- * monitor
- * mesh point
- Band 1:
- Frequencies:
- * 2412 MHz [1] (20.0 dBm)
- * 2417 MHz [2] (20.0 dBm)
- * 2422 MHz [3] (20.0 dBm)
- * 2427 MHz [4] (20.0 dBm)
- * 2432 MHz [5] (20.0 dBm)
- * 2437 MHz [6] (20.0 dBm)
- * 2442 MHz [7] (20.0 dBm)
- * 2447 MHz [8] (20.0 dBm)
- * 2452 MHz [9] (20.0 dBm)
- * 2457 MHz [10] (20.0 dBm)
- * 2462 MHz [11] (20.0 dBm)
- * 2467 MHz [12] (disabled)
- * 2472 MHz [13] (disabled)
- * 2484 MHz [14] (disabled)
- Band 2:
- Frequencies:
- * 5040 MHz [8] (disabled)
- * 5060 MHz [12] (disabled)
- * 5080 MHz [16] (disabled)
- * 5180 MHz [36] (17.0 dBm)
- * 5200 MHz [40] (17.0 dBm)
- * 5220 MHz [44] (17.0 dBm)
- * 5240 MHz [48] (17.0 dBm)
- * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
- DFS state: usable (for 2 sec)
- DFS CAC time: 60000 ms
- * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
- DFS state: usable (for 2 sec)
- DFS CAC time: 60000 ms
- * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
- DFS state: usable (for 2 sec)
- DFS CAC time: 60000 ms
- * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
- DFS state: usable (for 2 sec)
- DFS CAC time: 60000 ms
- * 5500 MHz [100] (disabled)
- * 5520 MHz [104] (disabled)
- * 5540 MHz [108] (disabled)
- * 5560 MHz [112] (disabled)
- * 5580 MHz [116] (disabled)
- * 5600 MHz [120] (disabled)
- * 5620 MHz [124] (disabled)
- * 5640 MHz [128] (disabled)
- * 5660 MHz [132] (disabled)
- * 5680 MHz [136] (disabled)
- * 5700 MHz [140] (disabled)
- * 5745 MHz [149] (disabled)
- * 5765 MHz [153] (disabled)
- * 5785 MHz [157] (disabled)
- * 5805 MHz [161] (disabled)
- * 5825 MHz [165] (disabled)
- valid interface combinations:
- * #{ managed } <= 2048, #{ AP, mesh point } <= 4, #{ IBSS } <= 1,
- total <= 2048, #channels <= 1
- HT Capability overrides:
- * MCS: ff ff ff ff ff ff ff ff ff ff
- * maximum A-MSDU length
- * supported channel width
- * short GI for 40 MHz
- * max A-MPDU length exponent
- * min MPDU start spacing
- root@AP66:~#
- # UPRAVA:
- root@AP66:~# cd /tmp/
- root@AP66:/tmp# wget http://luci.subsignal.org/~jow/reghack/reghack.mips.elf
- Connecting to luci.subsignal.org (188.40.166.7:80)
- reghack.mips.elf 100% |*********************************************************************************************************************************************| 46156 0:00:00 ETA
- root@AP66:/tmp# chmod +x reghack.mips.elf
- root@AP66:/tmp# ./reghack.mips.elf /lib/modules/*/ath.ko
- mmap(): Invalid argument
- Memory mapping failed (missing fs support?), retrying from tmpfs
- Patching @ 0x000002f0: ath_is_radar_freq() MIPS opcode in ath/regd.o
- Patching @ 0x000003fc: ath_is_radar_freq() MIPS opcode in ath/regd.o
- Patching @ 0x0000342c: ath world regdomain with 5 rules in ath/regd.o
- Patching @ 0x000034cc: ath world regdomain with 4 rules in ath/regd.o
- Patching @ 0x00003550: ath world regdomain with 4 rules in ath/regd.o
- Patching @ 0x000035d4: ath world regdomain with 5 rules in ath/regd.o
- root@AP66:/tmp#
- root@AP66:/tmp# ./reghack.mips.elf /lib/modules/*/cfg80211.ko
- mmap(): Invalid argument
- Memory mapping failed (missing fs support?), retrying from tmpfs
- Patching @ 0x0002589c: core world6 regdomain in cfg80211/reg.o
- Patching @ 0x000267ac: embedded US regdomain in cfg80211/regdb.o
- Patching @ 0x0002ae30: embedded 00 regdomain in cfg80211/regdb.o
- root@AP66:/tmp#
- root@AP66:/tmp# reboot
- # STAV PO UPRAVE:
- root@AP66:~# iw reg set CZ
- root@AP66:~# iw phy phy0 info
- Wiphy phy0
- max # scan SSIDs: 4
- max scan IEs length: 2285 bytes
- Retry short limit: 7
- Retry long limit: 4
- Coverage class: 0 (up to 0m)
- Available Antennas: TX 0x3 RX 0x3
- Configured Antennas: TX 0x3 RX 0x3
- Supported interface modes:
- * IBSS
- * managed
- * AP
- * AP/VLAN
- * monitor
- * mesh point
- Band 1:
- Frequencies:
- * 2412 MHz [1] (20.0 dBm)
- * 2417 MHz [2] (20.0 dBm)
- * 2422 MHz [3] (20.0 dBm)
- * 2427 MHz [4] (20.0 dBm)
- * 2432 MHz [5] (20.0 dBm)
- * 2437 MHz [6] (20.0 dBm)
- * 2442 MHz [7] (20.0 dBm)
- * 2447 MHz [8] (20.0 dBm)
- * 2452 MHz [9] (20.0 dBm)
- * 2457 MHz [10] (20.0 dBm)
- * 2462 MHz [11] (20.0 dBm)
- * 2467 MHz [12] (20.0 dBm)
- * 2472 MHz [13] (20.0 dBm)
- * 2484 MHz [14] (disabled)
- Band 2:
- Frequencies:
- * 5040 MHz [8] (disabled)
- * 5060 MHz [12] (disabled)
- * 5080 MHz [16] (disabled)
- * 5180 MHz [36] (23.0 dBm)
- * 5200 MHz [40] (23.0 dBm)
- * 5220 MHz [44] (23.0 dBm)
- * 5240 MHz [48] (23.0 dBm)
- * 5260 MHz [52] (20.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5280 MHz [56] (20.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5300 MHz [60] (20.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5320 MHz [64] (20.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5500 MHz [100] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5520 MHz [104] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5540 MHz [108] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5560 MHz [112] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5580 MHz [116] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5600 MHz [120] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5620 MHz [124] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5640 MHz [128] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5660 MHz [132] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5680 MHz [136] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5700 MHz [140] (27.0 dBm) (radar detection)
- DFS state: usable (for 3 sec)
- DFS CAC time: 60000 ms
- * 5745 MHz [149] (disabled)
- * 5765 MHz [153] (disabled)
- * 5785 MHz [157] (disabled)
- * 5805 MHz [161] (disabled)
- * 5825 MHz [165] (disabled)
- valid interface combinations:
- * #{ managed } <= 2048, #{ AP, mesh point } <= 4, #{ IBSS } <= 1,
- total <= 2048, #channels <= 1
- HT Capability overrides:
- * MCS: ff ff ff ff ff ff ff ff ff ff
- * maximum A-MSDU length
- * supported channel width
- * short GI for 40 MHz
- * max A-MPDU length exponent
- * min MPDU start spacing
- root@AP66:~#
Advertisement
Add Comment
Please, Sign In to add comment