[GPRS] Got my Proxy settings to work. [Using the CMWAP In The China Mobile,Chine

Mail does not work, it keeps trying to contact ports 25 and 110 to send and recieve (I think) well obviously I am telling it to use port 8080, so that is next to figure out.

Here are the settings I used with Qtel (Qatar):

First I found a proxy.pac file, (Just do a proxy.pac flie search on google or use mine) edited it in notepad (if you save as for testing make sure it does not save as proxy.pac.txt):

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), “10.0.0.0″, “255.0.0.0″))
return “PROXY 10.0.0.172:80″;
else
return “DIRECT”;
}

Qtel gives us 10.x.x.x addresses so I just told it to use the proxy when my address is that.

Next I saved this file in “/private/var/root”

Then I edited my preferences file located in: /private/var/root/Library/Preferences/SystemConfiguration/preferences.plist---(1.1.3 Version the direction is /private/var/preferences/SystemConfiguration/preferences.plist) (I used wordpad) adding the following:

<dict>
<key>Interface</key>
<dict>
<key>DeviceName</key>
<string>ip1</string>
<key>Hardware</key>
<string>com.apple.CommCenter</string>
<key>Type</key>
<string>com.apple.CommCenter</string>
</dict>
<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>

<key>com.apple.CommCenter</key>
<dict>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>
<dict>
<key>apn</key>
<string>gprs.qtel</string>
<key>password</key>
<string>gprs</string>
<key>username</key>
<string>gprs</string>
</dict>
<key>Version</key>
<integer>1</integer>
</dict>
</dict>

** dont forget it’s “file///” 3 slashes after file.
** I am not sure if the indentation has to be precise but for mine the <key>Proxies is the same as the </dict> above it and the <dict> below it. The next line <key>ProxyAutoConfigEnable</key> is indented as are the rest of the lines until </dict>

Then I saved the file and put it back on my Iphone. Web/Weather/Stocks and Utube (brings up the page but too slow on GPRS to play video) work, but not Mail. Like I said earlier I think its a port issue.

Hope you have luck getting it to work, this fix was based on this website:
http://etler.livejournal.com/18726.html

Let me know if you get it to work also, or if you know a fix for the Mail app.

goodluck4287 has Graciously put the needed files together to share. Please keep in mind that although these files are the correct format you may need to edit them to match your provider information. !MEANING: Don’t just throw them on your phone and ask why it’s not working. I haven’t used or verified the files I was just asked to add the link. I am sure goodluck4287 would be more than happy to answer your questions about the files he has for download. Thanks again goodluck4287 and to all else, good luck unlocking even more of your IPHONE.

你可能感兴趣的:(apple,Web,Google,REST,mobile)