Difference between revisions of "4G: OpenAirInterface instalasi dari github"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git | git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git | ||
− | + | cd /usr/local/src/openairinterface5g | |
− | cd | ||
source oaienv | source oaienv | ||
cd cmake_targets/ | cd cmake_targets/ | ||
− | ./build_oai -I -w USRP --eNB --UE -- | + | ./build_oai -I -w USRP --eNB --UE |
+ | |||
+ | |||
+ | Konfigurasi conf ada di | ||
+ | |||
+ | https://gitlab.eurecom.fr/oai/openairinterface5g/-/wikis/home/testing-gnb-vs-cots-ue | ||
+ | |||
+ | https://gitlab.eurecom.fr/oai/openairinterface5g/-/wikis/uploads/48bbbcc8016a33ce6d2faf62e3845005/enb.conf | ||
+ | |||
+ | masukan ke | ||
+ | |||
+ | /usr/local/src/openairinterface5g/ci-scripts/conf_files/enb.conf | ||
+ | |||
+ | |||
+ | Edit enb.conf | ||
+ | |||
+ | plmn_list = ( | ||
+ | { mcc = 510; mnc = 33; mnc_length = 2; } | ||
+ | ); | ||
+ | |||
+ | // IP addres EPC | ||
+ | ////////// MME parameters: | ||
+ | mme_ip_address = ( { ipv4 = "192.168.100.236"; | ||
+ | ipv6 = "192:168:30::17"; | ||
+ | active = "yes"; | ||
+ | preference = "ipv4"; | ||
+ | } | ||
+ | ); | ||
+ | |||
+ | ///X2 | ||
+ | enable_x2 = "yes"; | ||
+ | t_reloc_prep = 1000; /* unit: millisecond */ | ||
+ | tx2_reloc_overall = 2000; /* unit: millisecond */ | ||
+ | |||
+ | // IP address ENB | ||
+ | NETWORK_INTERFACES : | ||
+ | { | ||
+ | ENB_INTERFACE_NAME_FOR_S1_MME = "eth1"; | ||
+ | ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.100.239/24"; | ||
+ | |||
+ | ENB_INTERFACE_NAME_FOR_S1U = "eth1"; | ||
+ | ENB_IPV4_ADDRESS_FOR_S1U = "192.168.100.239/24"; | ||
+ | ENB_PORT_FOR_S1U = 2152; # Spec 2152 | ||
+ | |||
+ | ENB_IPV4_ADDRESS_FOR_X2C = "192.168.100.239/24"; | ||
+ | ENB_PORT_FOR_X2C = 36422; # Spec 36422 | ||
+ | }; | ||
+ | |||
+ | |||
+ | Run: | ||
+ | https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/doc/L2NFAPI_S1.md | ||
+ | |||
+ | |||
+ | sudo -E ./ran_build/build/lte-softmodem -O ../ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf > enb.log 2>&1 | ||
+ | |||
+ | |||
+ | sudo -E ./ran_build/build/lte-softmodem -O ../ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf > enb.log 2>&1 | ||
+ | |||
+ | |||
+ | |||
+ | cd /usr/local/src/openairinterface5g/cmake_targets/lte_build_oai/build/ | ||
+ | sudo -E ./lte-softmodem -O /usr/local/src/openairinterface5g/ci-scripts/conf_files/enb.conf |
Latest revision as of 14:10, 30 September 2022
apt update apt -y install git git config --global user.name "Your Name" git config --global user.email "Your email address"
cd /usr/local/src git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
cd /usr/local/src/openairinterface5g source oaienv cd cmake_targets/ ./build_oai -I -w USRP --eNB --UE
Konfigurasi conf ada di
https://gitlab.eurecom.fr/oai/openairinterface5g/-/wikis/home/testing-gnb-vs-cots-ue
masukan ke
/usr/local/src/openairinterface5g/ci-scripts/conf_files/enb.conf
Edit enb.conf
plmn_list = ( { mcc = 510; mnc = 33; mnc_length = 2; } );
// IP addres EPC ////////// MME parameters: mme_ip_address = ( { ipv4 = "192.168.100.236"; ipv6 = "192:168:30::17"; active = "yes"; preference = "ipv4"; } );
///X2 enable_x2 = "yes"; t_reloc_prep = 1000; /* unit: millisecond */ tx2_reloc_overall = 2000; /* unit: millisecond */
// IP address ENB NETWORK_INTERFACES : { ENB_INTERFACE_NAME_FOR_S1_MME = "eth1"; ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.100.239/24";
ENB_INTERFACE_NAME_FOR_S1U = "eth1"; ENB_IPV4_ADDRESS_FOR_S1U = "192.168.100.239/24"; ENB_PORT_FOR_S1U = 2152; # Spec 2152
ENB_IPV4_ADDRESS_FOR_X2C = "192.168.100.239/24"; ENB_PORT_FOR_X2C = 36422; # Spec 36422 };
Run:
https://gitlab.eurecom.fr/oai/openairinterface5g/-/blob/develop/doc/L2NFAPI_S1.md
sudo -E ./ran_build/build/lte-softmodem -O ../ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf > enb.log 2>&1
sudo -E ./ran_build/build/lte-softmodem -O ../ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf > enb.log 2>&1
cd /usr/local/src/openairinterface5g/cmake_targets/lte_build_oai/build/ sudo -E ./lte-softmodem -O /usr/local/src/openairinterface5g/ci-scripts/conf_files/enb.conf