Commit c4060536 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5271 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 4e91ce59
...@@ -108,10 +108,12 @@ THIS_SCRIPT_PATH=$(dirname $(readlink -f $0)) ...@@ -108,10 +108,12 @@ THIS_SCRIPT_PATH=$(dirname $(readlink -f $0))
source $THIS_SCRIPT_PATH/utils.bash source $THIS_SCRIPT_PATH/utils.bash
########################################################### ###########################################################
check_install_epc_software #check_install_epc_software
cd $THIS_SCRIPT_PATH cd $THIS_SCRIPT_PATH
EMULATION_DEV_ADDRESS=`ifconfig $EMULATION_DEV_INTERFACE | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`
####################################################### #######################################################
# USIM, NVRAM files # USIM, NVRAM files
####################################################### #######################################################
...@@ -178,6 +180,9 @@ fi ...@@ -178,6 +180,9 @@ fi
ip rule add fwmark 5 table lte ip rule add fwmark 5 table lte
ip route add default dev $LTEIF table lte ip route add default dev $LTEIF table lte
ip route add 239.0.0.160/28 dev $EMULATION_DEV_INTERFACE
ITTI_LOG_FILE=./itti_ue.$HOSTNAME.log ITTI_LOG_FILE=./itti_ue.$HOSTNAME.log
rotate_log_file $ITTI_LOG_FILE rotate_log_file $ITTI_LOG_FILE
STDOUT_LOG_FILE=./stdout_ue.log STDOUT_LOG_FILE=./stdout_ue.log
...@@ -189,7 +194,7 @@ cd $THIS_SCRIPT_PATH ...@@ -189,7 +194,7 @@ cd $THIS_SCRIPT_PATH
nohup xterm -e $OPENAIRCN_DIR/NAS/EURECOM-NAS/bin/UserProcess & nohup xterm -e $OPENAIRCN_DIR/NAS/EURECOM-NAS/bin/UserProcess &
gdb --args $OPENAIR_TARGETS/SIMU/USER/oaisim -a l9 -u1 -b0 -M1 -p2 -g1 -D $EMULATION_DEV_INTERFACE -K $ITTI_LOG_FILE --enb-conf $CONFIG_FILE_ENB 2>&1 | tee $STDOUT_LOG_FILE gdb --args $OPENAIR_TARGETS/SIMU/USER/oaisim -a -l9 -u1 -b0 -M1 -p2 -g1 -D $EMULATION_DEV_ADDRESS -K $ITTI_LOG_FILE 2>&1 | tee $STDOUT_LOG_FILE
cat $STDOUT_LOG_FILE | grep -v '[PHY]' | grep -v '[MAC]' | grep -v '[EMU]' | \ cat $STDOUT_LOG_FILE | grep -v '[PHY]' | grep -v '[MAC]' | grep -v '[EMU]' | \
grep -v '[OCM]' | grep -v '[OMG]' | \ grep -v '[OCM]' | grep -v '[OMG]' | \
......
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