Project

General

Profile

Actions

Feature #4698

closed

osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup

Added by edgard21031969 over 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
-
Start date:
08/08/2020
Due date:
% Done:

0%

Spec Reference:

Description

Hello,

I try to configure DGSM in my lab, but I have difficulte in the osmo-mslookup-client commande line tool. It doesn't work and show me:

root@osmo:/etc/osmocom# osmo-mslookup-client sip.voice.1001.msisdn
osmo-mslookup-client : missing command
root@osmo:/etc/osmocom#

Could you help me please?

Thank a lot


Related issues

Related to Distributed GSM - Feature #4732: osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup Closed08/26/2020

Actions
Related to Distributed GSM - Bug #4706: osmo-mslookup-client is installed by 'make install' in osmo-hlr, but apparently is not packaged in debianResolvedfixeria08/13/2020

Actions
Actions #1

Updated by fixeria over 3 years ago

  • Tracker changed from Bug to Support

osmo-mslookup-client : missing command

Apparently, this binary is not present in your system.

Are you sure you have installed osmo-hlr (make install)?
What does 'which osmo-mslookup-client' show?

Actions #2

Updated by edgard21031969 over 3 years ago

Hello,

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

curl -fsSL
https://download.opensuse.org/repositories/network:osmocom:latest/xUbuntu_16.04/Release.key | gpg --dearmor | sudo tee
/etc/apt/trusted.gpg.d/network:osmocom:latest.gpg > /dev/null

sudo apt update

2) Install osmo-hlr
sudo apt install osmo-hlr

after that, I have the foolowing directory that appears : /etc/osmocom/
So if I list /etc/osmocom/, I have osmo-hlr.cfg

root@osmo:/etc/osmocom# ls
osmo-hlr.cfg
root@osmo:/etc/osmocom#

The "osmo-mslookup-client" shows "unknow command"

Best Regards

Le sam. 8 août 2020 à 22:01, fixeria [REDMINE] <>
a écrit :

Issue #4698 has been updated by fixeria.

Tracker changed from Bug to Support

osmo-mslookup-client : missing command

Apparently, this binary is not present in your system.

Are you sure you have installed osmo-hlr (make install)?
What does 'which osmo-mslookup-client' show?

Actions #3

Updated by laforge over 3 years ago

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

You may need to check if this functionality is actually part of a tagged release, or if it
is only available in master (and hence the nightly builds).

The code seems introdoced in commit 76328bdc9165ef7355528c86d655d3b5086607d6

At least a first glance (git tag --contains conta76328bdc9165ef7355528c86d655d3b5086607d6)
doens't show up any release tag. So your osmo-hlr is simply too old.

Actions #4

Updated by edgard21031969 over 3 years ago

Hello,

This is my first time working on osmoscom solutions.

It means that I must use which kind of version (procedure) to install my
osmo-hlr please? because I follow the official documentation but there is
missing configuration.

For xUbuntu 16.04, I executed:
sudo echo 'deb
http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list
sudo curl -fsSL
https://download.opensuse.org/repositories/network:osmocom:latest/xUbuntu_16.04/Release.key | gpg --dearmor | sudo tee
/etc/apt/trusted.gpg.d/network:osmocom:latest.gpg > /dev/null
sudo apt update
sudo apt install osmo-hlr

Is there appropriate installation to correct this problem?

I followed this procedure to want to install the programs. I'm stuck when
they're running. Your help could help me to continue my experimentation
especially since I would like to test the DGSM part.

mkdir /root/contrib/
mkdir /root/contrib/dgsm/

cd /root/contrib/dgsm/
wget https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/Makefile.am
wget https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/esme_dgsm.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/osmo-mslookup-pipe.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/osmo-mslookup-socket.py
wget
https://git.osmocom.org/osmo-hlr/tree/contrib/dgsm/freeswitch_dialplan_dgsm.py

chmod 755 freeswitch_dialplan_dgsm.py
chmod 755 esme_dgsm.py
chmod 755 osmo-mslookup-pipe.py
chmod 755 osmo-mslookup-socket.py
chmod 644 Makefile.am

But all command osmo-mslookup-client give "unknow command" result.

Thanks.

Le dim. 9 août 2020 à 14:20, laforge [REDMINE] <>
a écrit :

Issue #4698 has been updated by laforge.

I installed osmo-hlr by following theses steps:
1) Istallation on Ubuntu 16.04 amd64
echo 'deb

http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/

/' | sudo tee /etc/apt/sources.list.d/network:osmocom:latest.list

You may need to check if this functionality is actually part of a tagged
release, or if it
is only available in master (and hence the nightly builds).

The code seems introdoced in commit
76328bdc9165ef7355528c86d655d3b5086607d6

At least a first glance (git tag --contains
conta76328bdc9165ef7355528c86d655d3b5086607d6)
doens't show up any release tag. So your osmo-hlr is simply too old.

Actions #5

Updated by laforge over 3 years ago

As indicated before, you are using the 'latest' feed which is too old for trying to use
features which are very new. Try the 'nightly' feed instead.

Actions #6

Updated by edgard21031969 over 3 years ago

Thanks,

I'll try new installation by using following site:

https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-hlr
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-pcu
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-msc
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-sgsn
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-ggsn
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-bsc
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-trx
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-sip-connector
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-pcap
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-mgw
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-abis
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmocore

These packages don't exist for ubuntu, is that true? or is there any way to
install them on ubuntu?
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-iuh
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=osmo-bts
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libsmpp34
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-sccp
=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libosmo-netif

=>
https://software.opensuse.org/download.html?project=network%3Aosmocom%3Anightly&package=libasn1c

Best Regards.

Le mer. 12 août 2020 à 11:10, laforge [REDMINE] <>
a écrit :

Issue #4698 has been updated by laforge.

As indicated before, you are using the 'latest' feed which is too old for
trying to use
features which are very new. Try the 'nightly' feed instead.

Actions #7

Updated by laforge over 3 years ago

On Wed, Aug 12, 2020 at 02:57:35PM +0000, edgard21031969 [REDMINE] wrote:

I'll try new installation by using following site:

https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds

correct link. This very page links to, e.g.
https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_16.04/

These packages don't exist for ubuntu, is that true? or is there any way to
install them on ubuntu?

Why would there not be? The Nighly_Builds page in the osmocom wiki contains exactly the
information you are asking for.

As the wiki states, we are building for 6 (!) different versions of Ubuntu.

It even contains instructions on how to add the repository. Just replace "Debian_10" with "xUbuntu_16.04" or whatever your distribution version is.

Actions #8

Updated by fixeria over 3 years ago

  • Related to Feature #4732: osmo-mslookup-client cmdline tool in Distributed GSM / Multicast MS Lookup added
Actions #9

Updated by laforge over 3 years ago

  • Priority changed from High to Low
Actions #10

Updated by fixeria about 2 years ago

  • Related to Bug #4706: osmo-mslookup-client is installed by 'make install' in osmo-hlr, but apparently is not packaged in debian added
Actions #11

Updated by fixeria about 2 years ago

  • Tracker changed from Support to Feature
  • Status changed from New to Resolved

osmo-mslookup-client is now available (see #4706 for more details) in a separate package:

root@15e119667821:/# apt show osmo-mslookup-utils
Package: osmo-mslookup-utils
Version: 1.4.0.3.0c13.202202100857
Priority: optional
Section: utils
Source: osmo-hlr
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
Installed-Size: 53.2 kB
Depends: osmocom-nightly (= 1.0.0.202202100857), libc6 (>= 2.4),
         libosmo-mslookup0 (= 1.4.0.3.0c13.202202100857),
         libosmocore18, libtalloc2 (>= 2.0.4~git20101213)
Homepage: https://projects.osmocom.org/projects/osmo-hlr
Download-Size: 21.0 kB
APT-Manual-Installed: yes
APT-Sources: http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11 ./ Packages
Description: Utilities for Osmocom MS lookup
  This package contains a simple MS lookup client utility.

Closing this ticket. Please reopen if anything is still missing.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)