Hi, thanks a lot for your response. I am still unable to attach the lan 
with wlan and while trying to do so notification " The configuration of MKT 
<https://10.20.20.4/admin/config/device/4c9e521f-bada-4d34-8fb0-f1af8f3c2038/change/>
 
has encountered an error. The last working configuration has been restored 
from a backup present on the filesystem of the device. " popped in OpenWISP 
portal.
Kindly have the interface details of Mikrotik AP which has been booted with 
OpenWRT.
# cat /etc/config/network 

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

config globals 'globals'
    option ula_prefix 'fdf4:9cc1:5e11::/48'

config interface 'lan'
    option type 'bridge'
    option ifname 'eth0.1 eth1.1'
    option proto 'dhcp'

config interface 'wan'
    option ifname 'eth0.2'
    option proto 'dhcp'

config interface 'wan6'
    option ifname 'eth0.2'
    option proto 'dhcpv6'

config interface 'sfp'
    option ifname 'eth0.3'
    option proto 'none'

config switch 'switch0'
    option ar8xxx_mib_poll_interval '500'
    option ar8xxx_mib_type '0'
    option enable_vlan '1'
    option name 'switch0'
    option reset '1'

config switch_vlan 'switch0_vlan1'
    option device 'switch0'
    option ports '2 3 4 5 0t'
    option vlan '1'

config switch_vlan 'switch0_vlan2'
    option device 'switch0'
    option ports '1 0t'
    option vlan '2'

config switch_vlan 'switch0_vlan3'
    option device 'switch0'
    option ports '6 0t'
    option vlan '3'

config switch 'switch1'
    option enable_vlan '1'
    option name 'switch1'
    option reset '1'

config switch_vlan 'switch1_vlan1'
    option device 'switch1'
    option ports '1 2 3 4 5 0t'
    option vlan '1'
------------------------------------------------
OpenWISP template
{
    "interfaces": [
        {
            "wireless": {
                "network": [],
                "mode": "access_point",
                "radio": "radio0",
                "ack_distance": 0,
                "rts_threshold": 0,
                "frag_threshold": 0,
                "ssid": "OpenWISP-TAHMID",
                "hidden": false,
                "wds": false,
                "encryption": {
                    "protocol": "none"
                },
                "wmm": true,
                "isolate": true,
                "macfilter": "disable",
                "maclist": []
            },
            "type": "wireless",
            "name": "wlan0",
            "mtu": 1500,
            "mac": "",
            "autostart": true,
            "disabled": false,
            "addresses": [],
            "network": "lan"
        }
    ]
}

Requesting your help.
On Thursday, August 12, 2021 at 4:21:55 AM UTC+6 f.capoano wrote:

> The WiFi interface needs to be "attached" to the lan interface (which in 
> your example is called br).
> Unfortunately this is how wifi interfaces are bridged in OpenWRT so 
> defining the wlan as a bridge member is not enough.
>
> Look for "network" in the OpenWrt wifi wiki page: 
> https://openwrt.org/docs/guide-user/network/wifi/basic
>
> In the OpenWISP config editor, you can specify this  in "Attached 
> Networks".
> See also this section of the netjsonconfig documentation (the 
> configuration engine library): Wireless attached to a different network 
> <http://netjsonconfig.openwisp.org/en/latest/backends/openwrt.html#wireless-attached-to-a-different-network>
> .
>
> You're not the first one having this issue, therefore I created an issue 
> in the netjsonconfig library to see if maybe we can handle this 
> automatically in the future: 
> https://github.com/openwisp/netjsonconfig/issues/191.
>
> I hope this helps!
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/92a77dd2-1dd6-4874-a6d3-42fae121119en%40googlegroups.com.

Reply via email to