Difference between revisions of "5G: srsEPC eNB install"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
sudo apt -y install libuhd-dev libuhd003 uhd-host | sudo apt -y install libuhd-dev libuhd003 uhd-host | ||
+ | Sebagai user biasa, jangan sebagai root. | ||
+ | Download & compile source code | ||
+ | cd ~ | ||
+ | git clone https://github.com/srsLTE/srsLTE.git | ||
+ | cd srsLTE | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake ../ | ||
+ | |||
+ | make -j8 | ||
+ | make test | ||
+ | sudo make install | ||
+ | |||
+ | ==Configure== | ||
+ | |||
+ | Change back to the source directory. | ||
+ | |||
+ | cd ~/srsLTE | ||
+ | |||
+ | ===srsEPC=== | ||
+ | |||
+ | cp srsepc/epc.conf.example srsepc/epc.conf | ||
+ | cp srsepc/user_db.csv.example srsepc/user_db.csv | ||
+ | |||
+ | ===srsENB=== | ||
+ | |||
+ | cp srsenb/enb.conf.example srsenb/enb.conf | ||
+ | cp srsenb/rr.conf.example srsenb/rr.conf | ||
+ | cp srsenb/sib.conf.example srsenb/sib.conf | ||
+ | cp srsenb/rb.conf.example srsenb/rb.conf | ||
+ | |||
+ | |||
+ | ==Run== | ||
+ | |||
+ | Run EPC | ||
+ | |||
+ | cd ~/srsLTE/srsepc | ||
+ | sudo srsepc epc.conf | ||
+ | |||
+ | Open another terminal: | ||
+ | |||
+ | cd ~/srsLTE/srsenb | ||
+ | sudo srsenb enb.conf | ||
Revision as of 09:11, 16 September 2022
Untuk operasional kita butuh Ettus B210 tersambung.
Build
sudo apt update sudo apt -y install cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev sudo apt -y install libuhd-dev libuhd003 uhd-host
Sebagai user biasa, jangan sebagai root. Download & compile source code
cd ~ git clone https://github.com/srsLTE/srsLTE.git cd srsLTE mkdir build cd build cmake ../
make -j8 make test sudo make install
Configure
Change back to the source directory.
cd ~/srsLTE
srsEPC
cp srsepc/epc.conf.example srsepc/epc.conf cp srsepc/user_db.csv.example srsepc/user_db.csv
srsENB
cp srsenb/enb.conf.example srsenb/enb.conf cp srsenb/rr.conf.example srsenb/rr.conf cp srsenb/sib.conf.example srsenb/sib.conf cp srsenb/rb.conf.example srsenb/rb.conf
Run
Run EPC
cd ~/srsLTE/srsepc sudo srsepc epc.conf
Open another terminal:
cd ~/srsLTE/srsenb sudo srsenb enb.conf