> ppp_lcpechointerval and ppp_lcpechofails in your patch
> don't exist in the stock firmware.
Right, I forgot to mention these. I wanted to add to the text that one maybe should hardcode these to sane values, if one does not want to add them to OpenWRT.
> In the same manner, the variable ppp_idletime is actually
> used as the timeout for LCP echos.
Which means, in other words, that the idle time of the link cannot be set in OpenWRT. (Which OTOH does not matter much as pppoecd is called with -k
> How the command argument are used is defined in
> buildroot/build_mipsel/WRT54GS/release/src/router/ppp/pppoecd/options.c.
Yes, I know, that's where I found out why my setup didn't work as it should.
> Basically, the nvram variables passed as args to pppoecd
> are simply misnamed by Linksys, but they do seem to be
> used in a consistent manner. We perpetuate these misnomers
Ok. I don't know Sveasoft's Firmware, but maybe one should at least then replace my patch with one that updates the comments in /sbin/ifup, explicitely stating that the call which seems to do thing (a) does something different in reality? (And your short explanation why it's THE RIGHT WAY(TM) the way it is. 
It least to me pppoecd's behaviour was pretty confusing at first...
Greetings,
Gunter