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!
With the help of graphviz, I have written a small perl-based tool that
allows you to generate ladder diagrams. It can be found at
git://git.osmocom.org/gen_ladder.git
For your reference, I'm attaching a sample input and output file.
The bent/curved arrows are a result of graphviz trying to indicate
that the message is between e.g. MS and MSC and 'bypasses' BTS and BSC.
I'm still waiting for somebody with more graphviz skills to make this an
option.
Hope this is useful for some of you...
--
- 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)
Hi!
Collin Mulliner, Tobias Engel and myself have been meeting yesterday to
discuss a generic application interface for OpenBSC.
They are both doing security analysis and want to achieve a clean way
how an external application can get access to a more or less transparent
communication channel to the phone.
The purpose of this is to be able to send intentionally malformed
packets to the mobile phone GSM stack at various different levels within
the stack.
As of now, they have both hacked some custom code into openbsc that gets
them half way where they want to be - but not quite all the way.
The requirements can be summarized as follows:
1) Ability to establish a SDCCH or TCH channel by paging the phone
As of now, the 'silent call' feature from the VTY already does this.
2) Ability to send arbitrary layer3 protocol messages to the phone
Adding this is relatively easy (use rsl_sendmsg on the lchan from the
silent call)
3) Ability to receive responses from the phone, as well as error
conditions such as 'readio link failure'. We don't have a solution
for this yet, and we also have no clean way to identify what might
be a response from the phone to the external app, and what might
be a message from the phone to the normal network code in OpenBSC
4) Ability to selectively disable partial protocol handling in
OpenBSC. Let's say you want to play with the mobile phone call
control implementation. In this case, you want to make sure all CC
related messages go from/to the external program and not from the
regular OpenBSC network code.
So what I've been thinking of as a solution to the problem:
* store a bypass_flags bitmask related to the subscriber structure,
where we indicate values such as BYPASS_RR, BYPASS_MM, BYPASS_CC,
BYPASS_SAPI3.
* if we process an incoming message from the MS in gsm0408_rcvmsg(),
we check if a bypass flag matching the message is found. If yes,
forward the message to the external program
* if we want to send a message from our own protocol stack to the MS,
we check if a bypass flag matching the message is found. If yes,
we drop the message that we were about to send.
* any messages received from the application will be forwarded to the MS
The application interface protocol will likely have a close resemblance
to RSL RLL. We need to exchange the following primitives with the
application, like:
* ESTABLISH REQUEST -- app requests a channel be established to MS (by IMSI)
* ESTABLISH CONFIRM -- network confirms a channel has been established
* ESTABLISH INDICATION -- network tells app connection was made by MS
* [UNIT] DATA REQUEST -- app requests data to be sent to MS
* [UNIT] DATA INDICATION -- network indicates data was received from MS
* ERROR INDICATION -- network tells app something went wrong
* RELEASE REQUEST -- app asks network to release channel
* RELEASE CONFIRM -- net tells app that channel was released (as rqd)
* RELEASE INDICATION -- net tells app that channel was released (by MS)
The channel_number of RSL (indicating on-air timeslot) doesn't make much
sense in this context, of course.
The link_identifier on the other hand is great as it allows the app to
indicate SDCCH/FACCH or SACCH as well as the SAPI.
The actual RSL-like protocol would be encapsulated by UDP and available
on a socket of the MSC.
What do you think?
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)
Dears,
Sorry for hijacking the thread , next time I will create new thread ...
I will try to bind using IP to avoid using SO_BINDTODEVICE ,and I will google IP_BOUND_IF as well.
Another issue is the linux command for vty which is the c function under linux called cfmakeraw which I removed from vty.c cause there is no library under SUN for that command or function to link with.
Can you please ensure that this commented line will not affect vty functionality ?
Thanks,
Omar atia
------Original Message------
From: Holger Hans Peter Freyther
Sender: openbsc-bounces(a)lists.gnumonks.org
To: openbsc(a)lists.gnumonks.org
Subject: OpenBSC on Solaris (WAS: Re: Notes from the 27C3 network)
Sent: Dec 31, 2010 11:28 AM
On 12/31/2010 12:30 AM, Omar Atia wrote:
> Dears ,, please help ::
Dear Omar,
please do not hijack threads, start a new one instead.
>
> in ipaccess-find.c , can we use bind instead of setsockopt cause solaries
> doesn't have SO_BINDTODEVICE defined in socket.h.
For ipaccess-find is sending a broadcast packet, so it is important to select
the physical interface it should be send on. For the user it is more
convenient to write the interface name then to remember the ip address of this
interface.
Does Solaris provide another way to bind to a specific interface? What about
IP_BOUND_IF? If that is not the case we could consider doing a normal bind and
bind to the interface via an ip...
z.
Sent via BlackBerry® from mtc touch
Hi all!
This subject came to my attention again recently: Why not relicense
OpenBSC under AGPLv3?
Right now we are licensing under GPLv2+ (v2 or any later version). However,
if an operator was to make lots of private modifications and then operate
it on his own network, there would be no distribution and thus no need
for him to release his modified versions of the source code.
This may sound a bit strange to those who have been with the project
since its early days. But we are reaching production quality now, and
we already have the first number of production deployments of the software.
Companies like Netzing and On-waves have been FOSS-friendly and funding
parts of our development effort. They have no issues with the result being
Free Software again. However, there are definitely other companies out
there who are less fond of sharing...
So thus my idea is to put OpenBSC under AGPLv3. This way whoever uses
OpenBSC _in modified form_ to operate a communications network will
have to provide the source code to that modified form on a network
server at no charge.
The only controversial question to me is "your modified version must
prominently offer all users interacting with it remotely through a computer
network (if your version supports such interaction) an opportunity to receive
the Corresponding Source".
1) does a gsm network count as computer network? i'd say yes.
2) is using a gsm network 'interacting with it remotely'? I'd also say yes
3) what does 'prominently offer' mean in the context of GSM? We don't want
the operator to spam their users with advertisement SMS just to know
that they can get the soruce code, after all.
Notwithstanding those open questions, such a network operator would always
have the option of simply sending back his changes for integration in the
official project - and thus he would no longer use a modified version which
then means there is no need for the prominent notice / download at all.
We can make this very clear in the project documentation, putting further
encouragement
The actual relicensing should be less problematic than I thought, since AGPLv3
is compatible with GPLv3.
So I could re-license all parts that I own copyright on (which should be
the majority of the code base anyway) under AGPLv3, while the former GPLv2+
components (like VTY code from zebra, or contributions by other people)
then become GPLv3-or-later.
Of course I would want to encourage all developers/contributors to also
follow the re-licensing. Particularly Holger Freyther, Dieter Spaar, Andreas
Eversberg, Jan Luebbe, Sylvain Munaut, Daniel Willmann, Stefan Schmidt.
So let's start with a poll:
a) Do you think re-licensing to AGPLv3 is a good idea?
b) If you have contributed, would you re-license your code under AGPLv3?
If we have some kind of concesus in the community, I would approach
On-waves whether they would want to do the same for their share of the
copyright. As their "modifications" are all part of OpenBSC git repository,
they would not be subject to any different conditions than before.
Thanks in advance for your feedback,
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 Holger,
On Fri, 31 Dec 2010 11:24:41 +0100, "Holger Hans Peter Freyther" <holger(a)freyther.de> wrote:
>
> If that is set on the socket for the telnet interface it does make a difference.
Just in case, Cygwin also misses cfmakeraw(), my private modification for
this is the following which is of course the same you quoted from the man
page.
#if defined(__CYGWIN__)
/* Workaround for Cygwin, which is missing cfmakeraw */
/* Pasted from man page */
void cfmakeraw(struct termios *termios_p)
{
termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
termios_p->c_oflag &= ~OPOST;
termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
termios_p->c_cflag &= ~(CSIZE|PARENB);
termios_p->c_cflag |= CS8;
}
#endif /* defined(__CYGWIN__) */
Maybe there is a Solaris-specific preprocessor symbol and we can add
this function to an appropriate place.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hi all,
here are some notes about bsc_hack as it ran on the 27C3. In day0 we
discovered a nice SQL injection bug, in day1 we had plenty of segfaults,
mostly in the error and time-out paths of the MSC (but also some in the BSC
API). These included crashes due clearing the channel and removing the ->lchan
from the conn, RLL time out handling in the SMS code and some more.
The network ran without segfault (only one crash due my stupidity on a new VTY
command) after this. The biggest issue as that SMS got stuck. Code review has
found some issues immediately but this didn't fix it. On more code review an
issue with the 'subscr_get_channel' was identified.
First of all the transaction layer just stopped paging requests, e.g. stopping
the paging for someone else's subscr_get_channel, then the Call Control code
never called subscr_put_channel when it is done. I have created two band aids
for this situation but there is a bigger issue with the code.
If somebody has spare time and wants to do some simple changes one can do:
1.) The subscriber layer passes the 'subscr' pointer to the paging layer, it
should pass the request to it.
2.) It should be possible to cancel channel requests that were not scheduled yet.
3.) Once we started auth on the channel the 'request' state should be changed
too. It is not right now due 1.).
4.) ....
--- openbsc-request(a)lists.gnumonks.org <openbsc-request(a)lists.gnumonks.org> schrieb am Mo, 27.12.2010:
Von: openbsc-request(a)lists.gnumonks.org <openbsc-request(a)lists.gnumonks.org>
Betreff: OpenBSC Digest, Vol 24, Issue 26
An: openbsc(a)lists.gnumonks.org
Datum: Montag, 27. Dezember, 2010 13:00 Uhr
Send OpenBSC mailing list submissions to
openbsc(a)lists.gnumonks.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnumonks.org/mailman/listinfo/openbsc
or, via email, send a message with subject or body 'help' to
openbsc-request(a)lists.gnumonks.org
You can reach the person managing the list at
openbsc-owner(a)lists.gnumonks.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of OpenBSC digest..."
Today's Topics:
1. RE: OpenBSC+LCR+Asterisk installation problem (Caleb Pal)
----------------------------------------------------------------------
Message: 1
Date: Sun, 26 Dec 2010 14:41:39 -0800
From: "Caleb Pal" <cleb(a)defcon-3.net>
Subject: RE: OpenBSC+LCR+Asterisk installation problem
To: "'jason mercury'" <jmercury313(a)gmail.com>,
<openbsc(a)lists.gnumonks.org>
Message-ID: <004901cba54e$0ffe0950$2ffa1bf0$@net>
Content-Type: text/plain; charset="us-ascii"
Are you using Asterisk 1.8? If so, you should checkout the asterisk_1_8
branch of LCR. LCR git was down, it is now back up at a slightly different
location, git://git.misdn.org/lcr.git/. mISDN and mISDNuser git are also at
the new path.
HTH,
Caleb
From: openbsc-bounces(a)lists.gnumonks.org
[mailto:openbsc-bounces@lists.gnumonks.org] On Behalf Of jason mercury
Sent: Thursday, December 23, 2010 8:15 AM
To: openbsc(a)lists.gnumonks.org
Subject: OpenBSC+LCR+Asterisk installation problem
Hi,
I am trying to install a OpenBSC+LCR+Asterisk system according to the how to
send to the mail list by Konrad Meier on Tue Oct 12 18:27:33 2010. During
installation of LCR I got following error:
make[1]: Entering directory `/home/idb/openbsc/lcr'
gcc -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc
-Wall -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\""
-DLOG_DIR="\"/usr/local/lcr\""
-DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC -c
chan_lcr.c -o chan_lcr.po
chan_lcr.c: In function 'lcr_indicate':
chan_lcr.c:2274: warning: assignment from incompatible pointer type
chan_lcr.c:2289: warning: assignment from incompatible pointer type
chan_lcr.c:2316: warning: assignment from incompatible pointer type
chan_lcr.c:2381: error: dereferencing pointer to incomplete type
chan_lcr.c:2382: error: dereferencing pointer to incomplete type
chan_lcr.c: In function 'load_module':
chan_lcr.c:2818: warning: passing argument 2 of 'ast_register_application2'
from incompatible pointer type
/usr/include/asterisk/module.h:427: note: expected 'int (*)(struct
ast_channel *, void *)' but argument is of type 'int (*)(struct ast_channel
*, void *)'
make[1]: *** [chan_lcr.po] Error 1
make[1]: Leaving directory `/home/idb/openbsc/lcr'
make: *** [all] Error 2
Why is this occur? My ubuntu kernel is 2.6.32-24-generic and i exactly
followed the steps. I am attaching that how to again.
I also couldn't git check out OpenBSC, LCR , mISDN, mISDNuser and i download
them from http://www.linux-call-router.de/download/lcr-1.7/. I want to ask
that why i can't git clone. When i try to git clone i take following:
git clone git://git.misdn.org/git/lcr.git/
Initialized empty Git repository in /home/idb/op/lcr/.git/
fatal: The remote end hung up unexpectedly
If any you have idea please help.
Thanks.
Jason.
Dear All,
I will introduce myself , It is Omar Atia from Lebanon , 8 years telecom
experience , willing to know more about open BSC , how can I get the sources
if it is free download them (not through unix), from where could I buy the
BTS stations are they available it has been sold out as written on the web
site . can we configure OpenBTS with OpenBSC ? is it configurable or not
tested yet .
I have a lot of questions related to this Area as I want to implement the
GSM network for testing purposes only to go deeply into it .
Thanks,,,
Omar Atia
TPSG - Functional Consultant
ITS Logo.png
T. + (961) 9 641555 ext. 416
M. + (961) 3 001294
F. + (961) 9 641555 ext. 217
degital signeture.pngE. <mailto:omar.atia@its.ws> omar.atia(a)its.ws
Hi,
I am trying to install a OpenBSC+LCR+Asterisk system according to the how to
send to the mail list by Konrad Meier on *Tue Oct 12 18:27:33 2010. *During
installation of LCR I got following error:
make[1]: Entering directory `/home/idb/openbsc/lcr'
gcc -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include
-I./openbsc -Wall -DCONFIG_DATA="\"/usr/local/lcr\""
-DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\""
-DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC -c
chan_lcr.c -o chan_lcr.po
chan_lcr.c: In function ‘lcr_indicate’:
chan_lcr.c:2274: warning: assignment from incompatible pointer type
chan_lcr.c:2289: warning: assignment from incompatible pointer type
chan_lcr.c:2316: warning: assignment from incompatible pointer type
chan_lcr.c:2381: error: dereferencing pointer to incomplete type
chan_lcr.c:2382: error: dereferencing pointer to incomplete type
chan_lcr.c: In function ‘load_module’:
chan_lcr.c:2818: warning: passing argument 2 of ‘ast_register_application2’
from incompatible pointer type
/usr/include/asterisk/module.h:427: note: expected ‘int (*)(struct
ast_channel *, void *)’ but argument is of type ‘int (*)(struct ast_channel
*, void *)’
make[1]: *** [chan_lcr.po] Error 1
make[1]: Leaving directory `/home/idb/openbsc/lcr'
make: *** [all] Error 2
Why is this occur? My ubuntu kernel is 2.6.32-24-generic and i exactly
followed the steps. I am attaching that how to again.
I also couldn't git check out OpenBSC, LCR , mISDN, mISDNuser and i download
them from http://www.linux-call-router.de/download/lcr-1.7/. I want to ask
that why i can't git clone. When i try to git clone i take following:
git clone git://git.misdn.org/git/lcr.git/
Initialized empty Git repository in /home/idb/op/lcr/.git/
fatal: The remote end hung up unexpectedly
If any you have idea please help.
Thanks.
Jason.
> The lcr side is less finished, especially
> * it will not drop all calls when the OpenBSC [socket] goes away
> * it will not re-connect if OpenBSC has disappeared
> I hope those can still be adressed properly ahead of 27C3. Andreas:
Not sure
> if you have some time to look at it. I'll be working on higher
priority
> items for the 27C3 deployment tomorrow...
hi harald,
good work. i hope we can complete it before 27c3. (my priority is on
packing/preparing for 27c3.) the missing things i will implement then.
also i will do the same thing for osmocom-bb. then i will merge
everything with the "develop" branch of lcr.
best regards,
andreas
hi ,
Im new to Open BSC .In your website it is given that
"have the BTS interoperate a SGSN with Gb (NS-over-IP) interface "
Does this mean that PCU Stacks(RLC/MAC,BSSGP and NS) are implemented
at the BTS. Does Open BSC support PCU stacks. Kindly respond.
Regards
Satish N
Hi!
I've finally taken up the taks to split the 'siamese twin' of linking
lcr with bsc_hack and replace it with a PF_UNIX, SOCK_SEQPACKET socket.
I've done quite a bit of testing and it seems to work fine. The bsc_hack
side is complete, i.e. it properly handles the loss of the lcr connection
and drops all CC transactions at that point.
The lcr side is less finished, especially
* it will not drop all calls when the OpenBSC [socket] goes away
* it will not re-connect if OpenBSC has disappeared
I hope those can still be adressed properly ahead of 27C3. Andreas: Not sure
if you have some time to look at it. I'll be working on higher priority
items for the 27C3 deployment tomorrow...
The openbsc code is in the laforge/mncc_sock branch of openbsc.git
The lcr code can be found in the mncc_sockk branch of the unofficial
lcr.git repo at git://git.osmocom.org/lcr.git
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)
> newbie question: what does this dmesg mean?
hi thomas,
this happens, if the user space process does not read from the b-channel
socket. since the b-channels have no flow control, the packets get
dropped and an error message is printed by the kernel. what program do
you use?
andreas
hi
someone please tell a linux newbie like me:
what this script does
and
how it is executed (hlrsync hlr.sqlite3 dont work)
i'm just at the beginning of learning pearl,python and other script
stuff
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
hello
after compiling the new software, bs11_config tells me for bts1 (the
working one):
bs11_config (C) 2009-2010 by Harald Welte and Dieter Spaar
This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY
LMT LOGON: ACK
PHASE: 3 Normal MBCCU0: Load MBCCU1: No Load
Abis-link: Restoring
BS11 ATTRIBUTES:
BS-11 ESN PCB Serial Number: 001104
BS-11 ESN Hardware Code Number: 135-2044/03.07
BS-11 ESN Firmware Code Number: 135-2044/03.07
PLL Set Value=1006, Work Value=1038
SITE MANAGER ATTRIBUTES:
E1 Channel: Port=0 Timeslot=1 (Full Slot)
TEI: 25
BS11 Line Interface ATTRIBUTES:
PLL Mode: Standalone
BS11 CCLK ATTRIBUTES:
CCLK Accuracy: High (1)
CCLK Type=0
BS11 Power Amplifier 0 ATTRIBUTES:
TRX Power: 30mW (GSM)
BPORT0 ATTRIBUTES:
Line Configuration: Multi-Drop (1)
BPORT1 ATTRIBUTES:
Line Configuration: Multi-Drop (1)
LMT LOGOFF: ACK
***************************************************************************
i set the bport multi thing on my own
the 2nd bts said this:
bs11_config (C) 2009-2010 by Harald Welte and Dieter Spaar
This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY
LMT LOGON: ACK
PHASE: 3 Normal MBCCU0: Load MBCCU1: No Load
Abis-link: Restoring
BS11 ATTRIBUTES:
BS-11 ESN PCB Serial Number: 001112
BS-11 ESN Hardware Code Number: 135-2044/03.03
BS-11 ESN Firmware Code Number: 135-2044/03.03
PLL Set Value=1073, Work Value=1073
SITE MANAGER ATTRIBUTES:
E1 Channel: Port=0 Timeslot=6 (Full Slot)
TEI: 26
BS11 Line Interface ATTRIBUTES:
PLL Mode: Standalone
BS11 CCLK ATTRIBUTES:
CCLK Accuracy: High (1)
CCLK Type=0
BS11 Power Amplifier 0 ATTRIBUTES:
TRX Power: 30mW (GSM)
BPORT0 ATTRIBUTES:
Line Configuration: Multi-Drop (1)
BPORT1 GET ATTR NACK
LMT LOGOFF: ACK
*****************************************************************************
as you can see, i set the port to 0 on both, bts1 works on ts1, tei 25
and bts2 on ts6, tei 26.
does this configuration match with the attached config-file?
unfortunately i couldnt test it thoroghly today, it was late :-(
there is a strange errormessage at the end of bts2 report, a possible
problem? anyway, i wasnt able to create a bport, neither in connected
nor disconnected mode
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
On Thu, Dec 16, 2010 at 5:33 AM, Sylvain Munaut <246tnt(a)gmail.com> wrote:
> But each time you have to search for whatever name the operator has
> for it (like "Home 3G" for SFR, or "Sure Signal" for Vodafone, ...)
>
In case this is helpful to anyone else, I stumbled on this page that has a
pretty good list of the providers using the various femtocells:
http://www.thinkfemtocell.com/Examples/where-can-i-buy-a-femtocell.html
Hi
One of our nanoBTSs startet to reboot very frequently.
The debug telnet console shows this error:
12168:WARN:OAM_RES:res_trx_status.c#231:TRX is not responding -
reinitialising the unit...
13251:DBG:OAM_IM:Stopping "Primary OML Fallback Client" >
13251:DBG:OAM_IM:Stopping "Secondary OML Server" >
13251:DBG:OAM_IM:Stopping "Secure Secondary OML Server"
13252:DBG:OAM_IM:Not stopping "IML Site Server" - has not been started
13252:DBG:OAM_IM:Not stopping "Secure IML Site Server" - has not been
started
13252:DBG:OAM_IM:Stopping "IML Bts Server" >
13252:DBG:OAM_IM:Stopping "Secure IML Bts Server"
13252:DBG:OAM_IM:Stopping "IRL Patched Routing Link"
13252:DBG:OAM_IM:Failed to inject event=1="STOP" into link source (token=9)
13284:DBG:IP_CHAN_SERVER:Closed server listening on port 3006 >
13284:DBG:IP_CHAN_SERVER:Closed server listening on port 3026>
13285:DBG:IP_CHAN_SERVER:Closed server listening on port 3014>
13285:DBG:IP_CHAN_SERVER:Closed server listening on port 3034>
13458:DBG:IP_CHAN_RX_A:15190:ipChanConn: EVENT 0x00001743 rxd in STATE
connected
13458:DBG:IP_CHAN_RX_A:15191:ipChanConn: EVENT 0x00001741 rxd in STATE
disconnectclosing
here is the output of openBSC
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,06) Sending OPSTART
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,07) STATE CHG:
OP_STATE=Disabled AVAIL=Dependency(05)
<0005> abis_nm.c:1970 Set Chan Attr (bts=0,trx=0,ts=7)
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,07) Sending OPSTART
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,00) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,01) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,02) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,03) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,04) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,05) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,06) Software Activated
Report
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,07) Software Activated
Report
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE
CHG: OP_STATE=Disabled AVAIL=Dependency(05) ADM=Unlocked
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff)
IPACCESS(0xe1): RSL CONNECT ACK IP=192.168.0.1 PORT=3003 STREAM=0x00
<0005> abis_nm.c:518 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=OK(ff) ADM=Unlocked
<0005> abis_nm.c:518 OC=RADIO-CARRIER(02) INST=(00,00,ff) Sending OPSTART
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,00) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,01) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,02) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,03) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,04) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,05) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,06) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,07) CHANGE
ADMINISTRATIVE STATE NACK CAUSE=Message cannot be performed
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) Failure
Event Report Type=processing failure Severity=warning level failure
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) Failure
Event Report Type=processing failure Severity=warning level failure
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) Failure
Event Report Type=processing failure Severity=warning level failure
Another nanoBTS with same firmware and config works perfekt with the
same openBTS installation.
Switching to the second firmware bank and flashing a different firmware
didnt solve the problem.
Any hint where to look for more information ?
mfg Peter
Hi, List!
I'm trying to connect OpenBSC with a real MSC.
Unfortunately I have many problems.
The first is, that every minute or so, I got these errors:
<000f> bsc_msc_ip.c:1047 The connection to the MSC was lost.
<000f> bsc_msc_ip.c:976 Lost MSC connection. Freing stuff.
<000f> bsc_msc.c:236 Attempting to reconnect to the MSC.
<000f> bsc_msc.c:230 Attempting to reconnect to the MSC.
<000f> bsc_msc.c:137 Attempting to connect MSC at 192.168.2.103:5000
<000f> bsc_msc.c:170 MSC Connection in progress
<000f> bsc_msc.c:99 (Re)Connected to the MSC.
<000f> bssap.c:92 Reset ACK from MSC
I think, it is not normal, that the communication with the MSC was lost.
Both of them (OpenBSC and MSC) are on the same Gigabit network, so
there is no connection problem...
Any idea?
Another problem: I get very oft the error:
<0000> chan_alloc.c:441 (bts=1,trx=0,ts=0,ss=0) Recycling Channel.
Any idea?
Thanks a lot!
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello(a)netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 23
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(a)netzing.de
Hi all,
i just wanted to keep you posted with the 2011 roadmap for 3G integration
into our "Free Software Mobile Network" stack. This message summarizes
the plan of what I expect to be working on. Comments welcome.
3G support directly in OpenBSC is, however, a bit more difficult than we
originally anticipated. The primary problems are:
* 3G and 2G share the same core network (CN = MSC/VLR/HLR/AuC/SGSN/GGSN)
but have different radio access netowrk (RAN = BTS+BSC vs. NodeB+RNC)
* the interface between RAN and CN is different, i.e. 'A' interface
(08.08) in GSM case, RANAP in 3G case.
* The encoding of the two protocols could not be any different. Hand-coded
vs. complex ASN.1 structures
So with OpenBSC, we face the following challenges:
1) We implement the GSM-RAN functionality and the CN in one process,
without any separation or standardized interfaces between them
2) Implementing RANAP in C can be done, but is probably quite cumbersome
given the tons of code asn1c generates and how difficult it seems to
get all the memory allocation/freeing right in all the cases
What we instead decided to do is:
a) Split the BSC part from the CN by implementing the A interface (this
is already finished, we now have osmo-bsc to do exactly that)
b) Implement a new MSC part, using the A interface towards the BSC
This is still possible using our existing code in the original
OpenBSC, though we have not completed/finished it yet.
The real goal is to have a new MSC, written in a higher-order language
that provides proper tools for working with ASN.1 - e.g. Erlang. I have
just started working on this and am more or less finished with the lower
layers like SCCP and am moving into 08.08 and the actual layer3 protocols.
There is already some initial funding secured for the first months of
this work, and funding will likely continue.
c) Once the 2G functionality of the Erlang MSC is working, add the RANAP
interface to it.
At this point we should more or less be able to directly
connect the Alcatel-Lucent femtocells, as they basically consist of
HomeNodeB plus an internal RNC handling the RRC protocol.
d) Adding support for ip.access/Cisco/AT&T will need an implementation of
their URSL protocol, which is proprietary. URSL can either be added
to the new MSC directly, or a URSL<->RANAP translater be developed.
e) Adding support for the Ubiquisys/SFR femtocell would require us to implement
the UMA protocol stack. This can once again be either done as part of
the MSC or using an external translator/gateway program.
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 all
2day i decided to install openbsc completely neu (had some trouble with
the bs11_config), according to the website. libosmocore went thru
without problems, openbsc came to the ./configure when the problem
occured. the error was:
./configure: line 3673: syntax error near unexpected token
`LIBOSMOSCCP,'
./configure: line 3673: ` PKG_CHECK_MODULES(LIBOSMOSCCP,
libosmo-sccp >= 0.0.2)'
of course i looked at line 3673, but i'm a linux newbie, so i didnt
really understand.
in the /usr/local/lib/pkgconfig are 3 files:
libosmocodec.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Osmocom Codec related utilities Library
Description: C Utility Library
Version: 0.1.27.16-ab12
Libs: -L${libdir} -losmocodec
Cflags: -I${includedir}/
libosmocore.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Osmocom Core Library
Description: C Utility Library
Version: 0.1.27.16-ab12
Libs: -L${libdir} -losmocore
Cflags: -I${includedir}/
and libosmovty.pc:
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Osmocom VTY Interface Library
Description: C Utility Library
Version: 0.1.27.16-ab12
Libs: -L${libdir} -losmovty
Cflags: -I${includedir}/
up to the configure call, everything worked fine, libosmocore was
complete installed. a makefile wasnt created -> bad!
what went wrong?
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
hi
to enable as many as possible of you to help me, heres what bs11_config
said (the old version):
bs11_config (C) 2009-2010 by Harald Welte and Dieter Spaar
This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY
LMT LOGON: ACK
PHASE: 3 Normal MBCCU0: Load MBCCU1: Load
Abis-link: Restoring
BS11 ATTRIBUTES:
BS-11 ESN PCB Serial Number:
BS-11 ESN Hardware Code Number:
BS-11 ESN Firmware Code Number:
PLL Set Value=1006, Work Value=1038
SITE MANAGER ATTRIBUTES:
E1 Channel: Port=0 Timeslot=1 (Full Slot)
TEI: 25
BS11 Line Interface ATTRIBUTES:
PLL Mode: Standalone
BS11 CCLK ATTRIBUTES:
CCLK Accuracy: Medium (0)
BS11 Power Amplifier 0 ATTRIBUTES:
TRX Power: 30mW
LMT LOGOFF: ACK
thats the working one, the non-working says exactly the same, except
pll(1073) and work(1073)
the abis link on the 2nd is also up, but handys dont find it. the
intension ist a multi drop config, but before that, the 2 bs11 should
work on its own, right?
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
Hi Holger,
After trying to checkout and build the OpenBSC using command git checkout
-b on-waves/bsc-master origin/bsc-master, we got error as
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/bsc-master' which can not be resolved as
commit?
So, may be we are not correct on the path or something else. can you please
advice, as we are not able to find bsc_msc_ip binary file.
On Thu, Sep 30, 2010 at 9:50 AM, Holger Hans Peter Freyther <
holger(a)freyther.de> wrote:
> On 09/30/2010 03:04 PM, tejas oza wrote:
> > Hi Guys,
> >
> > We are implementing the separate MSC module and we will be using the
> openBSC,
> > and we are mainly concerned for SMS services. So, I will be highly
> obliged if
> > you can provide us the documentation on openBSC code so that we can
> understand
> > the messages expected on separate MSC side from open BSC and the messages
> to
> > be sent from MSC to openBSC side.
>
> In the on-waves/bsc-master branch you will find a bsc_msc_ip binary that
> will
> be able to connect to a real MSC through somthing that is coined SCCP-Lite
> (SCCP encapsulated inside the ipaccess protocol).
>
> If you look at bsc_hack it has no connection to anything but the BTS, so
> the
> BSC/MSC/VLR/HLR functionality is implemented in one binary.
>
>
--
Thanks & Regards
Tejas Oza
--
Thanks & Regards
Tejas Oza
Hello,
second try to add support to bs11_config for bport0/1 configuration. This
time with enum abis_bs11_line_cfg.
It seems sometimes creating bport1 fails, even LMT shows create obj
greyed out. Don't know why yet.
Regards,
Daniel Willmann
Daniel Willmann (1):
Add {create,delete}-bport1 and bport0-{star,multidrop} to bs11-config
openbsc/include/openbsc/abis_nm.h | 10 +++++++++-
openbsc/src/abis_nm.c | 31 +++++++++++++++++++++++++++++--
openbsc/src/bs11_config.c | 26 ++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 3 deletions(-)
hello
i set one bs11 to ts 1, tei 25 and the other one to ts 6, tei 25(also
tried 26 with the 2nd), according to openbsc.cfg.2-2. the cabling is
also correct, due to a schematic from harald. but the 2nd bs11 not
recognised.
the funny thing ist, when i configure the 2nd bs11 exactly like the 1st
one(the working one, ts 1, tei 25), it don't work. the parameter from
bs11_config query are the same like the 1st, but i don't get the abis
link up
--
Wer Rechtschreibfehler findet, darf sie behalten!
Hello Christian,
Thank you very much for the links.
On Sun, 12 Dec 2010 19:22:41 +0100, "Christian Vogel" <vogelchr(a)vogel.cx> wrote:
>
> There are a few. My Trimble Thunderbolt can give you doppler and
> codephase (gps often calls it "pseudorange").
Thats interesting, the ublox 5 GPS module I was playing with only
provides those data if you have the so called "raw data premium
feature" enabled (whatever this means, I have not yet looked at
the details).
> Sparkfun sells "only the frontend" (mixer, 1-bit ADC, USB)
> with sourcecode available in a book and on DVD (WTF?!)
>
> ---> http://www.sparkfun.com/products/8238
Interesting device, I wasn't aware of it (I know about the book).
Is the Source Code of the book available ? So far I have only
seen some material for download at the following site, not sure
if there is the whole content of the DVD:
http://kom.aau.dk/project/softgps/
Would be interesting to use the code with a USRP.
> There's actually quite a lot of information out there,
> but there also seem to be quite a lot of half-abandoned
> projects (and a few seem to have vanished since the last time I had
> an interest in it around 2005).
I had a short look at some but always had the impression that
it is not exactly what I am looking for. I guess I should try
to get a GPS receiver which provides the required data, thats
probably the easiest approach.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hello Harald,
On Sun, 12 Dec 2010 17:01:22 +0100, "Harald Welte" <laforge(a)gnumonks.org> wrote:
>
> Pretty interesting. If only I had the time to implement it ;)
I don't think that implementing is the hard part, debugging is. You
send data which might be wrong due to some bugs in your code into a
"black-box" which does something with the data. The "black-box" will
not tell you if your data are wrong, if they are, it might just take
longer till any results are returned. So you are not sure if you are
doing the things right.
I conclude the above from my experience so far: Even phones with very
extensive tracing capabilities don't tell you much about what is going
on during their GPS position calculations. And at least I am not aware
of a GPS server I have access to who will provide those data required
for an "MS-assisted" measurement so that one could compare the own
calculation against a reference.
If someone know about a server providing those data (I am not
talking of things like "almanac" or "ephemeris" here) or knows
about existing source code to do the calculation, I would like
to know.
BTW, the book "Server-Side GPS and Assisted-GPS in Java" contains
a few nice chapters, one should not care about "Java" in the title,
only the examples are written in Java.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hi all,
I believe I have finally figured out how this 'MS assisted' RRLP mode works.
Not sure if I am the first or the last one to understand it, just wanted to
share what I know:
Just to recap, RRLP has three modes:
* E-OTD of different BTS signals (AFAIK not used)
* MS-based GPS positioning (optionally with assistance data from the GSM net)
* MS-assisted GPS positioning (what I'm talking about now)
On Wed, Dec 08, 2010 at 08:53:48AM +0000, Dieter Spaar wrote:
> This is from the RRLP specification, those are some of the data for
> assisted measurements (those "low-level" data I refered to):
>
> Data sent to the phone (for every satellite)
>
> Doppler
> Doppler uncertainty
> Code phase
> Int code phase
> GPS bit number
> Code phase search window
> Azimuth
> Elevation
Basically this tells the phone:
* which doppler shift to expect (result from movement speed of satellite),
typically in the range of +/- 5kHz of the GPS L1 frequency
* the 'code phase', i.e. the difference between a certain GSM bit (in a
specified timeslot/frame number/bcch carrier) and a specified GPS bit
(TOW, bit, chip, ...)
* which azimuth/elevation to expect (not sure how the phone should use this,
unless it knows the orientation of the antenna and has a MIMO receiver)
what happens now is that the MS will lock onto one specific satellite. It can
do this quickly, as it altready knows
* a certain doppler frequency shift (range)
in which it should apply a known scrambling code sequence (the satellite
number corresponds to a given pseudo-random sequence), and the
* expected 'code phase', i.e. the difference between the time at which a
certain bit is transmitted on the BCCH carrier of a GSM cell, and which chip
of the given satellite will be expected to be received within the GSM cell.
Once it acquires the signal, it will measure the number of whole (and
fractional) GPS chips that it has observed between
* the start of a given GSM frame number (called 'reference frame') and the
* wrap of the GPS 1023bit pseudo-random sequence
This is then sent back to the network:
> Data sent back from the phone (for every satellite)
>
> Carrier Noise Ratio
> Doppler
this is the actually measured doppler shift for this satellite in the MS receiver
> Whole Chips (0..1022)
> Fractional Chips (0..1023)
and this is the number of GPS chips between the wrap of the GSM reference frame
number and the wrap of the GPS 1023 bit chip sequence. The specification
states "The resolution of the fractional portion is approximately 0.3m"
So all the phone actually ever does is measurement of timing difference. It
will never try to decode the actual GPS signal at all.
The network (SMLC) can then compute the GPS position, as it can get the timing
information for all the satellites the phone has received, and it already knows
all the other data (almanac/ephemeris/...) from a local database and/or its own
reference receiver.
Pretty interesting. If only I had the time to implement it ;)
--
- 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 still don't know how 2 bs11 in multi-drop config are connected
correctly. nothing's to find on openbsc.com.
someone may send a schematic to me, please.
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
hello
how do i set the tei and timeslot for a bs11? of course i know
bs11_config and the tei_oml parameter, but it don't seem to work. i
tried ./bs11_config tei_oml 4 30 and 30 4 (to set the timeslot to 4 and
tei to 30). but when i query the bs11, it still says timeslot=1 and
tei=25. I tried it with and without disconnection of the bs11.
how do i call bs11_config correct for that purpose?
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!
Hi all,
this is just a general request to everyone with git commit access on
the OpenBSC / Osmocom repositories.
I would appreciate to restrict the use of 'git merge' to the absolute
minimum neccessarry, as it makes the commitlog and timeline much harder
to understand.
If you're working on some private branch on a particular feature, please
rebase that private branch on current master before pushing the changes.
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)
This is a Mailman mailing list bounce action notice:
List: OpenBSC
Member: Barrie.Mcclarity(a)zeusmail.org
Action: Subscription disabled.
Reason: Excessive or fatal bounces.
The triggering bounce notice is attached below.
Questions? Contact the Mailman site administrator at
mailman(a)lists.gnumonks.org.
> Andreas: Do you have some SuperSIM to test the new pySIM patch mode
and
> integrate it with OpenBSC? If not, I will send you some sample cards
monday
> next week.
please send me some cards. i have not followed the pySIM talk in the
mailing list. what reader do i need?
Hi Holger,
If you remember we are the students from Uppsala University Sweden.
I am glad to inform you that we have done with our project. We have
successfully implemented SMS capable MSC and VLR in Erlang, integrated with
Mobile Arts SMSC, HLR and OpenBSC.
We are also planning to make our project Open source and will inform you as
soon as we will finalize it.
--
*Thanks & Regards
Tejas Oza
Masters in Computer Science,
Department of Information Technology,
Uppsala University, Sweden.*
Hi Daniel,
i am occasionally browsing the commitlog of the daniel/controlif branch
and am wondering what exactly is happening there.
It seems much more to me that 'controlif' is about reimplementing a lot
of the functionality that already exists in the VTY, which I think is bad.
My original understanding of the idea of SNMP support was:
1) we mostly want to export counters that we already have, but in
a consistent/machine-parseable way. This is read-only
2) we may want to have traps
3) we have some (few!) things like rf_lock which should be issued (written)
by the external SNMP process.
Has the focus changed since this last discussion? Can anyone explain why
that is?
Even if we suddenly have a need for a lot of write/modify type settings from
the SNMP side, we should not have two ways how to modify a single parameter
inside OpenBSC. In that case we may need some code that can sort-of
automatically 'export' all controlif parameter to the VTY, and remove the
current code that sets this parameter from the VTY.
Any ideas?
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)
Hi, list!
I'd like to try to compile OpenBSC with the A-over-IP in order to
connect it to a real MSC.
I found this document:
http://openbsc.osmocom.org/trac/wiki/OpenBSCWithSCCP
But when I try to get the branch I get an error:
$ git checkout -b on-waves/bsc-master origin/bsc-master
git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'origin/bsc-master' which can not be
resolved as commit?
Is now this project in another branch? Can someone say me, what I have to
do to compile it?
Thanks a lot!
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello(a)netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 23
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(a)netzing.de
Hi,
I'm now having another look at implementing MT ciphering.
For this, I need to work inside the paging system.
What I'd like is that the MSC part instead of ever using
paging_request directly, that they all use subscr_get_channel.
Then this would also encapsulate securing the channel and only call
the call back when the channel has been ciphered and is ready for the
MSC part.
This requires making some gsm_04_08 call inside the
subscr_get_channel, so I need to move that call to the 'msc' side of
gsm_subscr.c
To me, it makes sense. I don't see in what context a BSC would use
get/put channel ... the BSC doesn't decide, it's just ordered what to
do by the MSC IIUC.
I would then also replace all calls to paging_request in gsm_04_08.c
by calls to subscr_get_channel.
And also move the "paging_succeded" signal dispatch to the
subscr_get_channel call back and not directly from gsm_04_08_utils.c
(since that signal is used currently to trigger SMS delivery and other
"side" things when we have a channel, it's more a MSC thing).
Finally, I'd need to pass the msgb paging response all the way to the
paging callback because it contains important field to enable
ciphering.
Any objections to this plan ? Did I miss something ?
Cheers,
Sylvain
hello
the cables are built, now i want to use 2 bs11 in multi drop config. how
do i connect the 2 bs11? the e1 comes from the pc to the 1st bs11 left
half, left tx, right rx(front view). now i'm on the right half: to which
port are the 2 bnc port from the 1st to the 2nd bs11 to be connected? i
tried the 2 possible combinations, didn't work (with the
openbsc.cfg.2-2). the 2 bs11 are both set to tei=25 (bs11_config told me
so)
a schematic would be perfect.
second problem: the timer instructions in the openbsc.cfg.2-2 are not
executable, the bsc_hack program stops there. i had to remove them.
what's the matter with that, why don't these timer instructions work?
answers in german *very* welcome!
--
Wer Rechtschreibfehler findet, darf sie behalten!
Hi to all,
In order to execute two bsc_hack at the same time i have changed port for
oml link from nv_put_oml() function in ipaccess_config.c and i also changed
oml port from ipaccess.h . When i configure nanoBTS with ipaccess_config i
can establish two different oml link between two bsc_hack and two nanoBTS.
rslHowever, they can not establish link at the same time. I could not find
where can i change rsl port of nanoBTS. I have searched the wiki and i could
not find a nanoBTS message to change the port specified for rsl link. Could
anyone give me some information about this?
Thanks.
Jason
I am trying to get OpenBSC working with Asterisk for a class project. I
have a NanoBTS DCS1800. I was hoping to get this to work entirely over
Ethernet, as the server is running on a controlled VM cluster with no way of
getting an add-on ISDN card in.
I have attempted to follow the OpenBSC+LCR+Asterisks route. But as
expected, LCR gives me issues when it does not find an ISDN card. I am not
familiar with LCR to tweak it. Can I use LCR without an ISDN card? What
should I look into to get this done?
I have also attempted to modify the asterisk chan_openbsc code to comply
with the libosmo break off earlier this year. With a few Makefile
adjustments, include a few more header files, and strip out some debuging
code, everything will compile. However, asterisk seg faults when the module
loads. The gdb output is:
Program received signal SIGSEGV, Segmentation fault.
0xb72fcd1d in cmd_execute_command_strict (vline=0x83d4c88, vty=0x83c2450,
cmd=0x0) at command.c:2000
2000 cmd_vector = vector_copy(cmd_node_vector(cmdvec,
vty->node));
I am not familar with this code, so all I can do is comment out things in an
attempt to debug. Eventually I keep it from crashing, and the nanoBTS will
make contact with the driver. However, since the code that gets commented
out also involves loading the cfg, the BTS does not get bootstraped. This is
all running on Gentoo, though I have also tried on Debian and Ubunto.
Any help would be appreciated.
Hello Andreas,
On Sun, 05 Dec 2010 00:28:27 +0100, "Andreas Galauner" <andreas(a)galauner.de> wrote:
>
> Also, the network sometimes is hard to find on the mobile phones. We
> blame a bad calibrated oscillator for that. As soon as we got an HFC-S
> card, we will try to recalibrate it.
As I mentioned here a few days before, its usually enough to
reset the PLL "work value" to its "set value" with bs11_config
("pll_workvalue" command) and set the PLL to standalone
("pll_standalone" command).
> Is it possible that all those problems show up because of the
> oscillator? And why did it work really well on Thursday?
I don't think that the problems with calls are related to the
oscillator, I would expect that this is related to the misdn
errors you see. Maybe the ISDN cable termination is not set
properly ?
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hello everybody,
this is my first post to this list. I've been reading it for a while now
and I'm finally trying to get a bit deeper into GSM.
We have a BS11 in the C4 (Chaos Computer Club Cologne) which I got fully
working on Thursday this week.
We had several mobile phones in the network and called each other and we
could send and receive sms. All fine.
Today I wanted to test another few things and everything got weird:
I have 2 mobile phones authenticated in the network. One phone can call
the other one, it rings and after accepting the call, the first still
plays the "ringing sound", while everything on the second is silent.
Vice versa, if I call the first mobile from the second, it dials
endlessly. Sometimes OpenBSC segfaults. Before it does that, it tells me
on the console that timer T303 expired.
Another thing are those masses of "mISDN_send: error -12" messages in
the kernel log. We got those on Thursday, too but they weren't important
to us, because everything worked.
Nevertheless, sending and receiving SMS still works.
Also, the network sometimes is hard to find on the mobile phones. We
blame a bad calibrated oscillator for that. As soon as we got an HFC-S
card, we will try to recalibrate it.
Is it possible that all those problems show up because of the
oscillator? And why did it work really well on Thursday?
So far, I tried a few obvious things like rebooting, both the computer
and the BS11, cleaning and recompiling everything and I even deleted the
old HLR database.
I really don't know what to do else. <Insert helpless cry here> ;)
Does anybody of you have an idea what I can try?
We are running the latest OpenBSC from the git on a Debian testing with
a stock 2.6.32-5 kernel on i686.
Greetings,
Andy
Hello All,
Herr Thomas had raised up a discussion about problem with setting of BTS power attribute value.
In connection with this question, I recall another problem which has occurred with one of my BTS's.
It has a very strange behavior. Its output power is set to 2W. My measure device
tells me that receive level at the desired channel is about -24 dBm after station boot-up.
This value is very good, no other base station around shows better results.
But right after the very first GSM call the receive level quickly jumps down to -70 or
even -80 dBm, this value corresponds to 30mW of output power. BTS station still works
and output power is still shown as 2W.
This effect had been discovered with only one of my BTS stations, while other stations work well.
Does it mean that it's a hardware problem? Has anyone discovered this problem earlier?
Best Regards,
Sergey.
Hi,
I like to perform a TCH BER Test for nanoBTS via R&S CMU300. Does anyone know how to configure the nanoBTS using ipaccess-config to perform this BER test?
Thanks!
EGU
Hello Sergey,
On Thu, 2 Dec 2010 21:08:09 +0300, "Sergey V. Efimoff" <risky(a)mail.ru> wrote:
>
> I had once or twice seen BTS stations which had working PLL value
> very different from calibrated value. In order to get them close I had to
> use E1 hardware with high precision oscillator, then switch the
> hardware to the PLL-locked mode. This operation took me plenty
> of time.
>
> Please tell, is it possible to set the working PLL value directly?
Yes, bs11_config supports this. Its the "pll-workvalue" command. The
way how the PLL workvalue could be set was not obvious so it took a
while till we found out how this could be done. Thats the reason why
it took quite long till this command was introduced.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hello Sylvain,
On Thu, 2 Dec 2010 15:20:07 +0100, "Sylvain Munaut" <246tnt(a)gmail.com> wrote:
>
> The clock of the non working one might just be too off ...
>
> See http://openbsc.osmocom.org/trac/wiki/isdnsync for a tool to
> calibrate (with appropriate HW).
>
> If you don't have the equipement ... huh, good luck.
> You can always try random values until it works.
> If you have a USRP you can try to lock onto it and compare offset ...
Its possible to set the clock calibration to a fixed value, this was
a feature introduced a while ago. The original clock calibration
setting workes pretty good, at least from my experience. So if the
clock is off due to using the E1 clock as a reference, it should be
enough to set the orginal clock calibration value and switch the
PLL to standalone mode.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hello all,
I'm going to be giving a presentation about free software GSM
implementations at the FSFE's Berlin meeting on December 9th, 2010. It
will be very elementary and newcomer-friendly. I'm planning to go
over OsmocomBB, OpenBTS and OpenBSC, and discuss their security and
practical implications.
The talk will start at 19:30 in Newthinking Store Tucholskystr. 48,
10117 Berlin. You can find more about it on
http://aligunduz.org/blog/free_gsm_talk_next_week.html
Considering I'm not an expert on GSM myself, it would be nice to have
people more familiar with it in attendance.
Ali Gündüz
On 12/01/2010 05:10 PM, Holger Hans Peter Freyther wrote
>* we still use the global bsc_gsmnet in many places. We need to remove that
to
*>* allow something like this.*
Is it a too much difficult process? Should i try to do this and where should
i start?
On 12/01/2010 05:07 PM, Sylvain Munaut wrote:
* >That's an option. See nv_put_prim_oml in ipaccess-config.c*
I think this is for changing the port of nanoBTS. Where should i modify the
port for bsc_hack?
Thanks.
Jason
**
*
*
hi
my 2nd bs11 doesnt work. the boot screen from bs11_config looks like
this(attached pic). both boot screens look like that, the operational
one too. the 2 bs11 are connected identical, the software is the same.
one works, the other doesnt. bad! the bootstrapping works on both, but
the handy can only detect the one of two bs11.
troubleshooting advices are welcome, openbsc website was no help
T.
--
Wer Rechtschreibfehler findet, darf sie behalten!