MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1500}
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
usepeerdns \
defaultroute \
MTU=${MTU:-1492}
ifconfig $IFNAME up
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
plugin rp-pppoe.so \
connect /bin/true \
usepeerdns \
IFNAME=$(nvram get pptp_ifname)
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
file /etc/ppp/options.pptp \
connect /bin/true \