Connection manager and proxy servers. - Networking

My device is simple smart-phone with windows mobile 6.1 professional operating system. I have a problem with the connection manager and proxy servers. Let me explain my problem.
My application needs to get some date from the Internet. I use for that GRPS connection. But I need to specific WAP connection with PROXY. Below I put all steps which I do to make that kind of connection.
1. "Start" -> "Settings" -> "Connections"
2. Click the "Connections" icon.
3. Click the "Advanced" tab.
4. Push the "Select Networks" button.
5. Push the first from the top "New" button.
6. Enter a name for new connection (for example "mywap").
7. Push the "Modem" tab.
8. Push the "New" button.
9. Enter a name fro the connection (for example "mywapcon").
10. Access point name (for my operator is "wap").
11. Click the "Next" button.
12. Enter a user and password (both "wap").
13. Click the "Finish" button.
14. Click the "Proxy settings" tab.
16. Check the "This network connects to the Internet" box.
17. Check the "This network uses a proxy server to connect to the Internet" box.
18. Click the "Advanced..." button.
19. Click the "HTTP" item on the list.
20. Enter the "Server" host (for example "proxy.host.eu") and "Port" number (for example "8080").
21. Click "ok" button.
Now, I have a new connection which I can use in my application to connect to the WAP Internet with proxy. Below I put the steps which I make to request for my application about proxy and connection.
1. To get a GUID to my new connection I use the "ConnMgrEnumDestinations" method.
2. This GUID I use to make a request to the connection manager. I use for that the "ConnMgrEstablishConnectionSync" method. When the connection occurs the method above returns the handler to the my connection.
3. Now, I try to check about proxy servers to my connection. I'm using for that the "ConnMgrProviderMessage" method and a returned hander.
I read about that a lot of articles but it still don't work correctly. When I call the "ConnMgrProviderMessage" in the step 3, the operating system returns my the "E_NOINTERFACE" error. I don't know why because I defined the proxy server for this GUID connection.
Did you have that kind of problems in your applications ?? Can you help me ??

Related

MMS on Virginmobile

Has anybody had any success with getting MMS to work with a virginmobile payasyougo Sim card
I have got normal internet browsing working but cannot get MMS to work
Spoke to virgin and they have given me the following settings
Profile virgin mms
Server URL http://mms.virginmobile.co.uk:8002
IP 193.30.166.1
IP Port 9201
APN goto.virginmobile.uk
Login ID user
Password Leave blank
Bearer GPRS
I have entered some of these settings into the Connection that MMS seems to be using but I dont know where to put in the
IP Port and Server URL
Can any one help
Thanks
I don't know which version of windows your using as the MMS composer is different in WM2003SE. I can tell you how I got mine working and its a 2 stage process:
Part 1
1. Create a new connection by coing to Start->Settings->Connections and tap on the Connections icon.
2. Tap on the "Advanced" tab and then tap on the "Select Networks" button.
3. Tap on the lower one of the two "New..." buttons, i.e. the one below the "My Work Network" drop down menu.
4.0 On the "General" tab, enter a name of "Virgin MMS".
4.1 On the "Modem" tab, tap on the "New..." button.
4.3 Enter a name for the connection of "Virgin MMS", select a modem type of "Cellular Line (GPRS)" and then tap on the "Next" button.
4.4 Enter an access point name of "goto.virginmobile.uk" and then tap on the "Next" key.
4.5 Enter a user name of "user", ensure that all other fields are empty and then tap on the "Finish" button.
4.6 On the "Proxy Settings" tab, ensure that the "This network connects to the Internet" is NOT ticked" and then tap on the "ok" button in the top right hand corner of the screen.
4.7 In the drop down menu for "Programs that automatically connect to a private network should connect using:", change this back to "My Work Network" (or whatever was in this field before you started this process).
5. You can now exit from the Settings screens as Part 1 is complete.
Part 2
1. You need to go into MMS composer.
2. In WM2003SE you need to go into the "Tools->MMS Settings" option.
3.0 On the "Preferences" tab, in the "Connect via:" option, enter/select "Virgin MMS".
3.1 On the "Servers" tab, tap on the "New" button.
3.2 Enter a "Server name:" of "Picture Message"
3.3 Enter a "Gateway:" of "193.30.166.1".
3.4 Enter a "Port number:" of "9201". Don't worry if you don't have a "Port number:" field as the system will default to this anyway.
3.5 Enter a "Server address" of "http://mms.virginmobile.co.uk:8002" and then tap on the "OK" button.
3.6 Tap on the "ok" button in the top right hand corner of the screen.
That's the end of the two stages and you should now be able to send picture and video messages (I've tried both).
Two things to be aware of:
1. The send/receive does seem to take ages.
2. Don't try to send pictures which aren't JPG or BMP as they won't go and you end up thinking that there's a problem with your config. I speak from experience here.
GPRS settings on Vorgin?
Slightly Off topic but I'm trying to Use my xda 1 with virgin and am trying to get the GPRS set up and am struggling, is it essentially the same settings as these?
Many thanks
Nate :?:
The GPRS setting for internet access only involves 1 stage in order to set it up. It's almost exactly the same as the first part of MMS:
1. Create a new connection by going to Start->Settings->Connections and tap on the Connections icon.
2. Tap on the "Advanced" tab and then tap on the "Select Networks" button.
3. Tap on the upper one of the two "New..." buttons, i.e. the one usually below the "My ISP" drop down menu.
4.0 On the "General" tab, enter a name of "Virgin GPRS".
4.1 On the "Modem" tab, tap on the "New..." button.
4.3 Enter a name for the connection of "Virgin GPRS", select a modem type of "Cellular Line (GPRS)" and then tap on the "Next" button.
4.4 Enter an access point name of "goto.virginmobile.uk" and then tap on the "Next" key.
4.5 Enter a user name of "user", ensure that all other fields are empty and then tap on the "Finish" button.
4.6 On the "Proxy Settings" tab, ensure that the "This network connects to the Internet" is ticked and then tap on the "ok" button in the top right hand corner of the screen.
4.7 In the drop down menu for "Programs that automatically connect to Internet should connect using:", ensure that the "Virgin GPRS" entry is displayed.
5. You can now exit from the Settings screens as your connection set up is now complete. You shouldn't have to do any other config work to use the internet.
Ensure that when you try this connection that you don't have your XDA docked in its cradle or you won't be connecting via GPRS.
Happy surfing.
Thanks mate, thats done it. I have tried almost exactly that and didn't get it quiteright.
Appreciate the help.
Virgin MMS
Have entered this setup info into xda2 But it still wont connect and returns the following message
Dialed:gotovirginmobile.uk
Cannot connect for an unknown reason. To
check your connection settings and change
them if needed, tap Settings. If the
problem continues, reset your mobile device
according to your manufactures documentaion
and try again
Help
Thanks
If the above text is exactly what appears on your screen then your problem is easily fixed. It looks like your missing a full stop, i.e. "gotovirginmobile.uk" should be "goto.virginmobile.uk". This is the value you entered in step 4.4 of Part 1.
I tried removing the full stop on my M1000 and I got exactly the same error reported so this should hopefully sort the problem.
Virgin MMS
Sorry my mistake I had put goto.virginmobile.uk in at step 4.4
but omitted it from my previous post
Should the connection for MMS use the same one that internet explorer uses, that one uses one called MOBILE WEB GPRS that appears to have the same setup. Browsing on the internet works OK
regards
Check out this link,it may finally resolve your problem.
http://forum.xda-developers.com/viewtopic.php?t=21900

How to Sync over wifi?

Hey guys, anyone have an idea how to activesync over wifi with the prophet? I know activesync 4.1, which came in the box, does not support this, so i tried downgrading to 3.8, but activesync 3.8 wont recognize the device even through USB.
Any clues?
WM5 won't work with ActiveSync 3.x; it requires 4.x, which, as you've found out, doesn't support sync over WiFi.
Found this on Modaco if it will help.
1. Enter Network Connections
2. Create a new connection
3. Select 'Set up an advanced connection', click next
4. Select 'Accept incoming connections', click next
5. Click next on 'connection devices' screen
6. Check 'Allow incoming VPN connections', click next
7. Select all users which will be using this account
PPC settings:
1. Go to Settings/Connections/Connections
2. Select 'ADD A NEW VPN SERVER CONNECTION'
3. Enter the IP Address of your PC or its network name, select IPSec/L2TP and click next
4. Choose 'A pre-shared key' and enter some number combination (ex: 123456)
5. Enter user and password of desktop computer.
6. You're finished, enjoy!
Note: in case you have a firewall installed on the computer, you will need to change Activesync rules in firewall settings to allow connections to all IP addresses to default 169.254.2.2 address.
Pay attention that your PPC is setup as MY ISP/Work in CONNECTION settings.
it keeps returning "vpn server problems. verify your username etc..."
I'm trying this with an ad hoc connection. Could that be it? i know my username is fine...
Great, got it set up. Now how do I get activesync on my ppc to connect to the pc over the vpn?
Dudes
I wouldn't bother with this. As far as i can remember from the modaco thread no one got this to work!
XDA forum is different. Here the impossible can become possible, if some of the great minds here put their minds to it...
Cheers!

Connected to GPRS through XDA MINI S?

Hi all,
i have recently bought a laptop and as i am away alot, it would be helpful for me to connect to the internet through my phone. e.g. use my phone as a modem. However i cannot find any documentation on how to do this?
Can anyone tell me if this is possible, and how? I have tried through activesync but no luck.
If you could let me know that would be brilliant!
Thanks
Yeah its possible... just finished setting it up on mine This site helps:
http://www.filesaveas.com/gprsconnect.html
But i'll walk you through cos it took me a while to get it to work...
Firstly, are you on pay monthly or pay as you go?
There should be a program on you're XDA called "Modem Link" that is used for this. You can do it either over USB or infrared, though i recommend USB cos its much faster
Open this program and choose usb, then pick the Access Point you use to connect to GPRS normally on youre phone (check in the connection settings to see which AP corresponds to which settings if you need to) then press activate.
Now connect your phone to the laptop with the usb cable, and the new hardware wizard will pop up. Allow it to search the internet (you need a connection) and it'll install it automatically for you.
Then, On the PC, go to the Networking section of the Control Panel (Start > Settings > Control panel > Network)
Select "Make new connection" (this should start a setup wizard)
Choose "Dial up to Internet"
Choose the "connect via a modem" option
Enter the telephone number to dial as *99# (No area code, and turn off dialing rules)
Username for Pay Monthly is: o2wap
and for Pay and Go is: payandgo
Password for both is: password
When complete, go to Control panel > networks, and right-click on the icon for your GPRS connection. Choose properties and set the following: Connect Using - select your modem (infrared / USB)
You need change one other thing - to do with your modem settings. Do this as follows:
Go to Start > Settings > Control panel > Modems
On the Modems tab, select your modem, and press Properties
On the Advanced tab, you need to enter string in "Extra initialization commands". This initialisation string will need to be entered as:
+CGDCONT =1,"IP","wap.o2.co.uk" (for contract)
or
+CGDCONT =1,"IP","payandgo.o2.co.uk" (for PAYG)
Note the space before the =1. obviously dont include the bit in brackets.
I found I then needed to go into internet explorer and go on Internet Options > connections tab > choose "dail when network connection not present"
and then select the GPRS connection you made earlier > press settings > enable proxy server.
use the following ip address for the proxy server:
193.113.200.195
Now, I'm not sure which port number you will need, because it says to use 9201 but that didn't work for me, i use 8080. try both and see which will lets you load up a page.
press ok and try to load a page in IE. dial you connection when asked and it should work. try google as a test.
Tell me if you run into any problems.. I have it working on my pay as you go sim.. I have no idea if it will work on pay monthly, you might need to try using some of these settings:
http://www.filesaveas.com/gprs.html
-

T-mobile internet settings

my 7500 arrived yesterday and i spent some time connecting the device with Tier 3 tech support from T-Mobile. (god i love t-mobile ) as long as you pay for the internet they could care less what you hook up.
anyway it appers that some phones had different settings on order to work.
if anyone is interested i will post them.
till then, the only problem i have encountered is the video is a little choppy with certain formats..
T Mobile
Have an unlocked xda 11i but use T monbile sim (been with them for years) - due to sd card corruption have lost settings and can't restore.
T mobile as oyu say not too helpful - would be interetsed if you have settings for xda 11i
thanks so much
dean56 said:
my 7500 arrived yesterday and i spent some time connecting the device with Tier 3 tech support from T-Mobile. (god i love t-mobile ) as long as you pay for the internet they could care less what you hook up.
anyway it appers that some phones had different settings on order to work.
if anyone is interested i will post them.
till then, the only problem i have encountered is the video is a little choppy with certain formats..
Click to expand...
Click to collapse
Yes, please post them. This will be helpful to many.
yes sure, please post it.
my ameo can connect to the edge network(t mobile) but no application can obtain data from the internet (internet explorer, opera,quick gps etc.)
Have a look here
is this for german tmobile network?
how about in US?
http://tmobileus.wdsglobal.com/phon...aEnabled=true&manufacturerId=41&phoneId=1184#
Set up t-zones / T-MobileWeb
Setting up the handset
1. Tap Start.
2. Tap Settings.
3. Tap on the Connections tab.
4. Tap the Connections icon.
5. Tap Add a new modem connection under T-Mobile GPRS.
6. Enter T-Zones in the Enter a name for the connection field.
7. Tap to select Cellular Line (GPRS) from the Select a modem drop down list.
8. Tap Next.
9. Enter wap.voicestream.com in the Access point name field. (*** If you have $19 unlimited GPRS/Edge service use internet.voicestream.com instead)
10. Tap Next.
11. Tap Finish.
12. Tap Edit my proxy server under T-Mobile GPRS.
13. Tap to check This network connects to the Internet.
14. Tap to check This network uses a proxy server to connect to the Internet.
15. Enter 216.155.165.050 in the Proxy server field.
16. Tap Advanced.
17. Tap HTTP.
18. Enter 8080 in the Port field.
19. Tap OK four times.
20. Tap Start again.
21. Tap Internet Explorer.
22. Browse to http://wap.t-zones.com.
23. Tap Menu.
24. Tap Tools and tap Options.
25. Tap Use Current under Home page.
26. Tap OK.
The new WAP profile is now configured and ready for use.
Set up picture and video messaging
Setting up the data account
1. Tap Start.
2. Tap Settings.
3. Tap on the Connections tab.
4. Tap the Connections icon.
5. Tap Add a new modem connection under T-Mobile GPRS.
6. Enter PictureMessaging in the Enter a name for the connection field.
7. Tap to select Cellular Line (GPRS) from the Select a modem drop down list.
8. Tap Next.
9. Enter wap.voicestream.com in the Access point name field.
10. Tap Next.
11. Tap Finish.
Setting up the MMS profile
1. Tap Start again.
2. Tap Messaging.
3. Tap Menu.
4. Tap MMS Configuration.
5. Tap the Servers tab.
6. Tap New.
7. Enter PictureMessaging in the Server Name field.
8. Enter 216.155.165.050 in the Gateway field.
9. Enter 8080 in the Port number field.
10. Enter http://216.155.174.84/servlets/mms in the Server address field.
11. Tap to select T-Mobile GPRS from the Connect via drop down list.
12. Tap to select WAP 2.0 from the WAP Version dropdown.
13. Tap OK.
14. Scroll to PictureMessaging and tap Set As Default.
15. Tap OK.
The new MMS profile is now configured and ready for use.

Decrease Connection Time for Mobile Data!

Have you ever noticed that it takes a month of Sundays for your Windows Mobile phone to... actually connect to the server and start downloading? Watch for it the next time you go to a website with your phone.
From my experiences with AT&T, it's because their DNS services suck giant... coconuts. They're overloaded, slow, and take forever to respond to a query. (For those that don't know, a DNS server is like a phone book, it converts domains (names) like www.google.com into IP addresses (phone numbers) like 74.125.67.100)
By changing the DNS servers for my MEdia Net connection, pages begin loading up to 30 seconds faster. It's not a speed boost speed wise, but it greatly shortens the time you're waiting for the page to pop up.
Directions for Windows Mobile 6.5:
1. Click "Start"
2. Click "Settings"
3. Click "Connections"
4. Open "Connections"
5. Choose "Manage Existing Connections"
6. Choose your connection (In my case, MEdia Net)
7. Click "Edit"
8. Hit "Next" twice until you get to a page asking for a User Name and Password. DON'T CHANGE THIS or you will lose your data connection! (view attachment)
9. Click the "Advanced" button. This opens up the TCP/IP settings. DON'T CHANGE THIS (view attachment)
10. Select the "Servers" tab. This is where you change your DNS server. Set to "Use Server-Assigned Addresses" to use your carrier's servers. (view attachment)
11. Select "Use Specific Server Addresses" and enter your DNS server addresses. I have personally had great luck with:
4.2.2.1
4.2.2.2
4.2.2.3
4.2.2.4
4.2.2.5
4.2.2.6
I personally use 4.2.2.2 because it's easier to remember. There are many other public DNS servers out there, just Google! (view attachment)
12. Hit "OK", and if the connection is open, you will get a dialog asking to save. Click "Yes" (view attachment)
13. TEST IT OUT!
-------------
I'm very interested in seeing how many other people report connection speed decreases by changing their DNS servers. This weekend, I was at a racetrack near Green Bay, Wisconsin and I couldn't connect to any websites at all. The connection kept timing out. I became curious, changed the DNS to 4.2.2.2 from default, and I had instant connections.
Well, I'm on tmobile Edge connection and everything is fine for me so i can't feel your pain. have you tried skyfire browser to browse or are you talking about downloading emails?

Categories

Resources