Hey folks,
I am new with OpenBSC and want to build OpenBSC with several BTS from different types.
At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet.
What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc.
What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc.
Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/showthread.php?t=247932
Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems.
To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart
/etc/dahdi/system.conf: dchan=1 bchan=2-30
openbsc.cfg: e1_input e1_line 0 driver dahdi
To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg'
So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS.
In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces.
To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet.
if you have questions or need more informations just write an e-mail.
Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do.
Ellen
Ellen Apolinar wrote:
So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS.
I'm not sure if OpenBSC can run without any BTS. What would the point be anyway?
There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS.
Those two and Nokia MetroSite are the only supported BTSes so far.
In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file.
What do you mean by "interface" exactly? Are you planning on developing code in OpenBSC that supports new BTSes? That would be great, of course!
But it would be great if it is possible to test OpenBSC before I get the traces.
I think the only way you can test OpenBSC is with one of the supported BTSes.
//Peter
Hi Ellen,
here is how I start OpenBSC without any BTS.
cd openbsc
src/osmo-nitb -c doc/examples/osmo-nitb/nanobts/openbsc.cfg -C
and make sure the current directory is not write protected.
Then I start the telnet terminal with: telnet localhost 4242
Hope this helps.
Br, Michael PS: Additional info: osmo-nitb --help http://openbsc.osmocom.org/trac/wiki/osmo-nitb
On 05/31/2012 10:08 AM, Ellen Apolinar wrote:
Hey folks,
I am new with OpenBSC and want to build OpenBSC with several BTS from different types.
At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet.
What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc.
What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc.
Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/showthread.php?t=247932
Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems.
To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart
/etc/dahdi/system.conf: dchan=1 bchan=2-30
openbsc.cfg: e1_input e1_line 0 driver dahdi
To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg'
So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS.
In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces.
To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet.
if you have questions or need more informations just write an e-mail.
Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do.
Ellen
Hey Guys,
thanks a lot for your answers.
@Peter: I want to test OpenBSC without BTS because the installation has to be ready in the end of the week and in the moment there is no BTS which I can test if it works. In the end I want to connect OpenBSC with several BTS. Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do. There is no way to use OpenBSC which one of the BTS which are supported now. It has to work which one other BTS.
@Michael: I installed telnet and followed your steps but I get following message:
/etc/openbsc/doc/examples# telnet localhost 4242 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
As I did:
telnet localhost
I got:
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Ubuntu 11.10 ctdi-HP-Compaq-dc7100-CMT-PE219ET login: ctdi Password: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)
- Documentation: https://help.ubuntu.com/
The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
As I did:
telnet localhost 4242
I got:
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
I unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want to start OpenBSC I get:
/etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg <0005> bsc_init.c:512 Error enabling E1 input driver
Perhaps I did something wrong as I want to load the driver, because I have an HFC-E1 card but dmesg shows: dmesg
dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.1 *vzaphfc: HFC-S PCI A ISDN (V1.42) loading*
Wish you a nice day.
Best regards. Ellen
2012/6/2 M. Josenhans m_josenhans@web.de
Hi Ellen,
here is how I start OpenBSC without any BTS.
cd openbsc
src/osmo-nitb -c doc/examples/osmo-nitb/**nanobts/openbsc.cfg -C
and make sure the current directory is not write protected.
Then I start the telnet terminal with: telnet localhost 4242
Hope this helps.
Br, Michael PS: Additional info: osmo-nitb --help http://openbsc.osmocom.org/**trac/wiki/osmo-nitbhttp://openbsc.osmocom.org/trac/wiki/osmo-nitb
On 05/31/2012 10:08 AM, Ellen Apolinar wrote:
Hey folks,
I am new with OpenBSC and want to build OpenBSC with several BTS from different types.
At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet.
What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc.
What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc.
Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/**showthread.php?t=247932http://www.ip-phone-forum.de/showthread.php?t=247932
Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems.
To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart
/etc/dahdi/system.conf: dchan=1 bchan=2-30
openbsc.cfg: e1_input e1_line 0 driver dahdi
To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg'
So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS.
In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces.
To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet.
if you have questions or need more informations just write an e-mail.
Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do.
Ellen
Hi Ellen,
On Mon, Jun 04, 2012 at 09:23:21AM +0200, Ellen Apolinar wrote:
Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do.
adding support for a BTS model is not just a matter of writing a configuration file. The details of the used A-bis dialect have to be implemented inside of OpenBSC before it makes sense to touch a config file.
To do that you should have: * One of the BTSs * A lab environment * Protocol traces of the A-bis link during startup and usage * C programming skills * Time
Right now you can only use the known BTS models with OpenBSC OOTB.
I hope that helps making the situation clearer.
Kind regards, -Alexander Huemer
Hi Alexander,
thank you for this information. That's very usefull.
Time is a problem because there is no much time so I have to do my best.
BTS hardware, lab environment and C programming skills aren't a problem. If I'm at the end of my knowledge there are some ery good programmers which could help me. But first I want to do it by myself.
So there are more BTS so I have to implement the A-Bis dialect for all of these BTS? It seems that you have experience with this so perhaps you can tell me where exactly I have to implement these. The only file I know to configure is the openbsc.cfg-file. When I have to implement the A-bis dialect in OpenBSC what do you mean? Which files I have to configure and what do I need to know?
In the moment we are working with a GLJ adapter (T1/E1 Analyser Hardware)for getting the traces between BTS and OpenBSC.
If you or someone else could us give tipps how to do it in the best way it would be very appreciated.
Best gerads and thank you very much for your help. Ellen
2012/6/4 Alexander Huemer alexander.huemer@xx.vu
Hi Ellen,
On Mon, Jun 04, 2012 at 09:23:21AM +0200, Ellen Apolinar wrote:
Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do.
adding support for a BTS model is not just a matter of writing a configuration file. The details of the used A-bis dialect have to be implemented inside of OpenBSC before it makes sense to touch a config file.
To do that you should have:
- One of the BTSs
- A lab environment
- Protocol traces of the A-bis link during startup and usage
- C programming skills
- Time
Right now you can only use the known BTS models with OpenBSC OOTB.
I hope that helps making the situation clearer.
Kind regards, -Alexander Huemer
Another question which is the most important: Is it possible to use OpenBSC with UMTS instead of GSM?
Regards Ellen
2012/6/4 Ellen Apolinar ellen.apolinar.td@googlemail.com
Hi Alexander,
thank you for this information. That's very usefull.
Time is a problem because there is no much time so I have to do my best.
BTS hardware, lab environment and C programming skills aren't a problem. If I'm at the end of my knowledge there are some ery good programmers which could help me. But first I want to do it by myself.
So there are more BTS so I have to implement the A-Bis dialect for all of these BTS? It seems that you have experience with this so perhaps you can tell me where exactly I have to implement these. The only file I know to configure is the openbsc.cfg-file. When I have to implement the A-bis dialect in OpenBSC what do you mean? Which files I have to configure and what do I need to know?
In the moment we are working with a GLJ adapter (T1/E1 Analyser Hardware)for getting the traces between BTS and OpenBSC.
If you or someone else could us give tipps how to do it in the best way it would be very appreciated.
Best gerads and thank you very much for your help. Ellen
2012/6/4 Alexander Huemer alexander.huemer@xx.vu
Hi Ellen,
On Mon, Jun 04, 2012 at 09:23:21AM +0200, Ellen Apolinar wrote:
Before OpenBSC runs with another BTS than those which are supported yet
I
have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do.
adding support for a BTS model is not just a matter of writing a configuration file. The details of the used A-bis dialect have to be implemented inside of OpenBSC before it makes sense to touch a config file.
To do that you should have:
- One of the BTSs
- A lab environment
- Protocol traces of the A-bis link during startup and usage
- C programming skills
- Time
Right now you can only use the known BTS models with OpenBSC OOTB.
I hope that helps making the situation clearer.
Kind regards, -Alexander Huemer
So it seems that connecting OpenBSC with an UMTS BTS is not a good idea. I have read that the developer want to try to make it possible that OpenBSC supports UMTS. But perhaps it is possible to do it by myself?
The purpose of my project is to connect several BTS (GSM and UMTS) with the pc and to build an interface between both (BTS and pc) so we can test the BTS with selfprogrammed software. Our first idea is to realize this with OpenBSC.
That's why I need it for GSM and also for UMTS and why I want to make OpenBSC supporting several BTS.
When someone of you have ideas how to realize it with OpenBSC I would be happe of any kind of tipps. I know that this isn't done in a few weeks and that there is very much to do before it could work.
Best regards Ellen
2012/6/4 Alexander Huemer alexander.huemer@xx.vu
On Mon, Jun 04, 2012 at 10:29:28AM +0200, Ellen Apolinar wrote:
Another question which is the most important: Is it possible to use
OpenBSC
with UMTS instead of GSM?
that hurts.
On Mon, Jun 04, 2012 at 12:40:22PM +0200, Ellen Apolinar wrote:
So it seems that connecting OpenBSC with an UMTS BTS is not a good idea.
That's not the point. There is just no support for UMTS whatsoever in OpenBSC. If you had spent 10 minutes cross-reading the wiki you would have known that.
I have read that the developer want to try to make it possible that OpenBSC supports UMTS. But perhaps it is possible to do it by myself?
As you read, developers (people who have years of experience in coding telco protocols) want to try to do something in this field. So, the question that comes to my mind is: What enables you to pursue such a high hanging fruit? That would either be a lot of money or an extremely high skill level. I think many people here on the list are interested in the details of your situation. Also, this is an open source software project. Are you planning on contributing your work to the community under an AGPL compatible license?
Kind regards, -Alexander Huemer
Ellen Apolinar wrote:
So it seems that connecting OpenBSC with an UMTS BTS is not a good idea. I have read that the developer want to try to make it possible that OpenBSC supports UMTS. But perhaps it is possible to do it by myself?
I'd suggest to focus on the GSM BTSes first. Once you have implemented support for the new BTSes in OpenBSC you will be familiar not only with the OpenBSC source code but also with other project participants.
The purpose of my project is to connect several BTS (GSM and UMTS) with the pc and to build an interface between both (BTS and pc) so we can test the BTS with selfprogrammed software. Our first idea is to realize this with OpenBSC.
I think it's a good plan. OpenBSC can help you by being a framework in the early stages of communicating with the BTSes.
When someone of you have ideas how to realize it with OpenBSC I would be happe of any kind of tipps.
You have to dive into the source code at this point.
Look at how the communication with existing supported BTSes works, and start adding code for any of the BTSes you want to support. Since you have multiple to work with, start with the one that has the smallest differences to one of the already supported BTSes, which besides the BS-11, nanoBTS, and MetroSite also includes the InSite as was pointed out to me off-list. (Thanks for the correction!)
I know that this isn't done in a few weeks and that there is very much to do before it could work.
Well, it depends on how different your various BTSes are from the supported ones. If you are lucky some of the code you need to write will be very easy.
//Peter
On Mon, Jun 04, 2012 at 10:20:16AM +0200, Ellen Apolinar wrote:
So there are more BTS so I have to implement the A-Bis dialect for all of these BTS?
yes.
It seems that you have experience with this so perhaps you can tell me where exactly I have to implement these.
Start looking at the code.
The only file I know to configure is the openbsc.cfg-file.
Again, this is not about configuring.
When I have to implement the A-bis dialect in OpenBSC what do you mean?
I don't know how to make that even more clear.
Which files I have to configure and what do I need to know?
It is _NOT_ a configuration issue.
In the moment we are working with a GLJ adapter (T1/E1 Analyser Hardware)for getting the traces between BTS and OpenBSC.
Sounds like a good start.
If you or someone else could us give tipps how to do it in the best way it would be very appreciated.
Although that's completely obvious: look at how it's done for the other BTS models.
Kind regards, -Alexander Huemer
Hi Ellen,
I need to correct:
cd openbsc src/osmo-nitb/osmo-nitb -c doc/examples/osmo-nitb/nanobts/openbsc.cfg -C
Then you should see the message: <0019> ipaccess.c:841 enabling ipaccess BSC mode DB: Database initialized. DB: Database prepared. <0007> sms_queue.c:232 Attempting to send 20 SMS
telnet localhost 4242
Br, Michael
Am 04.06.2012 09:23, schrieb Ellen Apolinar:
Hey Guys,
thanks a lot for your answers.
@Peter: I want to test OpenBSC without BTS because the installation has to be ready in the end of the week and in the moment there is no BTS which I can test if it works. In the end I want to connect OpenBSC with several BTS. Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do. There is no way to use OpenBSC which one of the BTS which are supported now. It has to work which one other BTS.
@Michael: I installed telnet and followed your steps but I get following message:
/etc/openbsc/doc/examples# telnet localhost 4242 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refusedAs I did:
telnet localhostI got:
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Ubuntu 11.10 ctdi-HP-Compaq-dc7100-CMT-PE219ET login: ctdi Password: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686) * Documentation: https://help.ubuntu.com/ The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.As I did:
telnet localhost 4242I got:
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refusedI unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want to start OpenBSC I get:
/etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg <0005> bsc_init.c:512 Error enabling E1 input driverPerhaps I did something wrong as I want to load the driver, because I have an HFC-E1 card but dmesg shows: dmesg
dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.1 *vzaphfc: HFC-S PCI A ISDN (V1.42) loading*Wish you a nice day.
Best regards. Ellen
2012/6/2 M. Josenhans <m_josenhans@web.de mailto:m_josenhans@web.de>
Hi Ellen, here is how I start OpenBSC without any BTS. cd openbsc src/osmo-nitb -c doc/examples/osmo-nitb/__nanobts/openbsc.cfg -C and make sure the current directory is not write protected. Then I start the telnet terminal with: telnet localhost 4242 Hope this helps. Br, Michael PS: Additional info: osmo-nitb --help http://openbsc.osmocom.org/__trac/wiki/osmo-nitb <http://openbsc.osmocom.org/trac/wiki/osmo-nitb> On 05/31/2012 10:08 AM, Ellen Apolinar wrote: Hey folks, I am new with OpenBSC and want to build OpenBSC with several BTS from different types. At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet. What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc. What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc. Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/__showthread.php?t=247932 <http://www.ip-phone-forum.de/showthread.php?t=247932> Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems. To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart /etc/dahdi/system.conf: dchan=1 bchan=2-30 openbsc.cfg: e1_input e1_line 0 driver dahdi To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg' So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS. In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces. To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet. if you have questions or need more informations just write an e-mail. Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do. Ellen
Hey Michael,
thanks. In the moment there is another problem.
Since yesterday I wasn't able to load the module zaphfc.
modprobe zaphfc FATAL: Error inserting zaphfc (/lib/modules/3.0.22/dahdi/zaphfc/zaphfc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Now I'm installing Asterisk a second time and hope that it works. Then I will try your advice again and give you a answer how it works.
Wish you a nice day.
Regards Ellen
2012/6/4 M. Josenhans m_josenhans@web.de
Hi Ellen,
I need to correct:
cd openbsc src/osmo-nitb/osmo-nitb -c doc/examples/osmo-nitb/**nanobts/openbsc.cfg -C
Then you should see the message: <0019> ipaccess.c:841 enabling ipaccess BSC mode DB: Database initialized. DB: Database prepared. <0007> sms_queue.c:232 Attempting to send 20 SMS
telnet localhost 4242
Br, Michael
Am 04.06.2012 09:23, schrieb Ellen Apolinar:
Hey Guys,
thanks a lot for your answers.
@Peter: I want to test OpenBSC without BTS because the installation has to be ready in the end of the week and in the moment there is no BTS which I can test if it works. In the end I want to connect OpenBSC with several BTS. Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do. There is no way to use OpenBSC which one of the BTS which are supported now. It has to work which one other BTS.
@Michael: I installed telnet and followed your steps but I get following message:
/etc/openbsc/doc/examples# telnet localhost 4242 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
As I did:
telnet localhost
I got:
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Ubuntu 11.10 ctdi-HP-Compaq-dc7100-CMT-**PE219ET login: ctdi Password: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)
* Documentation: https://help.ubuntu.com/The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
As I did:
telnet localhost 4242
I got:
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
I unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want to start OpenBSC I get:
/etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg <0005> bsc_init.c:512 Error enabling E1 input driver
Perhaps I did something wrong as I want to load the driver, because I have an HFC-E1 card but dmesg shows: dmesg
dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.1 *vzaphfc: HFC-S PCI A ISDN (V1.42) loading*
Wish you a nice day.
Best regards. Ellen
2012/6/2 M. Josenhans <m_josenhans@web.de mailto:m_josenhans@web.de>
Hi Ellen,
here is how I start OpenBSC without any BTS.
cd openbsc
src/osmo-nitb -c doc/examples/osmo-nitb/__**nanobts/openbsc.cfg -C
and make sure the current directory is not write protected.
Then I start the telnet terminal with: telnet localhost 4242
Hope this helps.
Br, Michael PS: Additional info: osmo-nitb --help http://openbsc.osmocom.org/__**trac/wiki/osmo-nitbhttp://openbsc.osmocom.org/__trac/wiki/osmo-nitb
<http://openbsc.osmocom.org/**trac/wiki/osmo-nitbhttp://openbsc.osmocom.org/trac/wiki/osmo-nitb
On 05/31/2012 10:08 AM, Ellen Apolinar wrote:
Hey folks, I am new with OpenBSC and want to build OpenBSC with several BTS from different types. At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet. What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc. What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc. Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/_**_showthread.php?t=247932<http://www.ip-phone-forum.de/__showthread.php?t=247932> <http://www.ip-phone-forum.de/**showthread.php?t=247932<http://www.ip-phone-forum.de/showthread.php?t=247932>Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems. To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart /etc/dahdi/system.conf: dchan=1 bchan=2-30 openbsc.cfg: e1_input e1_line 0 driver dahdi To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file:'openbsc.cfg'
So now I'm not sure what to do because I'm not sure what exactly is wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS. In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces. To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet. if you have questions or need more informations just write an e-mail. Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do. Ellen
Hey folks,
I think, OpenBSC works now. Here what I did and what I get:
I tried the steps from Michael and get following answer:
To test telnet:
/etc/init.d/openbsd-inetd restart
- Restarting internet superserver inetd
telnet 192.168.0.102
Trying 192.168.0.102... Connected to 192.168.0.102. Escape character is '^]'. Ubuntu 11.10 server login: admin Password: Last login: Mon Jun 18 09:35:35 CEST 2012 fromserver.fritz.box on pts/1
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)
- Documentation: https://help.ubuntu.com/
The steps from Michael:
./osmo-nitb -c openbsc.cfg -C
1 device found id: 0 Dprotocols: 00000018 Bprotocols: 0000006e protocol: 4 nrbchan: 30 name: hfc-e1.1 activate bchan activate bchan DB: Database initialized. DB: Database prepared.
<0007> sms_queue.c:232 Attempting to send 20 SMS
telnet localhost 4242
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Welcome to the OpenBSC control interface Copyright (C) 2008-2010 Harald Welte, Holger Freyther Contributions by Daniel Willmann, Jan Lübbe, Stefan Schmidt Dieter Spaar, Andreas Eversberg, Sylvain Munaut
License AGPLv3+: GNU AGPL version 3 or later < http://gnu.org/licenses/agpl-3.0.html%3E This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. OpenBSC>
:-)
So thanks a lot to you all who helped me. This Mailinglist was a great support for me to install OpenBSC,
Regards. Ellen
2012/6/6 Ellen Apolinar ellen.apolinar.td@googlemail.com
Hey Michael,
thanks. In the moment there is another problem.
Since yesterday I wasn't able to load the module zaphfc.
modprobe zaphfc FATAL: Error inserting zaphfc (/lib/modules/3.0.22/dahdi/zaphfc/zaphfc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Now I'm installing Asterisk a second time and hope that it works. Then I will try your advice again and give you a answer how it works.
Wish you a nice day.
Regards Ellen
2012/6/4 M. Josenhans m_josenhans@web.de
Hi Ellen,
I need to correct:
cd openbsc src/osmo-nitb/osmo-nitb -c doc/examples/osmo-nitb/**nanobts/openbsc.cfg -C
Then you should see the message: <0019> ipaccess.c:841 enabling ipaccess BSC mode DB: Database initialized. DB: Database prepared. <0007> sms_queue.c:232 Attempting to send 20 SMS
telnet localhost 4242
Br, Michael
Am 04.06.2012 09:23, schrieb Ellen Apolinar:
Hey Guys,
thanks a lot for your answers.
@Peter: I want to test OpenBSC without BTS because the installation has to be ready in the end of the week and in the moment there is no BTS which I can test if it works. In the end I want to connect OpenBSC with several BTS. Before OpenBSC runs with another BTS than those which are supported yet I have to build an openbsc.cfg-file. That's is what I think I should do. I don't know if there are other configurations to do. There is no way to use OpenBSC which one of the BTS which are supported now. It has to work which one other BTS.
@Michael: I installed telnet and followed your steps but I get following message:
/etc/openbsc/doc/examples# telnet localhost 4242 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
As I did:
telnet localhost
I got:
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Ubuntu 11.10 ctdi-HP-Compaq-dc7100-CMT-**PE219ET login: ctdi Password: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)
* Documentation: https://help.ubuntu.com/The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
As I did:
telnet localhost 4242
I got:
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
I unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want to start OpenBSC I get:
/etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg <0005> bsc_init.c:512 Error enabling E1 input driver
Perhaps I did something wrong as I want to load the driver, because I have an HFC-E1 card but dmesg shows: dmesg
dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.1 *vzaphfc: HFC-S PCI A ISDN (V1.42) loading*
Wish you a nice day.
Best regards. Ellen
2012/6/2 M. Josenhans <m_josenhans@web.de mailto:m_josenhans@web.de>
Hi Ellen,
here is how I start OpenBSC without any BTS.
cd openbsc
src/osmo-nitb -c doc/examples/osmo-nitb/__**nanobts/openbsc.cfg -C
and make sure the current directory is not write protected.
Then I start the telnet terminal with: telnet localhost 4242
Hope this helps.
Br, Michael PS: Additional info: osmo-nitb --help http://openbsc.osmocom.org/__**trac/wiki/osmo-nitbhttp://openbsc.osmocom.org/__trac/wiki/osmo-nitb
<http://openbsc.osmocom.org/**trac/wiki/osmo-nitbhttp://openbsc.osmocom.org/trac/wiki/osmo-nitb
On 05/31/2012 10:08 AM, Ellen Apolinar wrote:
Hey folks, I am new with OpenBSC and want to build OpenBSC with several BTS from different types. At first what I need: I want to test OpenBSC without a BTS just to see if the installation worked successfully. Also I need to know what I have to do if I want to use a BTS which isn't configured yet. What we want to do in the end is to test the BTS with a selfmade programm. For this we need an interface between the hardware BTS and the pc. What I have: Ubuntu 11.10 Kernel 3.0.22 several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...) HFC-E1 card from Cologne Chip OpenBSC Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0) Dahdi 2.4.1 Libpri 1.4 mISDN v2.x mISDNuser 2.0.11 LCR 1.7 Twinkle, Wireshark etc. Why mISDN + Dahdi: First I tried to use mISDn + mISDNuser + LCR for a connection between OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought it's the best idea to use it. I installed mISDNuser and LCR but there are several problems. For further informations you can have a look here: http://www.ip-phone-forum.de/_**_showthread.php?t=247932<http://www.ip-phone-forum.de/__showthread.php?t=247932> <http://www.ip-phone-forum.de/**showthread.php?t=247932<http://www.ip-phone-forum.de/showthread.php?t=247932>Because of the problems mit LCR/chan_LCR and Asterisk I decided to use Dahdi because it's also installed since I installed Asterisk. Asterisks works fine with the softphones which I created with Twinkle and also the Asterisk GUI works without problems. To use Dahdi: modprobe -r hfcmulti modprobe -r mISDN_core /etc/init.d/dahdi restart /etc/dahdi/system.conf: dchan=1 bchan=2-30 openbsc.cfg: e1_input e1_line 0 driver dahdi To start OpenBSC: cd /etc/openbsc/src/osmo-nitb ./osmo-nitb Error: <0005> bsc_init.c:493 Failed to parse the config file:'openbsc.cfg'
So now I'm not sure what to do because I'm not sure what exactlyis wrong and if it could work without a BTS. There are enough informations if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to work with another BTS.
In the next day I will get the traces from the several BTS to build an interface between BTS and OpenBSC so I can build the openbsc.cfg-file. But it would be great if it is possible to test OpenBSC before I get the traces. To get a connection between OpenBSC and Astrisk with Dahdi is a problem which I should solve by myself. There should be enough information in the internet. if you have questions or need more informations just write an e-mail. Best regards and thanks in advance. It would be great if someone could help me or give me some advice what I could do. Ellen