[srsran-users] My Experiences with Running srsRAN with FlexRIC

Ruffy Zarookian ruffy at signalsystemmanagement.com
Thu Oct 26 20:25:05 UTC 2023


First of all thanks for the code, tutorials, and all the work including putting on the SRS workshop this week. While trying to get the RIC up using the app note I ran into a hiccup that I thought I would share with the group. I don't know if they were particular to my setup or perhaps this experience will help someone out there save time.

I started with the app note O-RAN NearRT-RIC and xApp - srsRAN Project documentation<https://docs.srsran.com/projects/project/en/latest/tutorials/source/flexric/source/index.html> as my first attempt to run srsRAN. The only issue I had was that the UE would not register with the gNB. After looking at the diff between the nonRIC and RIC setups I noticed that the PRACH index was not defined in the ./gnb_zmq.yaml configuration file recommended in the RIC App note, but was defined in the gNB with srsUE app note at srsRAN gNB with srsUE - srsRAN Project documentation<https://docs.srsran.com/projects/project/en/latest/tutorials/source/srsUE/source/index.html>. Once I added the configuration to the file all worked.

Output from my console and configuration files from the app notes attached. All I had to do was to copy over lines 28 and 29 that defined the prach index and it all worked.

So again, thanks and I hope this email saves someone some time!

Ruffy (Rafi) Zarookian
Founder, Signal System Management
Office: 703-584-5071
Cell: 571-334-6364
ruffy at signalsystemmanagement.com
Resilient Networks. Software Defined.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20231026/50aff11c/attachment-0001.htm>
-------------- next part --------------
sudo ./srsue ue_zmq.conf
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins:
Reading configuration file ue_zmq.conf...

Built in Release mode using commit fa56836b1 on branch master.

Opening 1 channels in RF device=zmq with args=tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,base_srate=11.52e6
Supported RF device list: UHD zmq file
CHx base_srate=11.52e6
Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
CH0 rx_port=tcp://127.0.0.1:2000
CH0 tx_port=tcp://127.0.0.1:2001
Waiting PHY to initialize ... Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
done!
Attaching UE...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0x39, tti=334
Random Access Complete.     c-rnti=0x4601, ta=0
RRC Connected
PDU Session Establishment successful. IP: 10.45.1.2
RRC NR reconfiguration successful.
-------------- next part --------------
sudo ./srsue ue_zmq.conf
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_zmq.so
Inactive RF plugins:
Reading configuration file ue_zmq.conf...

Built in Release mode using commit fa56836b1 on branch master.

Opening 1 channels in RF device=zmq with args=tx_port=tcp://127.0.0.1:2001,rx_port=tcp://127.0.0.1:2000,base_srate=11.52e6
Supported RF device list: UHD zmq file
CHx base_srate=11.52e6
Current sample rate is 1.92 MHz with a base rate of 11.52 MHz (x6 decimation)
CH0 rx_port=tcp://127.0.0.1:2000
CH0 tx_port=tcp://127.0.0.1:2001
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
Current sample rate is 11.52 MHz with a base rate of 11.52 MHz (x1 decimation)
Waiting PHY to initialize ... done!
Attaching UE...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=331
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=361
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=391
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=421
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=451
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=481
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0xf, tti=511
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnb_zmq.yaml
Type: application/octet-stream
Size: 2595 bytes
Desc: gnb_zmq.yaml
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20231026/50aff11c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnb_zmq_ric.yaml
Type: application/octet-stream
Size: 2279 bytes
Desc: gnb_zmq_ric.yaml
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20231026/50aff11c/attachment-0003.obj>


More information about the srsran-users mailing list