Skip to content
Snippets Groups Projects
Commit 314b197a authored by Your Name's avatar Your Name
Browse files

Add scripts to run in the USRP

parent 76800869
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
sudo apt-get install tmux -y
session="oai_UE"
## Split into 4 panes
tmux new-session -d -s $session
## Run OAI UE
tmux send-keys -t 0 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --sa --nokrnmod --ue-fo-compensation --ue-max-power 0 -E -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf' ENTER;
tmux attach-session -t $session
#!/bin/bash
sudo apt-get install tmux -y
session="oai"
## Split into 4 panes
tmux new-session -d -s $session
tmux split-window -h \; split-window -d;
## Run OAI RAN
## Run OAI CU
tmux send-keys -t 0 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo ./nr-softmodem -E --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/cu_gnb.conf' ENTER;
## Run OAI DU
tmux send-keys -t 1 'cd ~/oai/cmake_targets/ran_build/build/' ENTER \; send-keys -t 1 'sudo ./nr-softmodem -E --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf' ENTER;
## Run FlexRIC
tmux send-keys -t 2 'cd ~/flexric/' ENTER \; send-keys -t 2 './build/examples/ric/nearRT-RIC' ENTER;
tmux attach-session -t $session
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment