PPP from Windows to Embedded hardware?

From: Phil H (philhochstetler_at_community.nospam)
Date: 09/07/04


Date: Tue, 7 Sep 2004 13:31:02 -0700

Background: I am trying to figure out what options I have available to
connect via dialup to a standalone piece of hardware via PPP over a POTS
modem. The "box" is running a realtime OS and has a port of the PPP stack
from Interpeak (basically a simple RFC 1661 and 1662 compliant
implementation). The firmware folks have gotten to the point where they can
dial an ISP, and connect successfully to the Internet. Normally, this is how
the device operates. It connects to the internet via dialup, pushes its data
via web services, then disconnects.

The problem: The task I am faced with is that sometimes, this device is
behind phone hardware that does not allow dial out, only dial-in. In this
case, instead of the device doing a push by calling an ISP and connecting to
the server via a web service, the server needs to call it. In the "call it"
case, it will need to establish a PPP connection and issue a simple command
over IP that will cause it to push its data over IP to a web service (just as
in the ISP case) over the existing PPP connection.

I tested connecting to the box from a Win2003 server box by running the "New
Connection Wizard". I choose "connect to the internet" so I could get it to
dial the modem. It established a PPP connection to the device but the remote
end did not get a name server (used 0.0.0.0) and used a real weird IP address
(0.0.0.3). The server end of the PPP connection used 10.1.3.3. This all
worked but several problems remain.

1) What I really want is for my server to be configured as a RAS server (ie
act as a ISP). If I do that, I'm sure the "call the server case" will work
fine. But how do I get the server to call the "box"? What I want is the
"callback" functionality but have it be server initiated (instead of "box"
initiated).

2) How do I get a "predictable" IP address? Once I have the connection up,
some server software will need to connect to the remote end to iniatate the
"push your data now over this ppp connection". To do that, I will need its
IP address.

3) I need to call more than one "box" at the same time.

4) The server software portion is a dot net server program written in C# so
all this needs to be callable via dot net (probably via P/Invoke).



Relevant Pages

  • Re: Email, SMTP & DNS configuration questions
    ... What I was thinking though is if our server was down, the ISP would get the ... come to your exchange server when the connection comes up. ... email account using the pop3 connector into a global ...
    (microsoft.public.windows.server.sbs)
  • Re: Client PCs and NAS not visible on server
    ... subnet correct on the external nic and make sure its dns points to the ... Can you ping 4.2.2.2 from the server. ... Now I do not have internet connection at all, ... Preferred DNS server: Supplied by ISP ...
    (microsoft.public.windows.server.sbs)
  • Re: Email, SMTP & DNS configuration questions
    ... really confused about DNS entries and now ask us to simplify it for you. ... You also mentioned that your ISP had setup an MX record but did they ... What I was thinking though is if our server was down, ... come to your exchange server when the connection comes up. ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange and POP3 Connector "The right way"
    ... ISP: Ipowerweb, domain name for this example: mysbs.com ... Internet connection: DSL with dynamic IP ... one server suddenly started working flawlessly using ... to Default SMTP Server and Small Business SMTP Connector. ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)