hello list
please the the entire mail thoroughly before answering.
it's a neverending story with the bs-11 f***ing multidrop: i have bts0 that works perfect as single, and so does bts1, but only bts0 is bootstrapped
lets start from the beginning: misdn is configured port 0 has ts1 as d-channel and 2-15 as b-channels, port 1 has ts17 as d-channel and 18-31
as b-channels.
that says bs11_config for bts0, that is connected to pc:
SITE MANAGER ATTRIBUTES:
E1 Channel: Port=0 Timeslot=1 (Full Slot)
TEI: 25
BS11 Line Interface ATTRIBUTES:
PLL Mode: Standalone
BS11 CCLK ATTRIBUTES:
CCLK Accuracy: High (1)
CCLK Type=0
BS11 Power Amplifier 0 ATTRIBUTES:
TRX Power: 30mW (GSM)
BPORT0 ATTRIBUTES:
Line Configuration: Multi-Drop (1)
BPORT1 ATTRIBUTES:
Line Configuration: Multi-Drop (1)
and that is bts1:
SITE MANAGER ATTRIBUTES:
E1 Channel: Port=1 Timeslot=17 (Full Slot)
TEI: 26
BS11 Line Interface ATTRIBUTES:
PLL Mode: Standalone
BS11 CCLK ATTRIBUTES:
CCLK Accuracy: High (1)
CCLK Type=0
BS11 Power Amplifier 0 ATTRIBUTES:
TRX Power: 30mW (GSM)
BPORT0 ATTRIBUTES:
Line Configuration: Star (0)
BPORT1 GET ATTR NACK
LMT LOGOFF: ACK
as you can see, the d-channels match with the bts-setting. each bs-11 have a working trx0 and a high clock accuracy.
here we go with cfg:
!
! OpenBSC configuration saved from vty
! !
password foo
!
line vty
no login
!
network
network country code 262
mobile network code 10
short name Y-Phone
long name Yodaphone
handover 1
bts 0
type bs11
band GSM900
cell_identity 1
location_area_code 1
training_sequence_code 7
base_station_id_code 63
oml e1 line 0 timeslot 1 sub-slot full
oml e1 tei 25
trx 0
arfcn 121
max_power_red 0
rsl e1 line 0 timeslot 1 sub-slot full
rsl e1 tei 1
timeslot 0
phys_chan_config CCCH+SDCCH4
e1 line 0 timeslot 1 sub-slot full
timeslot 1
phys_chan_config TCH/F
e1 line 0 timeslot 2 sub-slot 1
timeslot 2
phys_chan_config TCH/F
e1 line 0 timeslot 2 sub-slot 2
timeslot 3
phys_chan_config TCH/F
e1 line 0 timeslot 2 sub-slot 3
timeslot 4
phys_chan_config TCH/F
e1 line 0 timeslot 3 sub-slot 0
timeslot 5
phys_chan_config TCH/F
e1 line 0 timeslot 3 sub-slot 1
timeslot 6
phys_chan_config TCH/F
e1 line 0 timeslot 3 sub-slot 2
timeslot 7
phys_chan_config TCH/F
e1 line 0 timeslot 3 sub-slot 3
bts 1
type bs11
band GSM900
location_area_code 2
training_sequence_code 7
base_station_id_code 63
oml e1 line 1 timeslot 17 sub-slot full
oml e1 tei 26
trx 0
arfcn 1
max_power_red 0
rsl e1 line 1 timeslot 17 sub-slot full
rsl e1 tei 2
timeslot 0
phys_chan_config CCCH+SDCCH4
e1 line 1 timeslot 17 sub-slot full
timeslot 1
phys_chan_config SDCCH8
e1 line 1 timeslot 18 sub-slot 1
timeslot 2
phys_chan_config TCH/F
e1 line 1 timeslot 18 sub-slot 2
timeslot 3
phys_chan_config TCH/F
e1 line 1 timeslot 18 sub-slot 3
timeslot 4
phys_chan_config TCH/F
e1 line 1 timeslot 19 sub-slot 0
timeslot 5
phys_chan_config TCH/F
e1 line 1 timeslot 19 sub-slot 1
timeslot 6
phys_chan_config TCH/F
e1 line 1 timeslot 19 sub-slot 2
timeslot 7
phys_chan_config TCH/F
e1 line 1 timeslot 19 sub-slot 3
both bs-11 works as single with the corresponding section (bts 0 or 1) of the cfg file. i have differents teis for all lapd connection.
i use cat4 cable for the bs-11 connection (10 m between the bs-11s)
maybe the screenshot attached unveils the problem.
any help/hint is very welcome.
T.
Hi,
> I forgot to say that VTY code still remains in libosmocore, I'll study
> if it can be interesting in a new library (I can do this later, once
> this patches are applied, of course).
gsmtap is a misnomer, but we now use it for TETRA as well ...
crc16 possibly common as well (altough not sure).
In general, if we have functions that are common to several protocols
but are not really 'system' stuff like select/timer or stuff like
that, where should we put them ?
Keep them in libosmocore ? (like a include/osmocom/utils or also in 'core' ?)
Also, for future enhancement (future patches, just mentioning it here
since it's kinda related to the whole library cleanup), Harald
mentionned to replace the include/osmocore by include/osmocom/core
(like it was done for vty / code / ...)
Cheers,
Sylvain
> I know the tutorial. I made some corrections, too... :D
> Unfortunately, I couldn't get my Ubuntu Hardy working with mISDN loop
> without any ISDN card...
you should load mISDN like this:
modprobe mISDN_core
modprobe mISDN_dsp
modprobe mISDN_l1loop pri=1
misdn_info
Found 2 ports
Port 0 'mISDN_l1loop.1': TE/NT-mode PRI E1 (for phone lines & E1
devices)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP
L2:DSPHDLC
--------
Port 1 'mISDN_l1loop.2': TE/NT-mode PRI E1 (for phone lines & E1
devices)
2 B-channels: 1-2
B-protocols: RAW HDLC X75slp L2:DSP
L2:DSPHDLC
if you use the latest lcr and openbsc git, you should have two processes
that communicate via socket interface, rather than compiling them
together.
With a nanoBTS, you don't need a real ISDN card. You can use mISDN
modules which are typically compiled in as modules in Linux. My lab
has a few 900 and 1800 nanoBTS units, all running over Ethernet/IP,
with openBSC, Asterisk, and LCR running on VMs with no ISDN cards, no
special hardware.
There is a tutorial on how to set this up here,
http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR . I also found a
mailing list post that fills in some blanks,
http://www.mail-archive.com/openbsc@lists.gnumonks.org/msg00352.html
. I would suggest trying to follow the mailing list post to the
letter to set this up, and once it is working make a snapshot then try
to update the source of the packages installed.
Chris Rankine
2011/3/17 Luca Bertoncello <bertoncello(a)netzing.de>:
> Am Thu, 17 Mar 2011 11:10:17 -0400
> schrieb Chris Rankine <cr3(a)cr3.us>:
>
>> Which BTS are you using?
>
> nanoBTS from ip.access.
>
> Greetings
> --
> _______________________________________________________________________
> Luca Bertoncello
> Entwicklung Mail: bertoncello(a)netzing.de
>
>
> NETZING Solutions AG Tel.: 0351/41381 - 23
> Fröbelstr. 57, 01159 Dresden Fax: 0351/41381 - 12
> _______________________________________________________________________
>
> Impressum:
> NETZING Solutions AG - Fröbelstraße 57 - 01159 Dresden
> Sitz der Gesellschaft Amtsgericht Dresden HRB 18926
> Vorstand Dieter Schneider - Aufsichtsratsvorsitzender Volker Kanitz
> USt.Id DE211326547 Mail: netzing.ag(a)netzing.de
>
> I have more OpenBSC running on different IPs and using different
> configurations, and I need to connect them together, so that it is
> possible to have, for example, two mobile phones connected to two
> different OpenBSCs and able to make calls with each other.
you can run openbsc with lcr at each location. two lcrs can be connected
with E1 link. this link must not be physical, mISDN provides a l1oip
driver (E1 or S/T over IP).
andreas
Hi, list!
I have more OpenBSC running on different IPs and using different
configurations, and I need to connect them together, so that it is
possible to have, for example, two mobile phones connected to two
different OpenBSCs and able to make calls with each other.
Is it possible? Can you suggest me an HowTo?
Thanks a lot!
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello(a)netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 23
Fröbelstr. 57, 01159 Dresden Fax: 0351/41381 - 12
_______________________________________________________________________
Impressum:
NETZING Solutions AG - Fröbelstraße 57 - 01159 Dresden
Sitz der Gesellschaft Amtsgericht Dresden HRB 18926
Vorstand Dieter Schneider - Aufsichtsratsvorsitzender Volker Kanitz
USt.Id DE211326547 Mail: netzing.ag(a)netzing.de
hello
ok, lets try it again:
do the oml and rsl settings have to be identical? for example: one bts
is set to port 0, ts 1, tei 25. the cfg entry would be "oml e1 line 0
timeslot 1 sub-slot full" and "rsl e1 line 0 timeslot 1 sub-slot full",
right?
the cited link is useless, i kno it already, doesnt answer my question.
what i wanted to know is why we have 2 types of settings (oml and rsl)
which are identical, cause that told the openbsc.cfg. why do we need 2
settings that configure the same? or was the assumption above wrong?
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
hello
do the oml and rsl settings have to be identical? for example: one bts is set to port 0, ts 1, tei 25. the cfg entry would be "oml e1 line 0 timeslot 1 sub-slot full" and "rsl e1 line 0 timeslot 1 sub-slot full", right?
T.
http://openbsc.osmocom.org/trac/wiki/bsc_hack_VTY#rsle1lineE1_LINEtimeslot1…