USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod)
-KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 10 lcp-echo-failure $KEEPALIVE}
+KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE}
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)
MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1500}
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
usepeerdns \
defaultroute \