OPNsense Forum
Archive => 16.7 Legacy Series => Topic started by: sstreiner on July 31, 2016, 07:06:06 pm
-
Hi!
I'm using a APU1D4 with an WLE200NX card (Atheros 9280) running OPNsense 16.7-amd64.
Unfortunately setting the txpower in GUI does not change anything (ifconfig still shows the same txpower).
Changing the setting via CLI (e.g. ifconfig ath0_wlan1 txpower 15.0) does work.
Thanks,
Sam
-
Hi Sam,
Uh, nice catch! The backend code for this has been commented out since before we forked, apparently because txpower can fail. It does for my run(4) adapter at least:
opnsense: /interfaces.php: The command '/sbin/ifconfig 'run0_wlan1' txpower '95'' returned exit code '1', the output was 'ifconfig: SIOCS80211: Operation not supported'
Let's try this patch[1] to make it run separately / optionally. You can apply it from the root console:
# opnsense-patch 3da906
Cheers,
Franco
[1] https://github.com/opnsense/core/commit/3da906b62436360561c241a9502eee61db40e98a