srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

5G SA COTS UE can not found network operators

Open SophieXin9636 opened this issue 2 years ago • 17 comments

Issue Description

I followed up this note. The srsenb and Open5GS work correctly, but UE can not found network operators.

Setup Details

  • Operation System: Ubuntu 18.04
  • srsRAN 22.04
  • RF: USRP B210 (UHD driver)
  • CPU: i7-7700
  • UE: Galaxy S21 5G
  • Card type: Sysmocom USIM (sysmoUSIM-SJS1)
  • Third Party 5G Core: Open5GS

Expected Behavior

srsenb would receive "User 0x?? connected"

Actual Behaviour

UE can not found network operators. UE do not have 5G signal.

Steps to reproduce the problem

  1. Reset IP Tables and Restart open5gs daemons follow this note image

  2. Set the UE's APN in the Open5GS WebUI Screenshot from 2022-07-21 17-06-44

  3. UE APN setting

  • Setting -> Access Point Names -> Add
  • Name: internet
  • APN: internet
  • APN protocol: IPv4
  1. Force NR only and enable Data roaming

  2. Run sudo srsenb enb.conf image

  3. Click Network operators -> Select automatically No result (& no signal)

Additional Information

amf.yaml.txt enb.conf.txt rr.conf.txt upf.yaml.txt

SophieXin9636 avatar Jul 21 '22 09:07 SophieXin9636

Hey,

Samsung phones using the Exynos chipsets are very picky when it comes to cell selection. The phone will find the cell only if you use an external clock with the B210. This is my experience for LTE at least.

bedrankara avatar Jul 26 '22 11:07 bedrankara

Hi @bedrankara

Thanks your comment, but the Samsung phone in my region is using Qualcomm chipsets (Snapdragon 888). I have no idea whether it's chip related.

SophieXin9636 avatar Jul 27 '22 09:07 SophieXin9636

Hi @SophieXin9636, Did your phone successfully connect to the network? I faced the same problem using a Samsung SM-G981B (chip Exynos990) and am still looking for the solution.

Cheers,

strongcourage avatar Aug 22 '22 15:08 strongcourage

Hi,

Samsung phones (also Apple) have configuration for different PLMNs and should allow 5G for specific PLMN, if you can change your PLMN to a commercial PLMN maybe helps, meanwhile you can dial "*# 0011 #" (no need space) for checking phone detect any signal(your earfcn) or not.

iman432 avatar Aug 25 '22 11:08 iman432

Thanks @iman432. Actually I tried to use a commercial PLMN in a new subscriber's IMSI on Open5GS web UI, restarted SRSRAN and Open5GS with new config files and reprogrammed my SIM card. However, my phone still can't find the network :(

strongcourage avatar Aug 29 '22 15:08 strongcourage

Thanks @iman432. Actually I tried to use a commercial PLMN in a new subscriber's IMSI on Open5GS web UI, restarted SRSRAN and Open5GS with new config files and reprogrammed my SIM card. However, my phone still can't find the network :(

Try "*# 0011 #" on phone dialer and see what signal is seen.

iman432 avatar Aug 29 '22 15:08 iman432

Hi! I have the same problem, testes with S21 Ultra, Xiamo Note 11 Pro 5G, S22+. We use the B200-mini. No UE detect 5G SA cell. LTE work very well.

We also have tested with commercial PLMN. No signal seen with service code 0011. With PCTel IBFlex i can measure the 5G SA cell.

roema avatar Sep 03 '22 20:09 roema

Hi, in my case S21 FE is detecting 5G SA signal and even by private PLMN :

Screenshot_20220905-230618_Service mode RIL

iman432 avatar Sep 06 '22 05:09 iman432

@iman432 thanks for Info. Wich hardware are you suing? Do you use external ref clock?

roema avatar Sep 06 '22 05:09 roema

@iman432 thanks for Info. Wich hardware are you suing? Do you use external ref clock?

I'm using USRP B200 and not any external clock.

iman432 avatar Sep 06 '22 05:09 iman432

@iman432 Thanks!

Can you share you configs ?

roema avatar Sep 06 '22 06:09 roema

@iman432 when i configure ARFCN 368410 with band 3, i get an error,

DL ARFCN (368410) is not valid for the specified band (3)

Wich version are you suing?

roema avatar Sep 06 '22 06:09 roema

@iman432 Thanks!

Can you share you configs ?

its my configuration:

enb.zip

and version is 22.04

iman432 avatar Sep 06 '22 15:09 iman432

@iman432 Thanks!! I will test.

roema avatar Sep 07 '22 05:09 roema

@iman432 Sorry, but your configuration are for LTE. n_prb = 100 not valid for 5G, only 10MHz supported. And in your rr.conf, lte cells active.

roema avatar Sep 07 '22 07:09 roema

@iman432 Sorry, but your configuration are for LTE. n_prb = 100 not valid for 5G, only 10MHz supported. And in your rr.conf, lte cells active.

Sorry, below is for 5G and working for me. gNB.zip

iman432 avatar Sep 07 '22 10:09 iman432

@iman432 Thank you very much!!

roema avatar Sep 07 '22 10:09 roema

Sorry for the late answer. I have tested, but it doesnt work for me. Xiamo Note 11 Pro 5G will not find the 5G cell.

roema avatar Oct 04 '22 08:10 roema

is there any positive update from this issue ? i am using the same note to construct my own 5g network with oneplus 5g mobile phone. it has exactly the same problem. it does not find any 5g cell, but working well with LTE.

Thanks !

hyunseoha avatar Nov 15 '22 09:11 hyunseoha

I also has the same problem. I am using Samsung A33 5G. I asked a person of the 5G operator here. He told me that the phone is locked to the PLMN here. I think I have to follow the recommendation here

"Many 5G handsets may contain a carrier policy file that may limit 5G capabilities of the phone based on the PLMN of the USIM (first 6 digits of IMSI). Carrier policy files typically don’t include test network PLMNs, so setting a test PLMN may result in 5G being disabled. If possible, using a shielded box and configuring the network with a commercial carrier PLMN may avoid policy file issues."

I use SIM card from here

https://shop.sysmocom.de/sysmoISIM-SJA2-SIM-USIM-ISIM-Card-10-pack-with-ADM-keys/sysmoISIM-SJA2-10p-adm

I have no idea how to change PLMN. I use pysim to change IMSI but it seems to invalidate the SIM card. Do I have to change Ki and Opc? Anyone has any idea? I am not a SIM card expert and I dont want tp be.

For LTE, using the same SIM card, It works just fine. I only swap comment on cell configuration in rr.conf.

I think the problem is the UE only and I dont think I can afford more phone to test. The only UE I can think of now is ZTE MU5002 since It is not officially sell here. It is imported from China and people here can use it to connect to any operator. I dont think there is any restriction on this ZTE.

fllay avatar Nov 17 '22 13:11 fllay

I thought PLMN is a combination of MNC and MCC. you can change them in sysmoISIM configuration. See the tutorial in the website of the seller.

hyunseoha avatar Nov 17 '22 14:11 hyunseoha

Yes it is. I read the doc in the website and I also tried to change it. However, if we look at the command to change MNC and MCC

$ ./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 -a 58001006  -x 901 -y 71 -i 901700000010659 -s 8988211000000110000 -o 398153093661279FB1FC74BE07059FEF -k 1D8B2562B992549F20D0F42113EAA6FA
 Insert card now (or CTRL-C to cancel)
 Generated card parameters :
  > Name    : Magic
  > SMSP    : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
  > ICCID   : 8988211000000110000
  > MCC/MNC : 901/71
  > IMSI    : 901700000010659
  > Ki      : 1D8B2562B992549F20D0F42113EAA6FA
  > OPC     : 398153093661279FB1FC74BE07059FEF
  > ACC     : None
 Programming ...
 Done !

You will see that MCC/MNC : 901/71 is changed but IMSI : 901700000010659 is still the same. If we take a look at APN setting. You will notice that MCC/MNC does not change. I guess it is read from IMSI. So I change the IMSI

$ ./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 -a 58001006  -x 901 -y 71 -i 901710000010659 -s 8988211000000110000 -o 398153093661279FB1FC74BE07059FEF -k 1D8B2562B992549F20D0F42113EAA6FA

I can be changed but now the SIM card is invalid. It does not even work with LTE network anymore. It will get connect and disconnect from the LTE network and for 5G, it does not show anything. Network search show nothing as well. My question is how to change MCC/MNC without making the SIM card invalid.

fllay avatar Nov 17 '22 15:11 fllay

is there any positive update from this issue ? i am using the same note to construct my own 5g network with oneplus 5g mobile phone. it has exactly the same problem. it does not find any 5g cell, but working well with LTE.

Thanks !

Hi, I'm also using Oneplus Nord 5G as listed in the note and I'm facing the same issue. Did you figure it out? My email is [email protected] , maybe we can further discuss and try to solve it.

helloTkk avatar Jan 13 '23 19:01 helloTkk