View Single Post
  #1 (permalink)  
Old 02-28-2008, 04:44 PM
freshster freshster is offline
Green Apple
 
Join Date: Oct 2007
Posts: 68
Thanks: 0
Thanked 22 Times in 15 Posts
How to: t-zones without using proxy.pac file

Hello all,

Just doing a little bit of research I found a way to get the t-zones ($5.99) internet working without using the proxy.pac file. You will still need to modify the preferences.plist file though.

I am posting this to inform everyone of my findings, as this method seems to be just a tiny bit cleaner in overall configuration.

Procedure:

1) Uninstall or manually remove any previous t-zones proxy hacks.
2) Delete the proxy.pac file (not required).
3) Add the lines highlighted in red to the preferences.plist file. Mine was located at /private/var/preferences/SystemConfiguration/preferences.plist.

(Only modify the section with DeviceName "ip1")
Code:
/private/var/preferences/SystemConfiguration/preferences.plist

	<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>HTTPEnable</key>
		<integer>1</integer>
		<key>HTTPPort</key>
		<integer>8080</integer>
		<key>HTTPProxy</key>
		<string>216.155.165.50</string>
		<key>HTTPSEnable</key>
		<integer>1</integer>
		<key>HTTPSPort</key>
		<integer>8080</integer>
		<key>HTTPSProxy</key>
		<string>216.155.165.50</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>wap.voicestream.com</string>
			<key>password</key>
			<string></string>
			<key>username</key>
			<string></string>
		</dict>
		<key>Version</key>
		<integer>1</integer>
	</dict>
It does not speed anything up as far as I can tell, and there still seems to be the initial delay when first connecting to any of the internet services (i.e. safari, weather, mail, etc.). The only differences is like I said before; it is just a bit cleaner setup.

Please let me know how it works for you.
I have tested this on 1.1.3 and 1.1.4.

EDIT:
Thanks to MrEBean...
I have confirmed that this configuration will also work with firmware 2.0.
For firmware 2.0 the preferences.plist file will look like the following:

Code:
			<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>
				<key>UserDefinedName</key>
				<string>com.apple.CommCenter (ip1)</string>
			</dict>
			<key>Proxies</key>
			<dict>
				<key>HTTPEnable</key>
				<integer>1</integer>
				<key>HTTPPort</key>
				<integer>8080</integer>
				<key>HTTPProxy</key>
				<string>216.155.165.50</string>
				<key>HTTPSEnable</key>
				<integer>1</integer>
				<key>HTTPSPort</key>
				<integer>8080</integer>
				<key>HTTPSProxy</key>
				<string>216.155.165.50</string>
			</dict>
			<key>UserDefinedName</key>
			<string>com.apple.CommCenter (ip1)</string>
			<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>wap.voicestream.com</string>
					<key>password</key>
					<string></string>
					<key>username</key>
					<string></string>
				</dict>
				<key>Version</key>
				<integer>1</integer>
Thanks.

Last edited by freshster; 07-21-2008 at 04:56 PM.. Reason: Added HTTPS proxy code to fix Google Maps Locate
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 8 Users Say Thank You to freshster For This Useful Post:
96hondaex (03-06-2008), alnath (06-24-2008), beaner4sho (09-02-2008), coolusername (08-29-2008), minsong79 (03-01-2008), oh-dawg (03-07-2008), rush (02-29-2008), ~Antonio (04-11-2008)