Re: RAS Server for Win CE 4.20 (x86)

From: Jeff Kelley [MS] (jeffkel_at_online.microsoft.com)
Date: 08/24/04

  • Next message: Dongquan.Z: "How to program a print app under CF?"
    Date: Tue, 24 Aug 2004 16:24:35 -0700
    
    

    There is a master server enable switch as well as individual line on/off
    switches. When you use RASCNTL_SERVER_GET_STATUS, it will return both the
    master switch setting as well as the invidividual line settings. When you
    write "i read the bEnabled value as 0", are you referring to the bEnable
    within the RASCNTL_SERVERSTATUS structure (which is the master server
    switch), or the bEnable within a RASCNTL_SERVERLINE structure?

    Note that the RASCNTL_SERVER_ENABLE IOCTL is used to enable the master
    server switch.

    Unless the defaults are acceptable, you will need to set up the baud rate,
    etc in the DeviceConfig blob. The sample code in
    public\common\oak\drivers\netsamp\rasserver\unimodemutil.c demonstrates how
    the speed can be set programatically. Here is a link to more info on this:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceoak40/html/coconeditingdeviceconfiguration.asp

    --
    Jeff Kelley
    Microsoft / Windows CE Networking
    This posting is provided AS IS with no warranties, and confers no rights.
    "Popoi" <Popoi@discussions.microsoft.com> wrote in message
    news:1217524E-9946-498E-80D4-B82DF896EC19@microsoft.com...
    > Hi all
    >
    > I'm trying to implement the RAS server in Windows CE 4.20 with little
    > success. I'm trying to follow the bullet points MS set up for starting it,
    > but i can't seem to get it running.
    >
    > What i have so far is a simple dialog app that does some basic querying of
    > the RAS server, i can enable and disable it.
    >
    > When i get the line information i find 2 lines: External Modem COM1: (a
    line
    > i attempted to create) and Serial Cable on COM1: (something that was
    probably
    > created by a code example from MS).
    >
    > However, when i query these lines using RASCNTL_SERVER_GET_STATUS in
    > RasIOControl() i read the bEnabled value as 0. If i try to Enable any of
    > these lines, using RASCNTL_SERVER_LINE_ENABLE, i get success, but when i
    > query again, bEnable is FALSE.
    >
    > Secondly: Do i need to set up baud rate, parity, databits, etc for serial
    > connections and modems? If so, how is that done? I've read about the
    mystical
    > DeviceConfig byte array that is undocumented... am i on the right track,
    and
    > how can i use it? I've been trying to use RasDevConfigDialogEdit() with
    zero
    > success. It returns an error value of 659. The documentation does not
    specify
    > what this means, or what defines are returned by the function.
    >
    > Any help or tips would be appreciated.!
    >
    > Cheers
    

  • Next message: Dongquan.Z: "How to program a print app under CF?"

    Relevant Pages

    • Re: RAS Server for Win CE 4.20 (x86)
      ... There is a master server enable switch as well as individual line on/off ... master switch setting as well as the invidividual line settings. ...
      (microsoft.public.windowsce.app.development)
    • Re: ConnectComputer Problem
      ... I'm a little confused by your network configuration. ... Switch2 --- SBS Server ... switch has internet access all the time, the second switch has the client ... NICs ...
      (microsoft.public.windows.server.sbs)
    • Re: RDP Connections - Freeze or Reconnect
      ... I immediately swapped the connector and cable out and plugged the cable coming out of the switch into the spare 100mb NIC adapter but still using the connector and extra cable. ... The connection of the 100mb LAN from then on appeared much more stable. ... If I logon and test the RDP connection with a dialup modem through RRAS (Terminal server is also a RAS Server), would you expect it to misbehave if it was I switch problem? ... You mentioned seeing a red X on the server's network connection in an earlier post. ...
      (microsoft.public.windows.terminal_services)
    • Re: DNS Issue(s)
      ... My junk pile has an HP Procurve 12 port switch. ... defragging ancient workstations and the server. ... If a workstation cannot see the server then it cannot resolve a dns ... Find this server's Active Directory replication partners that run the DNS ...
      (microsoft.public.windows.server.sbs)
    • Re: Weird Network Connectivity Problem
      ... choose a different switch port than the one you've been using. ... When this happens x199 can ping anything on the ... local network EXCEPT the SBS server, ... I've changed NICs, workstation IP, all the simple ...
      (microsoft.public.windows.server.sbs)