aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
783 stars 321 forks source link

ueransim + OAI 5G CN in a single ubuntu 18 mashine #319

Open tian008123 opened 3 years ago

tian008123 commented 3 years ago

Hi, guys

I want to build a 5G network using ueransim as gNB+UE and OAI as CN. I noticed the similar question>ueransim integration with OAI 5G Core #284 and that helps me a lot. But beside that I have a new question.

I can connect gNB and CN successfully. But when I run UE, I get the following error on UE side:

[error] [IA0] cannot be accepted as the UE does not have an emergency [2021-05-13 16:08:12.193] [nas] [error] Rejecting Security Mode Command with cause [SEC_MODE_REJECTED_UNSPECIFIED]

The amf.log, UE log, gNB.log, tshark.log, UE config and gNB config are attached. amf log.txt custom-gnb.txt custom-ue.txt gNB log.txt tshark.txt UE log.txt

aligungr commented 3 years ago

Hi @tian008123

Our UE accepts IA0 (null integrity algorithm) only in case of an emergency, because of the security reasons.

Therefore CN should use IA1, IA2, or IA3 as integrity algorithm, instead of IA0.

You should be able to configure this in AMF side, I guess.

Regards

tian008123 commented 3 years ago

Thanks. But the integrity algorithm is not configurable parameter in amf side. I go to OAI mailinglist to take the question.

larraunanue commented 2 years ago

Hello, I am new here and I am having exactly the same issue of ian008123. I wonder if you solve the question.

Regards