VPN problems with WM 5.0

VPN problems with WM 5.0

Post by Mike Dar » Mon, 29 Jan 2007 16:53:27


I'm trying to connect to my University's PPTP VPN with my Dell Axim X51v.
When I connect to my home 802.11 network, everything seems to work fine,
although trying to connect to the VPN (by selecting the VPN definition and
picking "connect") doesn't seem to do anything. However, all the other
applications (Pocket IE, Pocket Outlook) seem to work.

When I'm at school, I can connect to the access points without a problem. If
I go into Pocket IE, it seems to connect to the VPN each time I click a new
link, but surfing the web isn't a problem. My biggest problem is that when I
go into Pocket Outlook to check e-mail, it doesn't establish a connection to
the VPN, and so it can never check mail.

When the PDA connects to the VPN, I get a message window (attached to the
connectivity icon) saying "Connecting to <systemname>..." However, when I
click connectivity, all I can see is the access point. There's no option to
connect to the VPN, and the VPN never shows up there when connected.

I spent about 30 minutes on the phone with Dell tech support, who don't seem
to know anything about VPN support on their handhelds. Does anyone here have
any suggestions for making a more "permenant" connection to the VPN, instead
of connecting with each link? Is there a way to tell under WM5 that you ARE
connected to a VPN? Dell told me that the only way you can tell is by trying
to go to a web page, which seems pretty unbelievable.

Thanks for any help!
 
 
 

VPN problems with WM 5.0

Post by Mike Dar » Mon, 29 Jan 2007 17:14:38

The instructions the university gave for connecting are here:

http://www.yqcomputer.com/

It's for WM2003, but WM5.0 seems fairly similar. I've followed all the
instructions until step 8, where the VPN connection doesn't show up under
the "connectivity" icon.

 
 
 

VPN problems with WM 5.0

Post by Eric Hicks » Wed, 31 Jan 2007 23:42:59

Option 8 doesn't exist in WM5 anymore :( I'm really upset that this was
taken out as it means you either have to setup exceptions to trigger the vpn
connection or manually start the vpn connection from the connections menu
(where you setup the vpn connection in the first place). The only way to
force everything through the vpn conneciton is to goto the exceptions list
(
Start>Settings>Connections(tab)>Connections(icon)>Advanced(tab)>Exceptions )
and add *.* as an exception. This will match everything in all programs
that are connection manager aware (Mobile IE, Mobile Office, Windows Media
Play Mobile, File Explorer and a few others).

--
--
Eric Hicks [That_Kid] (MS-MVP Mobile Devices)

The MS-MVP Program - http://www.yqcomputer.com/ . microsoft.com This posting is
provided "AS IS" with no warranties, and confers no rights...
 
 
 

VPN problems with WM 5.0

Post by Mike Dar » Thu, 01 Feb 2007 15:32:27


That's a terrible design choice - why would people want LESS information
about what they're connected to?

The answer to my problem ends up being in the Pocket Outlook account setup
menu. Under advanced options, it asks which network to connect to. I had to
change it from "Internet" to "Work", and it then used the VPN.

If Microsoft reads this newsgroup, please add network code in WM6 that's
interpretable to humans. This "Internet" vs. "Work" connection doesn't make
any sense at all. How about "modem" vs. "Networked" connection? Or, how
about an option to allow users to choose a list of locations (home, work,
etc.), and have it configure the network settings (VPN, DHCP, etc.) based on
where you are?

Well, I won't hold my breath. Thanks for the help!
 
 
 

VPN problems with WM 5.0

Post by Microsof » Thu, 01 Feb 2007 22:35:06

Hi Eric, thanks for an explanation, what's "Option 8" btw?
My findings:
I wanted to always use VPN for ALL network traffic (at least when connected
to GPRS/3G).

Here's what I did:
added "*/*" to the list of exceptions for internal network (is it any
different from adding *.*?)
changed this registry settings
[HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA\Connections]
Select your VPN connection and set
"AlwaysOn"=1 (decimal)

VPN connects at startup and stays on (all programs like QIP IM and others
use it no problem) until ActiveSync does its first syncronization over VPN.
The sync is successful but VPN is diconnected AFTER ActiveSync finishes.

Direct push (on/off) has no influence on this.
I also modified the following registry setting - no use
[HKCU\Software\Microsoft\ActiveSync]
"DisconnectWhenDone"=0 (decimal)

any ideas?

Regards, Serge
 
 
 

VPN problems with WM 5.0

Post by MarsRove » Thu, 01 Feb 2007 22:41:55

Hi Eric, thanks for an explanation, what's "Option 8" btw?
My findings:
I wanted to always use VPN for ALL network traffic (at least when connected
to GPRS/3G).

Here's what I did:
added "*/*" to the list of exceptions for internal network (is it any
different from adding *.*?)
changed this registry settings
[HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA\Connections]
Select your VPN connection and set
"AlwaysOn"=1 (decimal)

VPN connects at startup and stays on (all programs like QIP IM and others
use it no problem) until ActiveSync does its first syncronization over VPN.
The sync is successful but VPN is diconnected AFTER ActiveSync finishes.

Direct push (on/off) has no influence on this.
I also modified the following registry setting - no use
[HKCU\Software\Microsoft\ActiveSync]
"DisconnectWhenDone"=0 (decimal)

any ideas?

Regards, MarsRover