Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
0deaa72d
Commit
0deaa72d
authored
Sep 03, 2014
by
Navid Nikaein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5771
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
9867f3e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_enb
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_enb
+3
-3
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_ue
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_ue
+3
-3
No files found.
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_enb
View file @
0deaa72d
...
...
@@ -7,8 +7,8 @@ sudo pkill oaisim
EMULATION_DEV_INTERFACE
=
"eth0"
EMULATION_MULTICAST_GROUP
=
1
EMULATION_LOG_LEVEL
=
7
# 3 = error, 5 info, 7 debug, trace= 9
OAI_LOCAL_ADDRESS
=
"10.0.1.1"
OAI_REMOTE_ADDRESS
=
"10.0.1.2"
#
OAI_LOCAL_ADDRESS="10.0.1.1"
#
OAI_REMOTE_ADDRESS="10.0.1.2"
#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}'
`
...
...
@@ -62,7 +62,7 @@ sudo -E $OPENAIR_TARGETS/SIMU/USER/oaisim -u0 -M0 -p2 -g$EMULATION_MULTICAST_G
else
if
[
$1
=
"all"
]
;
then
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
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
...
...
targets/SIMU/EXAMPLES/ETH_EMUL_1eNB_1UE/start_ue
View file @
0deaa72d
...
...
@@ -7,8 +7,8 @@ sudo pkill oaisim
EMULATION_DEV_INTERFACE
=
"eth0"
EMULATION_MULTICAST_GROUP
=
1
EMULATION_LOG_LEVEL
=
7
# 3 = error, 5 info, 7 debug, trace= 9
OAI_LOCAL_ADDRESS
=
"10.0.1.2"
OAI_REMOTE_ADDRESS
=
"10.0.1.1"
#
OAI_LOCAL_ADDRESS="10.0.1.2"
#
OAI_REMOTE_ADDRESS="10.0.1.1"
#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}'
`
...
...
@@ -36,7 +36,7 @@ else
PGM
=
" "
fi
echo
"B
ringup UE interface
"
echo
"B
uilding
"
sudo
rmmod nasmesh
make nasmesh all
sudo
insmod
$OPENAIR2_DIR
/NAS/DRIVER/MESH/nasmesh.ko
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment