Great. Many thanks. It applied the configuration without actualy testing it I guess because the device where I'm testing it is behind a DHCP modem and I lose connection to the controller after I set pppoe. Is that the expected behaviour when test_config is not set?
Em quinta-feira, 6 de abril de 2017 13:01:32 UTC-3, Federico Capoano escreveu: > > This is the relevant UCI ppoe block: > > On Thu, Apr 6, 2017 at 4:49 PM henriqsc <[email protected] > <javascript:>> wrote: > >> config interface 'wan' >> option ifname 'eth0' >> option proto 'pppoe' >> option username 'username' >> option password 'password' >> > > I've removed some options that are not actively used (the options with the > leading underscores, which are only used by internally by the webinterface). > > In order to generate the same UCI output, you must merge this NetJSON with > your current NetJSON (using advanced mode): > > { > "interfaces": [ > { > "type": "other", > "name": "eth0", > "network": "wan", > "proto": "ppoe", > "username": "username", > "password": "password" > } > ] > } > > I've just updated the documentation of netjsonconfig, the library which > generates the configurations for OpenWRT/LEDE, to explain how to use any > protocol, please see Using different protocols > <http://netjsonconfig.openwisp.org/en/latest/backends/openwrt.html#using-different-protocols> > . > > Federico > -- 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.
