![OpenBTS-UMTS sim 认证失败](https://linux22.com/image/1579511/OpenBTS-UMTS%20sim%20%E8%AE%A4%E8%AF%81%E5%A4%B1%E8%B4%A5.png)
我正在使用 OpenBTS-UMTS,并尝试在网络上验证 SIM( sysmoSIM-SJS1-4FF )。使用以下命令在 sipauthserve 中成功注册了 SIM(我使用了与 Sysmocom 套件提供的 IMSI 和 ki 相同的语法,以下只是示例):
./nmcli.py sipauthserve subscribers create "sim2" IMSI901712002174864 002 a74164d83db28ee2cdf2f043ae472044
注册成功,这是我得到的:
raw request: {"command":"subscribers","action":"create","fields":{"name":"sim2","imsi":"IMSI901712002174864","msisdn":"002","ki":"a74164d83db28ee2cdf2f043ae472044"}}
raw response: {
"code" : 200,
"data" : "both ok"
}
我在手机上搜索网络并选择 TEST-PLMN-1(OpenBTS-UMTS 网络的默认名称)。我在 OpenBTS-UMTS 日志中收到以下错误:
OpenBTS> ALERT 139647350089472 09:40:14.7 URRC.cpp:615:findUeByAsnId: 无匹配 ptmsi=0x0 raimatch=0 findHandlebyPTmsi-urnti=0x0
40:14.7 UL_CCCH_MessageType_PR_rrcConnectionRequest(新 UE)UE#1 URNTI=466f stIdleMode rbid=0 newState:1 1
40:14.7 DL_CCCH RRC_Connection_Setup_Message 消息大小=58 UE#1 URNTI=466f stIdleMode rbid=0 newState: 2 1
ALERT 139647350089472 09:40:15.5 URLC.cpp:1755:rlcWriteLowSide: stateChange: 之前 0 之后 0 0
40:16.1 UL_DCCH_MessageType_PR_rrcConnectionSetupComplete UE#1 URNTI=466f stCELL_FACH rbid=2
40:17.2 UL_DCCH_消息类型_PR_initialDirectTransfer UE#1 URNTI=466f stCELL_FACH rbid=3
40:17.2 UL GMM 消息:附加请求 UE#1 URNTI=466f stCELL_FACH
PDP 为 0 为 0,gmm = f0004ab0,si = f0004820
PDP 为 5 为 0,gmm = f0004ab0,si = f0004820
40:17.2 DL_DCCH AuthenticationAndCipheringReq 消息大小=25 UE#1 URNTI=466f stCELL_FACH rbid=3
PDP 为 0 则为 0
40:18.4 UL_DCCH_消息类型_PR_uplinkDirectTransfer UE#1 URNTI=466f stCELL_FACH rbid=3
40:18.4 UL GMM 消息:AuthenticationAndCipheringFailure UE#1 URNTI=466f stCELL_FACH imsi=901712002174864
SIM 卡应该进行身份验证。有人能帮我了解我遗漏了什么吗?
谢谢