Okay next question, in this script you quoted:
 
  defaultroute lock mru 1500 mtu 1500 modem crtscts asyncmap 0
  connect  '/usr/sbin/chat -v -f /etc/ppp/connect.com.au.chat'
  noipdefault /dev/modem 115200 user "username"
  lcp-echo-interval 300 lcp-echo-failure 10
  holdoff 60 persist
 
How do i specify a default ip address 61.8.6.86/24 ??
 
Thanx
----- Original Message -----
From: John Clarke <[EMAIL PROTECTED]>
To: Ryan McBride <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 09, 2000 11:05 AM
Subject: Re: [SLUG] PPP0 Autodial

> On Wed, Feb 09, 2000 at 07:50:46AM +1100, Ryan McBride wrote:
>
> > could anyone recomend a script for making PPP0 autodial/connect on boot.
>
> This is how I do it.  In /etc/rc.d/rc.local, I have this:
>
>   /usr/sbin/pppd call connect.com.au
>
> This tells pppd to setup a connection using the options in
> /etc/ppp/peers/connect.com.au.  This file contains:
>
>   defaultroute lock mru 1500 mtu 1500 modem crtscts asyncmap 0
>   connect  '/usr/sbin/chat -v -f /etc/ppp/connect.com.au.chat'
>   noipdefault /dev/modem 115200 user "username"
>   lcp-echo-interval 300 lcp-echo-failure 10
>   holdoff 60 persist
>
> And the chat script looks like this:
>
>   ABORT BUSY ABORT "NO CARRIER" ABORT "NO DIAL TONE" ABORT ERROR "" ATZ OK
>   AT&D2S95=47DTxxxxxxxx CONNECT ""
>
> You also need your username and password in /etc/ppp/pap-secrets.
>
> All this is explained in the pppd man page which you should read.
>
> Cheers,
>
> John
> --
> whois ![EMAIL PROTECTED]
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
>

Reply via email to