This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PPP-Stack dial-into
- From: Kelvin Lawson <klawson at ad-holdings dot co dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 14 Sep 2004 10:54:01 +0100
- Subject: [ECOS] Re: PPP-Stack dial-into
- References: <001b01c499a6$3eb9c780$130310ac@motznb>
How do I have to stimulate the device through the API so that the device
waits for a dial into connection?
You may get some luck out of a simple chat script that sets up
auto-answer and waits for an incoming connection. I chose to do away
with the chat script however - in my case, a separate modem manager that
handled dialin/dialout etc was more appropriate.
Once the modem has answered, you can bring up PPP with the regular APIs.
You will probably want to make a few changes to handle authentication in
a way that is appropriate for your system (file on disk, hard-coded
user/pass etc). See this thread for some details on that:
http://sources.redhat.com/ml/ecos-discuss/2004-06/msg00168.html
Cheers,
Kelvin.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss