Skip to content

Identity error during 5G SA connection from srsUE via PC/SC using an external USIM (pin code disabled) #1452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ohault opened this issue Feb 12, 2025 · 1 comment

Comments

@ohault
Copy link

ohault commented Feb 12, 2025

Hello,

We have provisioned an USIM card and disabled the SIM code according to the documentation

This USIM card is working successfully in a 5G COTS device to connect to a srsRAN 5G private network in SA mode.

When we try to connect to the same 5G network using the same external USIM card in PC/SC from srsUE, we get an identity error.

Here are the ue_mac_nr capture file.
ue_mac_nr.zip

Does the current srsUE support to connect to a 5G SA network using an external USIM or is it a current limitation ?

How to solve this issue ?

@platyman
Copy link

Hello, I have exactly the same problem. Has anyone found a fix? Here are the logs from my amf:

02/19 11:37:04.219: [gmm] INFO: [suci-0-206-90-0000-0-0-0000000001] SUCI (../src/amf/gmm-handler.c:174)
02/19 11:37:04.252: [sbi] WARNING: [AUSF] (SCP-discover) NF has already been added [afeebe7a-ee9d-41ef-b787-89a4676c0e26] (../lib/sbi/path.c:217)
02/19 11:37:04.252: [sbi] INFO: [afeebe7a-ee9d-41ef-b787-89a4676c0e26] NF Instance setup [type:AUSF validity:0s] (../lib/sbi/path.c:227)
02/19 11:37:04.252: [amf] INFO: NF EndPoint(addr) setup [127.0.0.11:7777] (../src/amf/nausf-handler.c:130)
02/19 11:37:04.428: [gmm] WARNING: [imsi-206900000000001] Security mode reject : Cause[20] (../src/amf/gmm-sm.c:2008)
02/19 11:37:04.584: [amf] INFO: UE Context Release [Action:3] (../src/amf/ngap-handler.c:1726)
02/19 11:37:04.584: [amf] INFO: RAN_UE_NGAP_ID[7] AMF_UE_NGAP_ID[42] (../src/amf/ngap-handler.c:1727)
02/19 11:37:04.584: [amf] INFO: SUCI[suci-0-206-90-0000-0-0-0000000001] (../src/amf/ngap-handler.c:1731)
02/19 11:37:04.584: [amf] INFO: [Removed] Number of gNB-UEs is now 1 (../src/amf/context.c:2701)
02/19 11:37:04.584: [amf] INFO: [Removed] Number of AMF-UEs is now 1 (../src/amf/context.c:1735)
02/19 11:38:17.809: [amf] INFO: InitialUEMessage (../src/amf/ngap-handler.c:435)
02/19 11:38:17.809: [amf] INFO: [Added] Number of gNB-UEs is now 2 (../src/amf/context.c:2694)
02/19 11:38:17.810: [amf] INFO: RAN_UE_NGAP_ID[8] AMF_UE_NGAP_ID[43] TAC[7] CellID[0x66c000] (../src/amf/ngap-handler.c:596)
02/19 11:38:17.811: [amf] INFO: [suci-0-206-90-0000-0-0-0000000001] Unknown UE by SUCI (../src/amf/context.c:1861)
02/19 11:38:17.812: [amf] INFO: [Added] Number of AMF-UEs is now 2 (../src/amf/context.c:1638)
02/19 11:38:17.812: [gmm] INFO: Registration request (../src/amf/gmm-sm.c:1220)
02/19 11:38:17.813: [gmm] INFO: [suci-0-206-90-0000-0-0-0000000001] SUCI (../src/amf/gmm-handler.c:174)
02/19 11:38:17.847: [sbi] WARNING: [AUSF] (SCP-discover) NF has already been added [afeebe7a-ee9d-41ef-b787-89a4676c0e26] (../lib/sbi/path.c:217)
02/19 11:38:17.847: [sbi] INFO: [afeebe7a-ee9d-41ef-b787-89a4676c0e26] NF Instance setup [type:AUSF validity:0s] (../lib/sbi/path.c:227)
02/19 11:38:17.849: [amf] INFO: NF EndPoint(addr) setup [127.0.0.11:7777] (../src/amf/nausf-handler.c:130)
02/19 11:38:18.028: [gmm] WARNING: [imsi-206900000000001] Security mode reject : Cause[20] (../src/amf/gmm-sm.c:2008)
02/19 11:38:18.182: [amf] INFO: UE Context Release [Action:3] (../src/amf/ngap-handler.c:1726)
02/19 11:38:18.183: [amf] INFO: RAN_UE_NGAP_ID[8] AMF_UE_NGAP_ID[43] (../src/amf/ngap-handler.c:1727)
02/19 11:38:18.183: [amf] INFO: SUCI[suci-0-206-90-0000-0-0-0000000001] (../src/amf/ngap-handler.c:1731)
02/19 11:38:18.183: [amf] INFO: [Removed] Number of gNB-UEs is now 1 (../src/amf/context.c:2701)
02/19 11:38:18.183: [amf] INFO: [Removed] Number of AMF-UEs is now 1 (../src/amf/context.c:1735)

Thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants