From 5e5c356dd297e39f2da4ac5fa74dea8296d26f7a Mon Sep 17 00:00:00 2001 From: herlesupreeth Date: Sun, 11 Jun 2023 17:13:06 +0200 Subject: [PATCH] Configuration changes for srsUE to connect to srsRAN_Project gNB --- .env | 3 +++ srslte/Dockerfile | 2 +- srslte/srslte_init.sh | 1 + srslte/ue_5g_zmq.conf | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 75b2bcb..6ca0f50 100644 --- a/.env +++ b/.env @@ -116,3 +116,6 @@ SCP_IP=172.22.0.35 # METRICS METRICS_IP=172.22.0.36 + +# SRSRAN GNB +SRS_GNB_IP=172.22.0.37 diff --git a/srslte/Dockerfile b/srslte/Dockerfile index cbd9861..7cd8450 100644 --- a/srslte/Dockerfile +++ b/srslte/Dockerfile @@ -34,7 +34,7 @@ RUN apt-get update && \ libzmq3-dev libboost-system-dev libboost-test-dev libboost-thread-dev libqwt-qt5-dev qtbase5-dev \ software-properties-common g++ make pkg-config libpython2-dev python-numpy swig libi2c-dev \ libboost-program-options-dev libconfig++-dev net-tools iputils-ping libusb-1.0-0-dev libpython3-dev python3-numpy swig \ - python3-distutils + python3-distutils iproute2 # Get SoapySDR, compile and install RUN git clone https://github.com/pothosware/SoapySDR.git && \ diff --git a/srslte/srslte_init.sh b/srslte/srslte_init.sh index 0aca5f9..fbc4619 100755 --- a/srslte/srslte_init.sh +++ b/srslte/srslte_init.sh @@ -74,6 +74,7 @@ sed -i 's|UE1_OP|'$UE1_OP'|g' /etc/srsran/ue.conf sed -i 's|UE1_IMSI|'$UE1_IMSI'|g' /etc/srsran/ue.conf sed -i 's|SRS_UE_IP|'$SRS_UE_IP'|g' /etc/srsran/ue.conf sed -i 's|SRS_ENB_IP|'$SRS_ENB_IP'|g' /etc/srsran/ue.conf +sed -i 's|SRS_GNB_IP|'$SRS_GNB_IP'|g' /etc/srsran/ue.conf # For dbus not started issue when host machine is running Ubuntu 22.04 service dbus start && service avahi-daemon start diff --git a/srslte/ue_5g_zmq.conf b/srslte/ue_5g_zmq.conf index 460689e..fe32c83 100644 --- a/srslte/ue_5g_zmq.conf +++ b/srslte/ue_5g_zmq.conf @@ -43,7 +43,7 @@ srate = 11.52e6 # Example for ZMQ-based operation with TCP transport for I/Q samples device_name = zmq -device_args = tx_port=tcp://SRS_UE_IP:2001,rx_port=tcp://SRS_ENB_IP:2000,id=ue,base_srate=23.04e6 +device_args = tx_port=tcp://SRS_UE_IP:2001,rx_port=tcp://SRS_GNB_IP:2000,id=ue,base_srate=11.52e6 ##################################################################### # EUTRA RAT configuration