Package Details: wireless-regdb-pentest 2018.09.07-6

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: 5
Popularity: 1.205374
First Submitted: 2017-04-16 13:17
Last Updated: 2018-10-07 19:45

Required by (88)

Sources (9)

Latest Comments

1 2 Next › Last »

francoism90 commented on 2018-10-11 16:17

Thanks for the update(s)! :)

muhviehstarr commented on 2018-10-07 19:45

also added copy of all pubkeys

muhviehstarr commented on 2018-10-07 19:24

python2-m2crypto is needed for crda python-attrs added

francoism90 commented on 2018-10-05 13:29

@muhviehstarr

ModuleNotFoundError: No module named 'attr'
make: *** [Makefile:60: regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

Missing python-attrs, and don't think you need the python2 part. :)

muhviehstarr commented on 2018-10-05 09:24

Please try again now

also updated the pkg to latest version

francoism90 commented on 2018-10-05 08:44

Also these two lines seems to be missing in PKGBUILD:

install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.db "${pkgdir}"/usr/lib/firmware/regulatory.db
 install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.db.p7s "${pkgdir}"/usr/lib/firmware/regulatory.db.p7s

Resulting in cfg80211: failed to load regulatory.db

francoism90 commented on 2018-10-05 08:33

==> 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 (2 primes)
..........................................................................................+++++
......................................................................................+++++
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 certificate for root...
./gen-pubcert.sh ~/.wireless-regdb-root.key.priv.pem root.x509.pem
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 6, in <module>
    from dbparse import DBParser
  File "/tmp/makepkg/wireless-regdb-pentest/src/wireless-regdb-2018.05.31/dbparse.py", line 3, in <module>
    from builtins import bytes
ImportError: No module named builtins
make: *** [Makefile:60: regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
2018-10-05 10:31:05,378 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/archie/.cache/aurman/wireless-regdb-pentest
~~ the following packages are now orphans
:: community/python2-m2crypto

Thanks @DigitalPioneer for the needed libs to get it working. :)

DigitalPioneer commented on 2018-06-26 04:42

Missing build deps: python2-attrs python2-future

muhviehstarr commented on 2017-12-31 00:19

i have fixed the package and updated wireless-regdb to latest version.

Best to use the BO Domain (iw reg set BO) - it should have all channels unlocked at 30dbi (2,4 ,5 and 60ghz)

tested:

iw reg get global country BO: DFS-JP (2400 - 2494 @ 40), (N/A, 30), (N/A) (4910 - 5835 @ 40), (N/A, 30), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A)

Please report back

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