This is the relevant UCI ppoe block:
On Thu, Apr 6, 2017 at 4:49 PM henriqsc <[email protected]> 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.