Hello everyone,
I've just finnished writing together a small web interface for the OpenBSC
HLR. It allows you to modify various parameters in the database and also
provides a set of functions to modify the HLR or sending SMSes in your own
scripts.
The project is still very alpha but it seems to work reasonably good. Feel
free to give any feedback!
Screenshots and source code is available on my website:
https://stormhub.org/simplehlr/
--
*Best regards,
Peter Caprioli*
I have some questions:
1) When I start bsc_hack bsc_init.c first establishes OML link and
initializes the bts then it establishes RSL link and bts starts
broadcasting. However, it takes so much time to start the bts. Instead of
this I want to do the following: it establishes OML link at the beginning
and only once, then when i want to start broadcasting it establishes just
the RSL link and bts will start faster since i don't have to wait for OML
link. What should be done for this?
2) If i send one or two word messages from telnet interface it is okay. But
if i send a longer message the phone could't receive the end of the message
correctly(last words may be incomplete). Did any one encounter with this
problem? What is wrong with me?
3) Could I send SMS in which extension of the sender is text not integer.
For example, i want to send an information SMS that this is a test network.
For this purpose i want to send an SMS from 'OpenBSC'. I set the extension
of the first subscriber in database as text and tried to send the SMS but
SMS wasn't delivered. What should i do?
4) Can i add SMS externally to SMS table of database?
Thanks.
Jason
Hi all,
I have upated the wiki page at
http://openbsc.osmocom.org/trac/wiki/OsmoUserGroup/Berlin to indicate
the meeting dates for the next couple of months. So now it is clear
that even without any explicit separate announcement, we will be meeting
at the indicated date:
June 13, 2012
June 27, 2012
July 11, 2012
July 25, 2012
August 8, 2012
August 22, 2012
It had been requested to start a bit later (8pm instead of 7pm), and
from the next meeting onwards we will follow that request.
Looking forward to meeting you!
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)
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
Hi list!
I have a installation problem with OpenBSC+LCR. I tried to install it following tutorial in the wiki and not working. I have some problem and I probe to install in various unix version Ubuntu based but I can't.
I believe that codes are changing and tutorial doesn't work. Someone have installed OpenBSC+LCR recently? Pleased tell me how!
In addiction, I need to know if there are documentation about the codes to complain how it work to study the program and understand it. Are there documentation available?
Thank you!
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.
Hello,
while there there is a comandline interface for openbsc to configure the
BSC software, until now there has been nothing comparable as user
interface for the osmocom/Erlang code.
This has changed. Here is a first version of an Erlang written
command-line interface:
https://github.com/josemic/Erlang-command-line-interface
Be aware that there is currently only dummy data presented. It has not
yet been integrated with the osmocom/Erlang code.
Please test and provide feedback.
For installation instructions please see github wiki pages.
Br,
Michael
The attached message was received as a bounce, but either the bounce
format was not recognized, or no member addresses could be extracted
from it. This mailing list has been configured to send all
unrecognized bounce messages to the list administrator(s).
For more information see:
https://lists.osmocom.org/mailman/admin/openbsc/bounce
Hi all,
Perhaps i am completely mistaken..
If so, please make it a "learning-moment" for me ;-)
Is it possible to crate your own SIM's ?
As far as i can see, these are just small smartcards.
And as such, thse can be filled with the tools that come along with
OpenSC.
I presume the SIM's contain a number of EF's and DF's
One set that thighs a SIM to a specific operator (making it possible to
SIM-lock a handy)
And another set of EF's that identifies a specific user.
Within the DB of the operator, the relation between the SIM-identifier
and the specific user (with his 06-number and other info) is made.
(I know that the sim itself is not unique, because a college had a
malfuntioning SIM, and it was replaced by another one, with the same
content)
Reason why i want to fill my own sims is this;
For one of our projects we are using certificates on a smartcard.
Currently full-sized, but we think of putting it on a sim-sized card.
And use it in a dongle along with 2Gb (bootable) flash storage.
So my questions are:
1) can you burn your own sim's
2) would there be any objections to have, beside de GSM-info, also a
certificate
3) could you "clone" an existing SIM?
With regard to the last one: If i buy a couple of prepaid-sims from a
operator, would it be possible to extract that info, and put it along
with my own certificates on a sim of my own?
Obviously, it is no use to contact the help desks of kpn, tele2, or
vodafone at this moment.
But _if_ their are no technical limitations i could do a test with some
of our own BTS'es.
And if that pilot works, we have a business case for any interested
operator.
Hans
Hi, all.
I am beginner to GSM setup.I have gone through osmocom sit and collect the
material to build the network.But my query is how i should sync the
gnuradio which drives USRP with openBTS or openBSC..
--
Regards,
Manan Bhatt
Hi all!
This is the announcement for the 4th incarnation of our bi-weekly
Osmocom Berlin meeting.
May 23, 7pm @ CCC Berlin, Marienstr. 11, 10113 Berlin
There is no particular schedule for now, but if there is interest we
can do an introduction + demo of the new sysmoBTS.
Also, I'll have my SIMtrace with me, to read out TERMINAL PROFILE from
phones for https://terminal-profile.osmocom.org/ . So if you have any
phones to read out: Please bring them (with charged battery or charger!)
So we'll just meet + talk. There seem to be some SMSC related questions
that we would want to adress, so you have been warned ;)
If you are interested to show up, feel free to do so. There is no
registration required. The meeting is free as in "free beer", despite
no actual free beer being around ;)
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)
Hello Silvain,
please find attached a patch for pySIM which I put together today after
some work to get the extra parameters which I needed on the
sysmoUSIM-GR1. Don't know if it only works for those cards.
This fixes some bugs in setting the IMSI and also adds support for
selecting USIM and writing binary/records in there. I have also added
some parameters like MSISDN or the forbidden MCC to black-list other
national networks, in the idea that one would provision on the test
001/01 network. The data formats are not so well defined or clean as I
was on a get-it-done schedule and did not actually read the specs.
Anyway, the result works fine for me.
Otherwise I could only use pySIM with the GemPC Express reader. I read
that you have a PC Twin Reader which seems to be more common, but I am
getting the following with that, so any help would be appreciated:
Programming ...
Traceback (most recent call last):
File "./pySim-prog.py", line 544, in <module>
card.program(cp)
File
"/root/svn/svnsrv.fokus.fraunhofer.de_OpenEPC/pysim/pySim/cards.py",
line 364, in program
data, sw = self._scc._tp.send_apdu_checksw("0099000033" + par)
File
"/root/svn/svnsrv.fokus.fraunhofer.de_OpenEPC/pysim/pySim/transport/__init__.py",
line 88, in send_apdu_checksw
rv = self.send_apdu(pdu)
File
"/root/svn/svnsrv.fokus.fraunhofer.de_OpenEPC/pysim/pySim/transport/__init__.py",
line 69, in send_apdu
data, sw = self.send_apdu_raw(pdu)
File
"/root/svn/svnsrv.fokus.fraunhofer.de_OpenEPC/pysim/pySim/transport/pcsc.py",
line 75, in send_apdu_raw
data, sw1, sw2 = self._con.transmit(apdu)
File
"/usr/lib/python2.7/dist-packages/smartcard/CardConnectionDecorator.py",
line 82, in transmit
return self.component.transmit(bytes, protocol)
File "/usr/lib/python2.7/dist-packages/smartcard/CardConnection.py",
line 140, in transmit
data, sw1, sw2 = self.doTransmit(bytes, protocol)
File
"/usr/lib/python2.7/dist-packages/smartcard/pcsc/PCSCCardConnection.py",
line 175, in doTransmit
raise CardConnectionException('Failed to transmit with protocol ' +
dictProtocolHeader[pcscprotocolheader] + '. ' +
SCardGetErrorMessage(hresult))
smartcard.Exceptions.CardConnectionException: Failed to transmit with
protocol T0. Transaction failed.
P.S. I must apologize if the patch is crappy, as I could not yet be
bothered to read a book or something on python.
Cheers,
-Dragos
--
-----------------------------------------
Dipl. Eng. Dragos Vingarzan
Fraunhofer FOKUS/NGNI
Kaiserin-Augusta-Allee 31
10589 Berlin,Germany
Phone +49 (0)30 - 3463 - 7385
Mobile +49 (0)176 - 48 32 16 00
Web www.fokus.fraunhofer.dewww.openepc.netwww.openimscore.org
-----------------------------------------------------------------
The attached message was received as a bounce, but either the bounce
format was not recognized, or no member addresses could be extracted
from it. This mailing list has been configured to send all
unrecognized bounce messages to the list administrator(s).
For more information see:
https://lists.osmocom.org/mailman/admin/openbsc/bounce
Hi all!
We sometimes get media inquiries about where (and for what) OpenBSC is
actually deployed. Like any Free Software project, we of course have no
clue how many users there are, and what they do with it.
There are some companies that we know of, as we've received their
patches, or actually did some consulting for them as part of our paid
work. Some of them are actually listed in the source code and/or on our
homepage.
However, I would like to see more than those "usual suspects".
So if you use OpenBSC for anything beyond your personal hobby, I would
like to hear from you. If possible, I would like to anything from a
small one-line statement to a multi-paragraph explanation about it on
our project webpage.
It doesn't have to be all-positive. You can even state that you tried
it but didn't get
So far, I know there are
* at least one handful of academic institutions using it for research
and/or teaching
* at least one company that's using OpenBSC based networks as
communications technology at large events (concerts/festivals and the like)
* at least one company operating OpenBSC on board of maritime vessels
* at least one company building systems for desaster / emergency relief
based on OpenBSC
So if all of you (or at least some of you) could step forward and send
me a notice (either privately or Cc to this list), I would appreciate it
a lot.
Regards,
Harald
p.s.: And yes, I'm talking about the OpenBSC homepage, not the sysmocom
company page. We keep a strict separation between those two, and if you
ever think that we might not follow that clear distinction.
--
- 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)
Sir,
I am working on a project to implement a GSM test-bed scenario.
I need do install openBSC.
I go through your page indicating the installation guide.
My problem is git clone is not working.Everytime it is telling that the
server is not responding.
When i tried to install using tarballs the version conflict is coming in
case of libosmo-abis and openbsc as the tarballs are provided of different
versions.
libosmocore 0.1.30 but libosmo-abis needs libosmocore >=0.3.0 .
Please help me regarding this.
--
Regards,
Manan Bhatt
Hello All
I know the list isn't for advertising but I thought some of the list members trying to source a nanoBTS may find this useful. We currently have 2 model 139 1800 MHz units here in our office which we pulled from a live GSM network earlier in the week. We've got them working with openBSC just fine. If anyone is interested please give me an email.
P.S. We've sold quite a few of these to list members before so referencing isn't a problem.
Kind Regards
Stuart
Hi all,
(and apologies for cross-posting)
OsmoDevCon'12 was a great event and a lot of fun. There were also a
lot of information about the state of the art open-source in telecom
and some of this information is now available for everyone as video
recordings. Quality of recordings is not so great, so please make sure
you enjoy the content.
http://www.youtube.com/playlist?list=PL07C78AF831FFE8F9
Slides for some of the talks could be found at the end of the
OsmoDevCon'12 wiki page:
http://openbsc.osmocom.org/trac/wiki/OsmoDevCon2012#Videorecordings
--
Regards,
Alexander Chemeris.
CEO, Fairwaves LLC / ООО УмРадио
http://fairwaves.ru
Are there any work being done or already implemented solutions towards
having OpenBSC work without the BSC-part and having the MSC-part
talking SIGTRAN (M3UA)?
All help is very much appreciated.
Regards,
Henrik
Hi list,
It's my first time posting here, and I've just subscribed - so apologies
for totally wrecking archive threading.
I've just received a copy of the e-mail regarding the OT-290, thanks to
Andrew Back; and I'm wondering it's possible to discuss the feasibility of
implementing this functionality with Harald - since it doesn't seem to have
generated much interest from others, and I'm "fortunate" enough to live in
a small British town without EDGE coverage (which should make it easier to
test GPRS-related tracing functionality).
Although I'm unfamiliar with how things work in Osmocom, I've previously
worked on Wireshark dissectors for USB-encapsulated AT commands, and
various NFC/smartcard-related protocols (PN532, FeliCa and MiFare); and am
also familiar with Nokia's proprietary ISI baseband protocol, and parts of
ETSI's GSM/UMTS specifications - so this sort of stuff isn't totally alien
to me.
I'm also currently studying Computer Science as an undergraduate (at the
University of Bradford) - but I should be able to make time to work on this.
Thanks,
Tyson.
--
Fight Internet Censorship!
http://www.eff.orghttp://vmlemon.wordpress.com | Twitter/FriendFeed/Skype: vmlemon |
00447934365844
Hi all,
as we were running openbsc with a nanobts in a nitb configuration at our institute we observed two bugs in the authentification part of openbsc.
First:
In file openbsc/openbsc/src/libmsc/db.c on line 372 there is
"ainfo->a3a8_ki_len = sizeof(ainfo->a3a8_ki_len);"
which takes the sizeof of the length value. This always results in a wrong keylength and hence no authentification will ever be executed. This should rather be changed to:
ainfo->a3a8_ki_len = sizeof(ainfo->a3a8_ki);
Secondly:
I haven't found the piece of code which is responsible for this bug particulary but:
Whenever the key for the a3a8_comp128 is being read from the database a shift of one bit occurs.
i.e. when you set the a3a8_key in the hlr.sqlite3 to 01010101010101010101010101010101 the value being processed as key in the a3a8_comp128 algorithm is 02020202020202020202020202020202.
Best Regards,
Robert Ingr
As reported in ticket #55 SGSN can crash due to double free-ing. You
can replace 'can' by 'will' in that last phrase. I had a sift through
the code and tried to solve this by removing the free in gprs_ns.c.
Whenever the calling function created the msgb-struct, I have made the
function free it after its use. If the function got the msgb from a
calling function, there will not be a free (hoping that will be done
on the higher level).
HTH/F
Hi all!
Thanks to a generous donor, we have received a couple of OT-290 trace
phones. These are commercial products intended for taking L2/L3 air
interface traces. If you've read any of the fabulous GSM papers by
Prof. Dr.-Ing. Joachim Goeller: The OT-phones is what he used to
generate all his traces.
The majority of what those phones can do is now also possible with
OsmocomBB.
However, OT-290 support GPRS tracing/testing - for CS-1 throguh CS-4.
I would be willing to give away one of the two remaining OT-290 (for
free) to anyone who would in return commit to developing a GSMTAP
interface for it.
The message format on the serial UART between phone and PC is documented
(PDF documentation by Sagem included with the phones). So based on this
documentation and an OT-290 phone, it should be possible to write a
small command-line program that receives the GSM/GPRS messages from the
OT-290 and sends them via GSMTAP into wireshark.
The result would then be similar to what
http://cgit.osmocom.org/cgit/dct3-gsmtap/ is for DCT-3 phones.
If you're interested, please respond to this message. Please don't
apply for the phone if you are not able to find the required time and
interest for actually doing the GSMTAP integration.
Thanks!
--
- 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)
Hello,
I use OpenBSC/GPRS (sw version only few weeks old) with nanoBTS and this works well mith many mobile devices.
With Nokia devices, however, I do not get a PDP context. Here is an osmo-sgsn trace of Nokia E65:
<0012> gprs_bssgp.c:347 BSSGP TLLI=0x795b37eb Rx UPLINK-UNITDATA
<0013> gprs_llc.c:478 LLC SAPI=1 C FCS=0xc2ab0aCMD=UI DATA
<0013> gprs_llc.c:742 LLC RX: unknown TLLI 0x795b37eb, creating LLME on the fly
<0002> gprs_gmm.c:636 -> GMM ATTACH REQUEST MI(001011474110317) type="GPRS attach"
<0002> gprs_gmm.c:351 <- GPRS ATTACH ACCEPT (new P-TMSI=0x78bb36bb)
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:347 BSSGP TLLI=0xf8bb36bb Rx UPLINK-UNITDATA
<0013> gprs_llc.c:478 LLC SAPI=1 C FCS=0xc2ab0aCMD=UI DATA //remark: is a repetition of GMM ATTACH REQUEST
<0013> gprs_llc.c:525 TLLI=f8bb36bb dropping UI, N(U=0) not in window V(URV(UR:1).
<0012> gprs_bssgp.c:347 BSSGP TLLI=0xf8bb36bb Rx UPLINK-UNITDATA
<0013> gprs_llc.c:478 LLC SAPI=1 C FCS=0x478a8dCMD=UI DATA
<0002> gprs_gmm.c:1047 -> ATTACH COMPLETE
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:347 BSSGP TLLI=0xf8bb36bb Rx UPLINK-UNITDATA
<0013> gprs_llc.c:478 LLC SAPI=1 C FCS=0x478a8dCMD=UI DATA //remark: is a repetition of ATTACH COMPLETE
<0013> gprs_llc.c:525 TLLI=f8bb36bb dropping UI, N(U=1) not in window V(URV(UR:2).
<0012> gprs_bssgp.c:347 BSSGP TLLI=0xf8bb36bb Rx UPLINK-UNITDATA
<0013> gprs_llc.c:478 LLC SAPI=1 C FCS=0x29e399CMD=UI DATA
<0002> gprs_gmm.c:782 -> GMM DETACH REQUEST TLLI=0xf8bb36bb type=GPRS detach
<0002> gprs_gmm.c:425 <- GPRS DETACH ACCEPT
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
<0012> gprs_bssgp.c:523 BSSGP BVCI=2 Rx Flow Control MS
We see some dropped frames here which are in fact retransmissions sent by the Nokia device. After the successful GPRS Attach, the Nokia device refuses to send an ACTIVATE PDP Context REQ. Most Nokia devices get asked for IMSI and IMEI during the GPRS ATTACH, which her does not happen. However, these retransmissions are characteristical for all Nokia devices I've tested so far (6021, C5, C7, E65, 3109c).
Is there a timing problem between osmo-sgsn and Nokia devices? Can I tune osmo-sgsn's parameters to make the connection work?
Any help would be appreciated.
cheers
Olaf
----------------------------------------
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Hello,
Does anyone have recommendations for obtaining SIM cards? I'm trying
to get at least 500, unprinted and unprogrammed. Ideally, I'd be able
to buy 1,000 (or more) cards for around USD$1,000 total, but I'd be
willing to go up to 5,000 cards if the price drops to something like
USD$0.50 per card.
Thanks!
--
Duncan Smith
http://xrtc.net/f/
Hi all!
This is the announcement for the 3rd incarnation of our bi-weekly
Osmocom Berlin meeting.
May 09, 7pm @ CCC Berlin, Marienstr. 11, 10113 Berlin
The schedule is as follows:
19:00 Introduction / Workshop on Osmocom SIMtrace (Kevin Redon)
Kevin will introduce SIM/USIM/UICC cards, present what SIMtrace
is and how it works, as well as how to use it to trace
communication between SIM card and phone.
20:00 Informal discussions
If you are interested to show up, feel free to do so. There is no
registration required. If the initial part is not interesting to you,
feel free to join us later at 20:00. The meeting is free as in "free
beer", despite no actual free beer being around ;)
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)