Vous êtes sur la page 1sur 11

2015-08-03

Installation Packages for Linux


DMR-Master
IPSC-Server
DMR+MBridge

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

1. Copyright:
DMR+Software is only for use in Amateur Radio!
Any use for other purposes is strictly prohibited!

2. Usage:
The packages which are described in this document are designed to install server software which is used for
the DMR+ network infrastructure.
It requires a 24/7 internet connection which can support 20 voice streams or more to connect repeaters and
hotspot dongles!!
If you want to run this software please make sure that you can provide this service free of charge!
This documentation is mainly addressed to those, who have already a working installation and want to switch
to the installation packages to get easier and faster update features.
Please check for individual documentation for each package if you want to do a new installation including an
initial configuration.

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

3. Requirements:
The software packages for Linux were compiled on

Debian7 (Wheezy) 32 and 64bit,


CentOS5/only 32bit
CentOS6/only 64bit
Raspbian

We know that you will find issues with Debian8 and latest CentOS7 releases.
At the moment we do not plan to work on that, the issues are known for a lot of other software.
Please use the stable version listed above, we cannot support others.
The DMR-Master might also run on older releases of the Linux distributions.

Please note:
The DMR+MBridge and the IPSC-Server both require libssl1.0.0 which is not available for Debian6 and before.
For this 2 software packages Debian7 is required!
Ubuntu users need to make sure that they have the correct libssl installed, it is part of the openssl packages.
The different package version libssl0.9.8 and libssl1.0.0 are not compatible, the higher is not the update of the lower version
number!
Please check Google for more details.
2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

4. Adding the DMRplus-Repository:


Make sure that you select the correct set of commands for your Linux installation!
A segmention fault just after the start may be a typical result of a wrong selection.

Debian7 (Wheezy)/ Ubuntu (32 and 64bit):


#
#
#
#
#

apt-get install curl


cd /tmp
wget http://repo1.ham-digital.net/dmr-plus/debian/dl5di.pk
sudo apt-key add dl5di.pk
sudo curl http://repo1.ham-digital.net/dmr-plus/debian/dmrplus.list -o /etc/apt/sources.list.d/dmrplus.list

Raspbian:
#
#
#
#
#

apt-get install curl


cd /tmp
wget http://repo1.ham-digital.net/dmr-plus/raspbian/dl5di.pk
sudo apt-key add dl5di.pk
sudo curl http://repo1.ham-digital.net/dmr-plus/raspbian/dmrplus.list -o /etc/apt/sources.list.d/dmsplus.list

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

Debian + Raspbian:
Update the lists of available packages from the repository servers:
# sudo apt-get update

The DMR-Master may be installed with this command:


# sudo apt-get install dmrmaster

The IPSC-Server like this:


# sudo apt-get install ipscserver

or the DMR+MBridge:
# sudo apt-get install dmrplusmb

Note that IPSC-Server and DMR+MBridge cannot run parallel!


More details on the features and configuration of the different software may be found in separate documentation.

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

CentOS:
Step 1: Adding the DMRplus repository server
At first you have to run the following command on your repeater system once:
curl http://repo1.ham-digital.net/dmr-plus/centos5/dmrplus.repo -o /etc/yum.repos.d/dmrplus.repo

Take care that you copy and execute the complete line on your system!
This is the same path for CentOS5 (32bit only) and CentOS6 (64bit only).
This command copies a configuration file with information about the DMRplus repository servers to your yum repos directory.
You will not need to execute this command again later for any update or if you wish to install any other of the DMRplus software packages.

Step2: Clean your expire-cache


# sudo yum clean expire-cache

Step 3: Install the package


The DMR-Master:
# sudo yum install dmrmaster

The IPSC-Server:
# sudo yum install ipscserver

OR the DMR+MBridge:

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03
# sudo yum install dmrplusmb

Say yes to install the software.


Dependencies should be resolved, all necessary libraries be downloaded and installed.

Updating the software on CentOS systems:


# sudo yum clean expire-cache
# sudo yum update dmrmaster
# sudo yum update ipscserver
# sudo yum update dmrplusmb

Note that IPSC-Server and DMR+MBridge cannot run parallel!


More details on the features and configuration of the different software may be found in separate documentation.

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

Running the software:


All 3 software packages are provided with standard start/stop scripts in /etc/init.d/ and may be started and stopped in
the usual way, depending on the Linux distribution.
Please find examples below in the list of useful commands.

Note that these scripts create a crontab entry which works as a watchdog and makes sure that the software is restarted
whenever it should break for any reason.
When started by start-script you MUST stop it by the stop-script to de-activate the watchdog, otherwise it will always
come up in the background again.
When started by the standard start script the software runs invisible as daemon in the background.
For tests you may also use the run.sh scripts which are located in the installation directories to start the server
software and keep it alive. This will show useful console output.
When you access your system from remote you need to run it in a screen, otherwise it will end when you close the
session!

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

DMR+Linux-Packages

2015-08-03

Useful Commands on Debian/Raspbian systems:


Up- and Downgrade the software to a newer/older version:
#
#
#
#

sudo
sudo
sudo
sudo

apt-get
apt-get
apt-get
apt-get

update
upgrade dmrmaster
upgrade ipscserver
upgrade dmrplusmb

# sudo apt-get downgrade dmrmaster


# sudo apt-get downgrade ipscserver
# sudo apt-get downgrade dmrplusmb

Remove the software:


# sudo apt-get remove dmrmaster
# sudo apt-get remove ipscserver
# sudo apt-get remove dmrplusmb

Activate startscript (autostart)

De-Activate startscript

# update-rc.d dmrmaster defaults


# update-rc.d ipscserver defaults
# update-rc.d dmrplusmb defaults

# update-rc.d f dmrmaster remove


# update-rc.d f ipscserver remove
# update-rc.d f dmrplusmb remove

Start / Stop the software as a daemon in background


# /etc/init.d/dmrmaster start
# /etc/init.d/ipscserver start
# /etc/init.d/dmrplusmb start

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

# /etc/init.d/dmrmaster stop
# /etc/init.d/ipscserver stop
# /etc/init.d/dmrplusmb stop

DMR+Linux-Packages

2015-08-03

Useful Commands on CentOS systems:


Up- and downgrade the software to a newer/older version:
#
#
#
#

yum
yum
yum
yum

clean expire-cache
update dmrmaster
update ipscserver
update dmrplusmb

# yum downgrade dmrmaster


# yum downgrade ipscserver
# yum downgrade dmrplusmb

Remove the software:


# yum remove dmrmaster
# yum remove ipscserver
# yum remove dmrplusmb

Activate startscript (autostart)

De-Activate startscript

# checkconfig level 345 dmrmaster on


# checkconfig level 345 ipscserver on
# checkconfig level 345 dmrplusmb on

# checkconfig dmrmaster off


# checkconfig ipscserver off
# checkconfig dmrplusmb off

Start / Stop the software as a daemon in background


# service dmrmaster start
# service ipscserver start
# service dmrplusmb start

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

# service dmrmaster start


# service ipscserver start
# service dmrplusmb start

10

DMR+Linux-Packages

2015-08-03

Error Reporting:
In the unlikely case that you may find an error:
-

If you are using an OS other than Debian7, Raspbian or CentOS5/6 ask Google please or place the request to the Yahoo-Group ham-dmr!!
If you are using one of the supported OS mentioned above report any issues please to dl5di@gmx.de

Provide as many details as possible:


-

Operating system
Package name
Revision and release of the installation package (like 20150719-1)
Former revision if the errors appears during an update
Exact error message, best is a screenshot
DMR-ID / Callsign / location of your system / where is it connected

Most important for us are errors based on missing libraries and other dependencies.

No details > no answer!

In case of any general Linux related questions please


1.
2.
3.
4.

Use the powerful help system of Linux (man pages etc.)


Ask my friend Google, he really knows a lot more than we
Ask the mass of Linux users in the different internet groups worldwide
Ask in the Yahoo-Group http://ham-dmr.de

Please ask us only if the problem is really DMR+ related and provide sufficient details!

2015 Hans-J. Barthen DL5DI, Torsten Schultze DG1HT

11

DMR+Linux-Packages

Vous aimerez peut-être aussi