2018-10-05 15:31:56 +00:00
|
|
|
You need a csv with the simcard data and osmo-config-merge needs to be in your
|
|
|
|
path.
|
2018-09-20 08:17:54 +00:00
|
|
|
|
|
|
|
To create hlr.db and change the mcc/mnc run:
|
2018-10-05 15:31:56 +00:00
|
|
|
./provision_hlr.py --mcc 901 --mnc 23 source.csv
|
2018-09-20 08:17:54 +00:00
|
|
|
|
|
|
|
This will create the hlr.db and a simcards.csv where the first digits of the
|
2018-10-05 15:31:56 +00:00
|
|
|
IMSI will be changed to match the MCC/MNC. In order to reprogram the IMSIs of
|
|
|
|
the SIM cards run pySim-prog:
|
2018-09-20 08:17:54 +00:00
|
|
|
|
|
|
|
./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 --source=csv --read-csv=simcards.csv --read-iccid
|
|
|
|
|
2018-10-05 15:31:56 +00:00
|
|
|
This is only needed if the mcc/mnc options are used.
|