Technical

GTP Tunnel in CDMA

From: s v[mailto:SV@gmail.com]
Sent: Thursday, November 24, 2011 6:44 PM
To: Bhardwaj, Rajiv

Subject: Re: 1 qstn

one more

Can we use GTP in CDMA EVDO ? Why thr is only PMIP in case of CDMA and WiMAX ?

On Thu, Nov 24, 2011 at 1:29 PM, Bhardwaj, Rajiv  <rajiv.bhardwaj@xxx.com> wrote:

I don’t think that GTP can be used in CDMA EvDO.

 

But EPC can use GTP as well as PMIP & thus can support LTE, CDMA & Wi-max etc.

 

Yaar, I don’t have technical answer for the second part.

 

I believe CDMA was developed later than GPRS so it used the “latest’ protocol for the tunneling purpose i.e. PMIP.

 

When EPC was developed from GPRS it just upgraded the protocols from GTP1.0 to GTP2.0. and

 

Similarly CDMA developed the better version of PMIP & they keep using their own ‘legacy” protocols by adding new fields for better functionality……

On Thu, Nov 24, 2011 at 1:33 PM, s v <SV@gmail.com> wrote:

ok, so that means thr is no bearer identification possible in case of PMIP as it is using single tunnel for all Bearer, for uplink traffic its nt required bt hw it hapns in downlink?

From: Bhardwaj, Rajiv
Sent: Thursday, November 24, 2011 7:06 PM
To: ‘s@googlemail.com’
Subject: RE: 1 qstn

There is only one tunnel between SGW & PGW but inside the tunnel, data streams are for particular IPs i.e. Mobile IP, so it can be segregated.

From: s v[mailto:SV@gmail.com]
Sent: Thursday, November 24, 2011 7:07 PM

To: Bhardwaj, Rajiv
Subject: Re: 1 qstn

i think for downlink TFT will cum in picture and will do mapping based on TED’s. is it?

On Thu, Nov 24, 2011 at 1:38 PM, Bhardwaj, Rajiv  <rajiv.bhardwaj@xxx.com> wrote:

But there is only one Tunnel end point address……

From: s v[mailto:SV@gmail.com]
Sent: Thursday, November 24, 2011 7:25 PM

To: Bhardwaj, Rajiv
Subject: Re: 1 qstn

oh Sorry typo mistake-
i think for downlink TFT will cum in picture and will do mapping based on packet filters for each bearers . is it?

From: Bhardwaj, Rajiv
Sent: Thursday, November 24, 2011 7:25 PM
To: ‘sv@googlemail.com’
Subject: RE: 1 qstn

No idea.

 

I think Mobile IP should be enough to separate traffic….

From: s v [mailto:sv@gmail.com]
Sent: Thursday, November 24, 2011 7:29 PM
To: Bhardwaj, Rajiv
Subject: Re: 1 qstn

chk tis, fst 2 r GTP nd last one is PMIP based

 

 

 

From: Bhardwaj, Rajiv
Sent: Thursday, November 24, 2011 7:31 PM
To: ‘s v@googlemail.com’
Subject: RE: 1 qstn

Okay..

banda ghaint hai tu… thanks

No comment »

EPC Control Plane

From: s v[mailto:SV@gmail.com]
Sent: Wednesday, November 23, 2011 4:44 PM
To: Bhardwaj, Rajiv
Subject: 1 qstn

On what interface in LTE, Control Plane SCTP over IP and UDP over IP is used and Why?

On Wed, Nov 23, 2011 at 11:22 AM, Bhardwaj, Rajiv  <rajiv.bhardwaj@xxx.com> wrote:

Because control plane needs more reliability so it uses S1AP over SCTP.

User plane can use less reliable i.e UDP

It was same in 3G

RANAP over SCTP for control

&

GTP over UDP for User

From: s v[mailto:SV@gmail.com]
Sent: Thursday, November 24, 2011 5:02 PM
To: Bhardwaj, Rajiv

Subject: Re: 1 qstn

thn why S10 is over UDP? like all other contro plane interfaces like S11, S5/S8, S3/S4 all are UDP not SCTP..

On Thu, Nov 24, 2011 at 11:37 AM, Bhardwaj, Rajiv  <rajiv.bhardwaj@xxx.com> wrote:

All these interfaces have control information but they are just used to create the GTP tunnels.

So there is no “special” control information but just the bearer establishment. So it can be called control plane but it is only control information for creating tunnel for user data. So its more or less part of the user data.

While RANAP has real control information like LUP, attach, ciphering etc.. This information is critical & is needed even if there is no user data. But remaining interfaces only work when there is some user data.

On Thu, Nov 24, 2011 at 11:46 AM, s v <SV@gmail.com> wrote:

hmm banda ghaint hai tu… thanks

No comment »

Hitler Upset about LTE not having CS-Domain

Hitler is really upset about the omission of CS Domain in LTE ( EPC).

I am definitely with him. Who doesn’t love a couple of MSS & MGWs in the network.

I miss those MSCs, MSS and MGWs

Those E1s, T1s,  DDFs, jumper cables and Punching.

Those Trees and digit analysis

Pre and Post analysis

Routes and SS7 links

LAC & Cell definitions

But it is was meant to be my friend it was meant to be :(

But then  IMS will still have “parts” of CS-Domain.

No comment »

Installing Excel Addins

To install an add-in to Microsoft office excel.

1.   First move the add-in file (“.xla” or “.xll” ) to default add-ins folder. Which is usually “userfolder”\Application Data\Microsoft\AddIns.

“userfolder” is the folder with your username.

For windows XP, it is in documents & settings folder. So you will find the addins folder at

C:\Documents and Settings\[UserName]\Application Data\Microsoft\AddIns

where username is your computer user name.

For Windows Vista & later it is usually

C:\Users\[User Name]\AppData\Roaming\Microsoft\Addins

In most cases you can find correct folder by typing %AppData%\Microsoft\Addins into the “Run” and hitting enter.

You may also have a separate folder for Add-ins, in that case you can copy the addin file to that folder.

2.  For Excel 2003 or older, go to addins menu by selecting Tools->Add-ins.

3.  Then choose the desired add-in from list.  Add-in will appear in the list if you have copied it to the right Add-in folder as described in step 1.

4. If Add-in is not displayed in the list then you can use the browse button to locate the Add-in File.

For Office 2007 or later:

1.   First move the add-in file (“.xla” or “.xll” ) to default add-ins folder. Which is usually “userfolder”\Application Data\Microsoft\AddIns.

“userfolder” is the folder with your username.

For windows XP, it is in documents & settings folder. So you will find the addins folder at

C:\Documents and Settings\[UserName]\Application Data\Microsoft\AddIns

where username is your computer user name.

For Windows Vista & later it is usually

C:\Users\[User Name]\AppData\Roaming\Microsoft\Addins

In most cases you can find correct folder by typing %AppData%\Microsoft\Addins into the “Run” and hitting enter.

You may also have a separate folder for Add-ins, in that case you can copy the addin file to that folder.

2. Click on the Office button in top left corner.

3. Then choose excel options.

4.  Select  “Add-ins” , choose Manage “Excel Add-ins” and click Go.

5.  Then choose the desired add-in from list and click OK.  Add-in will appear in the list if you have copied it to the right Add-in folder as described in step 1.

6. If Add-in is not displayed in the list then you can use the browse button to locate the Add-in File.

7. If Add-in is correctly installed then it may show a relevant message.

8. Once installation is complete then you can see the “compatible” add-ins in the Add-ins tab of office ribbon. (Optional)

9. There you can select the properties and extra functionalities of the installed Add-in. (Optional)

Last 2 steps are optional and may not be available for all Add-ins.

No comment »

RB_IP_Mod: IP Modification Function

RB_IP_Mod:  This is the primary function of RBIPFx Excel Add-in. It modifies the IP addresses.

Syntax: RB_Mod_IP( IP address, optional Step, Optional Part)

Parameters:

IP Address: As the name suggest is IPV4 IP address which you want to modify.

Step: It is the number by which you want to increment or decrement the given IP address. It is optional and default value of this parameter is 1.

Part: It is the part of IP address you want to modify. As IPv4 address as 4 parts separated by “.”.

i.e For IP 10.11.12.13, Part 1 =10, part 2=11, Part3 =12 & Part4 =13.

It is also optional parameter & default value of this part is 4. i.e. last part (Class C subnet)

USAGE: Following are some of the ways, this function can be used.

i)  You can increment the IP by one just by using the IP address parameter. i.e.

RB_IP_Mod(“10.11.12.13″,1) will give 10.11.12.14.

RB_IP_Mod

As i have set the value of Step to be 1 by default so RB_IP_Mod(“10.11.12.13″) will also do.

Dragging this function in excel column will give you a series of IPs.

ii)  But if you want to increment the IP with bigger value then you need to use the parameter STEP.

e.g

RB_IP_Mod(“10.11.12.13″, 10) will give you 10.11.12.23.

iii) If you want to create a new IP subnet then you may want to increment the 3rd part of the IP directly. You can do that by using the Part parameter.

e.g

RB_IP_Mod(“10.11.12.13″, 10, 3) will give you 10.11.22.13

iv)  Many people use IP address with subnet maskbits (e.g. xx.xx.xx.xx/24) included. This function can handle that too. It automatically detects the subnet mask separator (“/”) and uses the same format for output.

e.g

RB_IP_Mod(“10.11.12.13/24″,10,3) will give you 10.11.22.13/24 as output.

Please note that it recognizes only “/” as separator.

v)  If you want to decrement an IP address instead of incrementing then you can do that too by just giving a negative Step Value.

e.g RB_IP_Mod(10.11.12.13, -5) will give 10.11.12.8

Error Handling: It can handle basic error situations.

if you input a step value more than 255 or less than -255. Function will return an error.

e.g.

RB_IP_Mod(10.11.12.13, 258) will give “#NUM” as return. This error is inline with basic excel errors as it signifies that wrong value of number is being used.

I initially had pop-up message for such situations but it becomes quite irritating if we have a large sheet full of IP addresses.

One more situation which I have captured is that sometimes input is well within range but the resultant IP is out of range. It also generates error in such situation.

e.g.  RB_IP_Mod(10.11.12.13, 245) will give “#NUM” error as resultant IP 10.11.12.258 is not the valid one. For me this error functionality is a real life saver as I tend to forget this “255″ limit.

For procedure to install the add-in check this post.

Installing Excel Addins

To download the  add-in, go to download page.

No comment »

Excel based IP Functios: RBIPFx

After I got tired with manually modifying IP address in excel, I decided to give a try to creating some kind of formula.

I got some success with inbuilt “left” & “right” functions. e.g. by using something like this to increment the IP address at position A1.

LEFT(A1,FIND(“.”,A1,FIND(“.”,A1,FIND(“.”,A1,1)+1)+1))&RIGHT(A1,LEN(A1)-FIND_

(“.”,A1,FIND(“.”,A1,FIND(“.”,A1,1)+1)+1))+1

But soon it became quite cumbersome because of 3 reasons.

1. Every time I wanted to use this formula I had to change the reference cell ID “A1″ manually. It defeated the original purpose of automation.

2.  It didn’t work well for changing the Class A or B IP Subnets. I mean updating any of the first three “parts” of IP address.

3. As I started working on some IP hungry nodes.  Handling of huge number of IPs became almost impossible by this way.

Don’t have much experience with macros & all but still was able to create a set working function.

I have complied all the IP address related functions in Add-in format which can be downloaded from this page. Although, .xla format is not fully portable as excel sheets created by one user cannot be used by another user without updating the links. But it’s the easiest way to transfer reusable functions.

This Add-in RBIPFx (Rajiv Bhardwaj’s IP functions) include following functions in present version (0.1).

1. RB_IP_Bits2Mask

2. RB_IP_ErrChk

3. RB_IP_Mod: Click here for details.

4. RB_IP_NextSub

For procedure to install the add-in check this post.

Installing Excel Addins

No comment »

How to install Cisco VPN on Ubuntu Live CD (10.04)

Whenever there is a problem with my Windows OS. I use Linux live CD (usually Ubuntu) to continue my work until the problem is resolved.
Recently I faced a similar problem when my hard disk crashed. I was able to complete most of my work with the help of Ubuntu live CD. But I was facing some problems while connecting to my office VPN. I use Cisco VPN to connect to office network. But Cisco VPN  was not pre-installed in the version of Ubuntu that i used (10.04).
It took sometime but finally I was able to install it & connect to my office network. Here are the steps which I followed.

I used Ubuntu 10.04 Live CD (32 bit).

1.   Download cisco vpn client for linux from “projects.tuxx-home.at” with following command

wget http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz

2.   Extract the package.

tar xzf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz

3.   Goto the vpnclient directory

cd vpnclient

3.  Download patch

wget http://lamnk.com/download/vpnclient-linux-2.6.31-final.diff

4. Patch the cisco VPN client

sudo apt-get install patch

patch < ./vpnclient-linux-2.6.31-final.diff

5.  Build the vpn client

sudo sed -i 's/const\ struct\ net_device_ops\ \*netdev_ops;/struct\ net_device_ops\ \*netdev_ops;/' `find /usr/src -name netdevice.h`

6.  Finally install the Cisco VPN client.

sudo ./vpn_install

7. Now we need to initialize the VPN client. (it does not actually connects the client, it just initializes it)

sudo /etc/init.d/vpnclient_init start

8. Copy your VPN profile (YourProfile.pcf) to vpn profile folder ( /etc/opt/cisco-vpnclient/profile)

sudo cp YourProfile.pcf  /etc/opt/cisco-vpnclient/profile

9. Finally connect the VPN client using “YourProfile”

sudo vpnclient connect YourProfile

Provide usernname & password as asked and you are done.

Note:

To run a command as administrator (user “root”), use “sudo “.
See “man sudo_root” for details.

If you use Live CD then you have to repeat this procedure every time you restart your machine.

Below is the log from my PC for  reference

*********************************************************************

ubuntu@ubuntu:~$ wget http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
–2010-08-26 08:46:40– http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
Resolving projects.tuxx-home.at… 88.198.57.56
Connecting to projects.tuxx-home.at|88.198.57.56|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2050813 (2.0M) [application/x-gzip]
Saving to: `vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz’

100%[======================================>] 2,050,813 43.9K/s in 46s

2010-08-26 08:47:28 (43.5 KB/s) – `vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz’ saved [2050813/2050813]

ubuntu@ubuntu:~$ tar xzf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz

ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ cd vpnclient
ubuntu@ubuntu:~/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.

Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.

Directory containing linux kernel source code [/lib/modules/2.6.32-24-generic/build]

* Binaries will be installed in “/usr/local/bin”.
* Modules will be installed in “/lib/modules/2.6.32-24-generic/CiscoVPN”.
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from “/lib/modules/2.6.32-24-generic/build” will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/ubuntu/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic’
CC [M] /home/ubuntu/vpnclient/linuxcniapi.o
CC [M] /home/ubuntu/vpnclient/frag.o
CC [M] /home/ubuntu/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/ubuntu/vpnclient/interceptor.o
/home/ubuntu/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/ubuntu/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/ubuntu/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’
/home/ubuntu/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/ubuntu/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/ubuntu/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/ubuntu/vpnclient/interceptor.c:272: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/ubuntu/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/ubuntu/vpnclient/interceptor.c:294: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[2]: *** [/home/ubuntu/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/home/ubuntu/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic’
make: *** [default] Error 2
Failed to make module “cisco_ipsec.ko”.
ubuntu@ubuntu:~/vpnclient$ wget http://lamnk.com/download/vpnclient-linux-2.6.31-final.diff
–2010-08-26 08:50:50– http://lamnk.com/download/vpnclient-linux-2.6.31-final.diff
Resolving lamnk.com… 67.220.216.34
Connecting to lamnk.com|67.220.216.34|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1912 (1.9K) [application/octet-stream]
Saving to: `vpnclient-linux-2.6.31-final.diff’

100%[======================================>] 1,912 –.-K/s in 0.005s

2010-08-26 08:50:50 (398 KB/s) – `vpnclient-linux-2.6.31-final.diff’ saved [1912/1912]

ubuntu@ubuntu:~/vpnclient$ patch < ./vpnclient-linux-2.6.31-final.diff
The program ‘patch’ is currently not installed. You can install it by typing:
sudo apt-get install patch
ubuntu@ubuntu:~/vpnclient$ sudo apt-get install patch
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
diffutils-doc
The following NEW packages will be installed:
patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/123kB of archives.
After this operation, 254kB of additional disk space will be used.
Selecting previously deselected package patch.
(Reading database … 128779 files and directories currently installed.)
Unpacking patch (from …/patch_2.6-2ubuntu1_i386.deb) …
Processing triggers for man-db …
Setting up patch (2.6-2ubuntu1) …
ubuntu@ubuntu:~/vpnclient$ patch < ./vpnclient-linux-2.6.31-final.diff
patching file interceptor.c
ubuntu@ubuntu:~/vpnclient$ sudo sed -i ‘s/const\ struct\ net_device_ops\ \*netdev_ops;/struct\ net_device_ops\ \*netdev_ops;/’ `find /usr/src -name netdevice.h`
ubuntu@ubuntu:~/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.

Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.

Directory containing linux kernel source code [/lib/modules/2.6.32-24-generic/build]

* Binaries will be installed in “/usr/local/bin”.
* Modules will be installed in “/lib/modules/2.6.32-24-generic/CiscoVPN”.
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from “/lib/modules/2.6.32-24-generic/build” will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/ubuntu/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic’
CC [M] /home/ubuntu/vpnclient/linuxcniapi.o
CC [M] /home/ubuntu/vpnclient/frag.o
CC [M] /home/ubuntu/vpnclient/interceptor.o
/home/ubuntu/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/ubuntu/vpnclient/interceptor.c:140: warning: assignment discards qualifiers from pointer target type
CC [M] /home/ubuntu/vpnclient/linuxkernelapi.o
LD [M] /home/ubuntu/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/ubuntu/vpnclient/.libdriver.so.cmd for /home/ubuntu/vpnclient/libdriver.so
CC /home/ubuntu/vpnclient/cisco_ipsec.mod.o
LD [M] /home/ubuntu/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic’
Create module directory “/lib/modules/2.6.32-24-generic/CiscoVPN”.
Copying module to directory “/lib/modules/2.6.32-24-generic/CiscoVPN”.
Already have group ‘bin’

Creating start/stop script “/etc/init.d/vpnclient_init”.
/etc/init.d/vpnclient_init
Enabling start/stop script for run level 3,4 and 5.
Creating global config /etc/opt/cisco-vpnclient

Installing license.txt (VPN Client license) in “/opt/cisco-vpnclient/”:
/opt/cisco-vpnclient/license.txt

Installing bundled user profiles in “/etc/opt/cisco-vpnclient/Profiles/”:
* New Profiles : sample

Copying binaries to directory “/opt/cisco-vpnclient/bin”.
Adding symlinks to “/usr/local/bin”.
/opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/cisco_cert_mgr
/opt/cisco-vpnclient/bin/ipseclog
Copying setuid binaries to directory “/opt/cisco-vpnclient/bin”.
/opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory “/opt/cisco-vpnclient/lib”.
/opt/cisco-vpnclient/lib/libvpnapi.so
Copying header files to directory “/opt/cisco-vpnclient/include”.
/opt/cisco-vpnclient/include/vpnapi.h

Setting permissions.
/opt/cisco-vpnclient/bin/cvpnd (setuid root)
/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient/Profiles (group bin readable)
/etc/opt/cisco-vpnclient/Certificates (group bin readable)
* You may wish to change these permissions to restrict access to root.
* You must run “/etc/init.d/vpnclient_init start” before using the client.
* This script will be run AUTOMATICALLY every time you reboot your computer.
ubuntu@ubuntu:~/vpnclient$ sudo /etc/init.d/vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: Done

ubuntu@ubuntu:~/vpnclient$ sudo vpnclient connect YourProfile
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686
Config file directory: /etc/opt/cisco-vpnclient

*********************************************************

No comment »

Iphone Offline Maps Tutorial

Here is a small tutorial on creating offline maps for iphone using GMDL. You can find more detail in my other post.

1. First of all you need to have a jailbroken iPhone or iPod and you should know how to transfer files into your iphone/ipod.

2. Download the “OfflineMaps”, App from Cydia by using the Search Menu.

3. If you wish to make maps for your own area, download Global Map Download Tool (from www.in7ane.com) extract it and then open “/GMDL/bin/debug/Global Map Download Tool.exe”

4. It will open Google Maps website inside the tool. Search for the area for which you want the map.

5. when it appears, click the “preview 1x” button at top left.

6. It will show the area for which maps will be downloaded.


7. If you are satisfied with the selection then press “download the map” button at the extreme top left.

8. It will ask for a directory to save the map files. Create a new one.

9. it will show the selected map in form of small tiles. Uncheck the unwanted tiles and the zoom level 1  &  2. It will keep the size of map to a reasonable limit. when done press the button at the top for download to start

10. Status bar will show the download progress. Wait till the download is complete and a message for the same appears.

11. Now click the “iphone” button at the top left to convert the maps to a format understandable by Iphone.

12. A pop-up window will appear. Select the firmware version of Iphone.

13. Click the “process” button to start conversion. By default it saves the files in desktop\iphone_map folder. If this folder already exists then change the name of output directory in pop-up window. It creates directory itself so you don’t need to create one.

14. After successful completion it a pop-up message appears. Now you have the files in desktop\iphone_map folder available for transfer.

15. Now, transfer your files to the device using software like DiscAid (or Iphone Browser). Download and install DiscAid , and then on the left hand side under “Media” folder, there is a “Maps”, folder. If there isnt one there click on the Media Folder which is the very first one on the left side and then click “Create Folder”, and then name it “Maps”.

16. In this maps folder make a folder which is <4 letters long that corresponds to the map you have made. It just has to be less than 4 characters. In that folder copy “com.apple.Maps.plist”, and “MapTiles.sqlitedb”.

17. Now open the “OfflineMaps”, app on your device and see if the maps show up on the list. If they do everything has worked great, otherwise trackback and see if you have made a mistake.
If your maps are there, select it and then press the “Link”, button and wait till it says “OK”, press the home key and the OfflineMaps icon should have the letters of the map u selected on it.
Now fire up maps and you should be able to browse freely. remember to turn off network access when you are browsing outside of the cached area.

No comment »

Iphone Offline Maps

I have already wasted almost whole day in creating offline maps for my iphone. So it was quite logical to waste remaining day in writing about ‘how to do it’.

Iphone has google maps by default and you need internet connection to use it. If you want to use maps without internet then one way to do this is to browse that map online once, Iphone will store it in cache so you can later use it without connecting to internet. But its not foolproof method. Second way is to use ‘Maps offline’ application. To use it your Iphone must be jailbroken.

‘Maps offline’ is an application which let you use google maps offline. It actually switches the iphone offline google map caches,which can be made by GMDL(Global Map Download Tool).

You can find a good tutorial here.

To download Iphone maps for NCR click here and for Chandigarh click here.

Comments (6) »

Real Pie Chart

This was the first pie chart ever made!!

Real Pie Chart

No comment »