OSMO: Config, Add configurable mnc/mcc and some other fixes
This commit is contained in:
parent
f618a53517
commit
25822d5cf2
2 changed files with 10 additions and 7 deletions
|
@ -16,6 +16,8 @@ class rhizo_base::openbsc {
|
||||||
$lac = $rhizo_base::lac
|
$lac = $rhizo_base::lac
|
||||||
$max_power_red = $rhizo_base::max_power_red
|
$max_power_red = $rhizo_base::max_power_red
|
||||||
$gsm_band = $rhizo_base::gsm_band
|
$gsm_band = $rhizo_base::gsm_band
|
||||||
|
$mcc = $rhizo_base::mcc
|
||||||
|
$mnc = $rhizo_base::mnc
|
||||||
$arfcn_A = $rhizo_base::arfcn_A
|
$arfcn_A = $rhizo_base::arfcn_A
|
||||||
$arfcn_B = $rhizo_base::arfcn_B
|
$arfcn_B = $rhizo_base::arfcn_B
|
||||||
$arfcn_C = $rhizo_base::arfcn_C
|
$arfcn_C = $rhizo_base::arfcn_C
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
!
|
!
|
||||||
! OpenBSC (0.15.1-dirty) configuration saved from vty
|
! OpenBSC (UNKNOWN) configuration saved from vty
|
||||||
!!
|
!!
|
||||||
password foo
|
password foo
|
||||||
!
|
!
|
||||||
|
@ -8,6 +8,7 @@ log stderr
|
||||||
logging color 0
|
logging color 0
|
||||||
logging print category 1
|
logging print category 1
|
||||||
logging timestamp 0
|
logging timestamp 0
|
||||||
|
logging print file 1
|
||||||
logging level all everything
|
logging level all everything
|
||||||
logging level rll notice
|
logging level rll notice
|
||||||
logging level cc info
|
logging level cc info
|
||||||
|
@ -64,8 +65,8 @@ e1_input
|
||||||
e1_line 0 port 0
|
e1_line 0 port 0
|
||||||
no e1_line 0 keepalive
|
no e1_line 0 keepalive
|
||||||
network
|
network
|
||||||
network country code 334
|
network country code <%= @mcc %>
|
||||||
mobile network code 7
|
mobile network code <%= @mnc %>
|
||||||
short name <%= @network_name %>
|
short name <%= @network_name %>
|
||||||
long name <%= @network_name %>
|
long name <%= @network_name %>
|
||||||
auth policy closed
|
auth policy closed
|
||||||
|
@ -106,6 +107,7 @@ network
|
||||||
channel-descrption bs-ag-blks-res 1
|
channel-descrption bs-ag-blks-res 1
|
||||||
rach emergency call allowed 1
|
rach emergency call allowed 1
|
||||||
early-classmark-sending forbidden
|
early-classmark-sending forbidden
|
||||||
|
early-classmark-sending-3g allowed
|
||||||
ip.access unit_id 1000 0
|
ip.access unit_id 1000 0
|
||||||
oml ip.access stream_id 255 line 0
|
oml ip.access stream_id 255 line 0
|
||||||
neighbor-list mode automatic
|
neighbor-list mode automatic
|
||||||
|
@ -114,7 +116,6 @@ network
|
||||||
amr tch-f start-mode auto
|
amr tch-f start-mode auto
|
||||||
amr tch-h modes 3
|
amr tch-h modes 3
|
||||||
amr tch-h start-mode auto
|
amr tch-h start-mode auto
|
||||||
gprs mode none
|
|
||||||
gprs mode gprs
|
gprs mode gprs
|
||||||
gprs 11bit_rach_support_for_egprs 0
|
gprs 11bit_rach_support_for_egprs 0
|
||||||
gprs routing area 0
|
gprs routing area 0
|
||||||
|
@ -127,8 +128,8 @@ network
|
||||||
gprs cell timer reset-retries 3
|
gprs cell timer reset-retries 3
|
||||||
gprs cell timer suspend-timer 10
|
gprs cell timer suspend-timer 10
|
||||||
gprs cell timer suspend-retries 3
|
gprs cell timer suspend-retries 3
|
||||||
gprs cell timer resume-timer 10
|
gprs cell timer resume-timer 10
|
||||||
gprs cell timer resume-retries 3
|
gprs cell timer resume-retries 3
|
||||||
gprs cell timer capability-update-timer 10
|
gprs cell timer capability-update-timer 10
|
||||||
gprs cell timer capability-update-retries 3
|
gprs cell timer capability-update-retries 3
|
||||||
gprs nsei 951
|
gprs nsei 951
|
||||||
|
@ -142,7 +143,7 @@ network
|
||||||
gprs nsvc 0 nsvci 951
|
gprs nsvc 0 nsvci 951
|
||||||
gprs nsvc 0 local udp port 23000
|
gprs nsvc 0 local udp port 23000
|
||||||
gprs nsvc 0 remote udp port 23001
|
gprs nsvc 0 remote udp port 23001
|
||||||
gprs nsvc 0 remote ip 127.0.0.1
|
gprs nsvc 0 remote ip 127.0.0.1
|
||||||
gprs nsvc 1 nsvci 0
|
gprs nsvc 1 nsvci 0
|
||||||
gprs nsvc 1 local udp port 0
|
gprs nsvc 1 local udp port 0
|
||||||
gprs nsvc 1 remote udp port 0
|
gprs nsvc 1 remote udp port 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue