Package Details: wireless-regdb-pentest 2017.03.07-2

Git Clone URL: https://aur.archlinux.org/wireless-regdb-pentest.git (read-only)
Package Base: wireless-regdb-pentest
Description: Central Regulatory Domain Database with txpower/channels modified for pentesters. please respect the law in your country
Upstream URL: http://wireless.kernel.org/en/developers/Regulatory
Licenses: custom
Conflicts: crda, wireless-regdb
Provides: crda, wireless-regdb
Submitter: muhviehstarr
Maintainer: muhviehstarr
Last Packager: muhviehstarr
Votes: 0
Popularity: 0.000000
First Submitted: 2017-04-16 13:17
Last Updated: 2017-06-19 10:49

Required by (76)

Sources (7)

Latest Comments

andrius4669 commented on 2017-11-15 15:28

==> Starting package()...
Generating private key for root...
openssl genrsa -out ~/.wireless-regdb-root.key.priv.pem 2048
Generating RSA private key, 2048 bit long modulus
.........................................................+++
............+++
e is 65537 (0x010001)
Generating public key for root...
openssl rsa -in ~/.wireless-regdb-root.key.priv.pem -out root.key.pub.pem -pubout -outform PEM
writing RSA key
Generating regulatory.bin digitally signed by root...
./db2bin.py regulatory.bin db.txt ~/.wireless-regdb-root.key.priv.pem
Traceback (most recent call last):
File "./db2bin.py", line 126, in <module>
from M2Crypto import RSA
ImportError: No module named M2Crypto
make: *** [Makefile:58: regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
Aborting...


please include python2-m2crypto as dependency


...
GEN keys-gcrypt.c
Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/root.key.pub.pem pubkeys/sforshee.key.pub.pem
CC libreg.so
gcc-5: error: unrecognized command line option ‘-fno-plt’
make: *** [Makefile:122: libreg.so] Error 1
==> ERROR: A failure occurred in package().
Aborting...


please filter out -fno-plt from CFLAGS


...
LD optimize
EXIST /usr/lib/crda/regulatory.bin

ERROR: The file: /usr/lib/crda/regulatory.bin is missing. You need this in place in order
to verify CRDA. You can get it from:

git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git

Once cloned (no need to build) cp regulatory.bin to /usr/lib/crda/regulatory.bin
Use "make noverify" to disable verification

make: *** [Makefile:113: /usr/lib/crda/regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
Aborting...


so I did how it told me, it then compiled but when installing I got:


...
(1/1) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
wireless-regdb-pentest: /usr/lib/crda/regulatory.bin exists in filesystem
Errors occurred, no packages were upgraded.


had to install with --force, only then it worked

MiAl commented on 2017-10-21 15:50

Hello! When I try to install I get the error:

patching file Makefile
GEN keys-gcrypt.c
Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/root.key.pub.pem pubkeys/sforshee.key.pub.pem
CC libreg.so
gcc-5: ошибка: unrecognized command line option «-fno-plt»
make: *** [Makefile:122: libreg.so] Ошибка 1
==> ОШИБКА: Произошел сбой в package().
Прерывание...

muhviehstarr commented on 2017-06-19 10:54

my awus036nha locked at gb reg:

[timo3@Funix wireless-regdb-pentest]$ iw reg get
global
country GB: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 30), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 30), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 30), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#0
country GB: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 30), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 30), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 30), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)


muhviehstarr commented on 2017-06-19 10:51

@p90

please check the new version

p90 commented on 2017-06-10 19:52

Hello,

I am afraid the package doe snot do what it is supposed to do.
After isntalling tthis package, regdbdump still shows that the regulatory.bin is still the stock one limiting you to 20db.