Ubuntu 18.04 安装OAI (EPC+eNB+UE)

参考资料:

 1.   官方教程:  HowToConnectCOTSUEwithOAIeNBNew

  安装在一台电脑上主要需要

    1. Installation and Configuration of OAI eNB + EPC + HSS

      1.1 Installation

        Step 1: Check out the Trunk 

        Step 2: Specify FQDN for EPC  

        Step 3: Run Automated Build Script (openairinterface5g) 

            步骤3中只需要运行自己所用设备的那一句就可以了。

        Step 4: Run Automated script for openair-cn  

 2. (obsolete) OpenAir, single machine Ubuntu 17.04, after major EPC update

 3. All in one OpenAirInterface 

 4.    非官方教程: OpenAirInterface (OAI) Ubuntu 17.04/16.04 All In One 安装教程

   Build eNB using USRP on Ubuntu 18.04

  openairinterface5G

 

 

参考1所需运行:

  安装在一台电脑上主要需要

    1. Installation and Configuration of OAI eNB + EPC + HSS

      1.1 Installation

        Step 1: Check out the Trunk 

        Step 2: Specify FQDN for EPC  

        Step 3: Run Automated Build Script (openairinterface5g) 

            步骤3中的下面三句代码只需要运行自己所用设备的那一句就可以了。如我用的是USRP,则运行for USRP那一句即可。

./build_oai -I --eNB -x --install-system-files -w USRP       #for USRP
./build_oai -I  --eNB -x --install-system-files -w EXMIMO    #for EXMIMO
./build_oai -I  --eNB -x --install-system-files -w BLADERF   #for BladeRF

 

        Step 4: Run Automated script for openair-cn

      1.2 Configuration

        1.2节中,1.2.1是安装在不同电脑上的步骤,装在同一台电脑看1.2.2。

        1.2.2 eNB and EPC+HSS on Same Host (NOT RECOMMENDED SETUP)

        1.2.1.1 Configure eNB machine (update config files)

           更改代码

        1.2.2.2 Configure EPC machine (update config files)

           更改代码

      1.3  (1.3.1是安装在不同电脑上的步骤,装在同一台电脑看1.3.2)

        1.3.2 Running eNB, EPC and HSS (Assuming eNB, {EPC, HSS} are on same machines. We assume in our case that this machine is calisson as described above)

         注意1.2.2和1.3.2教程中同一台电脑上安装用的名字是calisson,改成自己对应的即可。

        先配置环境:Install certificates

        打开四个终端,每个终端输入相应的代码即可。

        四个终端分别是:

          Compile & Run HSS (ALWAYS RUN HSS FIRST):

          Compile & Run MME:

          Compile & Run SP-GW:

          Compile & Run eNB:

posted @ 2022-02-08 15:58  寄生的鱼  阅读(816)  评论(0编辑  收藏  举报