OAI All in One 配置文档

安装Ubuntu 16.04

现有OAI平台不支持Ubuntu 18.x

Ubuntu系统安装完成后执行以下命令

sudo apt update
sudo apt upgrade
sudo apt install git

安装USRP驱动

sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-mako doxygen python-docutils python-requests cmake build-essential

git clone git://github.com/EttusResearch/uhd.git
cd uhd
mkdir host/build
cd host/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install
sudo ldconfig
sudo /usr/lib/uhd/utils/uhd_images_downloader.py

测试安装是否成功:

安装流程也可参考网页

下载&编译 eNB on 16.04

下载编译EPC

为 EPC 安装第三方软件包

安装过程中会提示一些软件是否需要安装,如果没有选择yes,安装过的可选no跳过

Do you want to install freeDiameter 1.2.0 ?: yes

set your MySQL password and remember it! password

phpmyadmin:

choose light or apache as you prefer

Configure database for phpmyadmin with dbconfig-common: yes

password: same as MySQL for simplicity password

We don't use phpmyadmin later in this procedure, nevertheless we tested successfully also with it

修改添加hosts

配置eNB

racking_area_code = "1";

mobile_country_code = "208";

mobile_network_code = "92";

////////// MME parameters:

mme_ip_address = ( { ipv4 = "127.0.1.10";

ipv6 = "192:168:30::17";

active = "yes";

preference = "ipv4";

}

);

NETWORK_INTERFACES :

{

ENB_INTERFACE_NAME_FOR_S1_MME = "lo";

ENB_IPV4_ADDRESS_FOR_S1_MME = "127.0.1.2/8";

ENB_INTERFACE_NAME_FOR_S1U = "lo";

ENB_IPV4_ADDRESS_FOR_S1U = "127.0.6.2/8";

ENB_PORT_FOR_S1U = 2142; # Spec 2152

};

配置epc

把附件里的epc配置相关文件分别放入/usr/local/etc/oai/以及/usr/local/etc/oai/freeDiameter/中,替换相应文件

Running eNB, EPC and HSS

Install certificates:

Compile & Run HSS (ALWAYS RUN HSS FIRST):

Compile & Run MME:

Compile & Run SP-GW:

Compile & Run eNB:

Last updated

Was this helpful?