When I was using pppd, I also had a little script, which basically
just did what the init.d script was doing, ie. something like:

    /usr/sbin/start-stop-daemon --$action --verbose --exec /usr/sbin/pppd -- 
connect "/usr/sbin/chat -v -f /etc/ppp/chatscript$long"

with $action being `start' or `stop'. I have been using diald for some
time now, so I do not know if it still works.

If all else fails, you could consider just doing an

            echo ATZ > /dev/modem

in you script. That should really take care of things.


---------------------------+--------------------------------------------------
Christian Lynbech          | Computer Science Department, University of Aarhus
Office: R0.32              | Ny Munkegade, Building 540, DK-8000 Aarhus C
Phone: +45 8942 3218       | [EMAIL PROTECTED] -- www.daimi.aau.dk/~lynbech
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - [EMAIL PROTECTED] (Michael A. Petonic)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .

Reply via email to