• B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

Osmocom - при запуске MSC, HLR, и СМС-сервиса ругается на конфиг

zxv_zz

Well-known member
26.12.2019
97
0
BIT
15
Вечер добрый! Получаю ошибку, прикрепляю конфиг, что с ним не так?
Режимы TRX, RSSIBIN, следование за ARFCN от БС так же успешно запускается, а вот при запуске MSC, HLR, и СМС-сервиса ругается на конфиг. Как я понимаю данные порты заняты, после ввода osmo-bts-trx —debug DRSL::OML::LAPDM -r 99 получил:

root@space:~/.osmocom# osmo-bts-trx --debug DRSL:DOML:DLAPDM -r 99
((*))
|
/ \ OsmoBTS
<0001> oml.c:1462 Initializing OML attribute definitions
'no osmotrx ms-power-loop' is deprecated, use of BTS control loop is managed by BSC
<0017> control_if.c:911 CTRL at 127.0.0.1 4238
<0010> telnet_interface.c:104 Available via telnet 127.0.0.1 4241
<0012> input/ipaccess.c:901 enabling ipaccess BTS mode, OML connecting to 127.0.0.1:3002
<000b> trx_if.c:1174 phy0.0: Open transceiver
<000d> abis.c:142 Signalling link down
<0001> bts.c:292 Shutting down BTS 0, Reason Abis close
<000b> trx_if.c:185 phy0.0: No satisfactory response from transceiver(CMD POWEROFF)
Shutdown timer expired

следовательно мне нужно изменить порты?

!
! OpenBSC (1.0.0.14-98a2ba) configuration saved from vty
!!
password foo
!
log stderr
logging filter all 1
logging color 1
logging print category 0
logging timestamp 0
logging print file 1
logging level all everything
logging level rll notice
logging level cc notice
logging level mm notice
logging level rr notice
logging level rsl notice
logging level nm info
logging level mncc notice
logging level pag notice
logging level meas notice
logging level sccp notice
logging level msc notice
logging level mgcp notice
logging level ho notice
logging level db notice
logging level ref notice
logging level gprs debug
logging level ns info
logging level bssgp debug
logging level llc debug
logging level sndcp debug
logging level nat notice
logging level ctrl notice
logging level smpp debug
logging level filter debug
logging level ranap debug
logging level sua debug
logging level pcu debug
logging level lglobal notice
logging level llapd notice
logging level linp notice
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
!
stats interval 5
!
line vty
no login
!
e1_input
e1_line 0 driver ipa
e1_line 0 port 0
no e1_line 0 keepalive
network
network country code 1
mobile network code 1
short name OpenBSC
long name OpenBSC
auth policy closed
authorized-regexp .*
location updating reject cause 13
encryption a5 0
neci 1
paging any use tch 0
rrlp mode none
mm info 1
handover 0
handover window rxlev averaging 10
handover window rxqual averaging 1
handover window rxlev neighbor averaging 10
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
dyn_ts_allow_tch_f 0
subscriber-keep-in-ram 0
bts 0
type sysmobts
band GSM900
cell_identity 0
location_area_code 1
base_station_id_code 63
ms max power 35
cell reselection hysteresis 4
rxlev access min 0
periodic location update 30
radio-link-timeout 32
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
early-classmark-sending forbidden
early-classmark-sending-3g allowed
ip.access unit_id 1801 0
oml ip.access stream_id 255 line 0
neighbor-list mode automatic
codec-support fr efr amr
amr tch-f modes 2
amr tch-f start-mode 1
gprs mode gprs
gprs routing area 1
gprs cell bvci 1234
gprs nsei 1234
gprs nsvc 0 nsvci 1234
gprs nsvc 0 local udp port 23001
gprs nsvc 0 remote udp port 23000
gprs nsvc 0 remote ip 127.0.0.1
no force-combined-si
trx 0
rf_locked 0
arfcn 975
nominal power 13
max_power_red 0
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH+SDCCH4
hopping enabled 0
timeslot 1
phys_chan_config SDCCH8
hopping enabled 0
timeslot 2
phys_chan_config TCH/F
hopping enabled 0
timeslot 3
phys_chan_config TCH/F
hopping enabled 0
timeslot 4
phys_chan_config PDCH
hopping enabled 0
timeslot 5
phys_chan_config PDCH
hopping enabled 0
timeslot 6
phys_chan_config PDCH
hopping enabled 0
timeslot 7
phys_chan_config PDCH
hopping enabled 0
mncc-int
default-codec tch-f fr
default-codec tch-h hr
nitb
subscriber-create-on-demand
assign-tmsi

root@space:~/.osmocom# osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C --debug=DRLL::CC::MM::RR::RSL::NM
<001e> socket.c:648 unable to bind socket:127.0.0.1:4242: Address already in use
<001e> socket.c:659 no suitable addr found for: 127.0.0.1:4242
<001e> telnet_interface.c:100 Cannot bind telnet at 127.0.0.1 4242
Reading config failed. Exiting.
 
Последнее редактирование:

zxv_zz

Well-known member
26.12.2019
97
0
BIT
15
Разобрался, теперь получаю при запуске БС - pcu_sock.c:740 PCU socket not connected, dropping message
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!