From 7f6cd81e3a0c1bda060307c836b9188a6d964498 Mon Sep 17 00:00:00 2001
From: Navid Nikaein <navid.nikaein@eurecom.fr>
Date: Tue, 24 Feb 2015 15:25:00 +0000
Subject: [PATCH] * uncommenting the oai driver configuration *
 "./init_exmimo2.sh eNB" and "./init_exmimo2.sh UE" will bring up the
 interface and setup the respective addresss

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6607 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/RT/USER/init_exmimo2.sh | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/targets/RT/USER/init_exmimo2.sh b/targets/RT/USER/init_exmimo2.sh
index 4d20272313..e47f7c7098 100644
--- a/targets/RT/USER/init_exmimo2.sh
+++ b/targets/RT/USER/init_exmimo2.sh
@@ -56,14 +56,14 @@ fi
 
 load_module $OPENAIR2_DIR/NAS/DRIVER/MESH/nasmesh.ko
 
-#if [ "$1" = "eNB" ]; then 
-#     echo "bring up oai0 interface for enb"
-#     sudo ifconfig oai0 10.0.1.1 netmask 255.255.255.0 broadcast 10.0.1.255
-#    $OPENAIR2_DIR/NAS/DRIVER/MESH/RB_TOOL/rb_tool -a -c0 -i0 -z0 -s 10.0.1.1 -t 10.0.1.9 -r 1
-#else
-#    if [ "$1" = "UE" ]; then 
-#	echo "bring up oai0 interface for UE"
-#	sudo ifconfig oai0 10.0.1.9 netmask 255.255.255.0 broadcast 10.0.1.255
-#	$OPENAIR2_DIR/NAS/DRIVER/MESH/RB_TOOL/rb_tool -a -c0 -i0 -z0 -s 10.0.1.9 -t 10.0.1.1 -r 1
-#    fi
-#fi  
+if [ "$1" = "eNB" ]; then 
+     echo "bring up oai0 interface for enb"
+     sudo ifconfig oai0 10.0.1.1 netmask 255.255.255.0 broadcast 10.0.1.255
+    $OPENAIR2_DIR/NAS/DRIVER/MESH/RB_TOOL/rb_tool -a -c0 -i0 -z0 -s 10.0.1.1 -t 10.0.1.9 -r 1
+else
+    if [ "$1" = "UE" ]; then 
+	echo "bring up oai0 interface for UE"
+	sudo ifconfig oai0 10.0.1.9 netmask 255.255.255.0 broadcast 10.0.1.255
+	$OPENAIR2_DIR/NAS/DRIVER/MESH/RB_TOOL/rb_tool -a -c0 -i0 -z0 -s 10.0.1.9 -t 10.0.1.1 -r 1
+    fi
+fi  
-- 
GitLab