Related
Okay, this has been bugging me for a long time, so I decided to solve this by myself once and for all.
Situation:
1. GPRS requires a proxy connection
2. WiFi and ActiveSync (A.S. on PC when connecting to an Exchange Server) "inherit" the same GPRS proxy settings, and are unable to connect to that proxy server, which make them both unusable.
So, naturally, I configured "The Internet" connection to use the GPRS access point and the GPRS proxy,
And "My Work Network" to be an internet connection WITHOUT a proxy.
But for some reason, that doesn't work.
The connections tab doesn't let "My Work Network" to be a "proxyless" internet connection.
I tried many configurations, trying to fool the wifi connection, until I got to a final solution that works.
The wifi knows to pick the connection without the proxy, so does the activesync, and so does the default GPRS connection, when no other connection is present, automatically!
So, the solution is this:
1. Go to the Start->Settings->Connections->Advanced tab->Select networks
Under "Programs that… Internet should connect using"
Click New to create a new connection:
Name for settings: Direct Internet
Modem: Leave Blank
Proxy Settings:
This network connects to the internet [Check]
This network uses a proxy [Uncheck, or Check and fill in your home proxy settings]
Click OK.
2. Under "Programs that… private network should connect using"
Click New to create a new connection:
Name for settings: GPRS Internet
Modem: Click New, and follow the wizard to add your GPRS access point.
Proxy Settings:
This network connects to the internet [Check]
This network uses a proxy [Uncheck, or Check and fill in your GPRS proxy settings]
Click OK until all windows are closed.
3. Now we need to get WiFi and AS to use the "Direct Internet" we created.
Go to the Start->Settings->Network Cards (Or Wi-Fi for some OSs)->Network Adapters tab
My Network card connects to:
set "The Internet"
(This will make your Wifi choose the "Direct Internet" connection, with the proxy you specified, or without a proxy)
4. On your PC, Open the Microsoft ActiveSync Window (Make Sure you have ActiveSync 4.5 or higher)
Click File->Connection Settings
This computer is connected to:
set "The Internet"
(This will make your ActiveSync inherit the "Direct Internet" connection, with the proxy you specified, or without a proxy)
That’s it, you're done!
The beauty is that Windows mobile knows it needs to use the "GPRS Internet", only when other connections are not present.
Now you don't have to mess with selecting a proxyless connection when connecting to a WiFi source, or using activesync
thank you very much for this, has helped very much.
i think this is a brilliant work around...... thank u soooooooo very much... i have been banging my head endlessly to try and find some solution to the problem i had.... and nothing could have been better than this....
:cheers:
Shlomki is there any way i can force MS Exchange to use AS when cradled? coz somehow it connects using GPRS even when cradled and connected to AS...
i'm happy to hear it helped you both!
phreaker18 said:
Shlomki is there any way i can force MS Exchange to use AS when cradled? coz somehow it connects using GPRS even when cradled and connected to AS...
Click to expand...
Click to collapse
if you followed the steps exactly as i described, exchange SHOULD use AS (your PC's internet connection). that's how its working for me right now.
when cradled and connected to AS, did you try browsing to a website to see which connection it tries to use? try to use PIE and see if it tries to connect to the GPRS or the PC's internet connection.
if it uses GPRS also, there might be a problem with your settings..
Repeat stages 1 & 4, they are critical for that matter.
Try stage 1 without entering a proxy server. just uncheck the proxy settings and check "This network connects to the internet".
Shlomki do u think i should uncheck enable advanced networking in settings--> connections-->USB to PC....?? do u think that maybe the problem creator?
shlomki said:
2. Under "Programs that… private network should connect using"
Click New to create a new connection:
Name for settings: GPRS Internet
Modem: Click New, and follow the wizard to add your GPRS access point.
Proxy Settings:
This network connects to the internet [Check]
This network uses a proxy [Uncheck, or Check and fill in your GPRS proxy settings]
Click to expand...
Click to collapse
when i complete step 2 [without checking proxy settings] and go back to see if this connects to the internet is checked or not it is always unchecked even though i check it some seconds more... am i doing something wrong here?? i dont think my GPRS connection uses any proxy settings...
phreaker18 said:
when i complete step 2 [without checking proxy settings] and go back to see if this connects to the internet is checked or not it is always unchecked even though i check it some seconds more... am i doing something wrong here?? i dont think my GPRS connection uses any proxy settings...
Click to expand...
Click to collapse
yes, it happens to me also. i think thats the way they intended it to be.
when you use a proxy with the work network, it doesnt uncheck the internet option.
are you using a proxy at all?
no i dont use a proxy..... i connect to the internet using a cable modem... n between the cable modem and the PC is my netgear WiFi router...
then why did you follow a post that's inteded for proxy connections
just select your proxyless gprs settings as your internet connection, and set active sync (on the pc) and network cards (on the ppc) to use "the internet".
im sorry if i didnt make myself clear.... i had proxies... since ur method didnt work i changed the whole setup on my PC and now i dont use a proxy...
but ur post was very informative nonetheless..
thank u again
shlomki said:
Okay, this has been bugging me for a long time, so I decided to solve this by myself once and for all.
Situation:
1. GPRS requires a proxy connection
2. WiFi and ActiveSync (A.S. on PC when connecting to an Exchange Server) "inherit" the same GPRS proxy settings, and are unable to connect to that proxy server, which make them both unusable.
So, naturally, I configured "The Internet" connection to use the GPRS access point and the GPRS proxy,
And "My Work Network" to be an internet connection WITHOUT a proxy.
But for some reason, that doesn't work.
The connections tab doesn't let "My Work Network" to be a "proxyless" internet connection.
I tried many configurations, trying to fool the wifi connection, until I got to a final solution that works.
The wifi knows to pick the connection without the proxy, so does the activesync, and so does the default GPRS connection, when no other connection is present, automatically!
So, the solution is this:
1. Go to the Start->Settings->Connections->Advanced tab->Select networks
Under "Programs that… Internet should connect using"
Click New to create a new connection:
Name for settings: Direct Internet
Modem: Leave Blank
Proxy Settings:
This network connects to the internet [Check]
This network uses a proxy [Uncheck, or Check and fill in your home proxy settings]
Click OK.
2. Under "Programs that… private network should connect using"
Click New to create a new connection:
Name for settings: GPRS Internet
Modem: Click New, and follow the wizard to add your GPRS access point.
Proxy Settings:
This network connects to the internet [Check]
This network uses a proxy [Uncheck, or Check and fill in your GPRS proxy settings]
Click OK until all windows are closed.
3. Now we need to get WiFi and AS to use the "Direct Internet" we created.
Go to the Start->Settings->Network Cards (Or Wi-Fi for some OSs)->Network Adapters tab
My Network card connects to:
set "The Internet"
(This will make your Wifi choose the "Direct Internet" connection, with the proxy you specified, or without a proxy)
4. On your PC, Open the Microsoft ActiveSync Window (Make Sure you have ActiveSync 4.5 or higher)
Click File->Connection Settings
This computer is connected to:
set "The Internet"
(This will make your ActiveSync inherit the "Direct Internet" connection, with the proxy you specified, or without a proxy)
That’s it, you're done!
The beauty is that Windows mobile knows it needs to use the "GPRS Internet", only when other connections are not present.
Now you don't have to mess with selecting a proxyless connection when connecting to a WiFi source, or using activesync
Click to expand...
Click to collapse
Thank you so much for this work around. You don't know how long I have been fighting this problem. What an elegant solution!
I think that I might try to abuse this to let other porgrams connect using T-mo GPRS since it seems that only web works when the Proxy is on, and other things work when its not.
woah
shlomki your the man!!!!
wahhhh
stumbled said:
shlomki your the man!!!!
Click to expand...
Click to collapse
ei shlomki, i use ur configuration for two days, after that I can't connect to my wifi router anymore
what will i do?????
stumbled said:
ei shlomki, i use ur configuration for two days, after that I can't connect to my wifi router anymore
what will i do?????
Click to expand...
Click to collapse
are you using wm6?
wm6 roms have a known issue with connecting to some secured networks.
try to set your router to allow unsecured connections and reconfigure your wifi settings in your ppc.
if it connects fine, the problem is with the wifi drivers.
shlomki said:
are you using wm6?
wm6 roms have a known issue with connecting to some secured networks.
try to set your router to allow unsecured connections and reconfigure your wifi settings in your ppc.
if it connects fine, the problem is with the wifi drivers.
Click to expand...
Click to collapse
im using WM5 in my Xda IIs blueangel...
what will i do?
stumbled said:
im using WM5 in my Xda IIs blueangel...
what will i do?
Click to expand...
Click to collapse
i don't know, sorry.
but it has nothing to do with proxy settings.
go to the blueangel forum in xda-developers and ask for help...
good luck
Hi Shlomki.
Followed the instructions when trying to connect with explorer it says cannot connect with these settings after further investagation for some reason the this connection connets to the internet check box won´t stick on the new connection we made or on work connection every time i go back to check it it´s unchecked again any ideas thanks
Dave
pftg4 said:
Hi Shlomki.
Followed the instructions when trying to connect with explorer it says cannot connect with these settings after further investagation for some reason the this connection connets to the internet check box won´t stick on the new connection we made or on work connection every time i go back to check it it´s unchecked again any ideas thanks
Dave
Click to expand...
Click to collapse
read the manual again, from start to finish, and do not skip a word.
if you're not using a proxy in your "Work Network Settings", this manual is not for you.
Hi
does anyone know either how to get VPN to connect thats built in vpn or a 3rd party VPN client that will connect to PPTP VPN's
I did setup VPN in my connection list, checked all the settings and they are ok but when i tap and hold on the vpn connection and tap on connect it does nothing, i tried bluefire vpn but that wouldnt connect, looking in to it more it seems to only connect to IPSec VPN's
I am using Vario 2 on T-mobile
can anyone Help?
Thanks
Hi
Couple of things to check.
Make sure you have two connections listed in your connections. The first being your internet gprs connection ie tmobile. The second being say My work network.
If not go to advanced tab/select Networks and select or create a new one for "Programs that automatically connect to a private network....." now edit this connection go to modem tab and make sure it DOES NOT have a modem listed as it will connect via your existing gprs or wireless internet connection. In the vpn tab add your pptp vpn settings. And in the Proxy settings make sure the "This network connects to Internet" box is NOT ticked.
Once you have the connections setup make a connection to the internet either your gprs or wireless, then go to connections vpn and tap hold connect and see if this works. You also may have to add intranet urls/address's to exceptions list so as to access them thru the vpn
Regards
Stephen
Hi
I can get connected to a vpn now but as soon as any traffic starts going over it it seem drop out and dissconnects, any idea what that could be?
thanks
PayableOnDeath said:
Hi
I can get connected to a vpn now but as soon as any traffic starts going over it it seem drop out and dissconnects, any idea what that could be?
thanks
Click to expand...
Click to collapse
Hi
any idea on this one ?
Thanks
Hi Everyone,
Having the Shift as my workhorse since some moths, there is still one annoyance I couldn't avoid: my VPN connections are interrupting the Internet connection when using 3G/HSDPA modem connecting to Internet in Vista/WM.
I was trying to search through all existing threads, but I still don't see anyone finding a solution.
I think the root lays in WM somewhere, since I cannot establish a PPTP connection in WM neither. In my case it is certainly not caused by the data provider, because I have checked it with them.
Let's try to put our knowledge together to sort this out !
This is normal behaviour I suppose
When connected to the VPN, the VPN must provide you with either a proxy or another internet gateway, otherwise you are just connected to a private network...
Maybe you mean something else, but from what I read it seems like you never got on the internet with VPN active.
If you did, and you are talking about intermittent network errors, then only high performance settings on your power settings may help.
If you could give more info I could help more. IP/Proxy/Gateway/ did it ever work yes no etc.
lucid said:
When connected to the VPN, the VPN must provide you with either a proxy or another internet gateway, otherwise you are just connected to a private network...
Maybe you mean something else, but from what I read it seems like you never got on the internet with VPN active.
If you did, and you are talking about intermittent network errors, then only high performance settings on your power settings may help.
If you could give more info I could help more. IP/Proxy/Gateway/ did it ever work yes no etc.
Click to expand...
Click to collapse
Lucid,
Thanks for replying. I will try to explain it another way.
1. When I am connected to Internet via Wifi, I have no problem using my VPN connection. I get authenticated and connected to the company network and the connection stays active as long as I want.
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
I hope this is more clear this way, any hints are very welcome !
jarbi said:
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
Click to expand...
Click to collapse
Thats exactly the same problem that i have had for over months - it just doesn't work and I can't see any way to get it to work - so much so, I don't use the Shift anymore - got a Tytn II and redfly and just remote desktop to a PC on the work lan!
jarbi said:
Lucid,
Thanks for replying. I will try to explain it another way.
1. When I am connected to Internet via Wifi, I have no problem using my VPN connection. I get authenticated and connected to the company network and the connection stays active as long as I want.
2. Using 3G/HSDPA Internet, the following happens:
- I start the same VPN connection, and get connected.
- Than my 3G/HSDPA connection breaks up, and the PPTP dialin stays alive - it doesn't have any use this way of course.
- When I disconnect from VPN, the 3G connection comes back automatically.
I hope this is more clear this way, any hints are very welcome !
Click to expand...
Click to collapse
The VPN that you are running is on VISTA side.(if yes try to see the routing table) by default the VPN get the default GW, and try to change it.
If this is the issue then you can go to the VPN connection properties -> Networking ->TCP/IP -> Properties -> Advanced -> IP Setings -> unchek the use the default GW on remote network.
regards
Is this a problem caused by this vista "feature", which disconnects the 3G Modem from Vista, as soon as an other network is being connected via WLan or via cable?
I think this is a stupid feature. Instead of that the users just should set the metrics for the networks manually and you can be sure, that Vista always uses the WLAN instead of the GSM/3G modem, if both where available.
alazarid said:
The VPN that you are running is on VISTA side.(if yes try to see the routing table) by default the VPN get the default GW, and try to change it.
If this is the issue then you can go to the VPN connection properties -> Networking ->TCP/IP -> Properties -> Advanced -> IP Setings -> unchek the use the default GW on remote network.
regards
Click to expand...
Click to collapse
alazarid,
Thanks a ton, the TCP/IP part did the trick ! Now my VPN has a use ).
cheers !
Ok guys heres the issue...
At first I thought this problem was associated with the fact that there may have been some software monitoring for other data connections, to disable the GSM modem when not needed...
After checking into everything, I found that there is probably NO software that does this...
Since WM handles the passthrough for the 3G connection, and ontop of that the actual endpoint for the data connection on the GSM connection is the WM side and not Vista, what happens is what when the VPN creates a connection and you opt-in to use the default remote gateway (I prefer to use it, because I require this for the work I do), the default gateway is updated on the 3G network interface.
I beleive that this update of configuration, then causes the WM side to stop the connection because either a) it doesn't know howto interprit this or b) retries to create the connection because it thinks there is an error.
I havn't played with this for a few weeks, and have my fair shareof other stuff I deal with, so I cannot remember if WM NATs the 3G connection, but the key thing breaking this is the WM side.
I beleive that IF you did want to hack up a configuration that uses the remote gateway, you could configure a VPN connection under Windows Mobile and have WM connect to the VPN, therefor the PC would be using that connection (but wouldn't be aware that its connected to the VPN), therefore giving the user access to the VPN, WITH the remote default gateway being used.
Again, as I mentioned its been a while since ive gone tech on my Shift, but I beleive this is correct. If anyone wants to add anything, please feel free.
I have a HTC Touch 3G (Jade) running Windows Mobile 6.1, i have managed to set up the VPN connection with my work server, the phone connects to the server (although it does say the connection is not encrypted), but when i set Activesync going of the phone the server drops the VPN connection
I have read about adding the server address into the exceptions list, but this does not help.
Any assistance would be much appreciated
Thank you
think it could be because if
settings->connections->connections->advanced-selecet network is set
to my home network
that would make the device try and use the network connection it get access to from active-sync and drop the connection it is using to connect to vpn
I would turn of the ability to use the active-sync as network connection
Rudegar said:
think it could be because if
settings->connections->connections->advanced-selecet network is set
to my home network
that would make the device try and use the network connection it get access to from active-sync and drop the connection it is using to connect to vpn
I would turn of the ability to use the active-sync as network connection
Click to expand...
Click to collapse
Thanks for the advice Rudegar
settings->connections->connections->advanced is set to;
Programs that automatically connect to internet = Mobile web
Programs that automatically connect to private network = My Work Network
I would try and change the later of the options
and maybe look in pc activesync for the ability to turn of network sharing
Help!!!!, still no joy
Does anyone know if it is because i am trying to connect to the VPN via a 'payasyougo' sim, having reads O2's info they only appear to talk about connections to VPN via 'pay monthly'?
Thanks
Hi!
I have been trying to connect to my to vpn pptp server (witopia.net) for 2 days. I tried every combination that i could think, but there must be something i am doing wrong. I think the mobile is trying to connect to the vpn server through gsm because everytime i try to connect the gsm signal bars disappear for a few moments. How can i make sure that the vpn connection goes through wifi?
I have managed to actually connect to the vpn server, but i cannot access websites like facebook and youtube from the Leo (I live in China and they are blocked). I am able to access blocked services through my iphone and laptop through the same vpn connection.
Any suggestions?
Thanks
PPTP on WM6 is a major problem. Especially if the server (and most do) required MPPE. Its one of the few niggles I have about WM. If you own the server your best setting up the conection using L2TP/IPSEC.
Or if you dont own the VPN server, and have a server laying around the house (as I do) you could set up your server to use the PPTP VPN then set there server as a Proxy, and connect WM6 to the server via proxy...so basically WM6>Proxy>VPN>interwebs
Hi Jagnet, Thank you for your reply.
Unfortunately i am not able to use Ipsec/L2TP in China, only PPTP works fine with blocked sites.
After trying many combinations, there is a step that i havent been able to figure it out.
Once i am in Start > Settings > Connections (tab) > Connections (icon) > Advanced (tab) > Select Networks, How do i select the WIFI connection in "Programs that automatically connect to the internet should connect using" opcion? . On the modem tab i only can choose "celullar line", "Celullar line (GPRS)" or "Hayes Compatible on COM1:", there is nothing about WIFI there, so when i try to connect at the vpn server specified in "Programs that automatically connect to a private network should connect using", the phone seems to be trying to connect via GPRS.
¿Any ideas?
Thanks
joaquinmora said:
Hi!
I have been trying to connect to my to vpn pptp server (witopia.net) for 2 days. I tried every combination that i could think, but there must be something i am doing wrong. I think the mobile is trying to connect to the vpn server through gsm because everytime i try to connect the gsm signal bars disappear for a few moments. How can i make sure that the vpn connection goes through wifi?
I have managed to actually connect to the vpn server, but i cannot access websites like facebook and youtube from the Leo (I live in China and they are blocked). I am able to access blocked services through my iphone and laptop through the same vpn connection.
Any suggestions?
Thanks
Click to expand...
Click to collapse
having similar issues with HD2. CMCC as well, in China.
I am getting a proxy IP address if I check on ipchicken.com, etc
but I am not able to open FB.
I am not using the PPTP option, but using their SSL service with
openVPN. but STILL not working..
right now on support chats with witopia.
VPN PPTP is simply broken in WM. It will work, but only with no encryption at all, which beats the purpose.
First of all sorry for bumping this old thread. But I have been looking and it seems kinda close to what I`m doing, oh a little new to vpn.
I have managed to sucessfully connect the HD2 via VPN in connections only when on the lan (outwith I need to contact O2 to get it enabled apparently). I setup a dialup connection in Win 7; HD2 says I`m connected to the VPN.
However heres the thing. Am I right in thinking that folders by default have to be shared. Therefore when using resco I can see network folders anyway, when connected to wifi.
So how would I prove that I can see folders shared to the VPN and not on the LAN as I cant seem to prove whether I`m seeing the folder via LAN and not on the VPN?
Sorry if its confusing but perhaps you get my drift? Or am I missing the point entirely....