We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Omega 2S+: No WiFi Support with OpenWRT 21.02

  • Hi,

    I would like to support WiFi in our onion image.
    I'm using openwrt 21.02 and I've added support of wifi-warp-core module(https://github.com/OnionIoT/OpenWRT-Packages/tree/openwrt-18.06/wifi-warp-core) into the feeds packages. After booting, I got these issues.
    [   11.419625] mt_wifi: Unknown symbol warn_slowpath_null (err -2)
    [   11.425781] mt_wifi: Unknown symbol dma_alloc_from_dev_coherent (err -2)
    [   11.432667] mt_wifi: Unknown symbol mips_dma_map_ops (err -2)
    [   11.438608] mt_wifi: Unknown symbol dma_release_from_dev_coherent (err -2)
    [   11.473355] xt_time: kernel timezone is -0000
    [   11.533534] mt_wifi: Unknown symbol warn_slowpath_null (err -2)
    [   11.539699] mt_wifi: Unknown symbol dma_alloc_from_dev_coherent (err -2)
    [   11.546595] mt_wifi: Unknown symbol mips_dma_map_ops (err -2)
    [   11.552552] mt_wifi: Unknown symbol dma_release_from_dev_coherent (err -2)

    Is this module compatible with openwrt 21.02? Do I need to use another module for supporting the wifi with openwrt 21.02 please?

    Any help will be appreciated.
    Thanks and best regards

  • @IBH I'm not aware that Warp Core has been ported to OWRT2x, instead take look at this post where I shared a functional configuration for OWRT22


  • administrators

    @IBH Yep, @crispyoz is correct: the wifi-warp-core is only compatible with openwrt 18.06
    You will need to use an alternative wifi driver for any later openwrt releases.

  • @Lazar-Demin Hi, Could you please give me an example of an alternative wifi driver which be compatible with openwrt21.02?

  • @crispyoz Thank you for you comment , Which wifi driver did you enabled for making this configuration working?

  • @IBH

    Target System: MediaTek Ralink MIPS
    Subtarget: MT76x8 based boards
    Target Profile: Onion Omega2+

  • @crispyoz said in Omega 2S+: No WiFi Support with OpenWRT 21.02:

    Target System: MediaTek Ralink MIPS
    Subtarget: MT76x8 based boards
    Target Profile: Onion Omega2+

    Thank you so much for your reply and help. Does this module work with OpenWRT21.02 or only for 22 please?

  • administrators

    @IBH I believe @crispyoz is saying if you select the Omega2+ target profile, it will automatically select the open-source mt76 wifi driver

  • @Lazar-Demin the Omega2+ target profile is selected , it doesn't select the open-source mt76 wifi driver. I cannot see any wifi driver which has been selected. Do you know the exact name of the wifi driver please?

  • administrators

    @IBH it should be called mt76 or kmod-mt76
    You can find the package makefile here: https://github.com/openwrt/openwrt/blob/openwrt-21.02/package/kernel/mt76/Makefile

  • @IBH By following my initial instructions the build will include kmod-mt76-core as you can see from the extract of the .config file here:


  • @crispyoz Thank you so much , I did the same you have done for enabling the module and i have applied the settings as they are posted on the forum but it doesn't work.
    root@OpenWrt:/# /etc/init.d/network restart

    radio0(mac80211): Interface type not supported

    [407913.630263] br-lan: port 1(eth0) entered disabled state

    [407913.645038] device eth0 left promiscuous mode

    [407913.649736] br-lan: port 1(eth0) entered disabled state

    root@OpenWrt:/# [407916.196957] br-lan: port 1(eth0) entered blocking state

    [407916.202418] br-lan: port 1(eth0) entered disabled state

    [407916.208209] device eth0 entered promiscuous mode

    [407916.238873] br-lan: port 1(eth0) entered blocking state

    [407916.244341] br-lan: port 1(eth0) entered forwarding state

    [407917.200558] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

    Do you have any idea please?

  • administrators

    @IBH Vanilla OpenWRT isn't configured for easy networking right out of the box, you'll have to make network, firewall, and wireless configuration changes.

    Take a look at our UCI-defaults network configuration script for an idea of what we do:
    For an idea of how we configure the beta OpenWRT 22.03 firmware, take a look at UCI-defaults network configuration script:https://github.com/OnionIoT/OpenWRT-Packages/blob/openwrt-22.03/omega2-base/files/etc/uci-defaults/15_network

    Alternatively, you can use our beta OpenWRT 22.03 firmware. It supports wifi networking right out of the box. More info in this thread: https://community.onion.io/topic/4963/beta-openwrt-22-03-firmware-available-your-feedback-is-needed

    EDIT: specified UCI defaults are for OpenWRT 22.03

  • @Lazar-Demin Hi Lazar, I'm using the OpenWRT 21.02 release and not the onion openwrt. I did the configuration shared by @crispyoz in the forum :


    And I got an issue related to the interface radio0 doesn't exist. Maybe I missed something and for this reason I would like to check with you both.

  • administrators

    @IBH Ah my mistake, I didn't specify the uci defaults configuration is for our new beta firmware that's based on OpenWRT 22.03. This should apply to your situation since this firmware also uses the mt76 wifi driver.

  • @IBH Here is my OpenWrt 21 config:

    root@OpenWrt:/etc/config# cat network
    config interface 'loopback'
            option device 'lo'
            option proto 'static'
            option ipaddr ''
            option netmask ''
    config globals 'globals'
            option ula_prefix 'fd25:0766:cc06::/48'
    config switch
            option name 'switch0'
            option reset '1'
            option enable_vlan '0'
    config interface 'wwan'
            option proto 'dhcp'
            option device 'apcli0'
    config interface 'wlan'
            option proto 'static'
            option ipaddr ''
            option netmask ''
            option ip6assign '60'
            option type 'bridge'
    cat wireless
    config wifi-device 'radio0'
            option type 'mac80211'
            option path 'platform/10300000.wmac'
            option channel '11'
            option band '2g'
            option htmode 'HT20'
            option disabled '0'
    config wifi-iface 'default_radio0'
            option device 'radio0'
            option network 'wlan'
            option mode 'ap'
            option ssid 'OpenWrt'
            option encryption 'none'
    config wifi-iface 'sta'
            option device 'radio0'
            option mode 'sta'
            option network 'wwan'
            option ifname 'apcli0'
            option ssid 'MYSSID'
            option encryption 'psk2'
            option key '*********************************'

  • @crispyoz Thank you , I did a ' wifi up' but the status says it is not up. Any help please ? How do you run those configs ?

    root@OpenWrt:/# wifi status
            "radio0": {
                    "up": false,
                    "pending": true,
                    "autostart": true,
                    "disabled": false,
                    "retry_setup_failed": false,
                    "config": {
                            "path": "platform/10300000.wmac",
                            "channel": "11",
                            "band": "2g",
                            "htmode": "HT20",
                            "disabled": false
                    "interfaces": [
                                    "section": "default_radio0",
                                    "config": {
                                            "mode": "ap",
                                            "ssid": "OpenWrt",
                                            "encryption": "none",
                                            "network": [
                                            "mode": "ap"
                                    "vlans": [

                                    "stations": [

                                    "section": "sta",
                                    "config": {
                                            "mode": "sta",
                                            "ifname": "apcli0",
                                            "ssid": "MYSSID",
                                            "encryption": "psk2",
                                            "key": "*********************************",
                                            "mode": "sta",
                                            "network": [
                                    "vlans": [

                                    "stations": [


  • @IBH Your configuration is using my dummy wifi ssid and key so that isn't going to work on your wifi. You need to update the configuration to utilise your wifi.

                "ssid": "MYSSID",
                                            "encryption": "psk2",
                                            "key": "*********************************",

    To search for available wifi, use this command iw dev apcli0 scan | grep -i ssid

    To update the ssid and key you can either edit the file /etc/config/wireless or use these commands:

    uci set wireless.sta.ssid='<ENTER YOUR SSID HERE>'
    uci set wireless.sta.key='<ENTER YOUR WIFI PASSWORD HERE>'
    uci commit wireless
    service network restart

  • @crispyoz
    I got this:
    root@OpenWrt:/# iw dev apcli0 scan | grep -i ssid
    command failed: No such device (-19)
    Do I miss something?
    I do not need it to connect to a network. I need it to provide one.
    When I did wifi up the radio0 doesn't be up and I cannot see the ssid on my phone.

  • @crispyoz this is the output of lsmod:
    root@OpenWrt:/# lsmod
    cfg80211              286959  3 mt7603e,mt76,mac80211
    compat                  1346  2 mac80211,cfg80211
    crc_ccitt               1774  0
    gpio_button_hotplug     7058  0
    ip_tables              10275  2 iptable_mangle,iptable_filter
    ip6_tables             10087  2 ip6table_mangle,ip6table_filter
    ip6t_REJECT             1298  0
    ip6table_filter          754  0
    ip6table_mangle         1234  0
    ipt_REJECT              1234  0
    iptable_filter           722  0
    iptable_mangle           978  0
    leds_gpio               3058  0
    mac80211              534529  2 mt7603e,mt76
    mmc_block              27130  0
    mmc_core               91816  2 mmc_block,mtk_sd
    mt76                   40830  1 mt7603e
    mt7603e                39804  0
    mtk_sd                 15170  0
    nf_log_common           3000  2 nf_log_ipv4,nf_log_ipv6
    nf_log_ipv4             3602  0
    nf_log_ipv6             4274  0
    nf_reject_ipv4          2313  1 ipt_REJECT
    nf_reject_ipv6          2670  1 ip6t_REJECT
    nls_base                5354  1 usbcore
    ohci_hcd               24424  1 ohci_platform
    ohci_platform           3442  0
    usb_common              3134  2 ohci_hcd,usbcore
    usbcore               144625  2 ohci_platform,ohci_hcd
    x_tables               16295 17 ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_tables,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
    xt_LOG                   818  0
    xt_TCPMSS               3218  0
    xt_comment               562  0
    xt_limit                1394  0
    xt_mac                   690  0
    xt_mark                  722  0
    xt_multiport            1362  0
    xt_tcpudp               1874  0
    xt_time                 1970  0

Looks like your connection to Community was lost, please wait while we try to reconnect.