Hi!
I'm trying to install OpenBSC+LCR. I'm following the next tutorial: http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR
I have installed libosmocore and openbsc but I can't install lcr. I tried to apply patch from tutorial but it doesn't works, maybe version is so old because gsm_bs.cpp is not the same. When run configure terminal shows:
configure: error: in '/home/rivas/OpenBSC/lcr' configure: error: --with-asterisk was given, but test for header-file asterisk/compiler.h failed
I have new Ubuntu 12.04 and I have install asterisk from apt-get repository.
Someone can help me? Also I need to know if there is a tutorial recently actualized.
Best regards,
Arturo Rivas.
On 05/25/2012 07:47 PM, Arturo Rivas wrote:
configure: error: in '/home/rivas/OpenBSC/lcr' configure: error: --with-asterisk was given, but test for header-file asterisk/compiler.h failed
I have new Ubuntu 12.04 and I have install asterisk from apt-get repository.
Someone can help me? Also I need to know if there is a tutorial recently actualized.
You need the header files from asterisk. Try apt-get install asterisk-dev.
Regards, Rogier
Thank you Rogier,
I have a new problem. I continued try to install lcr but I need mISND module. When I run configure in mISDN directory, after clone git repository, terminal shows:
*configure: error: kernel build tree does not exist build:/lib/modules/3.2.0-24-generic-pae/build / source:/lib/modules/3.2.0-24-generic-pae/source*
I don't know what I have to do!
2012/5/29 Rogier van Eeten rogier@virtunix.nl
On 05/25/2012 07:47 PM, Arturo Rivas wrote:
configure: error: in '/home/rivas/OpenBSC/lcr'
configure: error: --with-asterisk was given, but test for header-file asterisk/compiler.h failed
I have new Ubuntu 12.04 and I have install asterisk from apt-get repository.
Someone can help me? Also I need to know if there is a tutorial recently actualized.
You need the header files from asterisk. Try apt-get install asterisk-dev.
Regards, Rogier
On 05/30/2012 08:41 PM, Arturo Rivas wrote:
I have a new problem. I continued try to install lcr but I need mISND module. When I run configure in mISDN directory, after clone git repository, terminal shows:
/configure: error: kernel build tree does not exist build:/lib/modules/3.2.0-24-generic-pae/build / source:/lib/modules/3.2.0-24-generic-pae/source/
I don't know what I have to do!
Wel, actually, the error says it all. You don't have the build tree of your running kernel. Try installing a package like linux-headers-3.2.0-24-genereric-pae :)
Thank you but I tried it but doesn't worked!
Regards,
Arturo Rivas Arias
El 30/05/2012, a las 21:11, Rogier van Eeten rogier@virtunix.nl escribió:
On 05/30/2012 08:41 PM, Arturo Rivas wrote:
I have a new problem. I continued try to install lcr but I need mISND module. When I run configure in mISDN directory, after clone git repository, terminal shows:
/configure: error: kernel build tree does not exist build:/lib/modules/3.2.0-24-generic-pae/build / source:/lib/modules/3.2.0-24-generic-pae/source/
I don't know what I have to do!
Wel, actually, the error says it all. You don't have the build tree of your running kernel. Try installing a package like linux-headers-3.2.0-24-genereric-pae :)
On 30.05.2012 21:13, Arturo Rivas wrote:
Thank you but I tried it but doesn't worked!
Dear Arturo,
I added a brief installation guide to the openBSC wiki: http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR_Ubuntu12.04
This installation guide was tested with Ubuntu 12.04. Please use a 32 Bit version of Ubuntu. Otherwise LCR will not work. I hope this helps.
Best Regards Konrad
Thank you very much! It's just what I needed!
I have a new problem when I make lcr: * bchannel.c:26:27: fatal error: mISDN/mISDNif.h: No such file or directory compilation terminated. make[1]: *** [bchannel.po] Error 1 make[1]: Leaving directory `/home/rivas/GSM/lcr' make: *** [all] Error 2*
I'm following all there steps but...
2012/5/31 Konrad Meier meierk@informatik.uni-freiburg.de
On 30.05.2012 21:13, Arturo Rivas wrote:
Thank you but I tried it but doesn't worked!
Dear Arturo,
I added a brief installation guide to the openBSC wiki: http://openbsc.osmocom.org/**trac/wiki/OpenBSC_LCR_**Ubuntu12.04http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR_Ubuntu12.04
This installation guide was tested with Ubuntu 12.04. Please use a 32 Bit version of Ubuntu. Otherwise LCR will not work. I hope this helps.
Best Regards Konrad
Hello list!
Thanks a lot for the guide. Finally I can compile all programs successfully.
But I have another problem. I don't find *gsm.conf* file. In addition I followed all steps but when I start LCR:
*** LCR Version 1.10* * * *ERROR (in main() line 259) Error in /usr/local/lcr/options.conf (line 100): wrong option keyword gsm.*
Tutorial indicates that it's necessary write *gsm* in the *options.conf* for activate GSM option. I don't know if the problem is *gsm.conf* file missing.
Best regards,
Arturo Rivas
2012/5/31 Arturo Rivas pfc.rivas@gmail.com
Thank you very much! It's just what I needed!
I have a new problem when I make lcr:
bchannel.c:26:27: fatal error: mISDN/mISDNif.h: No such file or directory compilation terminated. make[1]: *** [bchannel.po] Error 1 make[1]: Leaving directory `/home/rivas/GSM/lcr' make: *** [all] Error 2*
I'm following all there steps but...
2012/5/31 Konrad Meier meierk@informatik.uni-freiburg.de
On 30.05.2012 21:13, Arturo Rivas wrote:
Thank you but I tried it but doesn't worked!
Dear Arturo,
I added a brief installation guide to the openBSC wiki: http://openbsc.osmocom.org/**trac/wiki/OpenBSC_LCR_**Ubuntu12.04http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR_Ubuntu12.04
This installation guide was tested with Ubuntu 12.04. Please use a 32 Bit version of Ubuntu. Otherwise LCR will not work. I hope this helps.
Best Regards Konrad
On 04.06.2012 12:46, Arturo Rivas wrote:
Tutorial indicates that it's necessary write /gsm/ in the /options.conf/ for activate GSM option. I don't know if the problem is /gsm.conf/ file missing.
The "gsm" statement in options.conf is no longer needed. It was removed some time ago. Also the gsm.conf is no longer required.
Best regards Konrad
Sorry for so many questions!
When I start LCR terminal shows:
*ERROR (in mncc_socket_retry_cb() line 1102) Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds* *layer3_thread read socket error No space left on device* *ERROR Port 1 already in use by LCR. You can't use a NT port multiple times. * * * One question more, are there documentation about how works each program? I'm trying to install and configure nanoBTS, OpenBSC and Asterisk but I would like to know how does it's work for implement new possibilities.
2012/6/4 Konrad Meier meierk@informatik.uni-freiburg.de
On 04.06.2012 12:46, Arturo Rivas wrote:
Tutorial indicates that it's necessary write /gsm/ in the /options.conf/ for activate GSM option. I don't know if the problem is /gsm.conf/ file missing.
The "gsm" statement in options.conf is no longer needed. It was removed some time ago. Also the gsm.conf is no longer required.
Best regards Konrad
Hi!
All programs was compiled correctly buy when I try to execute lcr:
rivas@pfc:~$ sudo /opt/lcr/sbin/lcr start
** LCR Version 1.10
000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found. 000000 DEBUG (in mISDNloop_open() line 36): Open external interface of loopback. 000000 DEBUG (in mISDNport_open() line 2388): Port has 30 b-channels. 000000 DEBUG (in mISDNport_open() line 2409): using 'mISDN_dsp.o' module 000000 TRACE 05.06.12 17:36:19.305 CH: PORT (open) port 1 mode network channels 30 000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds LCR 1.10 started, waiting for calls... 000000 TRACE 05.06.12 17:36:19.326 --: LCR 1.10 started, waiting for calls... 000000 TRACE 05.06.12 17:36:20.480 --: REMOTE APP registers app name=asterisk 000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds
I init interfaces with:
rivas@pfc:~$ sudo modprobe mISDN_l1loop pri=1 nchannel=30
Please help and thanks for previously answers.
Best regards,
Arturo Rivas
El 04/06/2012, a las 14:57, Konrad Meier escribió:
On 04.06.2012 12:46, Arturo Rivas wrote:
Tutorial indicates that it's necessary write /gsm/ in the /options.conf/ for activate GSM option. I don't know if the problem is /gsm.conf/ file missing.
The "gsm" statement in options.conf is no longer needed. It was removed some time ago. Also the gsm.conf is no longer required.
Best regards Konrad
On 05.06.2012 17:41, Arturo Rivas wrote:
Hi!
All programs was compiled correctly buy when I try to execute lcr:
/rivas@pfc:~$ sudo /opt/lcr/sbin/lcr start/ / / /** LCR Version 1.10/ / / /000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found./ /000000 DEBUG (in mISDNloop_open() line 36): Open external interface of loopback./ /000000 DEBUG (in mISDNport_open() line 2388): Port has 30 b-channels./ /000000 DEBUG (in mISDNport_open() line 2409): using 'mISDN_dsp.o' module/ /000000 TRACE 05.06.12 17:36:19.305 CH: PORT (open) port 1 mode network channels 30/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/ /LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:19.326 --: LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:20.480 --: REMOTE APP registers app name=asterisk/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/
This output looks ok. You have to start the BSC software "osmo-nitb". The BSC is no longer integrated into LCR.
Regards Konrad
Hi!
I've already start osmo-nitb and it's working correctly but still not connect with mncc socket.
2012/6/5 Konrad Meier meierk@informatik.uni-freiburg.de
On 05.06.2012 17:41, Arturo Rivas wrote:
Hi!
All programs was compiled correctly buy when I try to execute lcr:
/rivas@pfc:~$ sudo /opt/lcr/sbin/lcr start/ / / /** LCR Version 1.10/ / / /000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found./ /000000 DEBUG (in mISDNloop_open() line 36): Open external interface of loopback./ /000000 DEBUG (in mISDNport_open() line 2388): Port has 30 b-channels./ /000000 DEBUG (in mISDNport_open() line 2409): using 'mISDN_dsp.o' module/ /000000 TRACE 05.06.12 17:36:19.305 CH: PORT (open) port 1 mode network channels 30/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/ /LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:19.326 --: LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:20.480 --: REMOTE APP registers app name=asterisk/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/
This output looks ok. You have to start the BSC software "osmo-nitb". The BSC is no longer integrated into LCR.
Regards Konrad
Hi
Did you start osmo-nitb with the "-m" Option? "-m --mncc-sock Disable built-in MNCC handler and offer socket"
Regards Ulrich
On 08.06.2012 11:27, Arturo Rivas wrote:
Hi!
I've already start osmo-nitb and it's working correctly but still not connect with mncc socket.
2012/6/5 Konrad Meier <meierk@informatik.uni-freiburg.de mailto:meierk@informatik.uni-freiburg.de>
On 05.06.2012 17:41, Arturo Rivas wrote: Hi! All programs was compiled correctly buy when I try to execute lcr: /rivas@pfc:~$ sudo /opt/lcr/sbin/lcr start/ / / /** LCR Version 1.10/ / / /000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found./ /000000 DEBUG (in mISDNloop_open() line 36): Open external interface of loopback./ /000000 DEBUG (in mISDNport_open() line 2388): Port has 30 b-channels./ /000000 DEBUG (in mISDNport_open() line 2409): using 'mISDN_dsp.o' module/ /000000 TRACE 05.06.12 17:36:19.305 CH: PORT (open) port 1 mode network channels 30/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/ /LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:19.326 --: LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:20.480 --: REMOTE APP registers app name=asterisk/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/ This output looks ok. You have to start the BSC software "osmo-nitb". The BSC is no longer integrated into LCR. Regards Konrad
Hi! Thank you for your response. That's was the error. Now it works correctly.
2012/6/8 Ulrich Meckel meckel@netzing.de
** Hi
Did you start osmo-nitb with the "-m" Option? "-m --mncc-sock Disable built-in MNCC handler and offer socket"
Regards Ulrich
On 08.06.2012 11:27, Arturo Rivas wrote:
Hi!
I've already start osmo-nitb and it's working correctly but still not connect with mncc socket.
2012/6/5 Konrad Meier meierk@informatik.uni-freiburg.de
On 05.06.2012 17:41, Arturo Rivas wrote:
Hi!
All programs was compiled correctly buy when I try to execute lcr:
/rivas@pfc:~$ sudo /opt/lcr/sbin/lcr start/ / / /** LCR Version 1.10/ / / /000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found./ /000000 DEBUG (in mISDNloop_open() line 36): Open external interface of loopback./ /000000 DEBUG (in mISDNport_open() line 2388): Port has 30 b-channels./ /000000 DEBUG (in mISDNport_open() line 2409): using 'mISDN_dsp.o' module/ /000000 TRACE 05.06.12 17:36:19.305 CH: PORT (open) port 1 mode network channels 30/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/ /LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:19.326 --: LCR 1.10 started, waiting for calls.../ /000000 TRACE 05.06.12 17:36:20.480 --: REMOTE APP registers app name=asterisk/ /000000 ERROR (in mncc_socket_retry_cb() line 1102): Could not connect to MNCC socket /tmp/bsc_mncc, retrying in 5 seconds/
This output looks ok. You have to start the BSC software "osmo-nitb". The BSC is no longer integrated into LCR.
Regards Konrad
-- _______________________________________________________________________ Ulrich Meckel Entwicklung Mail: Meckel@netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 0 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@netzing.de