Disable Proxy for WiFi but not AS... - Windows Mobile Development and Hacking General

Hey everyone,
I have done some searching and have not found a reasonable solution to my issue. I thought I would pose it here to see if a program already exist, or if someone would be willing to pen one real quick.
Basically I have three connections I use
GPRS with proxy
Active sync at work with different proxy
Home and other WiFi spots with NO proxy
I can have any two of these work great, but always require me go and change my connection under settings for the third. Currently I have the first two working as expected. My GPRS works fine. When I connect at work via active sync it is set to use My Work connection and is configured with the second proxy.
What I need is a program that will simply disable the proxy when WiFi is enabled. Battery Status does almost does this, but it also removes the proxy with AS which I need. Anyone out there have a solution for this? I have been tempted to see if the author of Battery Status will separate these two options. I thought I would see if there were other solutions first. Thanks for the help!!

Humm... no one knows of anything that can do this? Sounds like this may be something worth developing.

Related

WIFI and GPRS not working

I'm really racking my brain on this one. I would greatly appreciate any ideas, as I've long run out of them.
---Intro---
I have a one week old Wizard (Cingular 8125 variant). It has one of the latest roms with AKU2 on it. Using Registry Wizard, I selected the option to add wireless G compatibility at some point in time. Wireless initially worked after setting my phone and router up per a tutorial on a popular Axim users forum. A day or two later I went to use WIFI and I get nothing. GPRS/EDGE initially worked also, but at the same time it stopped working. I've spent countless hours since trying everything I possibly can to get WIFI to work.
---The problem---
I am not able to connect to the wireless router. My Wizard sits on "connecting" forever then maybe 5 mins later it says unable to obtain an IP address. When I look at the status, it says 0.0.0.0 for the IP address the whole time it says connecting. Since the problem started, I have yet to actually connect using any settings. The first day I configured the wireless it worked perfectly, with WAP encryption and all.
---Some of what I have tried---
On my US Robotics wireless router I've turned mac filtering and all security settings off, making an open network. I removed the WAP setting for the connection on the Wizard as well. I've tried all the suggestions I can find on any WM 5 and 2003se related forums to no avail. I've tried all the various combinations of limiting to B/G only or mixed, using work/internet settings, and deleting WIFI connections and creating new ones. I don't have a proxy setting in any of my connections. The whole time my battery usage is set to the highest (performance) setting and I'm right next to the wireless router. I've tried turning off all proprietary speed enhancement options. I even installed a program (Pocket DHCP) recommended by Axim PPC users to figure out why I'm not receiving an IP. Since I'm not really a DHCP wiz, I can't tell from the results what is causing this.
I'd be greatful if anyone can help me with figuring this one out. Thanks in advance!
maybe a dumb question, but...the wireless part of the router is working fine? did u tryed with a laptop or pc?
did u tried a hard reset?
That's actually a great question. I did connect fine the first day I configured the wireless and made no changes from then until it stopped working, so I'm just assuming that the router is working properly. Unfortunately I don't have access to any other wireless device/laptop to test it with.
I'm getting ready to do a hard reset right now. I was really wanting to avoid this but I think I have no other option. Hopefully this will fix whatever setting was messed up. I have a slight hunch that the registry change for allowing G access was the cause of the problems.
maybe i missed this in the original post, but have you tried making your device use static ip's on the lan instead of dhcp?
Shogunmark:
I didn't try static IP's for two reasons. 1. Firstly I couldn't figure out how to set this up. 2. I don't want to have to fiddle with removing the static IP when I'm away from home trying to use a different wifi hotspot. I would like it to be seamless and just connect when I turn wifi on near any unsecured network (other than the usual pressing OK to connect).
STATUS UPDATE:
I did a hard reset and directly after this I tried to connect to my open network. Amazingly GPRS/EDGE now works, but WIFI still does not. Then I did a factory reset on my USR router then changed the settings back to how it was just set before. Now, I'm connecting. This doesn't make any sense since the settings are the same now but it's working, maybe theres a glitch with the router that this fixed. This small progress seams like a miracle.
Now that I can connect to WI-FI, I have a new problem. When I try to load pages in internet explorer, it says page not found or whatever the standard error message is. I'm so close I can smell it. There must be some setting that needs to be changed on my Wizard.
SUCCESS
I report that I am now absolutely delighted with network connection on my Wizard. After hard reseting the phone and the router, now I can connect to both WIFI and GPRS. Not only that... but also PIE will choose WIFI if I'm connected to a wireless router, otherwise it will default to GPRS/EDGE without any interaction from me. This stuff is really awesome when it works. It is difficult to setup correctly though.
somehow wifi routers r not 100% reliable, every now and then i need to reset my linksys or i cant get ip as in your case...but with a normal reset is enough in my case...
That's good to know. Maybe I didn't even need to hard reset my Wizard, just the router. Now I know to start with the router because it's much easier to reconfigure. This is the first time that I've implemented WIFI on my own network. What happens if a public WIFI spot won't give you an IP anymore? Surely you just can't go and reset it. Granted it's not nearly as old as Ethernet, WIFI has been out for long enough that you think they would have these major kinks worked out.
Nicnatros said:
... but also PIE will choose WIFI if I'm connected to a wireless router, otherwise it will default to GPRS/EDGE without any interaction from me.
Click to expand...
Click to collapse
How did you manage this? I have been struggling for ages to set things up this way. Can you post your settings from settings>connections>connections>advanced>select networks. Also settings>connections>network cards.
I would like to be able to just turn on wlan from comm manager and use wifi to surf and connect to my wireless lan, but if no wifi available to default to my T-mobile gprs connection for surfing. Currently having to manually change the settings "Programs that automatically connect to the Internet should connect using" My Work Network or Tmobile gprs each time I want to use either.
What I want is the option
if wifi available
use wifi
else use gprs
Well my friends and I were like sitting around drinking foo-foo drinks and I just like stumbled upon the answer. Just kidding, it's fun to play the role of your avatar, especially mine.
Settings, Connections tab, Network Cards, Network Adapters tab: My network card connects to Internet
Settings, Connections tab, Connections, Advanced tab, Select Networks: Set first one to My work network. Set second one to MediaNet (or your gprs/edge/etc connection profile).
Now with those set, edit the My Work Network profile and make sure that under the proxy tab check connects to the internet option, uncheck the proxy option. Now edit your MediaNet (or other carrier data plan) and make sure that this contains all options for your carrier like proxy, modem, etc. If you are a Cingular user, go here to verify all settings for medianet. (Note that you will ignore the beginning couple steps when they say to place medianet first in the "select networks" settings. Start after step 6. Also they used the CingularGPRS connection profile instead of the MediaNet one) http://www.pocketpcaddict.com/forum...ular-8125-windows-mobile-5-phone-edition.html
When you connect to your WIFI router first and it asks you if it's work or internet, always select internet. If you are not sure what it's set at, go out of range or unplug your router. Go into network cards and find your router SID, click and hold on it and select remove. Then when you try to connect to your WIFI again it will prompt you for this, make sure you use internet setting.
Now if you have done everything correctly, Internet Explorer will use WIFI when it's turned on and you get a connection. All other times it will default to GPRS/EDGE. I can go from one to the other back and forth without changing any settings, only enabling and disabling WIFI in the comm manager.
Trashman said:
somehow wifi routers r not 100% reliable, every now and then i need to reset my linksys or i cant get ip as in your case...but with a normal reset is enough in my case...
Click to expand...
Click to collapse
Linksys WRT54Gx? if yes look into dd-wrt . stable and has a lot of features . other hardware is supported as well just check on their webby.
yaboc said:
Linksys WRT54Gx? if yes look into dd-wrt . stable and has a lot of features . other hardware is supported as well just check on their webby.
Click to expand...
Click to collapse
I have read many many many posts about people having issues with the wizard and that exact router... I personally would stay away from linksys.. i work in a field that deal with 3rd party routers and such, anytime an end user has a linksys i can usually prove 90% of the time that its the culprit (80% of the time powercycling it does the trick)
Nicnatros said:
Go into network cards and find your router SID, click and hold on it and select remove. Then when you try to connect to your WIFI again it will prompt you for this, make sure you use internet setting.
Now if you have done everything correctly, Internet Explorer will use WIFI when it's turned on and you get a connection. All other times it will default to GPRS/EDGE. I can go from one to the other back and forth without changing any settings, only enabling and disabling WIFI in the comm manager.
Click to expand...
Click to collapse
This seemed to do the trick for me.
I am sure that I had tried all possible combinations previously but what the hell, it is working exactly how I want now.
Thank you

Yes, another wifi problem thread...

So, I spent all morning unlocking my MDA, and was hoping it would correct my wifi issues even though it didn't make much sense to assume this... Once I flashed the tmobile 2.26 rom back to the device, I was able to conenct to my home router and pull web pages. I had reset my router settings and have left it wide open while testing the issues. I connected one time, viewed a few pages, and then disconnected. Now, I can still "connect" the the router, but cannot access anything through it like pulling web pages or downloading email. I do get an IP address assigned, and I do get good signal strength.
I have searched endlessly here, and have heard something about upgrading the radio rom...? Is that what I need? And if it is, I still had issues finding this rom to install. I have a G3 MDA on TMobile USA, currently using the TMobile 2.26 rom, IPL/SPL are both 2.26. Thanks for any info...
I was just reading that post about the 5.99 t-zones... and saw that you had posted about the t-mobile settings. Do you have your internet settings set up to use the t-mobile proxy? If you do, you have to remove the proxy before being able to connect over wifi.
Are you kidding me? I cannot believe I have never noticed this. It worked immediately. We have a wireless ap here, and as soon as I removed the check mark for the proxy, it works fine. I am sure there is a way but I'll ask, can there me multiple settings setup so I do not have to go in and enable/disable the proxy everytime?
Yah, thats easy to do. Just go to connections settings and click on add a new modem connection and set it up the same way as the t-mobile connection just don't have it use a proxy. The only problem is that you still have to go to your connection settings and switch the network selection when you want to change back and forth.
There's also another way if you have batterystatus installed, it has an option to disable proxy if wifi is enabled. I'm not sure if it actually works or not, I've never gotten around to trying it out yet. I'm assuming that it does though because I keep up on the batterystatus thread and I haven't seen that being mentioned as a bug recently.
One other thing, if you want to connect to the internet over activesync you also have to disable the proxy. I asked Ikarus if he'd add disableing the proxy over activesync as an option to batterystatus also and he said he'd think about it. It'd be nice, but it'd pretty much only be useful to people that have t-mobile so I doubt he'll add it any time soon.
Now thats even weirder as I had no problem with the active sync internet connection. I will play around with the multiple connections method, and also try the batterystatus tool... Do you know if this is still a problem with any of the WM6 roms? I have been reading up on those and am ready to either try one of the precooked ones or cookin my own...
Yah, it's still an issue with WM6. I have a direct link to the connection settings in cLaunch on my today screen though which makes it a whole lot easier to switch back and forth.
The way I started out with WM6 was to flash a precooked rom (xm6) and spent a week or 2 getting to know all of the apps that were installed and whether or not I thought I'd use them and also figureing out if they still had bugs or not and then I went and cooked my own rom. It made it a whole lot easier and I was able to cook only the things I wanted in to it without having all the extra things in it I didn't.
Yeah, I have been all over the upgrading and wm6 forum. I have a week vacation coming up, maybe I'll make a "recipe" then....

WiFi Down...?

I recently went through my wizard and modified the internet settings to allow me to connect through GPRS on T-Mobile's $5.99/mo plan...
Well, good news is that the GPRS works flawlessly (havn't tried my imap mail yet but I can really care less if it works.)
The bad news being that ever since I modified those settings, the WiFi connection refuses to load anything through IE. Any ideas?
Edit:
Ok, so the gist of things is that everything is working as it should be. I figured I'd link to the resources needed to set up your internet with t-mobile using the 5.99/mo plan first. One step I don't think this lists is this though: Head on over you t-mobile.com and login to my-tmobile. Change your phone from your MDA to something like a RAZR etc etc. This will allow you to select the 5.99/mo internet package (t-zones). Then follow the steps in this thread to set up your MDA.
http://forum.xda-developers.com/showthread.php?t=315401
THEN to automaticly disable the proxy while using WiFi (a must if you plan on using both on a regular basis), download the current version of battery status ATTACHED to the first post of the thread here: http://forum.xda-developers.com/showthread.php?t=270751 Enjoy
Unfortunately, the wizard is a bit weird. I have a Dash, and I never had an issue, but, with the Wizard, or TMO MDA, you have to disable the proxy in order for the WIFI to connect to your home network, or any other network for that matter. I was frustrated too, until i found out that was the issue.
Hope it helps.
yep, solved the problem. Now is there any way around this? or do I just need to keep changing the proxy when I want to use GPRS?
If you have batterystatus installed go in to options and then the tools tab and it has a disable proxy over wifi tool. I'm not sure if it works though, I've never tried it out.
I DO have battery status...I'll have to check it out and give it a good test over the next 24hrs and I'll report back
update: just ran in my room and pulled my wiz of the charger. the battery status doesn't seem tl have an option under any of the tabs. I'll have to make sure I have an updated version come morning and I'll go from there
bumpity bump bump
I noticed that when I turn off the proxy server, it seems to forget all the information I put in...so when I want to use gprs again, I can't without imputing all the proxy information again. Is there a stand alone program that makes the wizard ignore the proxy when WiFi is active?
That's an easy one to fix. Just set up a second t-mobile modem connection and have the first one use the proxy and have the second one not use a proxy and just change the modem connetion under connections to whichever one you need to use. By the way, I tested the batterystatus no proxy when connected to wifi and it does work. If yours doesn't have that option under the tools tab then you just need to download a newer version. Here's the link to the BS thread that alweays has the newest build - http://forum.xda-developers.com/showthread.php?t=270751.
Turns out that instead of clicking the link the original poster posted on the BS thread, I needed to DL the beta version that was attached! I now see the option you were talking about for disabling the proxy. Tx.
xeno1 said:
If you have batterystatus installed go in to options and then the tools tab and it has a disable proxy over wifi tool. I'm not sure if it works though, I've never tried it out.
Click to expand...
Click to collapse
Thanks for the info. For the longest time I kept removing the proxy settings so the wifi would connect but then I would have to re-enter once I was going to use GPRS. This certainly saves time and headaches.

PiE not Browsing over 3G

Hi All
Sorry if this is a duplicate thread, I searched but coudln't find anything.
My PiE works fine only under WiFi, but never seems to want to work over my mobile data connection.
My BBConnect, and HTC Home Weather can establish and use the connection no problems, but not with PiE.
Any suggestions on how I can fix this up
Thank you!
...actually pie isn't working at all even over WiFi.
I click on any link, it says connecting then it stops...
i would
1 check the setting in connection advanced to see if it was set to use the right connection to access the internet
2 try another browser then pie (it being the worst browser on the planet could be an issue)
3½ if special network settings for gateway and or dns was set i would remove them or change them to the connect ones
Rudegar said:
i would
1 check the setting in connection advanced to see if it was set to use the right connection to access the internet
2 try another browser then pie (it being the worst browser on the planet could be an issue)
3½ if special network settings for gateway and or dns was set i would remove them or change them to the connect ones
Click to expand...
Click to collapse
My other programs (BBConnect, HTC Weather) have no problems getting on.
Just PIE (was set for Rogers Internet) I also tried My Blackberry and HTC Home still updates, but not PIE....
I thought I would bump this.
I gave up and did a re-install. Everything was fine for a bit, and its back again.
All I have installed is SyncML Client, VJDevice Lock, Today Agenda, voice command BBConnect.
Its ONLY IE that won't work. I would really appreciate some help with this one!
So it is the blackberry software that is doing it. I think it is forcing you to use that, rather than the regular data connection.
If anyone can help me manage this, I would appreciate it.
Thank you!
I have a similar browser related problem...
Everything works on 3G, GPRS, WiFi, etc... EXCEPT PIE only does not work with WiFi, same symptoms you are receiving. I have to turn off the WiFi to get PIE to work. With WiFi on, email and all other connectivity programs can stilll get data from the web.
There is something here where PIE settings are somehow slightly different than the WiFi connection....
Anyone have any ideas? The fix for me would also fix the same issue for you...
...and a follow up to the issue, if I wanted to change the default browser in WM6 to NetFront of Opera, how would I go about doing that?

WIFI Problem with Att Tilt / 8925

Hey, i've only had this phone for a little over a month, i've done a couple things to it that could be the problem. When i turn wifi on, it won't find any networks... even my own in home network when i'm 6 feet away from it. It used to work like a charm. But i dont know what did it...like i said, it could be one of 2 things, or both. Problem is i dont remember when it stopped working since i dont use it that often. I "upgraded" to wm6.1 and i also did a kaiser tweak.... not sure which one did it, all i know is now my wifi won't find any networks when it used to find them. Please help...
you uk? some roms dont pick up certain channels theres a cab for it some were try that
Is your proxy settings off? Try this
1) Start
2) Settings
3) Connections
4) Under Media Net --> Set Up My Proxy Server
5) "This network connects to the internet"
make sure that box is check
6)"This network uses a proxy server to connect to the internet"
Make sure that is check off
Hope that helps

Categories

Resources