free5G / free5GRAN

free5GRAN is an open-source 5G RAN stack. The current version includes a receiver which decodes MIB & SIB1 data. It also acts as a cell scanner. free5GRAN works in SA mode.
Apache License 2.0
108 stars 41 forks source link

running problem #19

Open SpongeBobaa opened 1 year ago

SpongeBobaa commented 1 year ago

ubuntu 20.04 uhd 4.3.0.0 usrp b210

I tried the commond in the Readme.md . sudo free5GRAN

and I can not run the program.

The print below:

C++ Version: 201703 Segmentation fault Segmentation fault Segmentation fault Segmentation fault terminate called after throwing an instance of 'libconfig::ParseException' what(): ParseException

Can you help me see what's wrong?

jimrains commented 1 year ago

I'm experiencing similar issues. Ubuntu 22 with libuhd-dev version 4.1.0.5-3.

ivyselly commented 1 year ago

i'm experiencing same issue too, ubuntu 20.04, usrpb210

krishnakumardangi commented 5 months ago

Config file

@SpongeBobaa Which config file are using? Config file is required.

sudo ./free5GRAN  ../scan_band.cfg
sudo ./free5GRAN  ../search_cell.cfg

I am using USRP B210 with Ubuntu 22.04 and USRP version 4.1.0.5.-3 and it is running. But not getting MIB or SIB, I think it due to cell config require to update in config file.

Regarding parse error:

I was getting this error,

C++ Version: 201703
Parse error at ./config/search_cell.cfg:24 - syntax error

Then I had changed gain value lower to 70 dB in search_cell.cfg and this work for me. I think 'ParseException' error due to config limitation of Hardware.