I have provided one code as follows which you have to paste in a new Notepad file and then save it as a " proxy.pac " and NOT AS A proxy.pac.txt.
Code:
function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 100.001.200.099:8080";
else
return "DIRECT";
}
1. Now open search for the preferences.plist file on your iphone. And navigate to the " /private/var/preferences/SystemConfiguration/preferences.plist ".
2. Copy these file ti any safe location and open it in text editor.
3. Go to the
Code:
<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>com.apple.CommCenter</key>
<dict>
4. Now add up the given code to the next line of an above code.
Code:
<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///var/mobile/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>airtelfun.com</string>
<key>password</key>
<string></string>
<key>username</key>
<string></string>
</dict>
<key>Version</key>
<integer>1</integer>
</dict>
</dict>
5. Save preferences.plist somewhere else now.
6. Now connect your phone by using an OpenSSH or AFPd and place your proxy.pac file in " /private/var/mobile directory ".
7. Now place the new preferences.plist file in " /private/var/preferences/SystemConfiguration/preferences.plist " as well as " /private/var/root/Library/Preferences ".
8. Now go to an iPhone's Settings -> General -> network -> EDGE and insert the following:
APN airtelfun.com
Username -blank-
Password -blank-
9. Reboot your phone and try connecting to Airtel Live.
Bookmarks