On Wed, Jul 12, 2000 at 11:16:43AM +1000, Jason Rennie said:
--> Hi all,
--> 
--> I know some of the people on the list have bigpond direct dial ups, if
--> you are one of these people would it be possible to get a copy of your ppp
--> scripts ? The PPP-Howto is out of date and the updated version was giving
--> me a no route to host error, so i'm a little stuck in a few places.
--> 
--> Thanks in advance

Hi Jason,

The linux ppp configs off the BPD site work fine.. - but here's mine, incase telstra 
have changed them (My link has been running for a couple of years now..)


----- /etc/ppp/ppp-on
#!/bin/sh
LOCAL_IP=139.130.blah  # This is *YOUR* IP
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
cd /etc/ppp
exec /usr/sbin/pppd $LOCAL_IP: /dev/modem 38400 connect $DIALER_SCRIPT


------ /etc/ppp/ppp-on-dialer
#!/bin/sh
exec /usr/sbin/chat -v -f chat.telstra

----- /etc/ppp/chat.telstra   - put BPD dialup no into the ATDT string
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZQ1V1W1'
'OK' 'ATS2=254'
'OK' 'ATDT1234567890'
'CONNECT' ''

-----------

You'll also need to put your username/password into the /etc/ppp/chap-secrets file 
(username  *  password)

Oh, and my options file looks like this:

---- /etc/ppp/options  - you'll need to put your username and netmask in here..
name rendrag
-detach
modem
crtscts
defaultroute
asyncmap 0
mtu 1500
mru 1500
netmask 255.255.255.192

-----
That should about do you.. :) - you can put a persist in the options if you want it to 
redial on disconnection.

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052     -  Fax: 02 6299 9713


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to