Skip to content

srsUE can not attached to srsENB/srsEPC #1515

@YangCheng-0213

Description

@YangCheng-0213

enb.log

epc.log

ue.log

I have installed Ubuntu 22.04 and srsRAN_4G on 2 different devices, one is Raspberry Pi 4, another is ThinkPad-T420, also I have 2 hackRF. I followed the instruction of "LTE Setup Guide", on machine 1 (ThinkPad), I run the command "sudo srsepc" first, then I open another terminal and run "srsenb". On machine 2 (Raspberry), I run the command "srsue", but I can see that UE did not attach on the network.

below is the output after the command on each terminal:

yangcheng@yangcheng-ThinkPad-T420:~/Desktop/SDR_Trial/srsRAN_4G/build$ sudo srsepc
[sudo] password for yangcheng:

Built in Release mode using commit 1fab3df on branch master.

--- Software Radio Systems EPC ---

Couldn't open , trying /root/.config/srsran/epc.conf
Reading configuration file /root/.config/srsran/epc.conf...
Couldn't open user_db.csv, trying /root/.config/srsran/user_db.csv
HSS Initialized.
MME S11 Initialized
MME GTP-C Initialized
MME Initialized. MCC: 0xf001, MNC: 0xff01
SPGW GTP-U Initialized.
SPGW S11 Initialized.
SP-GW Initialized.
Received S1 Setup Request.
S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b
S1 Setup Request - MCC:001, MNC:01
S1 Setup Request - TAC 7, B-PLMN 0xf110
S1 Setup Request - Paging DRX v128
Sending S1 Setup Response

yangcheng@yangcheng-ThinkPad-T420:~/Desktop/SDR_Trial/srsRAN_4G/build$ sudo srsenb
[sudo] password for yangcheng:
Active RF plugins: libsrsran_rf_uhd.so libsrsran_rf_soapy.so libsrsran_rf_zmq.so
Inactive RF plugins:
--- Software Radio Systems LTE eNodeB ---

Couldn't open , trying /root/.config/srsran/enb.conf
Reading configuration file /root/.config/srsran/enb.conf...
Couldn't open sib.conf, trying /root/.config/srsran/sib.conf
Couldn't open rr.conf, trying /root/.config/srsran/rr.conf
Couldn't open rb.conf, trying /root/.config/srsran/rb.conf
WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.

Built in Release mode using commit 1fab3df on branch master.

Opening 1 channels in RF device=default with args=default
Supported RF device list: UHD soapy zmq file
Trying to open RF device 'UHD'
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.9.0.0-0ubuntu1~jammy3
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args:
[INFO] [UHD RF] RF UHD Generic instance constructed
/home/yangcheng/Desktop/SDR_Trial/srsRAN_4G/lib/src/phy/rf/rf_uhd_imp.cc:933: uhd_init failed, freeing...
Unable to open RF device 'UHD'
Trying to open RF device 'soapy'
[ERROR] [UHD RF] LookupError: KeyError: No devices found for ----->
Empty Device Address
Soapy has found device #0: device=HackRF One, driver=hackrf, label=HackRF One #0 10961dc2b76574f, part_id=a000cb3c005d4f57, serial=0000000000000000010961dc2b76574f, version=2017.02.1,
Selecting Soapy device: 0
[INFO] Opening HackRF One #0 10961dc2b76574f...
Setting up Rx stream with 1 channel(s)
Setting up Tx stream with 1 channel(s)
Available device sensors:
Available sensors for Rx channel 0:
State of gain elements for Rx channel 0 (AGC not supported):

  • LNA: 16.00 dB
  • AMP: 0.00 dB
  • VGA: 16.00 dB
    State of gain elements for Tx channel 0 (AGC not supported):
  • VGA: 0.00 dB
  • AMP: 0.00 dB
    Rx antenna set to TX/RX
    Tx antenna set to TX/RX
    RF device 'soapy' successfully opened

==== eNodeB started ===
Type to view trace
Setting frequency: DL=2680.0 Mhz, UL=2560.0 MHz for cc_idx=0 nof_prb=50

yangcheng@localhost:~/Desktop/srsRAN_4G/build$ sudo srsue
[sudo] password for yangcheng:
Active RF plugins: libsrsran_rf_soapy.so libsrsran_rf_zmq.so
Inactive RF plugins:
Couldn't open , trying /root/.config/srsran/ue.conf
Reading configuration file /root/.config/srsran/ue.conf...
WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.

Built in Release mode using commit ec29b0c on branch master.

Opening 1 channels in RF device=default with args=default
Supported RF device list: soapy zmq file
Trying to open RF device 'soapy'
Soapy has found device #0: device=HackRF One, driver=hackrf, label=HackRF One #0 f77c60dc226554c3, part_id=a000cb3c00614f63, serial=0000000000000000f77c60dc226554c3, version=2017.02.1,
Selecting Soapy device: 0
[INFO] Opening HackRF One #0 f77c60dc226554c3...
Setting up Rx stream with 1 channel(s)
Setting up Tx stream with 1 channel(s)
Available device sensors:
Available sensors for Rx channel 0:
State of gain elements for Rx channel 0 (AGC not supported):

  • LNA: 16.00 dB
  • AMP: 0.00 dB
  • VGA: 16.00 dB
    State of gain elements for Tx channel 0 (AGC not supported):
  • VGA: 0.00 dB
  • AMP: 0.00 dB
    Rx antenna set to TX/RX
    Tx antenna set to TX/RX
    RF device 'soapy' successfully opened
    Waiting PHY to initialize ... done!
    Attaching UE...
    .
    ........
    .......................................
    ............................................
    .
    .............
    .......

I use the default configuration file to run, but no attach procedure happened, is there any expert here to check and support? I will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions