{
    "radios": [
        {
            "protocol": "802.11ac",
            "name": "radio0",
            "channel": 0,
            "channel_width": 20,
            "country": "AT",
            "disabled": false,
            "driver": "mac80211",
            "hwmode": "11a",
            "channels": "96-136",
            "cell_density": 1,
            "rrm_neighbor_report": true,
            "ieee80211k": true,
            "rrm_beacon_report": true,
            "time_advertisement": 2,
            "time_zone": "CET-1CEST,M3.5.0,M10.5.0/3",
            "wnm_sleep_mode": false,
            "bss_transition": true,
            "country_ie": true,
            "beacon_int": 100
        },
        {
            "protocol": "802.11n",
            "name": "radio1",
            "channel": 0,
            "channel_width": 20,
            "country": "AT",
            "disabled": false,
            "driver": "mac80211",
            "hwmode": "11g",
            "channels": "13 5 1 9",
            "cell_density": 2,
            "rrm_neighbor_report": true,
            "ieee80211k": true,
            "rrm_beacon_report": true,
            "time_advertisement": 2,
            "time_zone": "CET-1CEST,M3.5.0,M10.5.0/3",
            "wnm_sleep_mode": false,
            "bss_transition": true,
            "country_ie": true,
            "beacon_int": 200
        }
    ],
    "interfaces": [
        {
            "type": "bridge",
            "bridge_members": [
                "eth0.22"
            ],
            "name": "br_iot",
            "disabled": false,
            "network": "lan_iot",
            "autostart": true
        },
        {
            "wireless": {
                "network": [
                    "lan_iot"
                ],
                "mode": "access_point",
                "radio": "radio0",
                "ack_distance": 0,
                "rts_threshold": 0,
                "frag_threshold": 0,
                "ssid": "iot",
                "hidden": false,
                "wds": false,
                "encryption": {
                    "protocol": "wpa2_personal",
                    "key": "xxxxxxxxxxxx",
                    "disabled": false,
                    "cipher": "ccmp",
                    "ieee80211w": "0",
                    "wpa_disable_eapol_key_retries": 0,
                    "wpa_group_rekey": 3600
                },
                "wmm": false,
                "isolate": true,
                "ieee80211r": true,
                "reassociation_deadline": 20000,
                "ft_psk_generate_local": true,
                "ft_over_ds": true,
                "rsn_preauth": true,
                "macfilter": "disable",
                "maclist": [],
                "mobility_domain": "3333",
                "pmk_r1_push": true,
                "dtim_period": 3
            },
            "type": "wireless",
            "name": "iot5",
            "mtu": 1500,
            "disabled": false,
            "network": "lan_iot",
            "mac": "",
            "autostart": true
        },
        {
            "wireless": {
                "network": [
                    "lan_iot"
                ],
                "mode": "access_point",
                "radio": "radio1",
                "ack_distance": 0,
                "rts_threshold": 0,
                "frag_threshold": 0,
                "ssid": "iot",
                "hidden": false,
                "wds": false,
                "encryption": {
                    "protocol": "wpa2_personal",
                    "key": "XXXXXXXXXXXX",
                    "disabled": false,
                    "cipher": "ccmp",
                    "ieee80211w": "0",
                    "wpa_disable_eapol_key_retries": 0,
                    "wpa_group_rekey": 3600
                },
                "wmm": false,
                "isolate": true,
                "ieee80211r": true,
                "reassociation_deadline": 20000,
                "ft_psk_generate_local": true,
                "ft_over_ds": true,
                "rsn_preauth": true,
                "macfilter": "disable",
                "maclist": [],
                "mobility_domain": "3333",
                "pmk_r1_push": true,
                "dtim_period": 3
            },
            "type": "wireless",
            "name": "iot2",
            "mtu": 1500,
            "disabled": false,
            "network": "lan_iot",
            "mac": "",
            "autostart": true
        }
    ]
}

On Tuesday, 20 December 2022 at 13:45:52 UTC+1 f.capoano wrote:

> Hi JH,
>
> Can you please post the NetJSON config you're using to generate this?
>
> F.
>
> On Tue, 20 Dec 2022 at 05:42, J H <[email protected]> wrote:
>
>> Ignore the   "list ports '*eth0.22*'  " typo.   VLAN id is not relevant 
>> here - bridge and device work on eth, just not when i want to add wifi to 
>> it.
>>
>> On Tuesday, 20 December 2022 at 09:40:24 UTC+1 J H wrote:
>>
>>> hi
>>>
>>> On OWRT 21.x / 22.x I already have a working cfg, but i wanted to deploy 
>>> it via latest OpenWisp
>>>
>>> radio0 (5Ghz) and radio1 (2Ghz) with same SSid and bound to same network 
>>> and bridge vlan 10 on eth0:
>>>
>>> config device 'device5'
>>>     option bridge_empty '1'
>>>     option name '*br-iot*'
>>>     list ports '*eth0.10*'
>>>     option type '*bridge*'
>>>
>>> config wifi-iface 'wifinet9'
>>>     option device '*radio0*'
>>>     option mode 'ap'
>>>     option network '*lan_iot*'
>>>     option disabled '0'
>>>     option ssid 'iot'
>>>
>>> config wifi-iface 'wifinet10'
>>>     option device '*radio1*'
>>>     option mode 'ap'
>>>     option network '*lan_iot*'
>>>     option disabled '0'
>>>     option ssid 'iot'
>>>
>>> config interface '*lan_iot*'
>>>     option proto 'none'
>>>     option device '*br-iot*'
>>>
>>>
>>> When i try to this this via OpenWisp i get this config which does not 
>>> work:
>>>
>>> config device 'device_lan_iot'
>>>     option name '*br_iot*'
>>>     list ports '*eth0.22*'
>>>     option type 'bridge'
>>>
>>> config interface 'lan_iot'
>>>     option auto '1'
>>>     option bridge_empty '1'
>>>     option device '*br_iot*'
>>>     option enabled '1'
>>>     option proto 'none'
>>>
>>> config device 'device_lan_iot'
>>>     option mtu '1500'
>>>     option name '*iot5*'
>>>
>>> config interface 'lan_iot'
>>>     option auto '1'
>>>     option device '*iot5*'
>>>     option enabled '1'
>>>     option proto 'none'
>>>
>>> config device 'device_lan_iot'
>>>     option mtu '1500'
>>>     option name '*iot2*'
>>>
>>> config interface 'lan_iot'
>>>     option auto '1'
>>>     option device '*iot2*'
>>>     option enabled '1'
>>>     option proto 'none'
>>>
>>> package wireless
>>>
>>> config wifi-device 'radio0'
>>>     option disabled '0'
>>>
>>> config wifi-device 'radio1'
>>>     option disabled '0'
>>>
>>> config wifi-iface 'wifi_iot5'
>>>     option device 'radio0'
>>>     option disabled '0'
>>>     *option ifname 'iot5'*
>>>     option mode 'ap'
>>>     option network '*lan_iot*'
>>>     option ssid 'iot'
>>>
>>> config wifi-iface 'wifi_iot2'
>>>     option device 'radio1'
>>>     option disabled '0'
>>>     
>>> *option ifname 'iot2'*    option mode 'ap'
>>>     option network '*lan_iot*'
>>>     option ssid 'iot'
>>>
>>>
>>> Why are ifname used and devices built that are not used ? If i add iot2 
>>> or iot5 interfaces as bridge members then deployment also fails. 
>>> Is it possible to built a cfg w/o ifnames and those interfaces ? Because 
>>> that config works - just use network in wifi-ifaces.
>>>
>>> thank you
>>>
>>>
>>> -- 
>> 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/f9c4d66c-2ab4-40f6-9e4a-c1353fde7da7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/f9c4d66c-2ab4-40f6-9e4a-c1353fde7da7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/f194082d-aa2d-43c1-92f1-1282c5179db1n%40googlegroups.com.

Reply via email to