Problems connectiong using 5.0 & activesync 4.2

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have a problem with a new device I got ( Symbol MC9090 ) it's running
Windows Mobile 5.0 and it has installed a program I wrote that establish a
TCP connection to a remote machine.

When I connect the PPC to the cradle I see like a new network connection
trying to get an IP in the host. at the end it fails asI do not have a DHCP
active. The problem is that the created connection have IP 169.254.2.2 in
the host and 169.254.2.1 in the PPC and not defined gateway.

Of course when Itry to do a telnet to the remote machine it fails :(

I tried to assign a static IP to eht RNDIS interface but I stil the the
aboves IPs assigned.

The weirdest thing is that IE does have connection !!!

Where can be the problem? I'm been on this for a couple of days now and I'm
getting frustaed.


Thanks a lot !
Ignacio
 
It's the way ActiveSync and WM5 work. The device acts like a RNDIS network
adapter so, when you attach it to the PC, the PC sees a new network adapter.
It sets it up and communication between the device, which has a fixed
address on this 'network' of 169.254.2.1, and the PC, which is assigned
169.254.2.2 by the device, can occur.

You have Internet connectivity because ActiveSync has pass-thru capability
where it will send Internet requests of certain types from the WM5 device,
over the PCs default network connection to the Internet, and forward the
replies back to the WM5 device.

When you are connected with ActiveSync, any other network connection which
the WM5 device might have (802.11 or whatever), is disabled by ActiveSync to
prevent unintentional bridging between, say, the Starbucks next door where
the WiFi access point is, and the internal company network which is
accessible via ActiveSync. Telnet doesn't work when connected via
ActiveSync because AS chooses not to support forwarding of Telnet traffic.

Paul T.
 
Hi Paul,

Thanks a lot for such a complete and detailed answer.

Unfortunately it only explain the cause of the problem, not how to solve it.

I need to transfer data from my app running in the PocketPC using a TCP/IP
connection, how can I do it?

The device has several others net adapters (NE2K, etc ) and I don't need to
sync any info with the host at all, is there anything I can do to deactivate
the AS and still have connectivity to the network?

Thank for your answer !

Pd:
The reason I posted here is cause the PPC app is a CF app :)
 
You need a real network connection other than ActiveSync, I believe. I
can't speak to what's in your device, but Symbol has many sorts of devices
and you can, no doubt, find one from them or someone else which can
communicate on the network without a USB connection. Buy a device that has
a suitable network adapter in it or can be expanded using SDIO, Compact
Flash or whatever to add one, basically.

Paul T.
 
Hi Paul,

Thank for your answer,

IS there any way to disable this AS feature?
Does going with an older version of AS could solve the problem?
 
What ActiveSync feature are you talking about, exactly? You still haven't
said what characteristics the device has. If it has networking, you're
done. Don't plug the device into the USB port while you're trying to use
the network. If you don't have networking, then you need to get it somehow
*other than ActiveSync*. I'm not a Symbol sales guy, but I bet I could sell
you a different device, if I was, that would do this.

Paul T.
 
Hi,

The device in question is MC9090G, it only has wireless connection
apparentely.

But my real concern is with this new "feature" of AS (or WM5) that block the
pass thru. Is this by design?
Is there any way I can disable this and let any application from the PPC to
freely access the network as before?

thank in advance,
Ignacio
 
What's the problem, then? Use the wireless connection to do your network
I/O. Why do you even care about ActiveSync or USB at all? I get the
impression that you haven't actually been reading my replies...

Paul T.
 
Hi Paul,

I have, believe me :) and I do appreciate a lot all your help.

The thing is that at the client site there is no WI-FI nor plans to install
one.

What I find difficult to understand is why this HUGE change in the way that
AS and/or WM 5.0 works. Disabling connectivity from the device when docked
just to maybe improve security seems a little extreme to me.
 
I don't seem to have the problem that you're seeing connecting to port 23 on
a remote machine. Maybe the computer to which you are ActiveSyncing is
blocking you via a firewall or something similar.

Paul T.
 
Hi,

Maybe, I will try later today from a notebook, I also found this link
http://forum.xda-developers.com/archive/index.php/t-279341.html

and this post from a blog:
"OK managed to get my pass through back with AS 4.1. Hard reset your PDA
(while disconnected). Lose all the stuff you

can't back up/ synchronize (text messages, drafts etc.). Uninstall AS4.2 &
reboot. Install 4.1 & reboot. Make sure

AS 4.1 is connecting via 'ork Network'. Before connecting up, re-enter all
your settings into PDA. Change everything

so it connects via 'Work' not 'Internet' (i.e. via your PC/network not
GPRS/WAP). Connect to your PC. Pass through

worked again for me, good luck.

I've had to waste a day on this and lost a lot of information. Still not
impressed. Try again Microsoft, and why on

earth is there still no conflict management? "

Will do both today and post back the results

Thank for all your help !!!
 
Back
Top