RAS connection - how do I do it? - Windows Mobile Development and Hacking General

I want to make a connection to a server either via GPRS or via Activesync when cradled.
I used to use the API call RasDial on an old Windows CE 3.0 programme but this does not appear to make a connection under WM5 and fails to dial up a GPRS connection. It opens the port, etc but fails to dial.
Is there a simpler way to make a connection? Do I simply try to open a TCP/IP connection and the OS does it for me?
Any and all ideas appreciated!!
Dave...

Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser

Houser said:
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Click to expand...
Click to collapse
Thanks. I found a sample of how to do this in the SDK so I will modify my code to use this instead and see if it all works.
Dave...

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

accessing LAN from PPC with activesync

Hallo,
I've searched for a long time in the forum and in Internet but I was not able to find how to access a shared folder on my :shock: LAN. It seems I have to use pass-through connections but I'm not able to make it work. Every time I use pocket file explorer to open a shared folder (writing the complete UNC) I receive the message "the network path was not found" and then "network resource cannot be found .....".
My LAN is a 192.168.1.X network and I've seen that IP assigned to the PPC is 192.168.55.101
Thank for every help.
Rudy
I'm not sure.
But have you tried localhost????
HTH
Stefan
I've tried from pocket file explorer both \\localhost and \\127.0.0.1 but I've received always the same messages.
rudy
Tryed Pocket LAN yet?
It works
I have been trying to do this for months and pocket Lan works perfectly
There is a freeware network utility, named vxUtil.
Maybe this tool help you to solve the problem.
Utilities include:
DNS Audit
DNS Lookup
Finger
Get HTML
Info
IP Subnet Calculator
Password Generator
Ping
Ping Sweep
Port Scanner
Quote
Time Service
Trace Route
Wake On LAN
Whois
vxUtil (Personal) operates on all Windows CE-based Handheld, Handheld Pro, Palm-size and Pocket PCs and requires Windows CE 2.0 (or later).
http://www.cam.com/vxutil_pers.html
I've truid both pocket lan and vxUtil with no results. I can't ping the laptop. I think I could never ping it if the network segment of PPC and laptop are different. Laptop ip now is 10.0.0.8 and PPC always 192.168.55.101. Perhaps I should enabled a proxy on the PPC to route the ping.
rudy
do you have a personal firewall installed on laptop? try to disable and check
I have no firewall installed or active.
I was successfull in accessing the LAN using the software "pocket LAN CE", but this is obvious thus it installs a server software that stays resident in the tray bar of the deskop PC.
There must be a solution to access the LAN using only active sync!
As far as I know that's not possible without a LAN card.
The passthrough which is available via activesync works only for internet connections.
I might be wrong. Keep looking. Have done it for a long time an gave it up.
If you find a solution feel free to share at this forum.
Success
How about LAN over Bluetooth?
LAN over bluetooth
And how do we accomplish this with the XDA II while the XDA II has no profile for LAN over bluetooth.
Please share the info you've.
Because this is interesting to me too!
For me too I'm also trying bluetooth over XDA but aint working yet
:?
I have installed bluetoothGPS.zip file (found in this forum) and then I installed the Bluesoleil Bluetooth Software for the PC (evaluation version). I could get an IP for the PPC and see the LAN but Internet wasn't working. Anyway having the two Bluetooth Stacks at the same time on the PPC is not a good alternative...
So please:
-MS give us some more Bluetooth Profiles, cm on, you can doit!
- Tobias and Pocket Bluetooth Tools: Please finish the LAN profile, I already donated you :wink:
Cheers
Make sure that a "guest" account is enable on your server, and try protocals other than tcp/ip. Ipx/Spx is fair. I suppose I should ask first if the activesinc laptop is able to browse the target folder? If it can, then try mapping the share as a network drive on the laptop, and see if you can nav to it using activesinc??? I'm a newbie, and don't even have my MDA I yet (in about 2 hours, I will). I will definantly be trying lots of unorthodox crap, so I'll let you know if I get it to work! Good luck.

Internet Connection Problems

Hi All
I cannot get my application to create a GPRS connection when it starts. For example when Pocket IE starts it requests a GPRS connection and a new connection is created. I somehow cannot get that programatically using J2ME - java application. I cannot call the connection manager api from within j9.
I was wondering does anyone know of a simple exe programme that I can call which will create a GPRS connection.
There are many resources detailing how to create a GPRS connection
http://www.pocketpcdn.com/articles/conn_mgr.html
But I am stuck as how to do it as I only know Java.

is it possible to..

remote control ma ppc with ma pc via gprs??? how??!??
is there no way to control my pc from my ppc!??!!?
something like remote desktop(windows have..) ??
Most remote control software works using a regular network connection through active sync.
This should thus be possible with pretty much any nework connection, including gprs. Basically just dial gprs, get your phone's ip address, and use that for remote control. I think. In theory. But not fast.
V
Hang on. what are you asking? control you PPC from your PC or vice versa.
Either way, look into VNC.
V
no, i just want to control my pc From my ppc. can terminal services in programs do something for that??
another program?
JuNiOr_Gr said:
no, i just want to control my pc From my ppc. can terminal services in programs do something for that??
Click to expand...
Click to collapse
I would have thought so.
You'll need XP pro for the remote desktop server to be built in though. XP home does not have it.
Failing that, VNC, look here: http://www.cs.utah.edu/~midgley/wince/vnc.html
You can do this easily via GPRS. Simply connect to the internet via GPRS, and then start up Terminal Services Client on the ppc, insert the ip address of your pc, and step through the authentication dialogue. Of course you will have to make sure that your pc (running WinXP) has World Wide Web Services installed, so as to enable Remote Desktop via the internet.
Hope this helps.
i tried via terminal services , add my ip(of the pc) open the port from router, from my coputer click the allow other people to connect to this pc(also there i added ppc's ip) but could connect. i got an error from ppc.
i am using win xp pro .
i there another application like terminal services ??
VNC?
V
vijay555 said:
VNC?
V
Click to expand...
Click to collapse
couldnt download it
can u tell me which file? that one which sais PocketPC win2003?
i download that and a error came out
Did you enter your PCs IP address as seen on the PC, or did you enter the external internet IP? They are 2 different numbers, and regardless of whether you have ports open or not you wont be able to connect directly to the PCs network IP address.
If you're using an ADSL router then go to the configuration or settings page and find out what your internet IP is.
Re VNC
I've used this one quite well:
http://www.parystec.demon.co.uk/pt_vnc2.htm
But there are other free versions I imagine.
V
@JuNiOr_Gr
Which Port did you open for Terminal Services?
Did you then connect to you Internet IP from your PPC or to your local IP?
If you use VNC you have to open the VNC Port (default 5900).
Ist there a software firewall (e.g. XP Firewall) installed on your PC?
For terminal services to work you must have a password set on your XP account. Otherwise it should work with port 3389 forwarded. I use it fine from my Magician over GPRS.
Only thing is that it's a shame you don't seem to be able to turn off desktop background, themes etc that you can from the Desktop version of Terminal Services Client as this would improve speed.

Please help - My Mobiler and Wm5totage

Hi,
I am trying to stop using Active Sync, it seems to slow everything down tremendosly. I use My Mobiler connection via IP to run PIM on my desktop. I was looking for a way to sync files and seems wm5torage is the only application that would do it w/o AS present.
However, the moment I activate wm5torage My Mobiler loses connection. It seems wm5torage re-sets device's IP address to 0.0.0 "dummy" address. I was trying to set it back to no avail. If I de-activate wm5torage I can connect again.
So,
1) is there a way to have both programs running simultaneously ?
2) if not is there a file syncing application that doesn't need AS ?
Thanks !
I use TotalCommander and if memory serves me I have added a plugin which let the PPC show up in the network page of TC. Maybe you can also use TC on the PPC and make a wireless network connection.
i ever used wm5torage but it also didnt work, softick card export is better
try
You cant use booth programs at the same time.
Cause WM5Storage activates PDA in USB mode and simulates pendrive storage.
It disabling the connection with activesync and other programs to sync/connecting with PC.
Cheers,
Chris
Thanks all who replied.
I ended up figuring out how to connect SOTI Pocket Controller, which I also own, in TCP/IP mode - something I wasn't able to do before. So I am using its sync manager to sync files, for now (although I don't like it nearly as much as MobSync so I may end up re-enabling AS just for that).
I am using the my mobiler apps to control the phone via computer..however The gprs connection will be disconnected everytime i plug the cable data...
can anyone provide me with some help pls?

Categories

Resources