From 89dca649785a919576aa4b830969bba63ee89139 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Mon, 6 Dec 1999 15:52:35 +0000 Subject: Fix suggested by Adam P. Jenkins, tests fine here, may improve CHAP as well. --- sysconfig/network-scripts/ifup-ppp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index 2b245bbb..2b4b4a8c 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -74,7 +74,7 @@ if [ -n "${IPADDR}${REMIP}" ] ; then opts="$opts ${IPADDR}:${REMIP}" fi if [ -n "${PAPNAME}" ] ; then - opts="$opts name ${PAPNAME}" + opts="$opts user ${PAPNAME} remotename ${DEVNAME}" fi if [ "${DEBUG}" = yes ] ; then opts="$opts debug" @@ -95,15 +95,13 @@ fi if [ -n "$WVDIALSECT" ] ; then exec /usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \ - remotename $DEVICE ipparam $DEVICE \ - linkname $DEVICE \ + ipparam $DEVICE 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 \ - linkname $DEVICE \ + ipparam $DEVICE linkname $DEVICE \ noauth \ ${PPPOPTIONS} \ connect "/usr/sbin/chat $chatdbg -f $CHATSCRIPT" -- cgit v1.2.1