> Why dun have ifup and ifdown?!? hehee
What's that? :)
> I have configured pppd and setup my isp particulars using YaST (Singnet).
>
> But i am stuck. I am used to ifup and ifdown but i couldn't find an alternative in
>SuSE. I found ip-up and ip-down but dun have ppp-up and down.
>
Are these what you are looking for?
--
Thank you and Best Regards,
Eddie Tan
Aeon/Xe Technology Pte Ltd - the Linux & eCommerce Company
No. 8, Gul Ave, Kalstar House, Jurong, Singapore 629652
Telephone : (65) 2842006 Fax : (65) 2865240 Website : www.aeonxe.com
#/bin/sh
exec pppd \
connect 'chat -v -t 60 "" \
ATZ OK ATDT5371800 CONNECT "" name\> \
USERNAME word\> PASSWORD Local\> "c ppp"' \
/dev/modem 115200 asyncmap a000 debug crtscts \
modem passive defaultroute noipdefault
#!/bin/sh
######################################################################
#
# Determine the device to be terminated.
#
if [ "$1" = "" ]; then
DEVICE=ppp0
else
DEVICE=$1
fi
######################################################################
#
# If the ppp0 pid file is present then the program is running. Stop it.
if [ -r /var/run/$DEVICE.pid ]; then
kill -INT `cat /var/run/$DEVICE.pid`
#
# If the kill did not work then there is no process running for this
# pid. It may also mean that the lock file will be left. You may wish
# to delete the lock file at the same time.
if [ ! "$?" = "0" ]; then
rm -f /var/run/$DEVICE.pid
echo "ERROR: Removed stale pid file"
exit 1
fi
#
# Success. Let pppd clean up its own junk.
echo "PPP link to $DEVICE terminated."
exit 0
fi
#
# The ppp process is not running for ppp0
echo "ERROR: PPP link is not active on $DEVICE"
exit 1