Can OpenWRT accept 2.4g and 5g connections?

Hi all,

I need to have both 2.4g and 5g working. I have devices that are only 2.4g and some that are obviously faster on 5g.

I have tried to enable both on my OpenWRT One router but I can only seem to get one or the other enabled. It wouldn't seem logical for the team to put out a router with such a limit so I must be doing something wrong?

Can anyone who has got it working offer some advice on the correct config to get both bands working?

Interestingly, even though 2.4g is currently disabled, I can scan and see other devices. When I try to enable the radio, after about 25 seconds the devices returns to the login prompt, as if it rebooted.

As a broad/general statement, yes, OpenWrt works with both bands and can do it concurrently.

But, some hardware doesn't have the capability of concurrent operation (for example, the Raspberry Pi devices) due to limitations in the chipsets (hardware, not firmware/software). Other chipsets are not fully supported and thus 5G may not work, or may work with severe limitations (such as Broadcom).

What is the output of

ubus call system board
1 Like
    "kernel": "6.6.90",
    "hostname": "OpenWrt",
    "system": "ARMv8 Processor rev 4",
    "model": "OpenWrt One",
    "board_name": "openwrt,one",
    "rootfs_type": "squashfs",
    "release": {
            "distribution": "OpenWrt",
            "version": "SNAPSHOT",
            "firmware_url": "https://downloads.openwrt.org/",
            "revision": "r29715-15078ecb68",
            "target": "mediatek/filogic",
            "description": "OpenWrt SNAPSHOT r29715-15078ecb68",
            "builddate": "1747905441"

I'm going to be really pissed off if that's the case because there's nothing to say that both are not supported concurrently on the OpenWRT One.

Dual band is supported on that device.

Is there a reason you are using snapshot?

Meanwhile, let’s see the rest of your configuration.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

You are using Openwrt.One, of course it support 2.4G and 5G and working at the same time.

Describe more details and show the setup, and maybe screenshots to show how is your setup.
If just telling others is fast, something not working ...
it is difficult to see what's wrong.

Well, it would have been pretty stupid of me to gather a bunch of information until I confirmed that what I wanted was possible, wouldn't it? Now that someone has confirmed what I thought it should be, now I can gather what was requested. That makes more sense, no?

1 Like

Feel free to post the information at your earliest convenience.

1 Like

Finally had time to play with the router. Decided to go back to the stock 24.10.1 for testing and still getting the same issue as before. Here's the configs that have been requested.

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fda9:4bec:64b2::/48'
        option packet_steering '1'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.X.254'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'eth0'
        option proto 'dhcp'

config interface 'wan6'
        option device 'eth0'
        option proto 'dhcpv6'
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi'
        option band '2g'
        option channel '1'
        option htmode 'HE20'
        option num_global_macaddr '7'
        option disabled '1'
        option country 'US'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxxxx2.4g'
        option encryption 'sae-mixed'
        option key 'xxxxxxxxxx'
        option ocv '0'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc/18000000.wifi+1'
        option band '5g'
        option channel '36'
        option htmode 'HE80'
        option num_global_macaddr '7'
        option country 'US'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxxxx5g'
        option encryption 'sae-mixed'
        option key 'xxxxxxxxxx'
        option ocv '0'
root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '2'
        option limit '254'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

config domain
        option name 'mydomain.com'
        option ip '192.168.X.1'

config host
        option name 'pc'
        list mac 'XX:XX:XX:XX:XX:XX'
        option ip '192.168.X.2'
        option leasetime '7d'

I'm not going to post my firewall config for world+dog to see, and I don't see why that would have anything to do with the radio issue anyway. At this point I'm wondering if it's a hardware error.

When I try to enable the radio, I get the following in dmesg:

[Sat May 24 09:27:51 2025] br-lan: port 3(phy0-ap0) entered blocking state
[Sat May 24 09:27:51 2025] br-lan: port 3(phy0-ap0) entered disabled state
[Sat May 24 09:27:51 2025] mt798x-wmac 18000000.wifi phy0-ap0: entered allmulticast mode
[Sat May 24 09:27:51 2025] mt798x-wmac 18000000.wifi phy0-ap0: entered promiscuous mode
[Sat May 24 09:27:51 2025] br-lan: port 3(phy0-ap0) entered blocking state
[Sat May 24 09:27:51 2025] br-lan: port 3(phy0-ap0) entered forwarding state
[Sat May 24 09:27:51 2025] br-lan: port 3(phy0-ap0) entered disabled state
[Sat May 24 09:27:52 2025] br-lan: port 3(phy0-ap0) entered blocking state
[Sat May 24 09:27:52 2025] br-lan: port 3(phy0-ap0) entered forwarding state

Then the router reboots.

I'm using firmware OpenWrt 24.10.1 r28597-0425664679
Open to suggestions.

To be clear, you actually enabled 2.4 GHz, correct?

Can you save the configuration and reboot?

Or can you option an SSH session and run logread -f while enabling, in order to see the full log?

What's this?

No need to mask non public IP ranges.

Start by switching to WPA2 or WPA3.

2 Likes

If I change that to 0 then my router just goes into a reboot cycle, effectively bricking it. I had to go into recovery which is how I ended up with the snapshot. It's what I had available.

I click on "Enable" next to "Wireless network is disabled"

root@OpenWrt:/etc/config# logread -f
Sat May 24 10:36:18 2025 daemon.notice netifd: radio0 (4029): WARNING: Variable 'data' does not exist or is not an array/object
Sat May 24 10:36:19 2025 daemon.notice hostapd: Set new config for phy phy0:
Sat May 24 10:36:19 2025 daemon.notice wpa_supplicant[1824]: Set new config for phy phy0
Sat May 24 10:36:19 2025 daemon.notice wpa_supplicant[1824]: Set new config for phy phy0
Sat May 24 10:36:19 2025 daemon.notice hostapd: Set new config for phy phy0: /var/run/hostapd-phy0.conf
Sat May 24 10:36:19 2025 daemon.notice hostapd: Restart interface for phy phy0
Sat May 24 10:36:19 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=US ieee80211d=1 hw_mode=g supported_rates=60 90 120 180 240 360 480 540 basic_rates=60 120 240 beacon_int=100 stationary_ap=1 chanlist=1 #num_global_macaddr=7 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ax=1 he_su_beamformer=1 he_su_beamformee=1 he_mu_beamformer=1 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he_mu_edca_ac_be_ecwmax=10 he_mu_edca_ac_be_timer=255 he_mu_edca_ac_bk_aifsn=15 he_mu_edca_ac_bk_aci=1 he_mu_edca_ac_bk_ecwmin=9 he_mu_edca_ac_bk_ecwmax=10 he_mu_edca_ac_bk_timer=255 he_mu_edca_ac_vi_ecwmin=5 he_mu_edca_ac_v
Sat May 24 10:36:19 2025 kern.info kernel: [  586.707000] br-lan: port 3(phy0-ap0) entered blocking state
Sat May 24 10:36:19 2025 kern.info kernel: [  586.712590] br-lan: port 3(phy0-ap0) entered disabled state
Sat May 24 10:36:19 2025 kern.info kernel: [  586.718262] mt798x-wmac 18000000.wifi phy0-ap0: entered allmulticast mode
Sat May 24 10:36:19 2025 kern.info kernel: [  586.725277] mt798x-wmac 18000000.wifi phy0-ap0: entered promiscuous mode
Sat May 24 10:36:19 2025 kern.info kernel: [  586.732292] br-lan: port 3(phy0-ap0) entered blocking state
Sat May 24 10:36:19 2025 kern.info kernel: [  586.737888] br-lan: port 3(phy0-ap0) entered forwarding state
Sat May 24 10:36:19 2025 kern.info kernel: [  586.743908] br-lan: port 3(phy0-ap0) entered disabled state
Sat May 24 10:36:19 2025 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat May 24 10:36:19 2025 kern.info kernel: [  586.896262] br-lan: port 3(phy0-ap0) entered blocking state
Sat May 24 10:36:19 2025 kern.info kernel: [  586.901876] br-lan: port 3(phy0-ap0) entered forwarding state
Sat May 24 10:36:19 2025 daemon.notice netifd: Network device 'phy0-ap0' link is up

It then proceeds to reboot.

If I click Restart next to radio0 " MediaTek MT7981 802.11ax/b/g/n" the device remains inactive.

No idea. I didn't put it in.

Tried that and also no encryption to start with. Same result.
Start by switching to WPA2 or WPA3.

You could always switch to a stable release, I see no reason for using snapshots.

1 Like

Is OpenWrt 24.10.1 r28597-0425664679 not a stable release then?

That's not what your 2nd post in the thread says you're running...

and what does the 7th post in the thread say?

Please list all versions you experience the reboot issue.

You've done a resetting to default on the current version you're using (and when using sysupgrade to change versions), correct?

It's actually my post, and says:

1 Like

Small notice, 2 + 254 > 255

2 Likes

True. Thanks but that wasn't the issue either.

1 Like

Some other interesting news. My wife said she was trying to watch something on TV last night and it would keep disconnecting from the wifi. I monitored the router and it seems to reboot itself every hour or so. Now that I can't explain. I think it's just going to go back and I'll revert to my old one which, although somewhat slow, actually works. Very disappointed.