Hi
I was actually successful at last, to change the MAC of the adapter, but still not change TXpower.
Code:
root@kali:~# ifconfig wlan0 down
root@kali:~# macchanger -r wlan0
Permanent MAC: a0:f3:c1:2X:XX:XX (unknown)
Current MAC: a0:f3:c1:2X:XX:XX (unknown)
New MAC: 64:29:fe:cb:e6:87 (unknown)
TXpower errors
Code:
# method 1
root@kali:~# ifconfig wlan0 down
root@kali:~# iw reg set BO
root@kali:~# ifconfig wlan0 up
root@kali:~# iwconfig wlan0 channel 13
root@kali:~# iwconfig wlan0 txpower 30
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device wlan0 ; Invalid argument.
# method 2
root@kali:~# iw reg set BO
root@kali:~# iwconfig wlan0 txpower 30
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device wlan0 ; Invalid argument.
System information
Code:
root@kali:~# iwconfig
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Frequency:2.472 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
root@kali:~# iw reg get
country BO:
(2402 - 2482 @ 40), (N/A, 30)
(5735 - 5835 @ 40), (N/A, 30)
root@kali:~# lsmod | grep ath
ath9k_htc 43135 0
ath9k_common 12649 1 ath9k_htc
ath9k_hw 313625 2 ath9k_common,ath9k_htc
ath 17154 3 ath9k_common,ath9k_htc,ath9k_hw
mac80211 287461 1 ath9k_htc
cfg80211 123887 3 ath,mac80211,ath9k_htc
usbcore 109555 4 uhci_hcd,ehci_hcd,usbhid,ath9k_htc