[srslte-users] Having difficulties on SIMcard configuration using pySim
Nehemiah Chan
nehemiahchan1999 at gmail.com
Mon Jun 10 01:27:11 UTC 2019
HI David,
Appreciate for your help. I have managed to program it without any errors.
Best Regards,
Nehemiah
On Fri, Jun 7, 2019 at 4:16 PM David Rupprecht <david.rupprecht at rub.de>
wrote:
> Hi,
>
> the latest commit of pySIM requires pytlv. You need to install pip first:
>
> sudo apt install python-pip
>
> pip install pytlv
>
> Best regards,
> David
>
> On 07.06.19 05:43, Nehemiah Chan wrote:
> > Hi everyone,
> >
> > I am currently facing some difficulty on configuring using the
> > pySim-prog.py command although it does display . I am using sysmocom
> > USIM SJS1.
> >
> > However, after configuring the updated parameters like ICCID, IMSI (of
> > my own choice) etc. It does not display Done! instead it display the
> > error below.
> >
> > If anyone who has encountered this issue, can you advise me to deal with
> > this error?
> > Thanks in advance.
> >
> > Programming ...
> > Traceback (most recent call last):
> > File "./pySim-prog.py", line 644, in <module>
> > card.program(cp)
> > File "/home/pi/pysim/pySim/cards.py", line 594, in program
> > sw = self.update_plmnsel(p['mcc'], p['mnc'])
> > File "/home/pi/pysim/pySim/cards.py", line 111, in update_plmnsel
> > data = self._scc.read_binary(EF['PLMNsel'], length=None, offset=0)
> > File "/home/pi/pysim/pySim/commands.py", line 113, in read_binary
> > length = self.__len(r) - offset
> > File "/home/pi/pysim/pySim/commands.py", line 80, in __len
> > return self.__get_len_from_tlv(r[-1])
> > File "/home/pi/pysim/pySim/commands.py", line 37, in __get_len_from_tlv
> > from pytlv.TLV import TLV
> > ImportError: No module named pytlv.TLV
> >
> > Best Regards,
> > Nehemiah
> >
> > _______________________________________________
> > srslte-users mailing list
> > srslte-users at lists.softwareradiosystems.com
> > http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> >
>
> --
> M.Sc. David Rupprecht
>
> Ruhr-University Bochum
> Research Group Information Security
> Universitätsstraße 150
> ID 2/130
> 44780 Bochum / Germany
>
> Phone: +49 234 / 32 - 23508
> Web: www.infsec.rub.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20190610/1c8aab06/attachment.htm>
More information about the srsran-users
mailing list