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

Fix the tmux windows

parent 5219b47e
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ session="oai"
## Split into 4 panes
tmux new-session -d -s $session
tmux split-window -h \; split-window -d;
tmux split-window -h \;
## Run OAI RAN
......@@ -16,7 +16,5 @@ tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENT
## Run OAI DU
tmux send-keys -t 1 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 1 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' 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
......@@ -7,8 +7,6 @@ session="oai"
## Split into 4 panes
tmux new-session -d -s $session
tmux split-window -h \; split-window -d;
tmux swapp -s 0;
tmux split-window -d;
## Run OAI RAN
......@@ -18,10 +16,7 @@ tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENT
## Run OAI DU
tmux send-keys -t 1 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 1 'sudo RFSIMULATOR=server ./nr-softmodem --rfsim --sa -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/du_gnb.conf --continuous-tx --gNBs.[0].min_rxtxtime 6' ENTER;
## Run FlexRIC
tmux send-keys -t 2 'cd ~/flexric/' ENTER \; send-keys -t 2 './build/examples/ric/nearRT-RIC' ENTER;
## Run OAI UE
tmux send-keys -t 3 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENTER \; send-keys -t 3 'sleep 20' ENTER \; send-keys -t 3 '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 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 attach-session -t $session
......@@ -6,7 +6,7 @@ session="oai"
## Split into 4 panes
tmux new-session -d -s $session
tmux split-window -h \; split-window -d;
tmux split-window -h \;
## Run OAI RAN
......@@ -16,7 +16,4 @@ tmux send-keys -t 0 'cd ~/openairinterface5g/cmake_targets/ran_build/build/' ENT
## Run OAI DU
tmux send-keys -t 1 'cd ~/openairinterface5g/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 --continuous-tx --gNBs.[0].min_rxtxtime 6' 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