Google
 
Web www.howardforums.com
Pages: 1

Proxy Hack - It works!

(Click here to view the original thread with full colors/images)


Posted by: bobbyr

Syasses over at Hackintosh has figured out how to add in the proxy settings - and it works! I am using it on T-mobile, and its working on some other systems. It involves placing a proxy file and editing an existing file, using Wordpad, Notepad and the like, and moving the files with an app such as ibrickr. The settings are straightforward, nothing like jockeying settings on the Dash.

Google Maps - Yes
Safari - Yes
Weather - Yes
Stocks - Yes
Mail - YES

Speeds are typical Edge, at least on T-mo.

Props to syasses!

The thread is here .



Posted by: Mohit

Can you post your files here? So other T-mo users can use it.



Posted by: bobbyr

It is a file, proxy.pac and an edit to an existing file, preferences.plist . Its not good to use a canned preferences.plist because it contains other settings exclusive to your phone.

proxy.pac is this code in a txt file:

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 216.155.165.50:8080";
else
return "DIRECT";
}


And the edit to the preferences.plist adds the code:

<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>

in the appropriate place.

The line PROXY 216.155.165.50:8080 is changed for your proxy - this is for T-mobile.

Again, props to syasses - this is all his work, we just applied it and confirmed it.



Posted by: vorpel

What are the practical differences between the $5.99 T-mobileWeb and the $19.99 Tmobile Total Internet with Hotspots? I looked online, but I can't find if there are download limitation differences, etc.

Thanks!

-Vorpel

P. S. sorry for the double post (on another thread).



Posted by: flyhigh123

bobbyr:

I am a noob at this.

I have changed both files to reflect the proxy changes. I also called and added the Tzone package.

What are the edge settings?
wap.voicestream.com?
Username:
password:

How does Tzones connect me to the internet? How do I know its working? Sorry for the noob questions.

thnks



Posted by: bobbyr

Open the Safari browser and go to a web page. I've found that if it doesn't come up immediately, if you stop and refresh it does. Your Edge settings are correct.



Posted by: bobbyr

Quote:
Originally Posted by vorpel
What are the practical differences between the $5.99 T-mobileWeb and the $19.99 Tmobile Total Internet with Hotspots? I looked online, but I can't find if there are download limitation differences, etc.

Thanks!

-Vorpel

P. S. sorry for the double post (on another thread).


Practically $14. Then there is Hotspot (different beast).

I have used the lower plan for years and was disappointed that the iPhone could not do it. But it can!

Read the FAQ/ Wiki for details.



Posted by: vorpel

Quote:
Originally Posted by bobbyr
Practically $14. Then there is Hotspot (different beast).

I have used the lower plan for years and was disappointed that the iPhone could not do it. But it can!

Read the FAQ/ Wiki for details.



Thanks for the reply!

-Vorpel



Posted by: odnerd

Does the proxy limit streaming on the iPhone? I've been using the proxy settings on my Dash and for streaming music/video it would cut off after a little over a megabyte had streamed... That was the limitation of the $5.99 plan. Does YouTube cut off after streaming so much?



Posted by: NetNet

Props to syasses at Hackint0sh! Here are my 2 cents...

Before entering these proxy settings, my Yahoo Mail worked
both with Wifi and EDGE/GPRS (I have $5.99 T-MobileWeb),
but Safari and other apps worked only with Wifi. So I
assumed that I would better leave my Email without
proxying with T-MobileWeb. I found a very useful example
of doing this at Wiki. I also found that T-Mobile gives
my iPhone addresses in 10.186.x.x, 10.187.x.x, 10.188.x.x,
and 10.189.x.x networks. Looking into binary patterns in the
second byte, I found that the best fit for all of them would
be network 10.184.0.0, with a subnet mask 255.248.0.0.
The resultant proxy.pac file, which I use now is:

function FindProxyForURL(url, host) {
// URLs in the imap.apple.mail.yahoo.com domain could be
// accessed directly, since they worked before without a proxy:
if (shExpMatch(url, "*.mail.yahoo.com/*")) {return "DIRECT";}
if (shExpMatch(url, "*login.yahoo.com/*")) {return "DIRECT";}

// The same could work for Gmail (uncomment and change URL):
// if (shExpMatch(url,"Gmail_URL_wildcard")) {return "DIRECT";}

// Other URLs from within T-MobileWeb network are
// to be accessed via port 8080 on 216.155.165.50:
if (isInNet(myIpAddress(), "10.184.0.0", "255.248.0.0")) {
return "PROXY 216.155.165.50:8080";
}

// All the requests from non-T-MobileWeb addresses
// could be accessed first via port 8080 on 216.155.165.50
// If it fails to respond, then go directly to the URL:
return "PROXY 216.155.165.50:8080; DIRECT";
}

Now both my email and other applications work fine.
The EDGE/GPRS connection speeds measured by dslreports
are between 73kbit/s and 141 kbit/s for different file sizes.
I don't expect YouTube to work fine at these speeds, but
it certainly works fine with Wifi.

Props to syasses at Hackint0sh, and all others who contributed
to these proxy settings! I've been using T-MobileWeb with
Motorola V635 for several years, now I use it with iPhone!





Posted by: richy240

Wow... It took me FOREVER to get this working. I even had to restore to factory settings because I screwed up my preferences.pref file and forgot to make a copy before I started editing. Plus it took me reading the entire thread on hackint0sh to get the correct placement, so I screwed that up my first try too.

And I'm sure everyone already knows this by now, but I can safely say that restoring your phone to 1.0.2 (assuming that's what you're already running) does not break the SIM unlock.



Posted by: ZippoMan

Quote:
Originally Posted by richy240
Wow... It took me FOREVER to get this working. I even had to restore to factory settings because I screwed up my preferences.pref file and forgot to make a copy before I started editing. Plus it took me reading the entire thread on hackint0sh to get the correct placement, so I screwed that up my first try too.

And I'm sure everyone already knows this by now, but I can safely say that restoring your phone to 1.0.2 (assuming that's what you're already running) does not break the SIM unlock.


Took me about 60 seconds start to finish, it isn't rocket science.



Posted by: richy240

Quote:
Originally Posted by ZippoMan
Took me about 60 seconds start to finish, it isn't rocket science.

Yeah, thanks for that cool guy.



Posted by: beefy6969

I'm sorry, but i don't understand how you would edit the file and upload it to your iphone.

What program do i edit the file with? Is this done through my Windows PC? Iphone?

It seems like the www.hackint0sh.org site has tutorials for a Mac.

I need to lean how to do this with a PC!! A Windows PC!! Not Linux or OSX!!



Posted by: bobbyr

Probably the easiest way, and the method I used, is to use iBrickr ( www.ibrickr.com ). Use that to move files.

Install iBrickr on the PC.
Free the phone if necessary (jailbraking)
Go to the files menu
Download the preferences.plist file at:
/private/var/root/Library/Preferences/SystemConfiguration/preferences.plist
Make a backup copy of it.
Use wordpad on the PC to edit preferences.plist to add the proxy section
Open Notepad
Paste this code: (customized for T-Mobile)

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 216.155.165.50:8080";
else
return "DIRECT";
}

Save as proxy.pac
Upload using iBrickr this proxy.pac to directory /private/var/root
Upload the preferences.plist file to its original location /private/var/root/Library/Preferences/SystemConfiguration/

On your phone go to: Options -> General -> Network -> Edge
Set -
APN wap.voicestream.com
Username (erase - leave blank)
Password (erase - leave blank)


If you screw up, restoring through iTunes returns the files to original.



Posted by: estroh

Thanks - I will try it later.

Quote:
Originally Posted by bobbyr
Probably the easiest way, and the method I used, is to use iBrickr ( www.ibrickr.com ). Use that to move files.

Install iBrickr on the PC.
Free the phone if necessary (jailbraking)
Go to the files menu
Download the preferences.plist file at:
/private/var/root/Library/Preferences/SystemConfiguration/preferences.plist
Make a backup copy of it.
Use wordpad on the PC to edit preferences.plist to add the proxy section
Open Notepad
Paste this code: (customized for T-Mobile)

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 216.155.165.50:8080";
else
return "DIRECT";
}

Save as proxy.pac
Upload using iBrickr this proxy.pac to directory /private/var/root
Upload the preferences.plist file to its original location /private/var/root/Library/Preferences/SystemConfiguration/

On your phone go to: Options -> General -> Network -> Edge
Set -
APN wap.voicestream.com
Username (erase - leave blank)
Password (erase - leave blank)


If you screw up, restoring through iTunes returns the files to original.




Posted by: DjBizz

Works for me..It's a little slow, but def works fine.



Posted by: vtmn215

I think that the proxy mod only works in cities that still allow internet via port 8080. The proxy configuration stopped working in at least Houston. It didn't work for my HTC p3300 so i am assuming that it wont work for the iphone since its basically the same config.



Posted by: richy240

Quote:
Originally Posted by vtmn215
I think that the proxy mod only works in cities that still allow internet via port 8080. The proxy configuration stopped working in at least Houston. It didn't work for my HTC p3300 so i am assuming that it wont work for the iphone since its basically the same config.

It works in Houston. I'm using it RIGHT NOW, as I type this.

But I've noticed it doesn't work in certain parts of town. (?!?) It seems to work in Sugar Land, but not Channelview. It works in Jersey Village (and surrounding areas), but not Spring. Or so it seems... Maybe someone can shed some more light on this.



Posted by: richiesays

where do you copy/paste that into the file?



Posted by: Jster

Question: I pay for the $19.99 plan through T-Mobile and have no problem doing so. Is there any reason for me to do this hack (i.e., increased speeds)?

I took the SIM out of my Dash and everything seems to be working just fine right now. I'm trying to figure out what if anything I would gain by doing this.

Thanks.,



Posted by: dsigma6

Quote:
Originally Posted by richiesays
where do you copy/paste that into the file?

I just logged in to ask the same question. If it's anything like HTML, as long as it's in the middle (not interrupting another code) it should be ok...So as long as it's after something that ends in "</xxx>" is what I'm thinking.
Quote:
Originally Posted by Jster
Question: I pay for the $19.99 plan through T-Mobile and have no problem doing so. Is there any reason for me to do this hack (i.e., increased speeds)?

We're doing this hack because we're skating by on $5.99 internet, which requires a proxy to work. The iPhone doesn't allow proxy settings to be entered into the network settings menu, so this is the only option. You pay for the full thing, so you don't need to read this thread.



Posted by: bobbyr

Quote:
Originally Posted by richiesays
where do you copy/paste that into the file?


Check the link in the first post, it shows the detail.



Posted by: Jster

Quote:
Originally Posted by dsigma6
We're doing this hack because we're skating by on $5.99 internet, which requires a proxy to work. The iPhone doesn't allow proxy settings to be entered into the network settings menu, so this is the only option. You pay for the full thing, so you don't need to read this thread.


Thanks. That's what I thought. My phone is just one of 50 or so on our account and it would look funny if I tried to call my rep and downgrade the service.



Posted by: sideswipe

Does anyone have their original preferences.plist file they could copy and paste up? I didnt back mine up and would like to know what I replaced in it. Thanks in advance.



Posted by: dsigma6

No, but does anyone actually have a real grasp on this with the ability to explain better than hackint0sh? I've read through the thread over there, but it's still unclear where things go.



Posted by: richy240

Quote:
Originally Posted by dsigma6
No, but does anyone actually have a real grasp on this with the ability to explain better than hackint0sh? I've read through the thread over there, but it's still unclear where things go.

This thread might be able to help you.



Posted by: loki980

I made some modifications to the proxy.pac file. I was having issues with web working off the proxy, but I couldn't access pop/smtp ports for Gmail to work. I've since restored my phone, but figured I'd write something a bit more elaborate.

Another note about this updated proxy.pac file. If you're not using a proxy to access information, that's one less jump you have to make, and your speed/latency should be faster for everything that doesn't use the proxy.

In layman's terms, this is how the proxy.pac should work:
If you're on wifi, or are using a t-zones supported port, do not use a proxy
otherwise, use t-mobile's port 8080 proxy

Ironically, this code:
(myIpAddress(), "10.0.0.0", "255.0.0.0")
also caused a conflict, as both my work and home ip/subnets match this.
This:
(myIpAddress(), "10.184.0.0", "255.248.0.0")
should work just the same, but eliminate conflicts. (This was updated, as it's not true for everyone)

Could someone test this proxy.pac for me to see if it works? I won't be able to try it for another several hours.

Code:
var urlRegex = new RegExp( "^(([^:/?#]+)?"+ // scheme "(" + "(//)?"+ // delim "(([^@]+)@)?" + // userinfo "([^/?#:]*)?" + // host "([^/?#]+))?"+ // port ")"+ "([^?#]*)"+ // path "(\\?([^#]*))?"+ // query "(#(.*))?$" // fragment ); function FindProxyForURL(url, host){ if (!isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")){ return "DIRECT"; // if not on T-Zones ip/subnets, you're on wifi } var m = url.match(urlRegex); if(m){ var port = m[7]; if(port == 25 || port == 110 || port == 143 || port == 465 || port == 587 || port == 993 || port == 995 || port == 8080){ return "DIRECT"; // Port is supported by T-Zones } } return "PROXY 216.155.165.50:8080"; // Port is not supported by T-Zones }




Posted by: richy240

Quote:
Originally Posted by loki980
Ironically, this code:
(myIpAddress(), "10.0.0.0", "255.0.0.0")
also caused a conflict, as both my work and home ip/subnets match this.
This:
(myIpAddress(), "10.184.0.0", "255.248.0.0")
should work just the same, but eliminate conflicts.

Could someone test this proxy.pac for me to see if it works? I won't be able to try it for another several hours.

10.184.x.x is not TMO's only range, so I am pretty sure this will not work for everyone. That's why the "unmodified" proxy.pac file used 10.0.0.0. My current address, for instance, is 10.171.190.x, so yeah, I'm not sure it's gonna work as expected.



Posted by: loki980

Looking at this post:
http://www.howardforums.com/showpos...77&postcount=10

I don't know exactly how the isInNet() function works, but if it's working for him in the way he posted, it must be a bitwise masking function, as opposed to an exact match function.

Edit:
Ah, didn't see you were 10.171.x.x - apparently that guy didn't know all the possible IPs. I modified the code in the above post. Also didn't think about the fact that you're nearly always on some 192.168.x.x wifi router's IP, not an external address.

My work address still pops up as 10.10.x.x, so I'll just one liner omit that range. =)



Posted by: richy240

Quote:
Originally Posted by loki980
Edit:
Ah, didn't see you were 10.171.x.x - apparently that guy didn't know all the possible IPs. I modified the code in the above post. Also didn't think about the fact that you're nearly always on some 192.168.x.x wifi router's IP, not an external address.

My work address still pops up as 10.10.x.x, so I'll just one liner omit that range. =)

Actually, most of the wireless networks I connect to are in a 10.x.x.x range as well. But I still have not had any problems... WiFi is fast as hell, and even if I am going through TMO's proxy, it doesn't seem to affect my connection negatively.

I'll give your code a try when I have some more time. Probably late tonight, as I have dinner plans after work.

I actually tried that edit, where you specify the second octet of the IP, a few days ago. It didn't work over EDGE, because my IP never matched the criteria. (WiFi still worked fine, as expected.) I never tried changing the octet to match my IP though, as the 10.0.0.0 worked for me without a problem (once I got my preferences.pref file configured correctly).



Posted by: BornineastLA

Quote:
Originally Posted by dsigma6
I just logged in to ask the same question. If it's anything like HTML, as long as it's in the middle (not interrupting another code) it should be ok...So as long as it's after something that ends in "</xxx>" is what I'm thinking.

We're doing this hack because we're skating by on $5.99 internet, which requires a proxy to work. The iPhone doesn't allow proxy settings to be entered into the network settings menu, so this is the only option. You pay for the full thing, so you don't need to read this thread.


YUP. I was using the 5.99 plan for years all the way up until a few days ago. I just opted to up for the 19.99 plan. Its easier and reliable. Plus I travel to cities where the proxy has been blocked. This was I know my internet wil be with me everywhere



Posted by: loki980

Here's an idea. What if you set up a proxy on port 110? No issues with cities blocking the pop3 port, right?



Posted by: richy240

If I had an IP and machine, I'd be HAPPY to set up a proxy for public use. But I don't.

I think someone tried that a long time ago, but I don't remember the outcome. This was years ago, when TMO first changed their data plans and started blocking certain services on T-Zones.



Posted by: aceboogz

I use this hack and it worked for me but youtube and aim doesnt work for me,so i opted to go back to the 19.99 plan,but safari wouldnt work and only google maps,stocks,and aim works for me...is it because of my change to the preference.plist file?if so i didnt back up my original file,so how would i go back to getting the original preference.plist file without restoring it...thankz aceboogz...if you guys do this hack make sure you make a back up copy of the original preference.plist



Posted by: NetNet

If interested in iPhone proxying with $5.99 T-Mobile Web plan, some of you (like me) may be also interested in tethering iPhone with this plan. Check out a new thread: "Tethering iPhone with $5.99 T-Mobile Web - Works!". Enjoy!



Posted by: yener

hey guys i have two files proxy pac and preferences.plist file. i think i erased them. i need these 2 files. originals or fixed ones for tzones can someone send me those i cant find them

proxy.pac goes to "/private/var/root
and preferneces oges to /private/var/root/Library/Preferences/SystemConfiguration/preferences.plist

please you can email me the files yeneraltun@hotmail.com



Posted by: richy240

Quote:
Originally Posted by yener
hey guys i have two files proxy pac and preferences.plist file. i think i erased them. i need these 2 files. originals or fixed ones for tzones can someone send me those i cant find them

proxy.pac goes to "/private/var/root
and preferneces oges to /private/var/root/Library/Preferences/SystemConfiguration/preferences.plist

please you can email me the files yeneraltun@hotmail.com

The preferences.pref file is generally FOR YOUR PHONE ONLY! Unless you manually edit some of the sections of the files, it will contain the name of another device (which will either change the name of your device, or confuse the sync process in iTunes - I'm not sure which because I don't wanna try it) and information used to connect to your preferred WiFi networks (like the SSID and passwords).

The proxy.pac file, however, can be used on any phone without modifications.



Posted by: DaSnipe

Another confirmation it works, really have to make sure you put things in the right places, I messed up the 1st time I edited my preferences.plist file, but that's what backups are for



Posted by: haridsv

No luck for me on prepaid. For my a/c, all that ever worked (even before switching to iPhone) was accessing the t-zones homepage and those linked from there (such as the abcnews), and that is what I am trying to restore on my iPhone. I often browse the news sites while waiting for my train and so want to get that functionality working. After following the steps, I see the E icon (which I don’t remember if it was there before), if I try to access the http://mobile.go.com/wireless/abcnews, the browser just times out with the below weird message:

Error 502 - Bad Request
The server could not resolve your request for uri: /wireless/abcnews

I am able to ping the proxy IP, so I am assuming the connectivity is there. Any help is appreciated.



Posted by: bobbyr

So you performed the operations on both files, correct? When you finished, did you go to network settings and set Edge to:

APN wap.voicestream.com
Username <blank>
Password <blank>



Posted by: haridsv

Quote:
Originally Posted by bobbyr
So you performed the operations on both files, correct? When you finished, did you go to network settings and set Edge to:

APN wap.voicestream.com
Username <blank>
Password <blank>

Yes I performed that step. Actually, yesterday I spent an hour repeating the process (thankfully, I kept a copy of the original) with minor variations and when none of them worked, tried the exact steps from here again and boom.. it worked. Strangely, I still get 502 errors sometimes and , and everytime I power-on/unlock (I mean from standby, from auto-locked state), the first time it takes a hell lot of time to fetch the webpage. The subsequent navigation seem to be much quicker.

Initially I was under the impression that EDGE and GPRS are completely different and was foolishly trying to disable EDGE to "force" the iPhone to use GPRS, and I think disabling and re-enabling GPRS causes the proxy setting settings to be lost. This means for sometime, I was loosing the manual changes done on the PC and wasn't even trying with the right settings. But later I figured that EDGE is a backwards compatible replacement for GPRS I stopped doing that and still don't know why it didn't work (even though ping showed existing connectivity). In any case, I now have the most of the functionality I had with my previous phone, except for the reminders (can't believe you can't set reminders on daily basis).

While searching for answers, I came across a hotproxy hack to get more access using tzones for the $5.99 plan, not sure if it is applicable to prepaid also, any idea?



Posted by: bobbyr

Just a side note - for reminders I use Google Calendar and set where reminders are sent to ########@tmomail.net.

Works for me.

Also you can add reminders through the Google Calendar web interface.



Posted by: haridsv

Quote:
Originally Posted by bobbyr
Just a side note - for reminders I use Google Calendar and set where reminders are sent to ########@tmomail.net.

Works for me.

Also you can add reminders through the Google Calendar web interface.

Actually, I didn't originally realize that the Clock application has a very flexible alarm functionality which suites my needs very well (you can select the repeat with specific days). I was originally trying to use the calendar application to do this which didn't allow specific days to select.



Posted by: rfic

hi, netnet,

i guess i have same issue as u: after i add proxy.pac & modify preference.plist, i can access safari, stock, weather, BUT, i can NOT use my mail (i'm using IMAP gmail from iphone mail client)

so my question is:
// if (shExpMatch(url,"Gmail_URL_wildcard")) {return "DIRECT";}

what kind of gmail URL i should use, i'm not familiar with this

in addition, i have something FUN for all u guys:

because i'm still in contract with verizon (will expire mid of Dec), so my friend give one of his familiy plan ($10 more) T-mobile sim card to me so that i can play with my iphone. i tried to add $5.99 to my #, but somehow they can only add it to my friend's # (which is primary #)

so bottom line is: I DO NOT HAVE ANY DATA PLAN!!!!

but i still can access safari after i so those modification!

i tried it at home, and i'll re-try it in office see if it still works

cheers, iphone

Quote:
Originally Posted by NetNet
Props to syasses at Hackint0sh! Here are my 2 cents...

Before entering these proxy settings, my Yahoo Mail worked
both with Wifi and EDGE/GPRS (I have $5.99 T-MobileWeb),
but Safari and other apps worked only with Wifi. So I
assumed that I would better leave my Email without
proxying with T-MobileWeb. I found a very useful example
of doing this at Wiki. I also found that T-Mobile gives
my iPhone addresses in 10.186.x.x, 10.187.x.x, 10.188.x.x,
and 10.189.x.x networks. Looking into binary patterns in the
second byte, I found that the best fit for all of them would
be network 10.184.0.0, with a subnet mask 255.248.0.0.
The resultant proxy.pac file, which I use now is:

function FindProxyForURL(url, host) {
// URLs in the imap.apple.mail.yahoo.com domain could be
// accessed directly, since they worked before without a proxy:
if (shExpMatch(url, "*.mail.yahoo.com/*")) {return "DIRECT";}
if (shExpMatch(url, "*login.yahoo.com/*")) {return "DIRECT";}

// The same could work for Gmail (uncomment and change URL):
// if (shExpMatch(url,"Gmail_URL_wildcard")) {return "DIRECT";}

// Other URLs from within T-MobileWeb network are
// to be accessed via port 8080 on 216.155.165.50:
if (isInNet(myIpAddress(), "10.184.0.0", "255.248.0.0")) {
return "PROXY 216.155.165.50:8080";
}

// All the requests from non-T-MobileWeb addresses
// could be accessed first via port 8080 on 216.155.165.50
// If it fails to respond, then go directly to the URL:
return "PROXY 216.155.165.50:8080; DIRECT";
}

Now both my email and other applications work fine.
The EDGE/GPRS connection speeds measured by dslreports
are between 73kbit/s and 141 kbit/s for different file sizes.
I don't expect YouTube to work fine at these speeds, but
it certainly works fine with Wifi.

Props to syasses at Hackint0sh, and all others who contributed
to these proxy settings! I've been using T-MobileWeb with
Motorola V635 for several years, now I use it with iPhone!





Posted by: NetNet

Dear rfic,
The configuration you've quoted works perfectly well for me. I can access my Yahoo email account both ways: when connected to my home WiFi, and when tethering my laptop via the iPhone using EDGE/GPRS with $5.99 plan (see my thread "Tethering iPhone with $5.99 T-Mobile Web - Works!"). In the second case I can access my Yahoo account both from the tethered laptop and from the iPhone itself. I have an email account at Yahoo, but I don't have the one at Gmail, so I'm not aware of the particular URL(s) to use with Gmail. I figured out those Yahoo URL(s) by watching the address field in my browser when logging into my email account at Yahoo. I guess, you can do the same with your Gmail account. Post your result(s), when you'll get through.
NetNet



Posted by: rfic

thanks for prompt reply

1. i do check my gmail online a/c, it's

http://mail.google.com/mail/#inbox

so shall I use

if (shExpMatch(url, "*.mail.google.com/*")) {return "DIRECT";}

In addition, where do u see the login address? do i also need similar one for my gmail?

2. so u either use web mail (safari?) or tethering of PC to access email? have u ever tried the build in iphone email client?

after i figure out how to modify this for gmail, i'll give it another try

thanks


Quote:
Originally Posted by NetNet
if (shExpMatch(url, "*.mail.yahoo.com/*")) {return "DIRECT";}
if (shExpMatch(url, "*login.yahoo.com/*")) {return "DIRECT";}




Posted by: NetNet

Quote:
Originally Posted by rfic
thanks for prompt reply

1. i do check my gmail online a/c, it's

http://mail.google.com/mail/#inbox

so shall I use

if (shExpMatch(url, "*.mail.google.com/*")) {return "DIRECT";}

In addition, where do u see the login address? do i also need similar one for my gmail?

2. so u either use web mail (safari?) or tethering of PC to access email? have u ever tried the build in iphone email client?

after i figure out how to modify this for gmail, i'll give it another try

thanks


1. You URL looks good, but I would remove the dot between the first asterisk and mail, since there is no dot there in your original URL (think about a substring match). In case of Yahoo, a URL with "login" in it pops-up during the login process, so I also included it. This may be not the case with gmail.

2. On iPhone I usually use biult-in email client to access my email, though Safari also works with it. On my laptop, while tethering, I use Internet Explorer. Both work perfectly well in parallel, when accessing my mailbox. I shared this experience in "Tethering iPhone with $5.99 T-Mobile Web - Works!" thread.
NetNet



Posted by: rfic

hi guys,

sorry for late reply, i didn't get my $5.99 plan set up until today

this afternoon, i do $5.99 feature in my online a/c, but my iphone still can NOT use EDGE, when i check ip, it's 0.0.0.0 (the wierd thing is even before i add $5.99, sometimes i still can see get IP from edge)

so i follow some guys' suggestion: install "service.app", turn off & turn on again EDGE, then i find i can NOT access PDP field test any longer

BUT, after i reboot, my EDGE works for all my safari, gmail (IMAP client), stock, weather (i didn't use utube), then when re-check pdp, it works again, and i get my IP

the most interesting thing is: i just use regular (simple proxy.pac), NOT netnet's complicate one. i'll do more test in no-wifi erea to see if it still works and report back



Posted by: bobbyr

Or you can do it the easy way. Add BigBoss to your repositories in installer, then chose T-Mobile TZones Hack from Utilities in Installer.

markmon.mine.nu:90/iphone/repo/repo.plist

If you do try this, mind your case and autocorrection. iPhone will try to correct nu to by, and iphone to iPhone.

Done!

I used to do the proxy.pac and file edit, but this is so much easier.



Posted by: rfic

thanks, bobbyr

in fact, i do see it in my installer, just want to make sure what exactly it modified

anyway, i go to non-wifi place to test, and confirm the simple proxy.pac works fine for safari, gmail (IMAP client), map, stock, weather

but i do notice if i send email from gmail IMAP client, it's super slow; while if i send email from gmail website, it's much faster

receive email is always quick for both client & webmail

anyone has idea why is that?

NetNet, do u think ur code could help for the speed of receiving email?



Posted by: NetNet

Quote:
Originally Posted by rfic
thanks, bobbyr

in fact, i do see it in my installer, just want to make sure what exactly it modified

anyway, i go to non-wifi place to test, and confirm the simple proxy.pac works fine for safari, gmail (IMAP client), map, stock, weather

but i do notice if i send email from gmail IMAP client, it's super slow; while if i send email from gmail website, it's much faster

receive email is always quick for both client & webmail

anyone has idea why is that?

NetNet, do u think ur code could help for the speed of receiving email?


I don't think the code I posted earlier would help to speed up your gmail IMAP client. It does not make exceptions (to bypass the proxy) for URL's (ports) used by IMAP client. Since my Yahoo email client was working before the proxy hack was applied, it makes me think that it is possible (at least for Yahoo) to rewrite the code, so it will make those exceptions. I don't plan to get a gmail account (Sorry, I'm getting too much on Yahoo already, and don't want to check both accounts every day;-). Unless somebody will rewrite and test the exceptions for gmail IMAP client, I would advise you to stick to the "standard" code, as it was discussed earlier in this thread.
NetNet



Posted by: rfic

thanks, NetNet.

i think it's good enough for me, so i'll stick to the $5.99 plan

cheers, iphone+5.99T-plan



Posted by: gekigangarv

I can't seem to get mail over gmail IMAP working with the proxy hack. I've set up the account and it works over wifi, but not using EDGE. This is weird because I've seen cases where people can't get anything besides mail working. Here is what works for me:

Weather: YES
Stocks: YES
Safari: YES
YouTube: YES (just not the search function)
Installer: YES
Listen: YES
Mail: NO

Has anyone else had this problem and resolved it? I haven't tried using POP yet, and gmail works when I log on my account via Safari.

Also, does anyone else's EDGE junk out everytime the EDGE connection goes to sleep? I would have to readjust the settings, and reboot before it works again, otherwise I would get the COMVERSE error.



Posted by: RaXavier69

okay i read all of this and im still lost. IM in brooklyn NY. Is there a big difference in speed by using the 19.99 settings and the 5.99 internet? can i use the 5.99 here with utube safari and so on? and can any one in NY give me there proxy settings.

tthanks for helping the newby^^



Posted by: RaXavier69

i need help i did all of this but when i try to connect to weather or stock it brings up the wifi thing and nothing works?



Posted by: procon

I used the app installer to add the T-Zones proxy settings and it works like a charm.

The only issue is that websites like Facebook and GCal require frequently reentering login info. I've selected "remember me" for both these sites, but it doesn't stick and makes checking Google calendar pretty unusable.

Is anybody else having that issue or have any ideas what's going on?

Thanks a lot.



Posted by: jeffd

There is a app called "remember me" (I think that is the name) that is on installer that fixes this.



Posted by: procon

@Jeff

Awesome, thank you!





vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2008 - Created by Stefan "Xenon" Kaeser