srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.48k stars 1.15k forks source link

4G - srsENB cannot connect to srsUE #1159

Closed nkabigti closed 1 year ago

nkabigti commented 1 year ago

Issue Description

Hello, I have been trying to connect srsENB and srsUE between two computers using two USRP X310s. According to the UHD test waveform, signals are present. However, the srsENB messages say that there is a failure to connect. I have tried multiple versions of 4G srsRAN, but the same messages from UE persist. The files below are from using version 23.04 of 4G srsRAN.

Setup Details

Two separate Ubuntu PCs running on Ubuntu 20.04. Both PCs are not connected to any network aside from their connection with their respective USRP X310. The 1 GB port is being used for both X310s.

Expected Behavior

The UE connects to the base station and I am given an IP address for the UE. I should be able to ping the computers from both sides.

Actual Behaviour

UE and ENB start with no critical errors or warnings, yet the ENB fails to connect, UE messages say "Cell Selection" has completed with failure.

Steps to reproduce the problem

Used in build directories ENB PC: sudo srsenb/src/srsenb UE PC: sudo srsue/src/srsue

Additional Information

enb messages: srsgnb_log.txt ue messages: srsue_log.txt

config files: sibconf.txt ueconf.txt enbconf.txt rbconf.txt rrconf.txt

andrepuschmann commented 1 year ago

Hey - you need to carefully read the screen output. The eNB console clearly says: Failed to initiate S1 connection. Attempting reconnection in 10 seconds

Since you don't even mention a core network in your explanation I guess you're not running one. I suggest to follow our app-notes https://docs.srsran.com/projects/4g/

Hope that helps.