Tuesday, December 18, 2007

Get Airtel Live working on your Iphone [OBSOLETE]

Please Note: This is an old post, now you can configure airtel live automatically by adding my source www.kansara.in/installer.xml to your installer sources, for more info go here [Update: 31/03/2008]
Okay guys, here I would list out as to how to get airtel live working on your Iphone.
I myself learnt to configure this from http://arashpayan.com/blog/index.php/category/technology/, so all credit goes to the author of this page.

Things required:
1. Jailbroken unlocked iphone, :)
2. OpenSSH installed on Iphone(as you will have to access the filesystem)
3. NetServices installed on you iphone(from installer source http://homepage.mac.com/hartsteins/copycoders/copycoders.xml , though Services App will also do, if it is the latest one and displays your IP address)
3. WINSCP installed on your PC
4. A good text editor(though wordpad will do).

Now we begin,

1. Open wordpad and paste the code below:

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

Note in the above block of text that the proxy used by airtel is 100.1.200.99 and the port is 8080, so in this place if hutch(vodafone now) or bsnl or Idea users insert their proxy and port address, things should be fine with them too.

2. Save the file as proxy.pac and save it on your pc. Make sure you save it as proxy.pac and not as proxy.pac.txt or proxy.pac.rtf.

3. SSH to your Iphone and goto the location /private/root/ and paste the file proxy.pac to this location.

4. Now on your phone goto the location /private/var/root/Library/Preferences/SystemConfiguration/ , here you will find a file preferences.plist, copy this file to your PC.

5.Now, open the file in your text editor(i recommend if you use Windows XP, instead of opening in notepad, open it in wordpad, as in notepad the tabs and indentations in the file are not that convenient to see and edit), and search in the file for this code:

<key>DeviceName</key>
<string>ip1<string>


Please Note: The file has multiple instances of "DeviceName", so make sure you just locate the place where "DeviceName" is succeeded by "ip1" and not by something like ip2 or en0.

6. okay now the code around the place where you located the above lines is somewhat like this

           <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>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>

7. We will place our text in between this block of code like this(the text in red is the code you have to insert)

           <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>

Please Note: Please make sure that when adding this code you maintain all the indentation in the file and provide proper tabbing as above and do not disturb the original indentation of the file.

8. Save the file.

9. SSH again to your phone and go again to the location /private/var/root/Library/Preferences/SystemConfiguration/ , rename the original preferences.plist to preferences.plist.original and upload the file you edited on the PC to this location.

10. Close the SSH connection, turn off SSH on phone too.

11. On your Iphone goto Settings-->General-->Network-->Edge. In this window fill airtelfun.com as your apn, leave username and password blank.

12. Come to home screen, switch off the iphone by pressing the power button for five seconds and then slide to power off. Switch it on again.

13. Now open NetServices to make sure Edge is turned on while Wifi is off. Close NetServices.

14. Open safari and open the page live.airtelworld.com and let it load for sometime. It normally does not open for the very first time you load it.

15. Close Safari, Open NetServices again, if at the bottom it displays your ip address as something like 10.x.x.x, congrats, you can now use airtel live to browse the web.

16. Again open Safari and reload live.airtelwolrd.com or maybe www.google.com or any other site, :).



A few Points to take care of:
1. If you have any doubts, please drop in a line in the comments section.
2. Do not mess up the preferences.plist file, do exactly as listed above, if you fail to paste it properly in the correct location, the phone might need to be restored, if you have any doubts or require the proxy.pac file and preferences.plist file, post your email in comments, I will email you both files that I have edited and are working fine on my 1.1.1 Iphone.

Take Care All

21 comments:

Anonymous said...

This indeed is very useful for Airtel Live! Users. I am on an unlimited corporate GPRS connection - Mobile Office-. Do you know much is the data transfer rates for Airtel Live?

Incredible India said...

Hi Vinod,
Am really glad that you could take out the time to visit the blog.
The Airtel Live data transfer charges for Rajasthan circle are 15 paise for each 10KB.

Anonymous said...

Thanx buddy...!!!
U R incredible....

UdAy said...

Hey mate , does this require GPRS to be activated or only AIRTEL LIVE?

Incredible India said...

Hi Uday,
By gprs, I think you mean airtel mobile office which is available on the access point 'airtelgprs.com' and is available for a monthly rental of rs. 499(in rajasthan circle). Am I right?
No my solution does not require this to be activated. You just need airtel live to be activated on your phone.

Hope this helps.

Metaphysical said...

Hi,

I managed to get hold of the Apple iPhone 8GB. I am at India thus the shop owner was nice enough to unlock it for me. I am able to watch youtube on EDGE / GPRS and also on Wi Fi. I also managed to install a few applications. Needless to say, this baby is GOOD.

Herez the problem, i want to transfer some music, videos and pictures to my iPhone. I am too scared to connect it to iTunes, lest i may loose everything that works currently and end up with a brick.

Can someone help me with this ? I also have the original AT&T SIM Card and currently use AIRTEL in India.

I would really appreciate a response.

Oh Yes, I am iPhone / iMac / iTunes illiterate.

Rgds
Dev

Anonymous said...

Fortune favours the brave....

Incredible India said...

Hey Davinder,
No need to worry. Simply connecting your iphone to your itunes will not brick your iphone. It's when you update it accidentally, this normally happens, anyways before updating also Itunes always asks that a new version of the iphone firmware is available and if you want to update, Always answer as no, and also tick the box, don't ask me again.

To be more safe, as we don't have any online itunes music store in India, we can simply deny itunes any internet access, that is if you have firewall installed simply don't give itunes permission to access the net or just go offline while syncing the iphone(though this is unnecessary)

I am assuming that you are either running firmware 1.0.2 or 1.1.1(see in settings->general->About->firmware).
Both these versions work fine with the itunes 7.4.3.1, just download the file and install it, do not download the latest version 7.5 as yet, as there are some rumours that it creates problem,
get itunes 7.4.3.1 from here

Girish said...

hey incredible india..thanks for your post..it is really useful.. everything working as expected... is this airtellive service free? how much it charge per 10kb? and it is data download change or even during net surfing?
thanks again

Incredible India said...

Hi Girish,
Really glad that I could help you in any way. Although activation for Airtel live is free, you do have to pay browsing charges(that is both net surfing and downloading) which in Rajasthan are 15paise/10kb.
Anyways there are no charges to browse or download anything from the portal live.airtelworld.com, but you have to pay for almost everything that you download from there, :(.

To find out, the charges in your area, goto live.airtelworld.com and search anything from it's new 'google powered' search, on the results page, there must be some section mentioning the charges.

There is also the airtel Mobile office plan, which charges like rs. 499 per month(in Rajasthan) and browsing and downloading is free.

Take Care!!

Anonymous said...

Thanks a lot buddy.
It was a well explained effort from ur side.
I did it for my iphone
with the exception of the location of the preferences.plist file. Now the file is located in:

/Library/Preferences/SystemConfiguration/preferences.plist

anyway thanks again
vik

Incredible India said...

Hey Vik,
thanks man, i have marked the older blog posts as 'OBSOLETE' for now. Also I managed to configure my own installer source http://www.kansara.in/installer.xml from where you can automatically configure airtel live on your phone, do check it out.

Take Care

Anonymous said...

I tried using your installer app in 1.1.4 but all internet applications show 'Could not activate Edge ' though the icon is shown in the taskbar

Incredible India said...

hi anonymous,
go here and try out what i have written and post the results, just take care to open live.airtelworld.com instead of live.vodafone.in

Anonymous said...

hi
currently I upgraded the firmware from 1.4 to 2.0. way back in 1.4 the edge was working fine with the package given here. can we get a similar one for 2.0 as well?

Incredible India said...

Hi,
I am sorry, I broke my iPhone, so am unbale to help you on Airtel Live working on 2.0.
However, Airtel has started a new service called MOWS i.e. Mobile office without subscription. This service does not have any fixed rental, you just pay as per you use. Dial 121 and find out if the service is available in your circle and what are the charges. If it is available, you just have to enter the access point name in your settings app as airtelgprs.com and it will start working without the need for any proxy settings.
Please do reply and tell me if this worked.

Bye,
Incredible India

Anonymous said...

Please help.
I am using iphone and accidently switched to 2.2 through itunes. Now the phone has been unlocked but i am unable to connect to Airtel Live as edge is not visible now in network settings. VPN is there ! what should i do ???

Unknown said...

hi

Unknown said...

Please help.
I am using iphone and accidently switched to 2.2 through itunes. Now the phone has been unlocked but i am unable to connect to Airtel Live as edge is not visible now in network settings. VPN is there ! what should i do ???

Can i configure manually ??

Anonymous said...

[url=http://www.23planet.com]Online casinos[/url], also known as accepted casinos or Internet casinos, are online versions of ancestral ("buddy and mortar") casinos. Online casinos approve gamblers to lessen and wager on casino games through the Internet.
Online casinos superficially instruction odds and payback percentages that are comparable to land-based casinos. Some online casinos denote on on higher payback percentages with a point of thoughtful rather residence extend games, and some set in motion known payout discordance audits on their websites. Assuming that the online casino is using an correctly programmed unsystematic additionally a review up generator, room games like blackjack enthral experience an established purposes edge. The payout tip-off as a replacement in the performance of these games are established gone and forgotten the rules of the game.
Solitary online casinos license into the open or face their software from companies like Microgaming, Realtime Gaming, Playtech, Spread out Nimbleness Technology and CryptoLogic Inc.

Anonymous said...

[url=http://www.onlinecasinos.gd]casino[/url], also known as utilitarian casinos or Internet casinos, are online versions of standard ("chunk and mortar") casinos. Online casinos own gamblers to extemporize and wager on casino games heart of the Internet.
Online casinos typically intern up championing sales marathon odds and payback percentages that are comparable to land-based casinos. Some online casinos declare on higher payback percentages as a cure-all with a position place automobile games, and some grounds community payout slice audits on their websites. Assuming that the online casino is using an politely programmed unspecific coterie generator, note games like blackjack enthral carry an established borderline edge. The payout consequence profit search of these games are established at nigh the rules of the game.
Uncountable online casinos specialist into community watch or produce their software from companies like Microgaming, Realtime Gaming, Playtech, Wide-ranging Pull the wool over someone's eyes Technology and CryptoLogic Inc.