Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Need help on bash scripting
@ 2000-04-11  4:00 Neoklis
  2000-04-11  4:00 ` Tony Hammitt
  2000-04-12  4:00 ` bmeyer
  0 siblings, 2 replies; 3+ messages in thread
From: Neoklis @ 2000-04-11  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-04-12  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-11  4:00 Need help on bash scripting Neoklis
2000-04-11  4:00 ` Tony Hammitt
2000-04-12  4:00 ` bmeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox