Hi,

I'm looking at supporting Multilink PPP (using PPPoE) in OpenWrt and
LuCI.

I've experimented by adding a "MLPPP" protocol
to /usr/lib/lua/luci/model/network/proto_ppp.lua (and adding a copy of
proto_pppoe.lua to model/cbi/admin_network/proto_mlppp.lua).

Unfortunately the 320-custom_iface_names.patch PPP patch doesn't work
for Multilink PPP because mp_join_bundle() fails to find an IFNAME=pppX
when bringing up the second link.

So my MLPPP protocol as a virtual interface doesn't work because virtual
interfaces have to be named $proto-$config (e.g. mlppp-wan).

Now I've tried setting MLPPP up so it's not virtual and specified ppp0
as the Custom Interface.  But now I'm having trouble because my
proto_mlppp_setup() function in /lib/netifd/proto/ppp.sh doesn't seem to
be getting called.

I suppose the best solution is to fix pppd so custom interface names
work with Multilink PPP, but for now where can I find the code that's
preventing my proto_mlppp_setup() from getting called?  I'm guessing
it's because ppp0 doesn't exist (yet)?

Regards,
Nathan

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to