Difference between revisions of "Konfigurasi SimCard Menggunakan Linux"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Install software pendukung sudo apt-get install pcscd pcsc-tools libccid libpcsclite-dev python-pyscard Install pysim sudo apt-get install python-pyscard python-serial pyth...")
 
 
Line 25: Line 25:
 
   > OPC    : BFD5771AAF4F6728E9BC6EF2C2533BDB
 
   > OPC    : BFD5771AAF4F6728E9BC6EF2C2533BDB
 
   > ACC    : None
 
   > ACC    : None
 
 
  Programming ...
 
  Programming ...
 
  Done !
 
  Done !

Latest revision as of 13:36, 26 October 2022

Install software pendukung

sudo apt-get install pcscd pcsc-tools libccid libpcsclite-dev python-pyscard

Install pysim

sudo apt-get install python-pyscard python-serial python-pip
pip install pytlv
git clone git://git.osmocom.org/pysim

Untuk membaca SimCard

./pySim-read.py -p0 or ./pySim-read.py -p1

Untuk menulis SimCard

./pySim-prog.py -p 0 -n Open5GS -a 62416296 -s 8988211000000213010 -i 310789012345301 -x 310 -y 789 -k 82E9053A1882085FF2C020359938DAE9 -o BFD5771AAF4F6728E9BC6EF2C2533BDB
Using PC/SC reader (dev=0) interface
Insert card now (or CTRL-C to cancel)
Autodetected card type: sysmoUSIM-SJS1
Generated card parameters :
 > Name    : Open5GS
 > SMSP    : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID   : 8988211000000213010
 > MCC/MNC : 310/789
 > IMSI    : 310789012345301
 > Ki      : 82E9053A1882085FF2C020359938DAE9
 > OPC     : BFD5771AAF4F6728E9BC6EF2C2533BDB
 > ACC     : None
Programming ...
Done !