Author Topic: RuntimeError: SW match failed ! Expected 9000 and got 6a86.  (Read 9265 times)

rogierq

  • Newbie
  • *
  • Posts: 1
    • View Profile
RuntimeError: SW match failed ! Expected 9000 and got 6a86.
« on: November 26, 2018, 03:28:51 AM »
Hi Guys,

I am trying to create my own cell netwrok with some tutorials from the web.
Very slowly i am getting there, most tutorials are older and the parts they use are replaced with new ones.
Finally i am able to write sim cards, but it is not working as it should be i guess

The sim cards i use are from sysmocom

When i try to write a sim card i they the error message below
Programming ...
RuntimeError: SW match failed ! Expected 9000 and got 6a86.

Surfing the web is not giving me any idea for what i do or did wrong

Can somebody help me out with this?

Regards
Rogier

goodboytower

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: RuntimeError: SW match failed ! Expected 9000 and got 6a86.
« Reply #1 on: November 27, 2018, 06:07:27 PM »
I had this same problem. I was never able to write a SIM from the NIB web gui, but I was able to do it from the command line. Here is a command that may be helpful to you that uses the pySim script itself instead of doing it through NIB.

Code: [Select]
./pySim-prog.py -p0 -t [card type] -a [ADM Pin] -x [mobile country code] -y [mobile network code] -i [IMSI] -s [iccid] -k [ki] -o [opc] -n [whatever name]
If you're reading my troubleshooting posts, just know that: I got it to work! I'm calling it "GoodBTS", here's a Github guide that you can find here! I hope to make it a thorough guide and keep it active for you!