No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| trigger_scripts | ||
| .gitignore | ||
| enb.conf | ||
| epc.conf | ||
| RAYHUNTER_ALERTS.md | ||
| rayhunter_triggers.patch | ||
| rb.conf | ||
| README.md | ||
| rr.conf | ||
| sib.conf | ||
| user_db.csv | ||
srsRAN_4G Setup for These Configs
Self-contained private LTE test cell: PLMN 999/70, Band 3, EARFCN 1575.
Relative paths (./sib.conf, ./rr.conf, ./rb.conf, ./user_db.csv)
resolve against the cwd at launch, not the .conf file's location —
always cd into this folder first!
1. Prerequisites
- Ettus USRP (B210/B205mini) on a true USB3 port
(
lsusb -t→5000M, not480M, after firmware load). - Build packages:
sudo apt install -y cmake g++ git libfftw3-dev libmbedtls-dev \ libconfig++-dev libsctp-dev uhd-host libuhd-dev \ libboost-program-options-dev libboost-system-dev \ libboost-test-dev libboost-thread-dev - UHD firmware/FPGA images (
uhd_images_downloader.py, orUHD_IMAGES_DIRpointing at an existing copy).
2. Clone and build
git clone --depth 1 --branch release_23_11 https://github.com/srsRAN/srsRAN_4G.git
cd srsRAN_4G
# GCC 14/15: fix a hard C++20 compile error, then disable the project's own -Werror
sed -i 's/explicit block_queue<myobj>(int capacity_ = -1)/explicit block_queue(int capacity_ = -1)/' \
lib/include/srsran/common/block_queue.h
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DENABLE_WERROR=OFF
make -j$(nproc)
3. Capabilities (no root needed at runtime)
sudo setcap cap_net_admin+ep srsepc/src/srsepc
sudo setcap cap_sys_nice+ep srsenb/src/srsenb
Needed for TUN setup (srsepc) and real-time PHY/MAC scheduling (srsenb).
Reapply after every rebuild relinking strips them.
4. Running (from this directory)
cd /path/to/raybench/
# terminal 1
/path/to/srsRAN_4G/build/srsepc/src/srsepc epc.conf
# terminal 2 — needs UHD_IMAGES_DIR set
export UHD_IMAGES_DIR=/path/to/uhd_images
/path/to/srsRAN_4G/build/srsenb/src/srsenb enb.conf
Success: srsepc logs MME Initialized then SP-GW Initialized; srsenb
logs eNodeB started; srsepc then logs Sending S1 Setup Response.