[FS#4021] ppp: uses weird defaults for "keepalive", inconsistent with luci

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Sep 9 03:16:07 PDT 2021


A new Flyspray task has been opened.  Details are below. 

User who did this - alxwk (alxwk) 

Attached to Project - OpenWrt/LEDE Project
Summary - ppp: uses weird defaults for "keepalive", inconsistent with luci
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - By default, luci PPPoE (and probably other PPP-based) interface page doesn't set any value for `network..keepalive`, so in the absence of that /lib/netifd/proto/ppp.sh
sets values lcp-echo-interval=1 and lcp-echo-failure=5. First, every 1 second is too frequent (which can lead to connectivity issues, as said in FS#2819), next, they don't correspond to the defaults displayed in luci (`0` for "LCP echo failure threshold" and `5` for "LCP echo interval"), and worse of all, they are impossible to be disabled by using luci, as any attempt to set "LCP echo failure threshold" to 0 makes luci to just delete network..keepalive with the aforementioned consequences. The only workaround is to set "keepalive" through uci command line.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list