Closed strongcourage closed 3 years ago
Hi @strongcourage
It may be realted to open5gs but please provide some pcaps to help to analyse the problem.
Hi @aligungr,
Please find the pcap file. Thank you. 5g.pcap.zip
Hi @aligungr,
As discussed in this tutorial, I modified the values of MCC/MNC in config/open5gs-ue.yaml
, config/open5gs-gnb.yaml
and /etc/open5gs/amf.yaml
to 001/01 or 999/99, but get an error "MCC/MNC mismatch in SUCI generation". However, it seems that I successfully simulated a 5G network (GNB and UE can connect to each other) as follows. I'm wondering whether this error has any impacts. Thank you in advance.
@strongcourage
RRC connection is between UE and gNB, but you also need establish NAS connection and complete registration to the 5G core network. And in your case it is not successful because of the MCC/MNC Mismatch error.
Solution is to use same MCC and MNC values in imsi
field and mcc/mnc
fields in your UE config file. That is, first 3 digit of IMSI must be same with MCC value, and the other 2/3 digits must be same with the MNC value. Just look at your config file and see first 3 lines of the yaml.
Thank you guys, finally it works :)
Hi all,
Recently, I tried to simulate a 5G network using UERANSIM version 3.0.2 and open5gs version 2.1.7 on Ubuntu 16.04. I used the default configuration files provided in
/config
, but get the following errors, probably due to UE's registration. I didn't find any solutions on this github repo, so if you know how to fix them, please let me know. Thank you.