Abashscriptthatgeneratesamodifiedregulatory.binfromCentralRegulatoryDomainAgentandWirelesRegulatoryDatabasesourcesandpatchesthekernel.ThisunlocksthemaximumWiFiTXpower(on2.4Ghz)oftheregionBOaccordingtothedBmvalueyouspecifyinthescript.
InthefutureIplantomodifythescripttoallowuserstochooseaspecificregionandafrequencyrange.
kali-linux-region-BO-wifi-txpower-unlocker.shRegionBO2.4GhzCustomizedforKaliLinuxubuntu-region-BO-wifi-txpower-unlocker.shSameaskali-linux-region-BO-wifi-txpower-unlocker.shbutaddeddependenciesforUbuntuarch-linux-region-BO-wifi-txpower-unlocker.shRegionB02.4GhzCustomizedforArchlinux(andvariantslikemanjaro)TestedDevicesRaspberryPi3runningKaliLinux(withthekali-linux-fullmetapackage)VirtualMachinerunningKaliLinux64bitUbuntu16.04LTS64bitUsageIncreaseTXpowerLoginasrootinKaliLinuxDownloadarch-...shorkali-...shorubuntu-...shscript(orclonetherepo)OpenthescriptinatexteditorandchangechangethevalueofthevariabletxpowertothedesiredvalueIsetthetxpowerto33inthescriptGrantexecutionpermissionusingTerminal(useubuntu-...shscriptifusingUbuntu)chmod+xkali-linux-region-BO-wifi-txpower-unlocker.shExecutethescript(useubuntu-...shscriptifusingUbuntu)./kali-linux-region-BO-wifi-txpower-unlocker.shWhenpromptedtoreboottype'Y'andpress[Enter]Afterrebooting,loginasrootSetthetxpoweroftheinterfaceRuniwconfigorifconfigtodetermineyourwirelessinterfaceiwconfigorifconfigMywirelessinterfacewaswlan1soreplacewlan1withyourinterfacenameBringtheinterfacedownifconfigwlan1downSetregiontoBOiwregsetBOChangethetxpoweroftheinterface(again,Ichose33).Ifyouspecifiedxxinthescriptbeforeexecuting,xxwillbethehighesttxpoweryoucansettheinterfaceto.iwconfigwlan1txpower33Bringtheinterfaceupifconfigwlan1upUseiwconfigtomakesurethatthetxpowerissettowhatyoudesirediwconfigwlan1ContributingForkit!Createyourfeaturebranch:gitcheckout-bmy-new-featureCommityourchanges:gitcommit-am'Addsomefeature'Pushtothebranch:gitpushoriginmy-new-featureSubmitapullrequest:D
评论