PS: if anybody would like us to perform different test on similar scenarios, in order to find out if we can add an automatism in OpenWISP 2 to take care of this kind of cases automatically, let me know.
The most common scenarios to test are: bridge between ethernet and wifi bridge between wifi and vpn bridge between wifi and tagged vpn bridge between wifi and tagged ethernet port bridge between wifi station (WDS connected to another WDS AP) and wifi AP (eg: to extend the signal coming from another WDS AP) Consider we have a bridge interface always named br0, if in all these cases, having *"network": [ "br0" ]* in the wireless definition doesn't hurt and the configuration always works as intended, I can try to make openwisp2 handle this case automatically, saving precious debugging time for ourselves and future users. This is an easy picking if anybody would like to start contributing more actively ;-) Federico On Friday, September 29, 2017 at 11:45:25 AM UTC+2, Marco Marino wrote: > > Good point. Anyway, thank you for your support. > Marco > > Il giorno venerdì 29 settembre 2017 11:06:20 UTC+2, Federico Capoano ha > scritto: >> >> It's not really a bug, it's a strange thing about OpenWRT that puzzles >> everybody. >> >> Wifi interfaces can be attached to multiple interfaces. Weird. Sometimes >> the configuration you initially used works, sometimes not. >> It may be possible to abstract this kind of details directly in OpenWISP, >> but first we have to be sure the configuration I suggested works for most >> common cases. >> In that case, I could change the OpenWRT backend so that it could >> generate the correct output automatically even with the first configuration >> you tried. >> But I wouldn't want to introduce this change before I'm more than sure it >> works well in 99% of cases. >> >> Federico >> >> On Fri, Sep 29, 2017 at 10:30 AM Marco Marino <[email protected]> wrote: >> >>> It works! thank you >>> is this a bug or I did in the wrong way? >>> >>> >>> >>> Il giorno venerdì 29 settembre 2017 10:22:52 UTC+2, Federico Capoano ha >>> scritto: >>>> >>>> Try this and let me know: https://pastebin.com/J9eQLYmL >>>> <https://www.google.com/url?q=https%3A%2F%2Fpastebin.com%2FJ9eQLYmL&sa=D&sntz=1&usg=AFQjCNFOtT4iwMtkJ1MqUBu4Y-NG6BrXjA> >>>> >>>> Note the addition of "br0" to the "network" field of "wlan0". >>>> >>>> Federico >>>> >>>> >>>> On Friday, September 29, 2017 at 10:12:12 AM UTC+2, Marco Marino wrote: >>>>> >>>>> Hi, >>>>> my netjson should be: http://pastebin.centos.org/299966/ >>>>> >>>>> and you can check the downloaded configuration attached to the post. >>>>> Thank you >>>>> >>>>> >>>>> >>>>> Il giorno venerdì 29 settembre 2017 09:47:47 UTC+2, marco.cappellacci >>>>> ha scritto: >>>>>> >>>>>> Hi Marco, >>>>>> Can you send me your netJSON and the downloaded configuration? >>>>>> >>>>>> Bye >>>>>> >>>>>> >>>>>> >>>>>> Il 29 set 2017 09:41, "Marco Marino" <[email protected]> ha scritto: >>>>>> >>>>>>> Hi, I'm tryin to create a template with 3 interfaces: >>>>>>> - one network interface: vpn0.100 that is a vlan with tag = 100) >>>>>>> - one wireless interface: wlan0 that manages a wifi without >>>>>>> encryption, using a predefined "radio0" radio) >>>>>>> - one bridged interface: br0 that bridges wlan0 and vpn0.100 >>>>>>> >>>>>>> The problem is that wlan0 is outside the bridge after the download >>>>>>> of the configuration. Please, someone can help me to solve the issue? >>>>>>> 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]. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>> 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]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
