Elliott C. Back: Technology FTW!

iPhone 3G T-Mobile Edge Fix

Posted in Apple, Google, Maps, iPhone by Elliott Back on August 10th, 2008.

If you recently unlocked your iPhone 3G and found after going through the whole WinPWN / Cydia process that T-Mobile Edge settings only work for Mail, but not for Google Maps, or other important services, you’re not alone. It’s also quite easy to fix, and continues to work with location services and other apps from the AppStore.

1) Install SSH

Assuming you have Cydia, you should install the OpenSSH package onto your iPhone. Just scroll down to OpenSSH, and hit install:

iphone-cydia-install-openssh.png

2) Download WinSCP, connect to iPhone

You can download the latest version of WinSCP and install it. Then it will prompt you to connect to your iPhone, which you should have running on your local Wifi. Note that the default username and password for the 3G iPhone will be root/alpine. If you don’t know the IP address you can either guess in the 192.168.0/1.* range, or just logon to your router and see.

iphone-winscp.png

3) Verify / Update Proxy.pac

Use the file browser to verify that a file called ./private/var/preferences/proxy.pac exists, and contains the following:

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”;
}

You could just run these commands:

Kiwiii:/ root# find -name proxy.pac
./private/var/preferences/proxy.pac
Kiwiii:/ root# md5sum ./private/var/preferences/proxy.pac
8c9a4f4b1692cd3519ce7bcf180c66a4 ./private/var/preferences/proxy.pac
Kiwiii:/ root#

4) Verify preferences.plist

Next you need to hunt for /private/var/preferences/systemconfiguration/preferences.plist, and make sure it contains this section:

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

You should put it on the same level and after the Interface key/dict pair for the network interface which contains your WAP settings, which for T-Mobile’s $5.99 T-Zones are just the WAP APN wap.voicestream.com with no username or password. Save the file, restart your iPhone, and you’re set!

iphone-google-maps-working.png

Yep, it found me! Yay! Google maps is working!

This entry was posted on Sunday, August 10th, 2008 at 4:21 pm and is tagged with google maps, winscp, google, iphone, t mobile, mail, network interface, important services, location services, dict, proxies, pac, 3g, router, lt, alpine, apps, 192 168 0 1, ip address. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Viewing 15 Comments

 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus