srsRAN_4G
srsRAN_4G copied to clipboard
5G SA COTS UE can not found network operators
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
-
Reset IP Tables and Restart open5gs daemons follow this note
-
Set the UE's APN in the Open5GS WebUI
-
UE APN setting
- Setting -> Access Point Names -> Add
- Name: internet
- APN: internet
- APN protocol: IPv4
-
Force NR only and enable Data roaming
-
Run
sudo srsenb enb.conf
-
Click Network operators -> Select automatically No result (& no signal)
Additional Information
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.
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.
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,
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.
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 :(
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.
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.
Hi, in my case S21 FE is detecting 5G SA signal and even by private PLMN :
@iman432 thanks for Info. Wich hardware are you suing? Do you use external ref clock?
@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 Thanks!
Can you share you configs ?
@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?
@iman432 Thanks!! I will test.
@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.
@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 Thank you very much!!
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.
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 !
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.
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.
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.
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.