Dear list,
It seems that after the last 2-3 weeks massive committing storm, I
lost the ability to compile an interworking version of
OpenBSC/Osmo-BTS/Osmo-PCU because the Osmo-PCU and the Osmo-BTS cannot
connect anymore.
According to the wiki, I need to use "jolly/multi-trx" for Osmo-Abis
and "jolly/trx" for Osmo-BTS, and "jolly/testing" with OpenBSC.
Previously this setup was working, but now Osmo-BTS tells the PCU
socket is not connected, while the PCU is running with the correct
config on the same PC.
I also wanted to try "201409-trx" branch (moved back to master with
osmo-abis and openbsc for this one, otherwise I got errors during the
configuration phase), but I got compilation errors with Osmo-BTS at
RSL.c
If someone can point me in the right direction which branches should I
use to get an interworking copy with a B200, that would be awesome. I
am also happy to try the new branch "201409-trx" if someone can tell
me which branches to use for that too.
Thanks!
Csaba
Hi Steve and Max,
sorry for catching up that late. It is only now in my holidays that I
finally am able to find some time to read through the osmocom mailing
lists again.
On Wed, Mar 26, 2014 at 08:17:58PM +0100, Steve Markgraf wrote:
> On 26.03.2014 18:26, Max.Suraev(a)fairwaves.co wrote:
> > I've just noticed (yepp, I'm very observant :) that COPYING in
> > libosmocore is GPLv2. Is there any particular reason we still do
> > not use GPLv3?
libosmocore was started as a GPLv2+ project, in order to ensure maximum
compatibility to a variety of applications. Some free software
applications out there are still GPLv2, and we want them to be able to
use libosmocore.
* libosmocodec is pure GPLv2+
* libosmoctrl is pure GPLv2+
* libosmovty is pure GPLv2+
> Good point, git grep "either version 3" actually shows that there are
> quite some files that are GPLv3+, so the compiled and linked binaries
> already make use of the "or any later version" of the other GPLv2+
> licensed files.
This is actually a problem, and one that needs fixing.
1) libosmogb
Most of the hits are in libosmogb, as the libosmogb code was first
developed as part of (AGPLv3+) OpenBSC/OsmoSGSN and then migrated to
libosmocore.git reporitory to be also used from osmo-pcu, not just from
the SGSN side.
The majority of the osmo-pcu codebase appears to be GPLv2+, so linking
with a GPLv3+ libosmogb is fine. However, an AGPL libosmogb would not
be suitable.
I've reviewed the copyright ownership /authorship situation of libosmogb
and see if we can make sure that all authors agree to a GPLv3+ licensing
of it. Based on the review, we have the following copyright holders:
* Harald Welte
* Holger Freyther
* sysmocom (Jacob, Holger?)
* Andreas Eversberg
Holger/Andreas:
* Would you agree to license libosmogb under GPLv2+ or GPLv3+?
* Do you have any preference regarding v2+ or v3+?
2) libosmocore: strrb.c / loggingrb.c
These are the only two files of libosmocore, which claim to be GPLv3+.
I would personally consider this a mistake at the time, but I've
included Katerina in the Cc.
Holger/Katerina:
* Do you remember how and why this code states it is GPLv3+ instead of
the usual GPLv2+ in libosmocore?
* Was this intentional or a mistake?
* Irrespective of the past, would you agree to license strrb/loggingrb
under GPLv2+? If yes, I will commit the related code change
3) libosmogsm: gsm0411_smc.c und gsm0411_smr.c
This is due to jolly first writing them as part of osmoocomBB and then
later moving them to libosmocore.
Jolly: Can you please confirm if you are willing to license them under
GPLv2+ instead of GPLv3+ as indicated in the source code?
4) libosmogsm: the imported milenage code.
it is GPLv2 or BSD, so we have to use it under BSD license.
This should be indicated somewhere explicitly.
> So replacing COPYING with GPLv3 definitely would make sense imho.
See above, the devil is in the details, it's not that simple.
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 mister Harald,
thank you very much for your answer. I am an engineering student and I have started to work on my thesis.
I would like to perform a GPRS core network completely using virtual machine (virtual box based) and use it to prove that an operator can manage M2M traffic just using standard hardware, virtual machine and open source components (osmocom project ).
At this moment i deployed 4 virtual machine, one for each osmo component (osmoNITB, openGGSN, osmoSGSN) on the fourth VM I want to run the fakeBTS because I don't have a bts.
I would like to simulate it as if there are some M2M devices generate request(attach, pdp context for example).
When I try the communication between NITB and fakeBTS there are some error Messages related to RSL. Then there isn't communication between NITB-fakeBTS and SGSN-GGSN.
Do you detect any configuration error?
Thank you.
Best regard
Calo
-------- Original message --------
Subject: Re: GPRS core network simulation
From: Harald Welte <laforge(a)gnumonks.org>
To: calogero cannizzaro <can_ni(a)hotmail.it>
CC: "openbsc(a)lists.osmocom.org" <openbsc(a)lists.osmocom.org>
Hi Calogero,
* what is the goal / use case of your simulation?
* what exactly do you need to simulate?
* what is the input/output of the simulation?
In general, the vaious Osmo-* implementations are not designed for
simulation buy for actual network operation. So you will likely need to
implement quite a lot in order to use it in a simulation context. The
most important question is, that you need code that will behave as
actual handsets on a network, and code to manage all those virtual
handsets, tell them what they should be doing, etc.
--
- 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)
Currently BSSGP messages with an NS BVCI of 0 (signalling) are
discarded if they aren't RESET messages. Thus valid signalling
messages (e.g. BLOCK) are not handled properly, because the BVCI IE
is ignored if it present. Instead a STATUS message referring to BVCI
0 (instead of the BVCI used in the BLOCK message) is returned.
This patch changes the implementation to use the BVCI contained in
the BVCI IE if that is present in a signalling message.
It fixes BSSGP BLOCK/UNBLOCK for the osmo-sgsn.
Note that signalling messages without an BVCI IE (e.g.
SUSPEND/RESUME) are still rejected.
Ticket: OW#1205
Sponsored-by: On-Waves ehf
---
src/gb/gprs_bssgp.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/gb/gprs_bssgp.c b/src/gb/gprs_bssgp.c
index b8c6c74..0e9fd38 100644
--- a/src/gb/gprs_bssgp.c
+++ b/src/gb/gprs_bssgp.c
@@ -976,6 +976,7 @@ int bssgp_rcvmsg(struct msgb *msg)
struct bssgp_bvc_ctx *bctx;
uint8_t pdu_type = bgph->pdu_type;
uint16_t ns_bvci = msgb_bvci(msg);
+ uint16_t bvci = ns_bvci;
int data_len;
int rc = 0;
@@ -991,14 +992,17 @@ int bssgp_rcvmsg(struct msgb *msg)
rc = bssgp_tlv_parse(&tp, budh->data, data_len);
}
+ if (bvci == BVCI_SIGNALLING && TLVP_PRESENT(&tp, BSSGP_IE_BVCI))
+ bvci = ntohs(*(uint16_t *)TLVP_VAL(&tp, BSSGP_IE_BVCI));
+
/* look-up or create the BTS context for this BVC */
- bctx = btsctx_by_bvci_nsei(ns_bvci, msgb_nsei(msg));
+ bctx = btsctx_by_bvci_nsei(bvci, msgb_nsei(msg));
/* Only a RESET PDU can create a new BVC context */
if (!bctx && pdu_type != BSSGP_PDUT_BVC_RESET) {
LOGP(DBSSGP, LOGL_NOTICE, "NSEI=%u/BVCI=%u Rejecting PDU "
- "type %u for unknown BVCI\n", msgb_nsei(msg), ns_bvci,
+ "type %u for unknown BVCI\n", msgb_nsei(msg), bvci,
pdu_type);
- return bssgp_tx_status(BSSGP_CAUSE_UNKNOWN_BVCI, &ns_bvci, msg);
+ return bssgp_tx_status(BSSGP_CAUSE_UNKNOWN_BVCI, &bvci, msg);
}
if (bctx) {
--
1.9.1
Hi All,
I've started implementing reception of multiple channels of a BTS as
part of my gr-gsm project and I encountered little problem. C0 channel
(most probably) uses different training sequence than the rest of ARFCNs
from Cell Allocation. I'm not sure that this is the case. But if I
compute cross correlation I always get the strongest peak for a
different training sequence.
The training seqence number used on C0 is usually equal to BCC (BTS
Color Code) that is transmitted in SCH bursts (I've never seen different
situation in the wild). I can also find training sequence code of C0
transmitted on BCCH inside of Channel Description in System Information
Type 4 messages. Where BTSes transmit training sequence (/sequences) of
ARFCNs other than C0?
Best Regards,
Piotr Krysik
I everybody,
I’m a new subscriber. I have a question for you :
1.
Can i use FakeBTS to simulate a gprs core
network , using osmoNITB, osmoSGSN and
openGGSN, without BTS hardware?
2.
If not, can i simulate the core network without
BTS?
Many Thanks
Best regards.
C.Cannizzaro
Hello,
anyone can sell me a NanoBTS (Siemens BS-11 etc...) / Network in a Box
(UltraWAVE...) or other bts hardware (RangeNetworks, Ip.Access...) that
works with OpenBSC?
contact me at: ricardohassa [ at ] googlemail.com
I am living in germany