Commit 0deaa72d authored by Navid Nikaein's avatar Navid Nikaein

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5771 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9867f3e9
...@@ -7,8 +7,8 @@ sudo pkill oaisim ...@@ -7,8 +7,8 @@ sudo pkill oaisim
EMULATION_DEV_INTERFACE="eth0" EMULATION_DEV_INTERFACE="eth0"
EMULATION_MULTICAST_GROUP=1 EMULATION_MULTICAST_GROUP=1
EMULATION_LOG_LEVEL=7 # 3 = error, 5 info, 7 debug, trace= 9 EMULATION_LOG_LEVEL=7 # 3 = error, 5 info, 7 debug, trace= 9
OAI_LOCAL_ADDRESS="10.0.1.1" #OAI_LOCAL_ADDRESS="10.0.1.1"
OAI_REMOTE_ADDRESS="10.0.1.2" #OAI_REMOTE_ADDRESS="10.0.1.2"
#EMULATION_DEV_ADDRESS= `hostname -I cut -f1 -d' '` #EMULATION_DEV_ADDRESS= `hostname -I cut -f1 -d' '`
EMULATION_DEV_ADDRESS=`ifconfig $EMULATION_DEV_INTERFACE | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'` EMULATION_DEV_ADDRESS=`ifconfig $EMULATION_DEV_INTERFACE | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
...@@ -62,7 +62,7 @@ sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_G ...@@ -62,7 +62,7 @@ sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_G
else else
if [ $1 = "all" ]; then if [ $1 = "all" ]; then
echo "$OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM" echo "$OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM"
sudo -E OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM
else else
echo "$OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM | grep -i $1" echo "$OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM | grep -i $1"
sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM | grep -i $1 sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_GROUP -l$EMULATION_LOG_LEVEL $PGM | grep -i $1
......
...@@ -7,8 +7,8 @@ sudo pkill oaisim ...@@ -7,8 +7,8 @@ sudo pkill oaisim
EMULATION_DEV_INTERFACE="eth0" EMULATION_DEV_INTERFACE="eth0"
EMULATION_MULTICAST_GROUP=1 EMULATION_MULTICAST_GROUP=1
EMULATION_LOG_LEVEL=7 # 3 = error, 5 info, 7 debug, trace= 9 EMULATION_LOG_LEVEL=7 # 3 = error, 5 info, 7 debug, trace= 9
OAI_LOCAL_ADDRESS="10.0.1.2" #OAI_LOCAL_ADDRESS="10.0.1.2"
OAI_REMOTE_ADDRESS="10.0.1.1" #OAI_REMOTE_ADDRESS="10.0.1.1"
#EMULATION_DEV_ADDRESS= `hostname -I cut -f1 -d' '` #EMULATION_DEV_ADDRESS= `hostname -I cut -f1 -d' '`
EMULATION_DEV_ADDRESS=`ifconfig $EMULATION_DEV_INTERFACE | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'` EMULATION_DEV_ADDRESS=`ifconfig $EMULATION_DEV_INTERFACE | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
...@@ -36,7 +36,7 @@ else ...@@ -36,7 +36,7 @@ else
PGM=" " PGM=" "
fi fi
echo "Bringup UE interface" echo "Building"
sudo rmmod nasmesh sudo rmmod nasmesh
make nasmesh all make nasmesh all
sudo insmod $OPENAIR2_DIR/NAS/DRIVER/MESH/nasmesh.ko sudo insmod $OPENAIR2_DIR/NAS/DRIVER/MESH/nasmesh.ko
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment