ctrlaltkills / notes

..saved for later. Articles, images, code snippets, etc,.
1 stars 0 forks source link

Txpower 2 #32

Open ctrlaltkills opened 9 months ago

ctrlaltkills commented 9 months ago

"1

This is an amazing guide that works well in 2023 with a few tweaks. To install the dependencies in a modern Ubuntu/Debian:

apt install python3-future python3-m2crypto libgcrypt20 libgcrypt20-dev libnl-genl-3-dev Download the latest versions of crda and wireless-regdb-master from:

https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/snapshot/wireless-regdb-master-2023-09-01.tar.gz https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/crda-4.15.tar.gz When you run make for crda-4.15, and it complains about syntax errors in key2pub.py, that means you need to tweak that file to be python3-compatible:

sed -i -E 's/ord(v([0-9]+))/v[\1]/g; s/ord(v)/v/g; s/ImportError, e/ImportError as e/g; s/print /print(/g; s/keys()))/keys())))/g; s/xrange/range/g;' key2pub.py After that, proceed with the original guide! Thanks " https://askubuntu.com/questions/1165300/how-to-increase-txpower-of-my-wifi-device#:~:text=Add%20a%20comment-,1,After%20that%2C%20proceed%20with%20the%20original%20guide!%20Thanks,-OP!