== OsmoCon 2018 ==
OsmoCon (Osmocom Conference) 2018 is the technical conference for
Osmocom users, operators and developers!
We are happy to announce the date of OsmoCon 2018. It has been scheduled
on October 18 + 19, 2018 and will happen in Berlin, Germany.
For the second time, the Osmocom Conference brings together users,
operators and developers of the Osmocom Open Source cellular
infrastructure projects, such as OsmoBTS, OsmoBSC, OsmoSGSN, OpenGGSN
and others.
Join us for two days of presentations and discussions with the main
developers behind Open Source Mobile Communications, as well as
commercial and non-profit users of the Osmocom cellular infrastructure
software.
You can find some initial information in our wiki at
http://osmocom.org/projects/osmo-dev-con/wiki/OsmoCon2018
which will be updated as more information becomes available.
== Call for Participation ==
We're also at the same time announcing the Call for Participation and
call on everyone with experiences to share around the Osmocom member
projects to submit talks, workshops, discussions or other proposals.
You can find the CfP at https://pretalx.sysmocom.de/osmocon2018/cfp
We are particularly looking for contributions about:
* updates on features/functionality/status of individual Osmocom projects
* success stories on how Osmocom projects are deployed in practice
* migration from OsmoNITB to the post-NITB architecture
* tutorials / workshops on how to setup / analyze Osmocom projects
* statistics, reporting, operations aspects of Osmocom projects
* third-party open source utilities to be used with Osmocom projects
Looking forward to meeting many existing and new Osmocom users at OsmCon
this October!
Regards,
Harald Welte
--
- 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,
I have recently tried migrating an OsmoNITB setup to the new standard using mostly this guide right here: https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_I… <https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_Network_I…>
However, while my nanoBTS works perfectly fine in the old setup, it just doesn not work at all in the new one. When I start osmo-bsc the LED on the BTS starts flashing green after a few seconds and then stops flashing and just stays green all the time, which is the expected behaviour. Unfortunately though, after another couple of seconds, the LED starts flashing green again and then turns red.
This is what the log shows:
BTS 0: Failure Event Report: Type=processing failure, Severity=critical failure, Probable cause=Manufacturer specific values: Fatal software error, Additional Text=l2_bch.c:1154
****
** l2_bch.c#1154:BCHbcchSItypeValid( prim_p->infoType )
** IPA_SW_FATAL_ERROR
** In task "TRX Proc:L2_BCH" @ (1063).
****
.
BTS 0: Failure Event Report: Type=processing failure, Severity=critical failure, Probable cause=Manufacturer specific values: Fatal software error, Additional Text=TRX Proc:L2_BCH:l2_bch.c#1154 (1063).
BTS 0: Failure Event Report: Type=processing failure, Severity=warning level failure, Probable cause=Manufacturer specific values: Software warning, Additional Text=31385:WARN:OAM_RES:trx_fatal_error_log.c#255:TRX has logged the error:
.
BTS 0: Failure Event Report: Type=processing failure, Severity=warning level failure, Probable cause=Manufacturer specific values: Software warning, Additional Text=31385:WARN:OAM_RES:trx_fatal_error_log.c#256:TRX Proc:L2_BCH:l2_bch.c#1154 (1063)
.
BTS 0: Failure Event Report: Type=processing failure, Severity=critical failure, Probable cause=Manufacturer specific values: Fatal software error, Additional Text=BCHbcchSItypeValid( prim_p->infoType ).
BTS 0: Failure Event Report: Type=processing failure, Severity=warning level failure, Probable cause=Manufacturer specific values: Software warning, Additional Text=31385:WARN:OAM_RES:trx_fatal_error_log.c#260:BCHbcchSItypeValid( prim_p->infoType )
20180328072641280 DLINP <0013> input/ipaccess.c:247 Sign link vanished, dead socket
20180328072641281 DLINP <0013> input/ipaccess.c:71 Forcing socket shutdown with no signal link set
20180328072641282 DCTRL <000e> osmo_bsc_ctrl.c:160 No more BTS connected, sending TRAP.
Now I'm not claiming that my config is already 100% correct but I feel like this isn't a configuration issue. I'm using the most recent nightly builds of the entire osmocom library.
Does anyone know what could be at fault here?
Kind regards,
Michael Spahn
Hi
How to implement RRLP with Openbsc ? I have read that it can be done
through Osmocom-LCS but it gives error on compiling.
In short how to implement osmocom-LCS with openbsc ?
Osmosom-LCS is not getting compiled !!!
Thanks.
Hello folks,
I have a strange behavior when the a MS send a Location Update, it is often
rejected.
I think the the problem is the "Rx GSUP LU Result without LU in progress"
(see log further).
It's weird because in the point of view of the HLR it seems OK :
- message 0x04 Update Location Request followed by 0x10 Insert
Subscriber Data Request
- message 0x12 Insert Subscriber Data Result followed by 0x06 Update
Location Result
Is anyone experiencing the same problem?
I will investigate in the code to see if I found something with the state
machines or timers, if I found more detail, I will post them.
Have a nice day,
Antony
Here is a extract of the logs of osmo-msc :
20180423132534278 DBSSAP <0010> a_iface_bssap.c:268 Rx BSSMAP COMPLETE L3
INFO (conn_id=4)
20180423132534278 DVLR <000e> vlr.c:388 New subscr, TMSI: 0xb35bd0aa
20180423132534278 DMSC <0006> a_iface_bssap.c:351 User has been accepted by
MSC.
20180423132534748 DVLR <000e> gsm_04_08.c:3729 SUBSCR(MSISDN:1) VLR: update
for IMSI=206012225318490 (MSISDN=1, used=2)
20180423132534748 DVLR <000e> vlr.c:769 SUBSCR(MSISDN:1) Rx GSUP LU Result
without LU in progress
20180423132539279 DMM <0002> subscr_conn.c:110
Subscr_Conn(LU:3009138858)[0x1387410]{SUBSCR_CONN_S_AUTH_CIPH}: Close
event, cause: CONGESTION
20180423132539279 DMM <0002> gsm_04_08.c:217 Subscriber
IMSI:206012225318490: LOCATION UPDATING REJECT
20180423132539279 DMM <0002> vlr_lu_fsm.c:728
Subscr_Conn(LU:3009138858)[0x1387410]{SUBSCR_CONN_S_RELEASING}: Event
SUBSCR_CONN_E_CN_CLOSE not permitted
20180423132539279 DBSSAP <0010> a_iface.c:419 (subscr IMSI:206012225318490,
conn_id 4) Tx BSSMAP CLEAR COMMAND to BSC
20180423132539281 DBSSAP <0010> a_iface_bssap.c:241 (subscr
IMSI:206012225318490, conn_id 4) Rx BSSMAP CLEAR COMPLETE, releasing SCCP
connection
Hi!
In case anyone wants to analyze GSUP protocol traces of Osmocom networks: The
related dissector has just been merged mainline two days ago:
https://code.wireshark.org/review/25477
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)
Dear list,
I'm having trouble using the A5/3 encryption in my setup. A5/1 works perfectly fine [attachment a5_1.pcapng]. As soon as I switch to A5/3 and e.g. send an SMS, the last valid message I see in the Wireshark traces of the GSMTAP of osmo-bts-trx is the Ciphering Mode Command requesting A5/3. After that, several messages arrive at the bts, but it seems like it can't make any sense of them. The MS repeatedly tries to send the SMS but never succeeds [attachment a5_3.pcapng]. Both MSs are connected to the same bts.
According to the Classmarks of all MSs, A5/1 as well as A5/3 are supported.
This is my Setup:
- USRP N210
- osmo-trx
- osmo-bts-trx
- osmo-nitb
- osmo-pcu
- osmo-sgsn
- osmo-ggsn
I'm using a Debian 9 VM and tried both the packages from osmocom-latest as well as osmocom-nightly.
The MSs I've tested are two Nexus 6 and one Samsung Galaxy S I9000. All three with sysmocom nano USIMs.
Could the decryption at the bts be incorrect? Has anyone tested/used it recently?
I'll be happy to provide additional information if needed.
Thanks,
Jan
Hi All,
We are experiencing Segmentation Fault intermittently in OSMO-BSC.
We were able to create a crash file and enabled the debug in all logs of OSMO-BSC.
We are using Ettus B210, intel UPBOARD and running in UBUNTU 16.04.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Attached are the debug log file, core dumped file (URL provided for download), config files used, lshw, and lscpu output.
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 92
Model name: Intel(R) Pentium(R) CPU N4200 @ 1.10GHz
Stepping: 9
CPU MHz: 800.000
CPU max MHz: 1101.0000
CPU min MHz: 800.0000
BogoMIPS: 2188.79
Virtualization: VT-x
L1d cache: 24K
L1i cache: 32K
L2 cache: 1024K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dtherm ida arat pln pts
We also installed the OSMOCOM elements using source and save in the /usr/local directory.
https://www.dropbox.com/s/pedh1zshhe5kmuc/core?dl=0
Best Regard,
Ron Menez
ron.menez(a)entropysolution.com<mailto:ron.menez@entropysolution.com>
Dear fellow Osmocmo developers,
for many months it was required to cherry-pick a "HACK" patch to make
the BSC tests work, presumably to work around a bug in libosmo-abis, see
https://osmocom.org/issues/2718
As it turned out, libosmo-abis was not wrong, but my IPA_Emulation.ttcn,
so it was good to not merge that "HACK" and keep it out of master.
In Change-Id: I6d9eaf0d69457caacc03b9049a8bc57976480617 which was just
merged to osmo-ttcn3-hacks master I have fixed that bug in
IPA_Emulation.ttcn, so now the unmodified master of osmo-ttcn3-hacks
will run fine.
I'll remove the cherry-pick from our Dockerfiles, but please do make
sure you also stop using it in your local clones/branches/scripts.
--
- 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 All,
Can anyone confirm if the maximum MO-SMS that can be sent is less than 60 characters including spaces?
For OSMO-NITB, we reach a maximum of 59 characters for MO-SMS, while for OSMO-BSC, we only reach a maximum of 50 characters (MO-SMS).
Is this a known issue?
TIA.
Best Regard,
Ron Menez
ron.menez(a)entropysolution.com<mailto:ron.menez@entropysolution.com>
Hi,
> get Service Category Information Element for a call
> (description in TS 124 008 V13.7.0 10.5.4.33)
According to the mentioned specification, this IE is an optional
part of SETUP message. So, your assumption:
> it is somewhere within gsm_04_08.c
is correct. Have a look at the gsm48_cc_rx_setup():
> /* emergency setup is identified by msg_type */
> if (msg_type == GSM48_MT_CC_EMERG_SETUP)
Emergency calls are also handled there.
The following IEs are handled:
> if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_CALLED_BCD)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_CLIR_SUPP)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_CLIR_INVOC)) ...
> if (TLVP_PRESENT(&tp, GSM48_IE_CC_CAP)) ...
So, you need to implement checking for the Service Category IE
yourself. It has 0x2e tag, and doesn't seem to be supported by
libosmocore. You would also need to implement parsing of the
payload yourself.
Contributions are welcome ;)
With best regards,
Vadim Yanitskiy.
Dear all,
At the moment we are doing some development works on the basis of ‘Osmocom/OpenBTS’ project.
May you kindly advise if it is possible to get Service Category Information Element for a call (description in TS 124 008 V13.7.0 10.5.4.33)?
If it is possible could you please tell what variable or function to search?
As far as we get it, it is somewhere within gsm_04_08.c
Thank you very much in advance.
Hello Folks,
I managed to get something smaller to perform the experiments I
occasionally do. Because of this, I want to pass on my BS11 to someone
else. I am giving away the equipment for free. However I have an
interest in giving it to someone who has an honest interest in in
GSM/osmocom topics. I think the BS11 is suitable for beginners as it is
very well documented in the wiki and there are many people out there who
have some experience with this type of equipment.
The BS11 comes ready to use with a somewhat outdated osmo-nitb
installation on a small PC that also houses the E1 card. So in theory
one just needs to switch it on and the GSM network is ready to use.
However, there will be some work required to install a recent
OS/osmo-nitb to catch up with the current state.
The BS11 is located in the north of Berlin and has to be picked up by
someone locally.
If you are interested, please get in contact with me.
Here are some pictures of the equipment:
http://pub.runningserver.com/pics/bs11/
best regards,
Philipp Maier
Hi,
I am currently having some problems in adding new subscribers to OsmoHLR, particularly, in finding the IMSI of the devices.
From what I gathered from the wiki, the OsmoHLR log is supposed to show the IMSI of any mobile stations trying to connect to my network without being subscribers. However, the log does not show any indication of that whatsoever.
I had previously imported an old database from our previous OsmoNITB setup and all devices that had been added as subscribers with SimpleHLR back then were able to connect to the new setup flawlessly, but now I have decided to delete an MS from the database to learn how to add new subscribers but like I’ve said before, I am not able to find the IMSI in any log.
These are the logging settings in my OsmoHLR config:
log stderr
logging filter all 1
logging color 1
logging print category 1
logging timestamp 1
logging print extended-timestamp 1
logging level all debug
logging level linp error
I’d really appreciate if someone could help me out here.
Kind regards,
Michael Spahn
Hello,
I'm currently working on a proof of concept for a foreign customer. We have
a Fairwaves UmTRX board and we would like to send Cell Broadcast message
(SMS-CB).
I have a full working osmocom chain (trx, bts-trx, bsc, stp, msc, hlr) that
woks fine for SMS sending by example.
I have made a fix in rsl.c because all SMSCB commands where rejected (see
at bottom of this message).
I have dig into the code and found the place where the SMS CB are queued
(rsl.c : bts_process_smscb_cmd) and the code to extract them as MAC blocks
(rsl.c : bts_cbch_get).
I have also found the handler of the scheduler (scheduler_trx.c
: tx_data_fn) where to put the block data.
I have read articles about the superframe mechanism but I do not figure out
how to advertise the CBCH functionality on the BCCH, nor how to adapt the
scheduler to enable the CB channel.
Is it someone also interrested in this and/or working on the Bug 1617?
Or is it someone that can me give a track to start the implementation?
Have a nice day,
Antony
-----------------------------------------------------------------------------------------------------------
Fix in rsl.c :
-----------------------------------------------------------------------------------------------------------
replaced :
if (chan_nr_is_dchan(cch->chan_nr))
return rsl_reject_unknown_lchan(msg);
msg->lchan = lchan_lookup(trx, cch->chan_nr, "RSL rx CCHAN: ");
if (!msg->lchan) {
LOGP(DRSL, LOGL_ERROR, "Rx RSL %s for unknown lchan\n",
rsl_msg_name(cch->c.msg_type));
return rsl_reject_unknown_lchan(msg);
}
-----------------------------------------------------------------------------------------------------------
by:
if (chan_nr_is_dchan(cch->chan_nr))
{
printf("Message NOT for DCHAN\n");
//return rsl_reject_unknown_lchan(msg);
}
else
{
printf("Message for DCHAN\n");
// Only check channel validity if it is a dedicated channel
call.
msg->lchan = lchan_lookup(trx, cch->chan_nr, "RSL rx CCHAN: ");
if (!msg->lchan) {
LOGP(DRSL, LOGL_ERROR, "Rx RSL %s for unknown lchan\n",
rsl_msg_name(cch->c.msg_type));
return rsl_reject_unknown_lchan(msg);
}
}
I client of ours has the desire to merge a patch to libosmocore that adds
simplistic log rotation functionality.
Our first response was against it: we have the SIGHUP handling that allows
logrotate to tell osmocom programs to re-open their log file(s).
However, the system in question is based on BusyBox, which lacks logrotate. I
haven't yet investigated why it can't just be installed, but there seems to be
some or other issue about that.
The next best idea is to cook up a shell script that does more or less what
logrotate does ... and probably run into problems that logrotate already
solves better. The script needs to clean old files and invoke SIGHUP...
So I'd like to ask around, maybe it is acceptable to merge a poor-man's log
rotation functionality to libosmocore after all?
The patch needs some improvements (VTY configurability for starters), but so
far goes something like this:
static void _file_output(struct log_target *target, unsigned int level,
const char *log)
{
- fprintf(target->tgt_file.out, "%s", log);
- fflush(target->tgt_file.out);
+ int n;
+
+ if (target->tgt_file.out) {
+
+ n = fprintf(target->tgt_file.out, "%s", log);
+ fflush(target->tgt_file.out);
+#ifdef stderr
+ /* don't try try to roll stderr */
+ if (target->tgt_file.out != stderr)
+#endif
+ {
+ if (n > 0) {
+ target->tgt_file.written_count += n;
+
+ if (target->tgt_file.roll_count != 0 &&
+ target->tgt_file.written_count > target->tgt_file.roll_count) {
+
+ /* Create filename */
+ char rotname[strlen(target->tgt_file.fname) + 3];
+
+ strcpy(rotname, target->tgt_file.fname);
+ strcat(rotname, ".1");
+
+ /* Rename the current log, then reopen the log to start new file */
+ rename(target->tgt_file.fname, rotname);
+ log_target_file_reopen(target);
+ }
+ }
+ }
+ }
}
Note, this follows a simplistic approach to removing old log files: there is
always exactly one rotated-away file, 'mylogfile.1', which gets overwritten in
each rotation.
Any rotation features more elaborate than this should better be solved with
logrotate, but would everyone accept this kind of patch merged to libosmocore?
Thanks,
~N
Hi all,
When trying to install the osmo-mgw package from the Latest repository, the
package cannot be installed because the dependency libosmo-mgcp0 is not
found.
The message is: "osmo-mgw : Depends: libosmo-mgcp0 but it is not
installable"
I'm using the Debian 9 repository and my OS is Debian 9.4.
Looking into the dependencies, I see that osmo-mgw depends on both
libosmo-mgcp0 and libosmo-mgcp1. Are both of these actually necessary or
should the libosmo-mgcp0 dependency be removed?
Installing the libosmo-legacy-mgcp0 package does not help either.
Thanks,
Jan