HELP: Sync over the internet ??? - MDA, XDA, 1010 General

Is it possible to sync using activesync over the internet without running an exchange server? I'd like to be able to sync my XDA while I'm out and about to my PC at home.
:shock: :?: :?:

been trying to do the same for ages , but never found out how to do it

It can be done, under a few conditions:
1. You need to have a static IP address for you PC
2. You need to install Pocket Hosts or a similar free utility to map the WINS host name to your PC's IP address.
3. Your carrier / ISP must not have a firewall that blocks ports 5678 or 5679 (T-mobile seems to block this)
Remote active sync was designed with a local area network in mind and it is configured to connect to you computer by using the WINS name and not using an internet based DNS name. When you connect over an internet connection from your XDA, it is not able to find you PC.
If you install a free utility such as Pocket Hosts (http://zimac.de/cestuff.htm) you can configure the Pocket PC to be able to find you PC. This utility will allow you to configure you Pocket PC to map your PC Name to an IP address (similar to the HOST file on a Windows based PC)
Before I had the unlimited GPRS plan, I created a dial up connection to an ISP on my PocketPC Phone and it works perfectly. However, when I try the same thing over the GPRS connection, it does not work. From my end, it looks like T-Mobile blocks ports 5678 or 5679 on their firewall, which are the ports that remote active sync uses to complete the connection. (It looks like it is about to work, but then fails to complete the connection)
I have tried to convince t-mobile to fix this, but they keep claiming that it will not work out of the box, they don't know how to make it work, and they won't support it. They try to "upsell" me the sidekick or other device. I can't seem to get through to the right people. It seems crazy that a setting on their end blocks us from being able to sync over the air. After all, what is the point of a data connection if you are still restricted to using a cradle to sync. I understand that they don't want to support this and walk people through setting this up, but blocking the functionality seems pointless.
Anyone tested this on ATT? With number portability starting, I may have to explore other options. Anyone have an in at T-mobile that can get them to open up these ports on the firewall?

try www.yahoo.com
get an account (if you don't have one already)
login -- click on mail
the click the tab for addresses
on the next line to the right you will see the word "sync"
this will take you to download intellisync for yahoo
then follow instructions
sync you pda and your good to go, you will have your info on the internet and sync from anywhere
one more thing if youown a palm os and a pocket pc pda and you want to have both devices with same info (contacts, mail, notes etc. etc.)
the change the settings on your intellisync for your other device and resync
hope this helps it did for me...

Hi, I'm from the Philippines and my Network is SMART Communications. I tried synching with my active sync via GPRS but it seems it can't find my PC eventhough I used Pocket Hosts utility. It seems they block the port too. Anybody from Smart to please open the gate for us.
I've setup up my Win2k PC as dial-up server. And with the help of the Pocket Hosts utility, I can now be able to sync my Outlook over the air. But the call charges is killing me.
Jose

I've been investigating this myself too - and have to say T-Mobile's attitude is also alive and well here in the UK on O2 (via crapphone-whorehouse data support team).
I was actually shouted at by one of their 'tech' guys when I tried to persuade them that it could technically be done, but I needed to find out whether they were blocking the relevant ports. He eventually hung up on me! Fantastic service, eh!

I've been trying to get ActiveSync working over the Internet for the past few days and have finally managed to get it to work reliably. There are a couple of things that I have found...
Firstly, at least one of the ports required for ActiveSync does seem to be blocked when using GPRS (Vodadone UK in my case). Setting up a normal dial-up ISP connection results in first time connections to ActiveSync every time. It would be nice to know why there is problem over GPRS.
Secondly, my device was still connecting as Guest. Whilst reading through various other forums I found a fix that seem to work for this but it involves deleting a registry key. I wouldn't recommend it as I have know idea what else this key might be used for but it certainly solved the problem for me. The key I removed is HKLM/Ident/Username value is guest. The key is replaced automatically at some point (maybe after a reset) so if it stops working, you have to go and delete it again! There must be a better way....

That's great information, thanks.
I now have my device remote synching!
Just to summarise my steps to get things working on my XDA II:
1) XDA: Set up new work connection (don't you just hate the organisation of conenctions...) to a dial-up ISP over GSM, as O2 UK also block the ports required for activesync.
2) PC: Open sockets 990, 999, 5678, 5679 on my firewall
3) XDA: Use pockethosts to set up the IP address for my PC name
4) XDA: Change HKLM\Ident\User from guest to my normal PC logon user id
5) PC: Set allow network connections in activesync
6) XDA: Manually Connect to the ISP connection
7) XDA: Open activesync and click synch - away we go!

As an update to this, I had to do a full restore at the weekend after loosing all my data on the XDAII. The problem was not related to these changes but it made me look again at the Ident key. There are two keys normally like...
HKLM/Ident/Name Value<Your chosen PDA Name>
HKLM/Ident/OrigName Value<Pocket_PC>
This time I changed only HKLM/Ident/OrigName to the same value as in HKLM/Ident/Name and it connected first time. Also, this value does not seem to be reset unless you do a hard reset on the device. This may be better than changing the Username value though I have yet to try either on another computer where my preferred connection should actually be as a Guest.

Got it working
Thanks to andyclap's suggestions I finally got it working. It looks like T-mobile does not block any ports, but without the registry hack the error I got was the same as when I tested this over a dial up connection and blocked the ports on my firewall.
The other change since my last post is that I am using WM2003 and it requires you to set up a VPN connection to the PC instead of just using PocketHosts for the name resolution.

Related

[UPDATED 2/25/2009] SocksProxy v1.0: Free SOCKS proxy for internet sharing

I have created an SOCKS proxy server application to run on Windows Mobile phones. A SOCKS proxy is a proxy server that is capable of forwarding nearly all types of network traffic, similar to a NAT router. It is very simple to use. Simply type in the port you would like the proxy server to listen on (defaults is 1080), then click the large "Start Proxy" button.
In order to run this application you will need the .NET Compact Framework 3.5 installed on your device.
Some applications are SOCKS-ready and others are not. You can use FreeCap (freeware) to SOCKS enable any Windows application. ** FreeCap seems to have problems connecting to SocksProxy. Let me know if it works or doesn't work for you. **
I am *NOT* responsible for any fees charged to anyone for the use of this software. There is no warranty and no guarantee.
[UPDATE 2/25/2009]
I've completed the new version of SocksProxy. It implements socks version 4a. There is no security, so it will allow anyone to connect with any user id.
Please let me know of any issues you find.
[UPDATE 2/24/2009]
SocksProxy v1.0 Reboot
--------------------------------------------------------------------------------
I've completed the new proxy server. It looks pretty much like the old one, but I've anchored the controls to the edges so it should scale properly with VGA devices.
I've written a new Socks 4a proxy from scratch and completed ditched all the old code. It seems to be working pretty well, though a bit slow. I think I need to increase the size of my read buffers. I will have to write a smarter heuristic for determining the size of the buffer per connection though. I have them at 128 Kb now. I need to grow each buffer dynamically according to how it's being used, that way I don't create large buffers for connections that are only transfering small amounts before closing (downloading a small gif or javascript file, for example).
I'll probably release it tomorrow after some more testing.
BTW: I'm posting this through the proxy right now!
[UPDATE 2/24/2009]
I've decided not to move forward with the J2ME version of SocksProxy. I will however be writing a new .NET CF version. The current version's proxy is based on code I ported from a proxy targeted to the standard .NET framework. Some features in the standard framework are absent in the compact framework. When porting the proxy I pretty much just did it as quick and dirty as I could because I really wanted something that just got the job done. I didn't care how stable or 'good' it was because I hadn't even intended on releasing it to anyone. Since it looks like there's still a lot of interest I will be writing a new one from scratch. Don't expect too much; It'll be the simplest thing that possibly works, but it'll be stable and reliable.
I'll be naming this version SocksProxy 1.0 Reboot. I'm not upping the version number because I'm really not going to be adding any new features.
[UPDATE 11/4/2008]
I am working on a J2ME version of this application. I will no longer be maintaining the .NET version of the application. The SVN repository for the .NET version will continue to be available. I have no plans on taking it down.
I have decided to switch to J2ME because I will be able to reuse source code in a future Android release -- that is, if Google or someone adds the ability for Android to have more than one IP address.
[UPDATE 10/27/2008]
There is a usage issue with the application with certain configurations of Windows Mobile and Activesync. It seems that when the Activesync host (your PC) has a connection to the internet the handheld device will prefer to connect to the internet via the PC's connection rather than its cellular connection. This completely eliminates any benefit to using the proxy. Does anyone know how to prevent the handheld from routing its internet traffic back through Activesync? Note that this is NOT solved by setting the "Allow data connections" setting in Activesync.
[UPDATE 10/27/2008]
I have updated the SVN respository (https://pchasco.homedns.org/svn/SocksProxy/trunk). Here are the changes:
* Changed "Listening on" box to list all IPs on the handheld
* Added an IP box. Enter an IP to listen on that IP or leave blank to listen on all.
* Rearranged form
* Added "Use selected IP" button to insert into the IP box the IP selected in the list of available IP addresses.
You can enter any IP address in the IP box, but the proxy will fail to start if the IP is not valid for your device.
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Can someone please explain a sample usage of this software on Windows Mobile?
pchasco said:
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Click to expand...
Click to collapse
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
abdulzis said:
Can someone please explain a sample usage of this software on Windows Mobile?
Click to expand...
Click to collapse
I'm not sure what you mean. An example of how to use it or an example describing why someone would want to use it?
hoopsbwc34 said:
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
Click to expand...
Click to collapse
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
pchasco said:
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
Click to expand...
Click to collapse
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
edit... I'm good with using it without ICS, but that doesn't seem to work either. No matter when I click start proxy, I get an IP of 0.0.0.0 and if I connect my computer via USB I can't ping that address.
hoopsbwc34 said:
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
Click to expand...
Click to collapse
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
I think there is a setting in ActiveSync that says "allow wireless connections when connected" sounds like that might be your problem.
Mr_Gee said:
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
Click to expand...
Click to collapse
Sounds like the same thing that is happening to me. I finally got it to give me an IP address, but only if my data connection is inactive. As soon as the data connection is active it becomes a 0.0.0.0 IP address. Bug?
I tried to establish the IP, then activate the data connection... still doesn't work when I enter the IPort into my proxy list for firefox.
hoopsbwc34 said:
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
Click to expand...
Click to collapse
I am not sure why you are receiving 0 as your IP address. Check in Settings->Connections->USB to PC that "Enable advanced network functionality" is selected.
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
pchasco said:
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
Click to expand...
Click to collapse
Yes I know... :-/
Well, if I have time in the next few days I will take a look and see whether there is anything I can do. Maybe there is another IP address available on your device but for whatever reason I'm displaying the loopback instead of the external interface.
What happens when you set your proxy client up to go to 169.254.2.1:1080?
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Sounds like the same bug I am getting.
An example describing why someone would want to use it?
abdulzis said:
An example describing why someone would want to use it?
Click to expand...
Click to collapse
If you can't use ICS and want to connect to the internet from your desktop, you can connect your phone using USB and start this proxy, then you can setup your desktop connection to use the proxy to get internet access.

Activesync Help Thread

-PLEASE KEEP THIS THREAD FOR SOLUTIONS AND UNLISTED PROBLEMS- Not COMPLAINTS!!!! A Complaint without a Solution is Worthless​
I definitely don't have any good answers to the age 'ol problem of connectivity issues with Activesync. I have been scouring the internet for hours and hours and hours trying everything and anything imaginable to get it working flawlessly. I haven't seen a Thread like this anywhere so I thought I would make one with easy, quick navigation to a system of solutions.
What I am running and have tested the following avenues on:
ROM Version: DCD 3.2.5​Radio Version: 3.42.30​
---------------------------------------------------------------------------------------------------------------------------------------
Here is what all the different forums recommend:
- Reinstall Activesync- 4.5 is the most resent and, supposedly with the fewest bugs.​
- Restart both desktop/laptop and also soft reset the PPC​
- If you are running a Firewall, either:​(a) Follow the instructions on this page to add ports to your firewall to allow communication with Activesync​(b) Completely turn off your Firewall. "Not reccomended"​
- Some sites recommend that you turn off your antivirus to see if that helps. "Also not recommended"​
- Ensure that no other program is using the same port/ports that activesync also uses. Most of these programs are file sharing, remote login, and other similar programs. -If other programs do exist, either alter their ports or turn them off completely​
- On the PPC- toggle the "Enable advanced network functionality" on and off- located START->SETTINGS->CONNECTIONS->USB to PC​
- Opening Outlook. Some say this helps Activesync connect.​
- One far fetched idea is to continuously pull out and plug in the USB cord until it connects. If it still doesn't connect, restart PPC and try again.​
- Replace the USB cable and/or trying different USB ports on the computer​---------------------------------------------------------------------------------------------------------------------------------------
I have done everything imaginable and I can't seem to get any kind of a reliable connection.
Here is a list of all the issues I have had:
~ Activesync connects and never syncs, arrows turning​~ Activesync in the Sys Tray says connected- arrows stopped, but the program says connecting- arrows turning- Never connects​~ Activesync connects, starts to sync- then suddenly disconnects and no longer recognizes the device​~ Activesync tries to connect but says it cannot communicant with device- Runs troubleshooter and finds nothing wrong​~ Windows identifies device as unknown and avtivesync does nothing- even searching for the device turns up nothing.​
Some of these issues are a hit an miss, but I am almost guaranteed to have one of the above problems every time I try to connect.
If anyone has any more ideas for me, that would be great! Please help spread the word of known fixes to the horrible world of Activesync.
I truly hope this helps everyone who reads it.
-PLEASE KEEP THIS THREAD FOR SOLUTIONS AND UNLISTED PROBLEMS- Not COMPLAINTS!!!! A Complaint without a Solution is Worthless​
Have you tried deleting all the mobile devices showing up and then start over.....you can also go into the device manger and delete everything there as well....if anything is showing....
I am experiencing the exact same issue with the exact same Rom/Radio. Now when I go to Connections\USB to PC and try to uncheck "Enable Advanced network functionality" I get this message: Failed to disable RNDIS to use Serial. Hope this helps in troubleshooting.
Thanks for all you do DCD and GC!
Web2mail calendar & Desktop Calendar
After signing up with Web2mail live version my active sync has two accounts. The outlook account I familiar with and the exchange server account via mail2web.com.
Is it possilbe to sync my desktop calendar under activesync with the exchange server calendar? Any pointing to help, threads or pdf manuals would be greatly appreciated.
Ciao
Darrell
I believe that if you click on each account under activesync you will be able to select what you want to sync with each, but cannot be in both. I do all but e-mail on my work PC. Use the Exchange server for e-mails. When I plug into cable on PC it will sync both the exchange server and the PC items.

Remote Desktop Woes

I am seriously frustrated here:
I have an Ameo 16 GB (T-Mobile UK) and for the 1st couple of weeks remote desktop was working fine, then suddenly it stopped working.
I thought I broke the settings somewhere, so I double-checked everything. The T-Mobile Ameo comes with the default T-Mobile Internet connection pre-configured. It actually states "This connection is pre-configured. It cannot be modified."
The default settings are programs that auto connect to the Net should connect using the default T-Mobile Internet connection, and programs that auto-connect to a private network should use "My Work Network".
"My Work Network" has no values set anywhere.
Normal Internet access is fine in either IE or Opera (branded by T-Mobile as Web'n'Walk).
I have changed so programs that auto-connect to private network use T-Mobile Internet connection, same result as before.
I have set up a custom Internet connection for "My Work Network" using "general.t-mobile.uk" as access point, "user" as username, "pass" as password and domain left blank. I can connect to the Internet with these settings, but not via Remote Desktop.
Sometimes, normally after having re-booted the Amea and manually connected to "My Work Network" (as per settings above) I can connect, but it drops the connection while I'm still typing in username and password.
Normally I get either of these error messages when trying to connect via Remote Desktop:
"Cannot connect. Likely reasons are:
1) Specified computer name or ip does not exist.
2) A network error occurred while establishing the connection"
or
"Cannot connect with current connection settings. To change your connection settings, tap Settings".
I have cleared storage memory on the Ameo five times. I have phoned T-Mobile tech support who basically told me to sod off - apparently as long as the device can browse the Net they've done their job!
I have had T-Mobile replace the device and this morning I received a brand-spanking-new Ameo. I fired it up, let it go through the customisations, and reboot, then I tried Remote Desktop without changing anything or installing anything. And I got the same as above!!!!!
Please, guys, I'm desperate! Any help is very welcome here! I do network support for a living and I got the Ameo because I can fit a server's entire screen in and have a seperate keyboard. Except now I can't use it!
I used to have a Universal, which I sold to help finance the Ameo, so I'm truly stuck!
Oh how I wish I could unlock the damn thing and flash a better ROM to it!
Just as an update, yes, I've tried using "My ISP" as well, with the same results. And yes, everything's just peachy on the servers I need to connect to - I can connect to those servers using other devices.
And no, using Logmein is NOT an option and please don't even mention any form of VNC - you have to be seriously foolish to run VNC on a server, you might as well pay for some banner ads that say "Come hack me!"
Please don't give me advice on setting up routers, or Remote Desktop on 2000 Server, Server 2003 or Server 2008. I can do those quite well.
What I cannot do is get my damn Ameo to connect and stay connected and I'm absolutely desperate for help there!
the same
my ameo on t-mobile has done same thing, stopped working about 2 weeks ago, was working fine till then, only reason i bought the damn thing (anmd yes, i too ebayed my exec, i regretting it
so anyone out there got any ideas? i have same problem using ICS so i am guessing either a network etting on the phone, or some idiot at t has closed rdp traffic (tried chanmging a port number to 80 on a test box behind my router, still no go)
What is the operating system on the target pc first off. as i had that problem with a hack fix on vista home premium
all i had to do was to re-apply the fix.
as far as remote desktop the Ameo 8gb model ( x7500) didn't have rdp on it so i used one of the ones from this forum but under another section ( i think it was networking but do s earch to find them )
needless to say mine has never stopped working
a good test is try it from your local wireless home network if it's a home pc, and if ti works then look at the forwards on your router, make sure 3398 is still forwarding to YOUR pc and that your pc still has the same IP.
if you have a static ip and no router. always check your firewall settings.
as far as other possibles if your internet is working and all other data connections then there's no reason it SHOULDN'T work as t-mobile do not filter out 3389 port.
it has to be a problem at the target machine or network in that case.
but feel free to tell us more about the target pc and how it's connected to the internet and maybe we can find a solution
also what RDP client are you using on your Ameo
Cyberjak, the target machines vary: Server 2003 Enterprise Edition running ISA Server 2006, and Server 2008.
RRAS is installed on the non-ISA servers, while ISA of course takes over where RRAS left off. In all cases ports 3389 (TC{P & UDP) is open for inbound access, and on the ISA box it is open for in and outbound access.
Had you read what I wrote in my second post you would have seen I need no help in setting up RDP. I build, support and maintain networks for a living and trust me when I say the issue is NOT with the remote servers, but with the Ameo! I can use a collegue's O2 Touch Diamond and connect to any of the servers, but not the Ameo 16 GB.
I'm using a default T-Mobile Windows Mobile 6.1 setup as my Ameo has never been unlocked or flashed, and I'm using the stock standard Remote Desktop client that came pre-loaded and that used to work.
The issue is either with the Ameo, or with T-Mobile blocking RDP.
NanoRuler said:
Oh how I wish I could unlock the damn thing and flash a better ROM to it!
Click to expand...
Click to collapse
Why can't you do this? Is your phone owned by the company and they would frown if you modified it? AP4 includes Remote Desktop Mobile, so you might try that ROM if you do unlock.
My device is a 7510 and Olipro's unlocker doesn't work on it. I have been explicitly told that the unlocker might brick it
Hallelujah! The age of miracles is upon us!
I've put in a complaint to T-Mobile, and out of the blue Remote Desktop started working, while I also received an e-mail from T-Mobile's tech support.
Here's an extract from the e-mail:
"I have came across someone else with this problem and we are trying a temporary fix by adding a update to your account which is on now, so if you could retry the connection and let me know how you get on"
My translation of the message: We screwed up by choking RDP to save bandwidth across our network, you (and presumably others) caught us out, so now we'll pretend we're the good guys and that we've discovered something wrong and we'll fix it, but don't expect us to say sorry!
I will give T-Mobile a ring today and see, I guessed it would be t-mobile as I ave a whole range of different RDP servers I connect to and none worked!
lol, T-Mobile took all of about 2 minutes to enable my RDP again, told them I knew it was there prob as I read on XDA-Developers, got to love the internet nice one NanoRuler
NanoRuler said:
Hallelujah! The age of miracles is upon us!
I've put in a complaint to T-Mobile, and out of the blue Remote Desktop started working, while I also received an e-mail from T-Mobile's tech support.
Here's an extract from the e-mail:
"I have came across someone else with this problem and we are trying a temporary fix by adding a update to your account which is on now, so if you could retry the connection and let me know how you get on"
My translation of the message: We screwed up by choking RDP to save bandwidth across our network, you (and presumably others) caught us out, so now we'll pretend we're the good guys and that we've discovered something wrong and we'll fix it, but don't expect us to say sorry!
Click to expand...
Click to collapse
RDP Port filtering or NAT misconfigured !
bhermer said:
lol, T-Mobile took all of about 2 minutes to enable my RDP again, told them I knew it was there prob as I read on XDA-Developers, got to love the internet nice one NanoRuler
Click to expand...
Click to collapse
Just realised what T-Mobile said in their e-mail "I have came across someone else with this problem" - was that you? That WOULD be funny!
Way I look at it if we don't stick together we'll get shafted by big corporations!
Used to know a guy who had something printed on the reverse of some of his business cards. It read "Doing business with your firm is like having sex: it gives one a feeling of warm bliss.....while being screwed!"
Thanks to T-Mobile I know what that feels like! Having said that I'll also categorically state the last guy I dealt with at T-Mobile knows his stuff and was very helpful.
Curious, it does lead to believe something about the ports being like group policy's that they use as the voice over ip ports only are open for WnW Max customers usually unless you scream at them after being with them for a long time. heheh
Nano, no offence mate but i've been doing similar work for years as well but it's sometimes the simple things so you can understand me asking.
you would ask a client the same thing.
NanoRuler said:
Hallelujah! The age of miracles is upon us!
I've put in a complaint to T-Mobile, and out of the blue Remote Desktop started working, while I also received an e-mail from T-Mobile's tech support.
Here's an extract from the e-mail:
"I have came across someone else with this problem and we are trying a temporary fix by adding a update to your account which is on now, so if you could retry the connection and let me know how you get on"
My translation of the message: We screwed up by choking RDP to save bandwidth across our network, you (and presumably others) caught us out, so now we'll pretend we're the good guys and that we've discovered something wrong and we'll fix it, but don't expect us to say sorry!
Click to expand...
Click to collapse
A possible solution for those of us on T-Mobile's standard web n walk
Sorry to resurrect this thread, but I thought I'd post my experiences here in case anyone else (like me) searches for a solution to enabling RDP on T-Mobile (UK at least).
I was having the same problem with remote desktop, it saying that the server was not available. I phoned up T-Mobile's helpdesk as recommended here and after getting past first line support (who didn't know what remote desktop was, and tried sending new connection settings to my phone to resolve the issue) I got through to someone who knew what they were talking about. Turns out that I'm on T-Mobile's "basic" or "handset-only" web-n-walk package, and it's not possible to use RDP on this. I assume they block the relevant ports. They told me that I could pay an extra fiver a month to upgrade to a version of web-n-walk which can handle RDP.
Well I told them I would think about it, but instead tried to find a way around it as the one or two times I need to use RDP are certainly not worth a fiver a month. My solution is probably only suitable for the more techy of us, but without much work and with no prior experience I managed to set up a SSH tunnel using FreeSSHd as a server running on my windows server (although a normal windows box should work fine - http://www.freesshd.com/) and zaTunnel as a client on my phone (http://www.zatelnet.com/zatunnel/main.php). Both programs are free.
Basically my phone takes all RDP connections and tunnels them over SSH to my windows server, which then turns them back into RDP connections. T-Mobile have no idea I'm using RDP, and if they block the SSH port in the future I can always change FreeSSHd to run on port 80 (for web). This will also work for other protocols T-Mobile might be blocking (FTP springs to mind).
Just thought I'd post this in case anyone was in my situation of needing RDP on their standard web'n'walk.
Cool! Thanks for posting your rather excellent work-around! I will certainly be referring people back to your solution.
I think T-Mobile's out of order for not allowing RDP on all plans, without absolutely clearly stating that on some plans it isn't allowed.
You're the customer and you pay for some bandwidth. Short of illegal activities, what you use that bandwidth for is none of their business.
T-Mobile Grrrr
Many Thanks for this thread.
My Remote Desktop stopped working on my phone last month but co-incidently it was around the time I was re-intsalling my server and also flashing numerous roms to my phone so thought it maybe something with that.
But then realised I could remote desktop over my wireless at home and from other networks across the net so it wasn't anything to do with config on my side. Thought either phone or network.
Flashed a rom with remote desktop that i KNEW worked and still nothing...
Thought - this MUST be T-Mobile... glad I'm not the only one.
Have sent an email and hopefully they'll enable Remote Desktop on my line.
There is no way I'm gonna start paying an extra £5 a month for something I've been using for the last 20 months as part of my package and have removed wihtout any notice/warning.
i'll tell 'em where to shove their £5 extra a month

[SOLVED] Help! TCPClient via Wifi .NET Compact Framework

SOLVED - But I'm not sure how, I was redesgning the app so that I could put it up here for other leo owners to test and gave it one last go to take a screenshot of the error to show people what I was looking for and viola it starts working (I never changed the TCP code) sorry anyone who finds this who has the same issue but it just randomly started working!!
Hi fellow devs,
After a massive googling session I have not been able to find an answer to the following issue:
I am writing a TCP client/server app with my PC as the server and the client being my HD2.
I am writing the app in VB.net using the .net compact framework 3.5 and the windows mobile 6 sdk.
I just cannot get the following code on the client side to work over wifi:
Code:
Dim ParsedIPAddress As IPAddress = IPAddress.Parse("192.168.1.10")
Dim client As New TcpClient()
client.Connect(ParsedIPAddress, 7209)
I get the following exception:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Click to expand...
Click to collapse
If I connect the phone via active sync it will work and I can send and recieve data ok so it appears there is no issue with the code itself.
While connected via active sync - if I turn off the server side app I get the following exception:
No connection could be made because the target machine actively refused it
Click to expand...
Click to collapse
However the exception message remains as the original if I do the above but using wifi so it just is not able to establish a link at all (or not even trying) using wifi??
-----------------
I have tried:
1. Ensuring that windows firewall on the server is off and not getting in the way of anything
2. Ensured that my mobile has got an active wifi connection and can see the machine (wifi remote control apps such as GRemotePro work ok)
3. Turned off all other types of data connection (GPRS,3G) to make sure my mobile has only one route out
------------------
Is there anyone out there who has successfully got TCP to work with the .net compact framework and if so how???
Should I be using another class rather than TCPClient maybe the underlying Sockets class?
Any help would be greatly appreciated.
Cheers,
Prime.
P.S. I don't mind if people only have a solution in C# I'm happy to do any translation etc...
Socket class also fails
Ok so I've tried the socket class now as well and that fails in exactly the same way over wifi, ensured that I can ping my device and ping my pc from the device so clearly the underlying hardware is working just not for the TCPClient or Socket... Any ideas anyone?
Have you enabled port forwarding for the relevant port and IP address in your wireless router?
That's the only thing that springs to mind for me.
Thanks for the reply but...
Hey John,
Thanks for trying to help although unfortunately this does not bear any consquence in this particular situation, you only need to do port forwarding if Network Address Translation is going on between you and the end point. In this case the endpoint (IP + Port) is on the internal LAN with no address translation in between. It appears the the internal WIFI adapter is not being accessed correctly from the application i.e. this is an internal issue on the phone not an issue with the network in general as I can run the same code via active sync and it works also I can convert the project to a standard windows pc app and run the same code from a pc and it works. Oh and of course every other damn (this is really wierd) wifi app I've got works so something with the .net cf and wifi maybe??
Cheers,
Tony.
A development...
Ok so I have dug out my old Orbit II just to see if this was device related and low and behold it is ARGGGHHH!!! The app works just fine on the Orbit II over wifi.
Does anyone know of any policies, security or otherwise, that would stop the HD2 (leo) from being able to use wifi from the .net cf?
<<--delete-->>
Generic reasons for communication failures
Hi
This is a pretty generic problem, I'm afraid you can't give an exact idea of where is the problem so I can't give also an exact solution.
Usually a communication problem is due to one of this three
1) The server does not listen or does not receive
2) There is a problem with the network
3) The client does not make the call
Type 1 should be checked trying to connect to the server with a PC or a laptop. You should be able to make the client run in a PC.
Usually when a (web) server has a (web) tcp service stopped, when you try to connect to it it rejects the connection (this is what that of "the target machine refused it" sounds to me). Start then the (web) service on the server. Change (web) for your application.
My advice is that you should have something in the server side where you could run a wireshark sniffer. Then you would see all the traffic coming from the PDA and see if your client is sending packets.
Type 2 are the ones that can be checked with a ping. Maybe there is a firewall somewhere dropping the packets.
Type 3 may be due to several things
a wrong code (I don't know, there is a lot of time since I made programs)
you're trying to connect to a dns name that can't be resolved. Try with IP address.
You have a wrong network configuration. The server should be in the same network but client is not able to get the server's (or the router's) MAC with the ARP protocol. So it doesn't make the call.
I hope it helps.
Regards

[Q] Making my own VPN

So, I was trying to make my own VPN to bypass my mobile network's blockage on Skype. I'm trying to get my Galaxy S3 connect to my home's PC which is totally fine with Skype.
I followed the steps here to setup a VPN on Windows 7. But when I tried to fill the VPN settings on my phone, it was unsuccessful.
What am I missing?
EDIT:
Couldn't post the link. The steps were :
Following are the steps for configuring Incoming VPN Connection in Windows 7
First go to Control Panel and open Network and Sharing Center.
Click on Change adapter settings.
Press Alt+F and select New Incoming connection
Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone,after that click on Next.
Put a check mark on Through the Internet. Click on Next.
Select the protocols you want to enable for this connection. Click on Allow access.
Make a note of the Computer name as this will be used by the client to connect to this computer and after that Click on Close.
Banana Phone said:
So, I was trying to make my own VPN to bypass my mobile network's blockage on Skype. I'm trying to get my Galaxy S3 connect to my home's PC which is totally fine with Skype.
I followed the steps here to setup a VPN on Windows 7. But when I tried to fill the VPN settings on my phone, it was unsuccessful.
What am I missing?
EDIT:
Couldn't post the link. The steps were :
Following are the steps for configuring Incoming VPN Connection in Windows 7
First go to Control Panel and open Network and Sharing Center.
Click on Change adapter settings.
Press Alt+F and select New Incoming connection
Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone,after that click on Next.
Put a check mark on Through the Internet. Click on Next.
Select the protocols you want to enable for this connection. Click on Allow access.
Make a note of the Computer name as this will be used by the client to connect to this computer and after that Click on Close.
Click to expand...
Click to collapse
I have to say, I highly advise against using any of the desktop-based Windows OS for a VPN server. The reason being is that although some functionality for providing an incoming VPN service may be there, it is by no means widely supported and where it is found, can be flakey and unstable at the best of times. Server-based operating systems, like Windows Server 2003, feature a very solid server base (hence the name) and as a result, have much more support and stability when it comes to hosting services used by clients. Further to the point of an actual VPN server, they are very difficult to get working properly and even more difficult to maintain, even on a server-based OS. I know running a server-based OS isn't something that everyone can (or wants) to do, so if you need to use a VPN service for whatever reason I suggest taking a look here: http://www.makeuseof.com/tag/7-completely-free-vpn-services-protect-privacy/ or if you wish to shell out a few pounds here: http://www.zeropaid.com/news/94826/top-5-free-vpn-services/ Anyway, that's just my opinion (although one I have developed from a professional background and having endured trials much like you are now) so on to the problem you face...
You say you have setup a VPN incoming connection, via a Windows 7 wizard. I encourage you to check this link out, and go over the motions it describes to see if there are any intermediate steps the guide you followed may have missed.
http://www.pcworld.com/article/210562/how_to_set_up_vpn_in_windows_7.html
After you have done this, please follow the following link to see the ports that are needed to be opened between you and the outside world. This will either have to be done at a) your firewall if you have one (could be software, ie Windows 7 Firewall, or hardware) or b) your router.
http://www.speedguide.net/faq_in_q.php?qid=163
I am unsure whether Windows 7 as a VPN server uses PPTP or L2TP for its service. However, I will hazard a guess and say PPTP, as L2TP I have only ever seen used on Unix-based system. Therefore you will need to open (or forward) ports 1723 and port 47 to your Windows 7 PC. As there are many different makes and models of home router I cannot give you specific instructions on how to do this, but a Google string such as "<your router name here> port forwarding" will no doubt give you guides on how to do this. My money is on something like your router/firewall just blocking VPN traffic, as the ports are not currently forwarded properly.
I hope this helps - let me know how it goes.

Categories

Resources