From: Neoklis <neoklis@my-deja.com>
Subject: Need help on bash scripting
Date: 2000/04/11 [thread overview]
Message-ID: <8cvq2r$5jp$1@nnrp1.deja.com> (raw)
Hi!
I am trying to write a bash script to start a PPP connection by running
/etc/ppp/ppp-up and then downloading a number of websites into a file
using the -dump facility of Lynx.
I need a way of detecting the completion of the PPP connection by pppd
before allowing the script to start Lynx, and also a way to re-try the
connection if it fails for some reason (busy abort etc).
I have tried tailing /var/log/messages using grep to look for messages
from chat and pppd, but this is becoming much too complex as there seem
to be many different situations arising, especially when my ISP is
overloaded. Any help appreciated.
Thanks in advance!
--
Regards
Neoklis
My (ex-Acorn) RiscOS Homepage: http://www.arcsite.de/hp/neoklis
Sent via Deja.com http://www.deja.com/
Before you buy.
next reply other threads:[~2000-04-11 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-11 4:00 Neoklis [this message]
2000-04-11 4:00 ` Need help on bash scripting Tony Hammitt
2000-04-12 4:00 ` bmeyer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox