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.45k stars 1.14k forks source link

Failed to read rb configuration while running srsenb #1062

Open FaribaNajm opened 1 year ago

FaribaNajm commented 1 year ago

I have installed the BladeRF driver from source through this link https://github.com/Nuand/bladeRF/wiki/Getting-Started%3A-Linux Then I have installed srsRAN from source through https://docs.srsran.com/en/latest/general/source/1_installation.html Right now when I want to run the srsenb, it says it cannot open rb.conf. I have attached the commands I tried and no success. Just one thing that I do not have hardware Blade RF connected. I would appreciate if some one could help me with this issue. root@fariba:~# srsenb Active RF plugins: libsrsran_rf_soapy.so libsrsran_rf_blade.so librsran_rf_zmq. SO Inactive RF plugins: Software Radio Systems LTE eNodeB

Couldn't open , trying /root/.config/srsran/enb.conf Couldn't open /root/.config/srsran/enb.conf either, trying /etc/srsran/enb.conf Failed to read eNB configuration file /etc/srsran/enb.conf exiting

fariba@fariba:/SRSRAN/srsenb$ sudo srsenb ~/.config/srsran/enb.conf

Active RF plugins: libsrsran_rf_soapy.so libsrsran_rf_blade.so libsrsran_rf_zmq. SO Inactive RF plugins: Software Radio Systems LTE eNodeB Reading configuration file /home/fariba/.config/srsran/enb.conf Couldn't open rb.conf, trying /root/.config/srsran/rb.conf Couldn't open /root/.config/srsran/rb.conf either, trying /etc/srsran/rb.conf Failed to read RB configuration file /etc/srsran/rb.conf

iman432 commented 1 year ago

Hi,

First you should find location of rb.conf then specify at enb.conf , based on log its trying /root/.config/srsran/rb.conf and /etc/srsran/rb.conf but seems rb.conf isn't there.

Capture

FaribaNajm commented 1 year ago

Hello, Thanks for your reply. I can find the rb.conf in my home/srsRAN, however I don't know how to specify at enb.conf. Thanks.


From: Iman Mohammadi @.> Sent: Tuesday, December 20, 2022 5:58 AM To: srsran/srsRAN @.> Cc: Fariba Ghasemi-Najm @.>; Author @.> Subject: Re: [srsran/srsRAN] Failed to read rb configuration while running srsenb (Issue #1062)

Hi,

First you should find location of rb.conf then specify at enb.conf , based on log its trying /root/.config/srsran/rb.conf and /etc/srsran/rb.conf but seems rb.conf isn't there.

[Capture]https://user-images.githubusercontent.com/44318450/208650900-d1aff7a5-fea1-422a-a843-6ea9dd4e2aac.PNG

— Reply to this email directly, view it on GitHubhttps://github.com/srsran/srsRAN/issues/1062#issuecomment-1359180608, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3NOPTPYNHFLL4AYCOAJ53LWOGGO3ANCNFSM6AAAAAATBNPDGQ. You are receiving this because you authored the thread.Message ID: @.***>