diff --git a/files/usr/local/bin/node-setup b/files/usr/local/bin/node-setup index 3cd882f6..058ee00d 100755 --- a/files/usr/local/bin/node-setup +++ b/files/usr/local/bin/node-setup @@ -384,7 +384,7 @@ unless($cfg{wifi_proto} eq "disabled") if(wifi_useschains()){ print FILE "/usr/local/bin/wifi-onbootchains\n"; } - print FILE "/usr/sbin/iwconfig wlan0 txpower $cfg{wifi_txpower}\n"; + print FILE "/usr/sbin/iw dev wlan0 set txpower fixed $cfg{wifi_txpower}00\n" if(defined $cfg{aprs_lat} and defined $cfg{aprs_lon}) { printf FILE "echo %s,%s > /tmp/latlon.txt\n", $cfg{aprs_lat}, $cfg{aprs_lon};