Configuration changes for srsUE to connect to srsRAN_Project gNB

This commit is contained in:
herlesupreeth
2023-06-11 17:13:06 +02:00
parent 68e0f01258
commit 5e5c356dd2
4 changed files with 6 additions and 2 deletions

3
.env
View File

@@ -116,3 +116,6 @@ SCP_IP=172.22.0.35
# METRICS # METRICS
METRICS_IP=172.22.0.36 METRICS_IP=172.22.0.36
# SRSRAN GNB
SRS_GNB_IP=172.22.0.37

View File

@@ -34,7 +34,7 @@ RUN apt-get update && \
libzmq3-dev libboost-system-dev libboost-test-dev libboost-thread-dev libqwt-qt5-dev qtbase5-dev \ 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 \ 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 \ 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 # Get SoapySDR, compile and install
RUN git clone https://github.com/pothosware/SoapySDR.git && \ RUN git clone https://github.com/pothosware/SoapySDR.git && \

View File

@@ -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|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_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_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 # For dbus not started issue when host machine is running Ubuntu 22.04
service dbus start && service avahi-daemon start service dbus start && service avahi-daemon start

View File

@@ -43,7 +43,7 @@ srate = 11.52e6
# Example for ZMQ-based operation with TCP transport for I/Q samples # Example for ZMQ-based operation with TCP transport for I/Q samples
device_name = zmq 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 # EUTRA RAT configuration