Hey Guys,<br><br>thanks a lot for your answers.<br><br>@Peter: <br>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. <br>
<br><br>@Michael: <br>I installed telnet and followed your steps but I get following message:<br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="1">/etc/openbsc/doc/examples# telnet localhost 4242<br>
Trying 127.0.0.1...<br>telnet: Unable to connect to remote host: Connection refused</font><br></blockquote>As I did:<br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<font size="1">telnet localhost</font><br></blockquote>I got:<br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="1">Trying 127.0.0.1...<br>
Connected to localhost.<br>Escape character is '^]'.<br>Ubuntu 11.10<br>ctdi-HP-Compaq-dc7100-CMT-PE219ET login: ctdi<br>Password: <br>Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)<br><br> * Documentation:  <a href="https://help.ubuntu.com/">https://help.ubuntu.com/</a><br>
<br><br>The programs included with the Ubuntu system are free software;<br>the exact distribution terms for each program are described in the<br>individual files in /usr/share/doc/*/copyright.<br><br>Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by<br>
applicable law.</font><br></blockquote><div> </div><div> As I did:<br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="1">telnet localhost 4242</font><br>
</blockquote>I got: <br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="1">Trying 127.0.0.1...</font><br><font size="1">telnet: Unable to connect to remote host: Connection refused</font><br>
</blockquote><br></div>I unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want to start OpenBSC I get:<br>


        
        
        
        <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
        --></style><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><font size="1">/etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg</font><br><font size="1"><0005> bsc_init.c:512 Error enabling E1 input driver</font><br>
</blockquote><br>Perhaps I did something wrong as I want to load the driver, because I have an HFC-E1 card but dmesg shows:<br>dmesg<br><blockquote style="margin:0pt 0pt 0pt 6.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<font size="1">dahdi: Telephony Interface Registered on major 196</font><br><font size="1">dahdi: Version: 2.4.1</font><br><b><font size="1">vzaphfc: HFC-S PCI A ISDN (V1.42) loading</font></b><br></blockquote><br><br>Wish you a nice day. <br>
<br>Best regards.<br>Ellen<br><br><br><div class="gmail_quote">2012/6/2 M. Josenhans <span dir="ltr"><<a href="mailto:m_josenhans@web.de" target="_blank">m_josenhans@web.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ellen,<br>
<br>
here is how I start OpenBSC without any BTS.<br>
<br>
cd openbsc<br>
<br>
src/osmo-nitb -c doc/examples/osmo-nitb/<u></u>nanobts/openbsc.cfg -C<br>
<br>
and make sure the current directory is not write protected.<br>
<br>
Then I start the telnet terminal with:<br>
telnet localhost 4242<br>
<br>
Hope this helps.<br>
<br>
Br,<br>
Michael<br>
PS:<br>
Additional info:<br>
osmo-nitb --help<br>
<a href="http://openbsc.osmocom.org/trac/wiki/osmo-nitb" target="_blank">http://openbsc.osmocom.org/<u></u>trac/wiki/osmo-nitb</a><div><div><br>
<br>
On 05/31/2012 10:08 AM, Ellen Apolinar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey folks,<br>
<br>
I am new with OpenBSC and want to build OpenBSC with several BTS from<br>
different types.<br>
<br>
At first what I need: I want to test OpenBSC without a BTS just to see<br>
if the installation worked successfully. Also I need to know what I have<br>
to do if I want to use a BTS which isn't configured yet.<br>
<br>
What we want to do in the end is to test the BTS with a selfmade<br>
programm. For this we need an interface between the hardware BTS and the pc.<br>
<br>
What I have:<br>
Ubuntu 11.10<br>
Kernel 3.0.22<br>
several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100 etc...)<br>
HFC-E1 card from Cologne Chip<br>
OpenBSC<br>
Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0)<br>
Dahdi 2.4.1<br>
Libpri 1.4<br>
mISDN v2.x<br>
mISDNuser 2.0.11<br>
LCR 1.7<br>
Twinkle, Wireshark etc.<br>
<br>
Why mISDN + Dahdi:<br>
First I tried to use mISDn + mISDNuser + LCR for a connection between<br>
OpenBSC and Asterisk. mISDN was integrated in the Kernel so I thought<br>
it's the best idea to use it. I installed mISDNuser and LCR but there<br>
are several problems. For further informations you can have a look here:<br>
<a href="http://www.ip-phone-forum.de/showthread.php?t=247932" target="_blank">http://www.ip-phone-forum.de/<u></u>showthread.php?t=247932</a><br>
<br>
Because of the problems mit LCR/chan_LCR and Asterisk I decided to use<br>
Dahdi because it's also installed since I installed Asterisk. Asterisks<br>
works fine with the softphones which I created with Twinkle and also the<br>
Asterisk GUI works without problems.<br>
<br>
To use Dahdi:<br>
modprobe -r hfcmulti<br>
modprobe -r mISDN_core<br>
/etc/init.d/dahdi restart<br>
<br>
/etc/dahdi/system.conf:<br>
dchan=1<br>
bchan=2-30<br>
<br>
openbsc.cfg:<br>
e1_input<br>
e1_line 0 driver dahdi<br>
<br>
To start OpenBSC:<br>
cd /etc/openbsc/src/osmo-nitb<br>
./osmo-nitb<br>
Error:<br>
<0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg'<br>
<br>
So now I'm not sure what to do because I'm not sure what exactly is<br>
wrong and if it could work without a BTS. There are enough informations<br>
if I want to test a BS11 or a nanoBTS but I'm a little bit lost how to<br>
work with another BTS.<br>
<br>
In the next day I will get the traces from the several BTS to build an<br>
interface between BTS and OpenBSC so I can build the openbsc.cfg-file.<br>
But it would be great if it is possible to test OpenBSC before I get the<br>
traces.<br>
<br>
To get a connection between OpenBSC and Astrisk with Dahdi is a problem<br>
which I should solve by myself. There should be enough information in<br>
the internet.<br>
<br>
if you have questions or need more informations just write an e-mail.<br>
<br>
Best regards and thanks in advance. It would be great if someone could<br>
help me or give me some advice what I could do.<br>
<br>
Ellen<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>