Open kontrakote opened 1 year ago
I just tested it and it seems to work for me on a rpi02w with the image of the pwnagotchi 2.0. Did you let the pwnagotchi restart itself, or you restart it by yourself? Cause the plugin do exactly what in the link you sent.
In the /var/log/pwnagotchi.log
, do you see:
[INFO] [FIX_REGION] Region: RU
[INFO] [FIX_REGION] plugin loaded
I verified with this commands:
root@ninja:~# iw reg get
global
country RU: DFS-UNSET
(2400 - 2483 @ 40), (N/A, 20), (N/A)
(5150 - 5350 @ 160), (N/A, 20), (N/A), NO-OUTDOOR
(5650 - 5850 @ 160), (N/A, 20), (N/A), NO-OUTDOOR
(57000 - 66000 @ 2160), (N/A, 40), (N/A), NO-OUTDOOR
phy#0
country 99: DFS-UNSET
(2402 - 2482 @ 40), (6, 20), (N/A)
(2474 - 2494 @ 20), (6, 20), (N/A)
(5140 - 5360 @ 160), (6, 20), (N/A)
(5460 - 5860 @ 160), (6, 20), (N/A)
root@ninja:~# iwlist wlan0 channel
wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
My setup is RPI zero W, 1.5.6 beta 2 image. What is v 2.0? Which fork? Yes, I see
[INFO] [FIX_REGION] Region: RU
[INFO] [FIX_REGION] plugin loaded
in log file.
iw reg get
andiwlist wlan0 channel
show that region was not really set. Resolved region setting problem by methods mentioned here.