OAI All in One 配置文档
安装Ubuntu 16.04
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 安装第三方软件包
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
上面代码中三个oai-01的命名要一致
配置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
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?