Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Setting txpower in GUI doesn't work. Using CLI works.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Setting txpower in GUI doesn't work. Using CLI works. (Read 4461 times)
sstreiner
Newbie
Posts: 2
Karma: 0
Setting txpower in GUI doesn't work. Using CLI works.
«
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Setting txpower in GUI doesn't work. Using CLI works.
«
Reply #1 on:
August 01, 2016, 09:14:16 am »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Setting txpower in GUI doesn't work. Using CLI works.