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

Fix the tmux windows

parent 004d620c
No related branches found
No related tags found
No related merge requests found
...@@ -6,14 +6,9 @@ session="oai" ...@@ -6,14 +6,9 @@ session="oai"
## Split into 4 panes ## Split into 4 panes
tmux new-session -d -s $session tmux new-session -d -s $session
tmux split-window -h;
## Run OAI RAN ## Run OAI RAN
tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER; tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER;
## Run FlexRIC
tmux send-keys -t 1 'cd ~/flexric/' ENTER \; send-keys -t 1 './build/examples/ric/nearRT-RIC' ENTER;
tmux attach-session -t $session tmux attach-session -t $session
...@@ -6,16 +6,12 @@ session="oai" ...@@ -6,16 +6,12 @@ session="oai"
## Split into 4 panes ## Split into 4 panes
tmux new-session -d -s $session tmux new-session -d -s $session
tmux split-window -h \; split-window -d; tmux split-window -h \;
## Run OAI RAN ## Run OAI RAN
tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo RFSIMULATOR=server ./nr-softmodem -E --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER; tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo RFSIMULATOR=server ./nr-softmodem -E --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER;
## Run FlexRIC
tmux send-keys -t 1 'cd ~/flexric/' ENTER \; send-keys -t 1 './build/examples/ric/nearRT-RIC' ENTER;
## Run OAI UE ## Run OAI UE
tmux send-keys -t 2 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 2 'sleep 20' ENTER \; send-keys -t 2 'sudo RFSIMULATOR=192.168.70.129 ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --rfsim --sa --nokrnmod -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf' ENTER; tmux send-keys -t 1 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 1 'sleep 20' ENTER \; send-keys -t 1 'sudo RFSIMULATOR=192.168.70.129 ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --rfsim --sa --nokrnmod -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf' ENTER;
tmux attach-session -t $session tmux attach-session -t $session
...@@ -6,14 +6,9 @@ session="oai" ...@@ -6,14 +6,9 @@ session="oai"
## Split into 4 panes ## Split into 4 panes
tmux new-session -d -s $session tmux new-session -d -s $session
tmux split-window -h \; split-window -d; tmux split-window -h \;
## Run OAI RAN ## Run OAI RAN
tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo ./nr-softmodem -E --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER; tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 0 'sudo ./nr-softmodem -E --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER;
## Run FlexRIC
tmux send-keys -t 1 'cd ~/flexric/' ENTER \; send-keys -t 1 './build/examples/ric/nearRT-RIC' ENTER;
tmux attach-session -t $session 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