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

February 05, 2026, 01:29:35 PM #31 Last Edit: February 05, 2026, 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

As of commit 4912a67 WLAN appears to work again.
On a freshly-updated 26.1, apply the following two patches in order.

# opnsense-patch 45597a9
# opnsense-patch 4912a67

After reboot WLAN interfaces should be configured.
Haven't checked other possible issues regarding WLAN yet, as right now I've a lot of other things to do for 26.1, like migrating old firewall rules.

Yes, make sure to only apply 4912a67 on 26.1.1 otherwise you'll get an apply failure because it undoes the other fix.


Cheers,
Franco

Thank you Monviech, now I understand, I applied the patch and everything works again.

February 06, 2026, 10:01:43 PM #35 Last Edit: February 06, 2026, 10:09:41 PM by suur13
Quote from: Monviech (Cedrik) on February 05, 2026, 11:29:32 AMI think you dont understand, you can execute the above command in the shell of your opnsense and it will patch it.

Can you please point out which command exactly.

opnsense-patch 4912a67 ?

Yes, make sure you are on 26.1.1 and run this from the console:

# opnsense-patch 4912a67


Cheers,
Franco

Quote from: franco on February 07, 2026, 06:44:42 PMYes, make sure you are on 26.1.1 and run this from the console:

# opnsense-patch 4912a67

Thanks, did it last night and it helped and works !

February 15, 2026, 01:59:59 PM #38 Last Edit: February 15, 2026, 02:05:55 PM by Monju0525
Quote from: suur13 on February 07, 2026, 09:47:50 PM
Quote from: franco on February 07, 2026, 06:44:42 PMYes, make sure you are on 26.1.1 and run this from the console:

# opnsense-patch 4912a67

Thanks, did it last night and it helped and works !

What WiFi card are u using in opnsense 26.1.1? I want to do the same thing.

Is there a recommended WiFi 7 card that is opnsense compatible?

February 22, 2026, 12:19:44 PM #39 Last Edit: February 22, 2026, 12:29:15 PM by tcris
Hi,
running OPNsense 26.1.2_5, I still have the wifi issue.
Did not apply any patch until now.

I saw some suggestions above in the thread,
not sure which one is correct,
and not sure if they still apply to 26.1.2_5

I saw these two being suggested
# opnsense-patch 45597a9
# opnsense-patch 4912a67

Is this the way to go for  26.1.2_5?

Any ideas?
Thank you



ifconfig
wlan0: flags=8c43<UP,BROADCAST,RUNNING,DRV_OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: OPT3_WIFI (opt3)
        options=0
        ether ...
        inet 192.168.99.1 netmask 0xffffff00 broadcast 192.168.99.255
        groups: wlan MyGrpAllClients MyGrpUntrusted
        ssid "" channel 11 (2462 MHz 11g)
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS wme
        parent interface: run0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


dmesg | grep -i wlan
[1] wlan: mac acl policy registered
[2] ugen0.2: <Ralink 802.11 n WLAN> at usbus0
[2] run0: <Ralink 802.11 n WLAN, class 0/0, rev 2.00/1.01, addr 1> on usbus0
[32] wlan0: Ethernet address: ...

Quote from: franco on February 07, 2026, 06:44:42 PMYes, make sure you are on 26.1.1 and run this from the console:

# opnsense-patch 4912a67


Cheers,
Franco


Hey Franco,

does the above still make sense on opnsense 26.1.2_5? (where I still have the wifi issue)


only the above patch (4912a67), or maybe both of these?
# opnsense-patch 45597a9
# opnsense-patch 4912a67

Thanks