| 1 |
# You can use this script unmodified to connect to sites which allow |
| 2 |
# authentication via PAP, CHAP and similar protocols. |
| 3 |
# This script can be shared among different pppd peer configurations. |
| 4 |
# To use it, add something like this to your /etc/ppp/peers/ file: |
| 5 |
# |
| 6 |
# connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T PHONE-NUMBER" |
| 7 |
# user YOUR-USERNAME-IN-PAP-SECRETS |
| 8 |
# noauth |
| 9 |
|
| 10 |
# Uncomment the following line to see the connect speed. |
| 11 |
# It will be logged to stderr or to the file specified with the -r chat option. |
| 12 |
#REPORT CONNECT |
| 13 |
|
| 14 |
ABORT BUSY |
| 15 |
ABORT VOICE |
| 16 |
ABORT "NO CARRIER" |
| 17 |
ABORT "NO DIALTONE" |
| 18 |
ABORT "NO DIAL TONE" |
| 19 |
"" ATZ |
| 20 |
OK ATDT\T |
| 21 |
CONNECT "" |
| 22 |
|