WiFi interface broken after update to 26.1

Started by sandy, January 29, 2026, 01:33:45 PM

Previous topic - Next topic
I think you dont understand, you can execute the above command in the shell of your opnsense and it will patch it.
Hardware:
DEC740

Today at 01:29:35 PM #31 Last Edit: Today at 01:39:50 PM by binaryx
Patched yesterday opensense with as bundle so with router restart, when the interface is configured with mode it will fail as mode is non-empty:

in the log you can see
/usr/local/etc/rc.linkup: The command </sbin/ifconfig wlan create wlandev 'ath0' 'wlanmode hostap' bssid name 'ath0_wlan1'> returned exit code 1 and the output was "ifconfig: SIOCIFCREATE2 (wlan): Input/output error"

the issue is that escapeshellarg() convert "wlanmode hostap" into "'wlanmode hostap'" which isn't valid param as there must not be any ''

correct cmd:
/sbin/ifconfig wlan create wlandev 'ath0' wlanmode hostap bssid name 'ath0_wlan1'
what we get from escape ..
/sbin/ifconfig wlan create wlandev 'ath0' 'wlanmode hostap' bssid name 'ath0_wlan1'

this also makes the new fix/commit not requried, but no overwiew on whole code so just statement base on the troubleshooting