The problem may not be in your ppp script but either in your options (default
route), or with your chap secrets
Here is my chat script
'' 'ATZ'
'OK' 'AT S7=45 S0=0 L1 V1 X3 &c1 E1 Q0'
'OK' 'ATDT 43495800'
'CONNECT'
I use a shell to call the ppp daemon:
#!/bin/bash
pppd /dev/modem 115200 connect 'chat -t120 -v -f /etc/ppp/pond.chat' &
With the following options file
# /etc/ppp/options
#debug
name put_your_user_name_here
139.130.75.205:139.130.75.193
crtscts
lock
modem
#asyncmap 0
netmask 255.255.255.192
defaultroute
persist
and a simple and very insecure cahp secrets file which I really need to fix up,
I have been a bit slack here
# Secrets for authentication using CHAP
# client server secret IP addresses
* * not_my_real_password *
Cheers
Erich
--
Erich Schulz
Instrumental Technologies
PO Box 9170 Wyee, NSW 2259
Ph: (+612) 43593411, Fax: (+612) 43593696
Mob: 0408 201 288
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug