aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index 201900b0..dd7ab2a6 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -90,14 +90,15 @@ fi
if [ -n "$WVDIALSECT" ] ; then
exec /usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \
remotename $DEVICE ipparam $DEVICE \
- ${PPPOPTIONS} \
linkname $DEVICE \
noauth \
+ ${PPPOPTIONS} \
connect "/usr/bin/wvdial --remotename $DEVICE --chat $WVDIALSECT"
else
exec /usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \
remotename $DEVICE ipparam $DEVICE \
- ${PPPOPTIONS} \
linkname $DEVICE \
+ noauth \
+ ${PPPOPTIONS} \
connect "/usr/sbin/chat $chatdbg -f $CHATSCRIPT"
fi