Re: PPP from Windows to Embedded hardware?
From: Mazahir Poonawala [MSFT] (mazahirp_at_online.microsoft.com)
Date: 09/10/04
- Next message: Eugene Gershnik: "Re: CreateProcessAsUser and network share"
- Previous message: Harry Potter: "Re: how to post the data to the browser from LSP (how does browser works)"
- In reply to: Phil H: "PPP from Windows to Embedded hardware?"
- Next in thread: Phil H: "Re: PPP from Windows to Embedded hardware?"
- Reply: Phil H: "Re: PPP from Windows to Embedded hardware?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 15:42:54 -0700
Hi Phil,
Thank you for your question. I am trying to better understand your problem
and have some questions for you. As I understand it you have 2 machines, one
is a Win 2003 server and the other is a box running some 3rd party embedded
OS. Both these machines are connected via a phone line and modems on each
end. You are looking for a way to dial from the Win 2003 machine into the
embedded box, is that correct?
In order for the embedded box to be able to pick up the call, it will need
to have its own PPP server side stack and hopefully it is configurable as a
PPP server.
As far as callback goes, this is how it works for Win 2000/Win 2003 RRAS
servers. You can configure these servers for callback. When the PPP client
dials into the server, the server will then hang up the call and call the
client back. But the call has to be initiated by the client first.
Thanks,
Mazahir Poonawala
Microsoft Developers Support
This posting is provided "AS IS" with no warranties, and confers no rights.
"Phil H" <philhochstetler@community.nospam> wrote in message
news:5975CD9C-FB76-4D71-9547-5F5DD4A90936@microsoft.com...
> 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).
>
>
- Next message: Eugene Gershnik: "Re: CreateProcessAsUser and network share"
- Previous message: Harry Potter: "Re: how to post the data to the browser from LSP (how does browser works)"
- In reply to: Phil H: "PPP from Windows to Embedded hardware?"
- Next in thread: Phil H: "Re: PPP from Windows to Embedded hardware?"
- Reply: Phil H: "Re: PPP from Windows to Embedded hardware?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|