DMR+Linux-Packages

download DMR+Linux-Packages

of 11

Transcript of DMR+Linux-Packages

  • 8/17/2019 DMR+Linux-Packages

    1/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 1 D!"#L$nu%-&ac'a(es

    Installation Packages for Linux

    DMR-MasterIPSC-Server

    DMR+MBridge

  • 8/17/2019 DMR+Linux-Packages

    2/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 2 D!"#L$nu%-&ac'a(es

    1. Co !rig"t#

    D!"#So)t*are $s onl+ )or use $n ateur "a $o/n+ use )or other ur oses $s str$ctl+ roh$ $te /

    $. %sage#

    The ac'a(es *h$ch are escr$ e $n th$s ocu ent are es$(ne to $nstall ser er so)t*are *h$ch $s use )orthe D!"# net*or' $n)rastructure.It re u$res a 24 6 $nternet connect$on *h$ch can su ort 20 o$ce strea s or ore to connect re eaters anhots ot on(les//

    I) +ou *ant to run th$s so)t*are lease a'e sure that +ou can ro $ e th$s ser $ce )ree o) char(e/

    Th$s ocu entat$on $s a$nl+ a resse to those, *ho ha e alrea + a *or'$n( $nstallat$on an *ant to s*$tchto the $nstallat$on ac'a(es to (et eas$er an )aster u ate )eatures.

    &lease chec' )or $n $ $ ual ocu entat$on )or each ac'a(e $) +ou *ant to o a ne* $nstallat$on $nclu $n( an$n$t$al con)$(urat$on.

  • 8/17/2019 DMR+Linux-Packages

    3/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 3 D!"#L$nu%-&ac'a(es

    &. Re'uire(ents#

    The so)t*are ac'a(es )or L$nu% *ere co $le on

    • De $an6 7 heez+9 32 an :4 $t,• ;ent.8 an l$ ssl1.0.0 are not co at$ le, the h$(her $s not the u ate o) the lo*er ers$onnu er/

    &lease chec' oo(le )or ore eta$ls.

  • 8/17/2019 DMR+Linux-Packages

    4/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 4 D!"#L$nu%-&ac'a(es

    0. dding t"e DMR lus-Re ositor!#

    !a'e sure that +ou select the correct set o) co an s )or +our L$nu% $nstallat$on/ ?se( ent$on )ault@ Aust a)ter the start a+ e a t+ $cal result o) a *ron( select$on.

    De ian 23"ee4!56 % untu 2&$ and *0 it5#

    # 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

    Ras ian#

    # 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

  • 8/17/2019 DMR+Linux-Packages

    5/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 5 D!"#L$nu%-&ac'a(es

    De ian + Ras ian#

    = ate the l$sts o) a a$la le ac'a(es )ro the re os$tor+ ser ers

    # sudo apt-get update

    The D!"-!aster a+ e $nstalle *$th th$s co an

    # sudo apt-get install dmrmaster

    The I&S;-Ser er l$'e th$s

    # sudo apt-get install ipscserver

    or the D!"#!Br$ (e

    # sudo apt-get install dmrplusmb

    7ote t"at IPSC-Server and DMR+MBridge cannot run arallel/More details on t"e features and configuration of t"e different soft,are (a! e found in se arate docu(entation.

  • 8/17/2019 DMR+Linux-Packages

    6/11

  • 8/17/2019 DMR+Linux-Packages

    7/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 6 D!"#L$nu%-&ac'a(es

    # sudo yum install dmrplusmb

    Sa+ ?+es@ to $nstall the so)t*are.De en enc$es shoul e resol e , all necessar+ l$ rar$es e o*nloa e an $nstalle .

    % dating t"e soft,are on Cent8S s!ste(s#

    # sudo yum clean expire-cache

    # sudo yum update dmrmaster# sudo yum update ipscserver# sudo yum update dmrplusmb

    7ote t"at IPSC-Server and DMR+MBridge cannot run arallel/

    More details on t"e features and configuration of t"e different soft,are (a! e found in se arate docu(entation.

  • 8/17/2019 DMR+Linux-Packages

    8/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 8 D!"#L$nu%-&ac'a(es

    Running the software:

    All 3 software packages are provided with standard start/stop scripts in /etc/init.d/ and may be started and stopped inthe 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 restartedwhenever 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 alwayscome 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 serversoftware 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 thesession!

  • 8/17/2019 DMR+Linux-Packages

    9/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT > D!"#L$nu%-&ac'a(es

    Useful Commands on Debian/Raspbian systems:

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

    # sudo apt-get update# sudo apt-get upgrade dmrmaster # sudo apt-get downgrade dmrmaster# sudo apt-get upgrade ipscserver # sudo apt-get downgrade ipscserver

    # sudo apt-get upgrade dmrplusmb # 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 f dmrmaster remove# update-rc.d ipscserver defaults # update-rc.d f ipscserver remove

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

    Start / Stop the software as a daemon in background

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

  • 8/17/2019 DMR+Linux-Packages

    10/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 10 D!"#L$nu%-&ac'a(es

    Useful Commands on CentOS systems:

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

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

    Remove the software:

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

    Activate startscript (autostart) De-Activate startscript

    # chec!config level " 5 dmrmaster on # chec!config dmrmaster off# chec!config level " 5 ipscserver on # chec!config ipscserver off# chec!config level " 5 dmrplusmb on # chec!config dmrplusmb off

    Start / Stop the software as a daemon in background

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

  • 8/17/2019 DMR+Linux-Packages

    11/11

    2015-08-03

    © 2015 Hans-J. Barthen DL5DI, Torsten Schultze D 1HT 11 D!"#L$nu%-&ac'a(es

    9rror Re orting#

    In the unl$'el+ case that +ou a+ )$n an error

    - I) +ou are us$n( an -19- Eor er re $s$on $) the errors a ears ur$n( an u ate- F%act error essa(e, est $s a screenshot- D!"-ID ;alls$(n locat$on o) +our s+ste *here $s $t connecte

    !ost $ ortant )or us are errors ase on $ss$n( l$ rar$es an other e en enc$es.

    Go eta$ls no ans*er/

    In case of an! general Linux related 'uestions lease

    1. =se the o*er)ul hel s+ste o) L$nu% 7 an a(es etc.92. s' + )r$en oo(le, he reall+ 'no*s a lot ore than *e3. s' the ass o) L$nu% users $n the $))erent $nternet (rou s *orl *$ e4. s' $n the Cahoo- rou htt ha - r. e

    Please ask us onl! if t"e ro le( is reall! DMR+ related and rovide sufficient details/