... | ... | @@ -9,6 +9,8 @@ |
|
|
|
|
|
**Note: Current installation assumes that eNB and RRH are running on two seperate containers in same PC. We also assume that EPC is running on a separate machine**
|
|
|
|
|
|
|
|
|
|
|
|
### Setup eNB Docker Image
|
|
|
|
|
|
```
|
... | ... | @@ -31,3 +33,47 @@ cd cmake_targets |
|
|
uhd_usrp_probe
|
|
|
```
|
|
|
|
|
|
### Setup RRH Docker Image
|
|
|
|
|
|
```
|
|
|
sudo docker run -t -i --privileged -v /dev/bus/usb:/dev/bus/usb ubuntu:14.04
|
|
|
```
|
|
|
|
|
|
The above will open a shell inside docker container.
|
|
|
|
|
|
```
|
|
|
#Following commands need be run inside docker container
|
|
|
apt-get update
|
|
|
apt-get install software-properties-common git wget -y
|
|
|
GIT_SSL_NO_VERIFY=true git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git
|
|
|
cd openairinterface5g
|
|
|
source oaienv
|
|
|
cd cmake_targets
|
|
|
./build_oai -w USRP -I
|
|
|
#There might be some errors in installation but its okay.
|
|
|
#verify that USRP is working
|
|
|
uhd_usrp_probe
|
|
|
```
|
|
|
|
|
|
|
|
|
### Configure docker bridge to use very large MTU (Required if running RRH in raw transport mode)
|
|
|
|
|
|
1. Assuming that you are using default docker configuration. Docker creates default bridge docker0 with 1500 as its MTU. For every new container it adds virtual Ethernet adapter vethxxx which connects to this bridge.
|
|
|
|
|
|
1. We assume that eNB and RRH containers are connected by vetheNB and vethRRH. These interfaces are dynamically created by docker. You can see the list of interfaces via ifconfig
|
|
|
|
|
|
1. Carry out the following instructions (ONLY HOST MACHINE). If there is error in steps below, you need to figure out problems with your docker installation.
|
|
|
|
|
|
```
|
|
|
sudo ifconfig vetheNB mtu 9000 up
|
|
|
sudo ifconfig vethRRH mtu 9000 up
|
|
|
sudo ifconfig docker0 mtu 9000 up
|
|
|
```
|
|
|
|
|
|
### Once the above steps are carried out, you can follow instructions from other tutorials to configure config files, etc
|
|
|
|
|
|
### If you encounter real-time issues/errors on RRH/eNodeB, then use 5MHz. Always use latest develop branch.
|
|
|
|
|
|
### Config file for RRH (5Mhz), $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
|
|
|
|
|
|
### Config file for RRH (10Mhz), $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.rrh.usrpb210.conf |
|
|
\ No newline at end of file |