you could add it to your pppd line as an option as in
/usr/sbin/pppd /dev/ttyS1 57600 persist connect.......
Not trying to be difficult, but with netcfg, setting up a dialup takes a couple
of seconds, then the ifup and ifdown commands work also...</.02>
Dean Irvin
8:20pm up 2 days, 8:45, 1 user, load average: 1.12, 1.11, 1.16
On Tue, 22 Feb 2000, Stephen M Lavelle wrote:
> Dean,
> i do not use /sbin/ifcfg-ppp0
> instead i have a script:
>
> #!/bin/sh
> #This script is for the case where you log on to your ISP
> /usr/sbin/pppd /dev/ttyS1 57600 connect "/usr/sbin/chat -f
> $HOME/chatscript"
>
> with $HOME/chatscript being like this:
>
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> ABORT "ERROR"
> ABORT "NO ANSWER"
> ABORT "BUSY"
> "" AT
> 'OK-\d\d+++\d\d\c-OK' ATH0
> OK ATDYOURPHONENUMBERHERE
> CONNECT ""
> ogin:--ogin: yourusernamehere
> assword: "your password here"
>
> Can I still use PERSIST elsewhere?
> Regards,
> Stephen
> Dean Irvin wrote:
> >
> > how about adding PERSIST=yes to your ifcfg-ppp0 file
> > then the crontab entries could be /sbin/ifup ppp0 in the morning and
> > /sbin/ifdown ppp0 at night
> >
>
>
> --
> mailto:[EMAIL PROTECTED]
>
> http://www.postfix.org - The Postfix Mailer -
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.