Menu

StartUp.inf and .ini

GPRS Configuration using StartUp.inf and .ini file provided by the Operator

 
To configure GPRS by this method, you need to have a copy of .ini file which contains the operator’s details something similar to:
 
[Country_Operator]
NUMBER=
IP_ADDRESS=
DNS_pRIMARY=
DNS_SECONDARY=
WINS_PRIMARY=
WINS_SECONDARY=
APN=
USERNAME=
PASSWORD=
CSD_PHONE_NUMBER=
CSD_USER_NAME=
CSD_USER_PW=
 
If you have the .ini file, copy the file to \Flash Disk \Driver. Then, add the following code in the StartUp.inf which is included in the StartUp folder of M3 flash disk files.
 
//GPRS Connection
CopyFile=/S "\Flash Disk\Driver\Country.ini" "\Windows\Provider\Country.ini"
sleep=500
RunExe= /S "\Windows\WWAN_Manager.exe" "Country,Country_Operator "
RegSetValue=/s dword [HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]SetGPRSAuthentication:2
RunExe =/s "\Windows\WWAN_Manager.exe" "1,Country,Country_Operator"

Note: In the code, Country.ini, Country_Operator and Country are arbitrary examples. You should change it appropriately. In the last line of code, '1' will create the connection profile in My Work Network and '0' will create the connection profile in My ISP.
For operators included in WWAN Manger, corresponding .ini file is already included in \Windows \Provider folder. Hence, CopyFile command is not required.
Here is an example code.
 
//GPRS Connection
CopyFile=/S "\Flash Disk\Driver\Korea(South).ini" "\Windows\Provider\Korea(South).ini"
sleep=500
RunExe= /S "\Windows\WWAN_Manager.exe" "Korea,Korea(South)_KTF "
RegSetValue=/s dword [HKEY_LOCAL_MACHINE\Software\Microsoft\RIL]SetGPRSAuthentication:2
RunExe =/s "\Windows\WWAN_Manager.exe" "0,Korea,Korea(South)_KTF"

 
Finally, open M3.ini file which is also included in StartUp folder of the flash disk files. Then, set install value of 1 of [GPRS_INSTALL].
 
[GPRS_INSTALL]
Install=1
InstallFile=\Flash Disk\Driver\WWAN_Manager.CAB
 
Save the changed in StartUp.inf and M3.ini file then copy back to the device followed by reset.