Hi guys, I am trying to get openBSC to compile on Ubuntu 2.6.31 but I get the following error when I run make:
Making all in src
make[2]: Entering directory `/home/stuart/openbsc/openbsc/src'
CCLD bsc_hack
libmsc.a(gsm_04_08.o): In function `mm_rx_id_resp':
/home/stuart/openbsc/openbsc/src/gsm_04_08.c:259: undefined reference to `gsm48_mi_to_string'
libmsc.a(gsm_04_08.o): In function `mm_rx_loc_upd_req':
/home/stuart/openbsc/openbsc/src/gsm_04_08.c:345: undefined reference to `gsm48_mi_to_string'
libmsc.a(gsm_04_08.o): In function `gsm48_rx_mm_imsi_detach_ind':
/home/stuart/openbsc/openbsc/src/gsm_04_08.c:685: undefined reference to `gsm48_mi_to_string'
libmsc.a(gsm_04_08.o): In function `gsm48_rx_mm_serv_req':
/home/stuart/openbsc/openbsc/src/gsm_04_08.c:642: undefined reference to `gsm48_mi_to_string'
libbsc.a(gsm_04_08_utils.o): In function `gsm48_paging_extract_mi':
/home/stuart/openbsc/openbsc/src/gsm_04_08_utils.c:262: undefined reference to `gsm48_mi_to_string'
collect2: ld returned 1 exit status
make[2]: *** [bsc_hack] Error 1
make[2]: Leaving directory `/home/stuart/openbsc/openbsc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stuart/openbsc/openbsc'
make: *** [all] Error 2
Any ideas?
Thanks, Stuart
I am doing some experimenting with openbsc with software emulation of
ipaccess. At this early stage, I am communicating with openbsc with hard
coded messages. Here is what getting as response from openbsc:
./bsc_hack --debug=DNM:DRSL
DB: Database initialized.
DB: Database prepared.
<0005> bsc_init.c:626 bootstrapping OML for BTS 0
<0005> abis_nm.c:583 OC=BASEBAND TRANSCEIVER(04) INST=(00,ff,ff) SW Activate
Request: ACKing and Activating
<0005> abis_nm.c:934 Found SW config: 42 12 00 05 01 02 03 04 05 13 00 05 05
04 03 02 01
<0005> abis_nm.c:1482 state 4, NM MT 0x0e
<0005> abis_nm.c:1581 Activate Software DONE!
<0005> abis_nm.c:583 OC=BASEBAND TRANSCEIVER(04) INST=(00,ff,ff) Software
Activated Report
<0005> abis_nm.c:583 OC=BTS(01) INST=(00,ff,ff) IPACCESS(0xe1): RSL CONNECT
ACK PORT=3003
Openbsc responding properly on PING from softBTS in both links for OML and
RSL. Looks like OML and RSL connection are established, but, here is
problem.
To get RSL CONNECT ACK PORT=3003, I send OML message
NM_MT_IPACC_RSL_CONNECT_ACK before recieving request NM_MT_IPACC_RSL_CONNECT
from openbsc.
My question is, how to get in stage when openbsc is ready to send
NM_MT_IPACC_RSL_CONNECT. What expecting openbsc to get from ipaccess before
sending NM_MT_IPACC_RSL_CONNECT?
Thank you
Fadil Berisha
> I'll try to port my OpenBTS Abis/IP code against current OpenBTS and
> release it soon.
hi harald,
i hope i undertood it right. does that mean that OpenBTS will be able to
connect to a BSC like OpenBSC?
that would be extreemly interesting when using USRP as BTS with other
than GSM-P (900) and DCS 1800/1900 band.
andreas
I downloaded and built the latest version of openbsc/libosmocore (that's
today's version), but when running, it hangs on this part:
<0005> abis_nm.c:519 OC=BASEBAND TRANSCEIVER(04) INST=(00,00,ff)
IPACCESS(0xe1): RSL CONNECT ACK IP=10.100.1.22 PORT=3003 STREAM=0x00
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,00) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,01) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,02) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,03) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,04) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,05) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,06) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=CHANNEL(03) INST=(00,00,07) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:519 OC=RADIO CARRIER(02) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Off line(03)
<0005> abis_nm.c:519 OC=RADIO CARRIER(02) INST=(00,00,ff) Software
Activated Report
<0005> abis_nm.c:1770 Set TRX Attr (bts=0,trx=0)
<0005> abis_nm.c:519 OC=RADIO CARRIER(02) INST=(00,00,ff) Sending OPSTART
<0005> abis_nm.c:519 OC=RADIO CARRIER(02) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=OK(ff) ADM=Unlocked
<0005> abis_nm.c:519 OC=RADIO CARRIER(02) INST=(00,00,ff) Sending OPSTART
It stops there and nanoBTS keeps blinking green light.
When running an older version (without libosmocore), it works well.
Is this a familiar behaviour, any idea?
Thnx.
Thank you Holger. Info was there, proper SW Activate Report message solved
problem.
Fadil
On Mon, Apr 5, 2010 at 6:17 PM, Holger Freyther <zecke(a)selfish.org> wrote:
> On Monday 05 April 2010 16:37:31 Fadil Berisha wrote:
>
> > To get RSL CONNECT ACK PORT=3003, I send OML message
> > NM_MT_IPACC_RSL_CONNECT_ACK before recieving request
> > NM_MT_IPACC_RSL_CONNECT from openbsc.
> > My question is, how to get in stage when openbsc is ready to send
> > NM_MT_IPACC_RSL_CONNECT. What expecting openbsc to get from ipaccess
> > before sending NM_MT_IPACC_RSL_CONNECT?
>
> I think you want to look into src/bsc_init.c for our init sequence and on
> which states we trigger the RSL connect message.
>
>
>
Hallo guys,
just a question. Did some of you can tell me the best way to connect
two different GSM cells (two nanoBTS) and build the communication
between the two of them over my IP network? Which components(Astersik,
LCR, mISDN ....)are requested for that? is it possible at all?
Thanks!!
--
Fabrice Ismael Poundeu Tchouatieu
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi all!
As some of you may have noticed, there are some references to GPRS in
the openbsc 'master' branch now. The code in there is sufficient to
configure a nanoBTS via OML and RSL (SI13) to establish contact with an
existing NS-over-IP capable SGSN.
All that needs to be done is to set a couple of parameters at the BTS
level in openbsc.cfg. I've documented them briefly in the wiki (VTY
reference page). Also, at least one of your timeslots have to be of
PDCH pchan type. We don't implement dynamic TCH/PDCH switching yet.
As the changes required to get this initialization/configuration done
are non-invasive, I decided to include them in the master branch right
away.
If you set 'gprs enabled 0' in your openbsc.cfg, all GPRS functionality
should be disabled.
This is of course only the first step.
The much bigger work will be in the grps-sgsn branch, where work will
continue on completing the BSSGP and LLC protocol implementations and
the actual SGSN + GGSN functionality. The goal is of course to
eliminate the need for an external SGSN/GGSN completely.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)