public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Kelvin Lawson <klawson@ad-holdings.co.uk>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: PPP-Stack dial-into
Date: Tue, 14 Sep 2004 09:54:00 -0000	[thread overview]
Message-ID: <ci6f46$ugt$1@sea.gmane.org> (raw)
In-Reply-To: <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

      parent reply	other threads:[~2004-09-14  9:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 15:22 [ECOS] " Thomas Motz
2004-09-13 16:03 ` Nick Garnett
2004-09-14  9:54 ` Kelvin Lawson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ci6f46$ugt$1@sea.gmane.org' \
    --to=klawson@ad-holdings.co.uk \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).