This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
PPP disconnect script
- From: Felix Nielsen <felix at dezign dot dk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sat, 03 Jul 2004 16:18:06 +0200
- Subject: [ECOS] PPP disconnect script
Hi
I am trying to get a persistent connection up and running using a GRPS
modem. After successful connection, at some point the connection is
dropped from the ISP provider, and I need to re-connect automatically.
Have enabled (=1) :
"extern int persist; /* Reopen link after it goes down */"
But before I can launch the connection again, I need to fire "+++" to
the modem, so the modem is ready again. I have been looking in the
source, and found :
"extern char *disconnector; /* Script to disestablish physical
link */"
But how do I initialize that script?
Any hints or examples would be appreciated.
Thanks
Felix
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss