rc-scripts/trunk/sysconfig: interfaces/ifcfg-ppp0.ueagle-neostrada network-scripts/ifup-ppp
arekm
cvs at pld-linux.org
Sat Jan 21 13:18:59 CET 2006
Author: arekm
Date: Sat Jan 21 13:18:38 2006
New Revision: 6873
Modified:
rc-scripts/trunk/sysconfig/interfaces/ifcfg-ppp0.ueagle-neostrada
rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp
Log:
Generic PPP over ATM support.
Modified: rc-scripts/trunk/sysconfig/interfaces/ifcfg-ppp0.ueagle-neostrada
==============================================================================
--- rc-scripts/trunk/sysconfig/interfaces/ifcfg-ppp0.ueagle-neostrada (original)
+++ rc-scripts/trunk/sysconfig/interfaces/ifcfg-ppp0.ueagle-neostrada Sat Jan 21 13:18:38 2006
@@ -11,4 +11,6 @@
DEBUG=yes
MAXFAIL=0
-PPPOPTIONS="plugin pppoatm.so 0.35"
+PPPOA=yes
+PPPOA_VPI=0
+PPPOA_VCI=35
Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp (original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp Sat Jan 21 13:18:38 2006
@@ -89,6 +89,9 @@
MODEMMODE="pty"
MODEMPORT="pppoa3 -v1 -c -vpi ${PPPOA_VPI} -vci ${PPPOA_VCI} ${PPPOA_OPT}"
fi
+else is_yes "${PPPOA}"; then
+ MODEMMODE="plugin pppoatm.so"
+ MODEMPORT="${PPPOA_VPI}.${PPPOA_VCI}"
else
if is_no "${DIRECT_CONNECT}" || [ -z "${DIRECT_CONNECT}" ]; then
PEERCONF=/etc/ppp/peers/${DEVNAME}
More information about the pld-cvs-commit
mailing list