| 152 | == Installing 4.8 Kernel on IG EPC Resource == |
| 153 | |
| 154 | After an Ubuntu 16 Raw PC was reserved in the GPO IG rack, the following procedure was followed to create the ePC setup: |
| 155 | {{{ |
| 156 | |
| 157 | # Note the Ubuntu 16.04.1l image delivers a GNU/Linux 4.4.0-34-generic |
| 158 | sudo apt-get update |
| 159 | sudo apt-get -y upgrade |
| 160 | |
| 161 | # Note the next step requests a conflicting grub change. The procedure kept existing grub |
| 162 | sudo apt-get -y dist-upgrade |
| 163 | sudo reboot |
| 164 | |
| 165 | # Note system comes up with Kernel 4.4.0-78-generic |
| 166 | sudo apt-get install --install-recommends xserver-xorg-hwe-16.04 |
| 167 | sudo reboot |
| 168 | |
| 169 | # Note system comes up with Kernel 4.8.0-53-generic |
| 170 | }}} |
| 171 | |
| 172 | Next step is optional, disk was resized to make sure there is all possible disk space available: |
| 173 | |
| 174 | {{{ |
| 175 | sudo apt-get install gparted -y |
| 176 | # Note resize /dev/sda1 from 16G to 19G and create partition /dev/sda2 from from "unallocated" 900G type=ext4 and named extra |
| 177 | |
| 178 | # Next add new partition to files system files |
| 179 | sudo mkdir /extra |
| 180 | sudo vi /etc/fstab |
| 181 | |
| 182 | # Make file system part of persistent definition by inserting the following to /etc/fstab |
| 183 | /dev/sda2 /extra ext4 defaults 0 0 |
| 184 | |
| 185 | # Mount newly added file system and change ownership |
| 186 | sudo mount /extra |
| 187 | sudo chown -R lnevers:ch--OpenFlowTuto /extra/ |
| 188 | }}} |
| 189 | # Enable GTP (GPRS Tunneling Protocol) |
| 190 | sudo modprobe gtp |
| 191 | }}} |
| 192 | |
| 193 | == Installing OAI Software == |
| 194 | |
| 195 | Assuming you have completed the 4.8 Kernel installation, we proceed to install the !OpenAirInterface software as specified in the [https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/GetSources OAI Repository]. Follow the instructions on the [https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/GetSources OAI Repository] page. |
| 196 | |
| 197 | The wiki OAI Repository has a wiki page that captures [https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/HowToConnectCOTSUEwithOAIeNBNew How to Connect OAI ePC with COTS User Equipment]. Following are installation steps followed: |
| 198 | |
| 199 | {{{ |
| 200 | # Note some prerequisites installation and configured |
| 201 | sudo apt-get install i7z cpufrequtils -y |
| 202 | sudo vi /etc/default/cpufrequtils |
| 203 | |
| 204 | # insert the following in the file |
| 205 | GOVERNOR="performance" |
| 206 | sudo update-rc.d ondemand disable |
| 207 | sudo reboot |
| 208 | }}} |
| 209 | |
| 210 | Next the installation of the OAI packages: |
| 211 | {{{ |
| 212 | sudo apt-get update |
| 213 | sudo apt-get install subversion git |
| 214 | git config --global user.name "Luisa Nevers" |
| 215 | git config --global user.email "luisa.nevers@raytheon.com" |
| 216 | |
| 217 | echo -n | openssl s_client -showcerts -connect gitlab.eurecom.fr:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt |
| 218 | git config --global http.sslverify false |
| 219 | }}} |
| 220 | |
| 221 | Put in place links for additional disk space: |
| 222 | {{{ |
| 223 | cd /extra |
| 224 | git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git |
| 225 | git clone https://gitlab.eurecom.fr/oai/openair-cn.git |
| 226 | git clone https://gitlab.eurecom.fr/oai/xtables-addons-oai.git |
| 227 | |
| 228 | ln -s /extra/open* ~/. |
| 229 | ln -s /extra/xtable* ~/. |
| 230 | }}} |
| 231 | |
| 232 | Build eNB/ePC packages: |
| 233 | |
| 234 | {{{ |
| 235 | # Building eNB. |
| 236 | cd ~/openairinterface5g |
| 237 | source oaienv |
| 238 | cd cmake_targets |
| 239 | ./build_oai -I |
| 240 | |
| 241 | # Building ePC: |
| 242 | cd ~/openair-cn/SCRIPTS |
| 243 | ./build_mme -i |
| 244 | # sudo apt-get install mysql-server --reinstall -y |
| 245 | ./build_hss -i |
| 246 | ./build_spgw -i |
| 247 | }}} |
| 248 | |
| 249 | == Configurations changes == |
| 250 | |
| 251 | |
| 252 | |
| 253 | TBD |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |