Is an excerpt from the emq-TE1ws proyect, focused on new and current sysops who want to install FreeDMR easily, quickly and up-to-date.
ADN Systems DMR Peer Server is a fork from FreeDMR by G7RZU hacknix
Launched on April 21, 2024, by a visionary group of 20 international amateur radio enthusiasts, ADN Systems operates on an Open Bridge Protocol (OBP), fostering a decentralized network devoid of hierarchical structures.
This shell, install FreeDMR Peer Server,with 2 option Dashboard for select: FDMR-Monitor by OA4DOA Christian and FDMR-Monitor by CS8ABG Bruno , Both Dashboard version Self-Service
This shell, install ADN Peer Server,with 2 option Dashboard for select: FDMR-Monitor by OA4DOA Christian and FDMR-Monitor by CS8ABG Bruno , Both Dashboard version Self-Service
#
Shell easy auto install FreeDMR Peer Server version Self-Service without Docker, latest original gitlab hacknix version by G7RZU Simon, with Dashboard, template mods by WP3JM James & N6DOZ Rudy, Self-Service mods with Dial-TG by IU2NAF Diego and menu by HP3ICC.
Shell easy auto install ADN Peer Server version Self-Service without Docker latest release, with Dashboard, template mods by WP3JM James & N6DOZ Rudy, Self-Service mods with Dial-TG by IU2NAF Diego and menu by HP3ICC.
# Compatibility
@ -20,8 +21,7 @@ Shell easy auto install FreeDMR Peer Server version Self-Service without Docker,
* Very important, this script is preconfigured to be used in the ADN Systems server mesh, if you want to use it in other networks, it must meet the configuration requirements of the network that you want to connect your server with the FreeDMR-peer-server software.
* Very important, this script is preconfigured to be used in the ADN Systems server mesh
# Pre-Requirements
@ -50,7 +50,7 @@ into your ssh terminal copy and paste the following link :
At the end of the installation your freedmr Peer server will be installed and working, a menu will be displayed that will make it easier for you to edit, restart or update your server and dashboard to future versions.
to use the options menu, just type "menu-fdmr" without the quotes in your ssh terminal or console.
to use the options menu, just type "menu-adn" without the quotes in your ssh terminal or console.
#
@ -60,7 +60,7 @@ into your ssh terminal copy and paste the following link :
The self-service feature, added by fellow OA4DOA Christian, allows each user to add or remove one or more static tgs from the ease of a graphical environment from the server's Dashboard.
Thanks to colleague IU2NAF Diego and the FreeDMR Italia team, they add Dial-TG compatibility and option to customize the language of the announcement voice or use CW.
Thanks to colleague IU2NAF Diego and the Italia team, they compatibility and option to customize the language of the announcement voice or use CW.
# Self-Service database
@ -95,7 +95,7 @@ To facilitate your update, copy all your obp in the opb list menu option, when w
@ -111,19 +111,15 @@ To facilitate your update, copy all your obp in the opb list menu option, when w
#
# FreeDMR Peer Server Release :
* v1.3.19
# Location files config :
* FreeDMR Peer Server:
* ADN DMR Peer Server:
/opt/FreeDMR/config/FreeDMR.cfg
/opt/ADN-DMR-Peer-Server/config/FreeDMR.cfg
* FreeDMR Rules:
/opt/FreeDMR/config/FreeDMR.cfg
/opt/ADN-DMR-Peer-Server/config/FreeDMR.cfg
* FDMR-Monitor:
@ -137,17 +133,17 @@ To facilitate your update, copy all your obp in the opb list menu option, when w
# Systemctl Services :
* Freedmr:
* ADN DMR server:
freedmr.service
adn-server.service
* FreeDMR Proxy:
* ADN server Proxy:
proxy.service
* FreeDMR Parrot:
* ADN server Parrot:
fdmrparrot.service
adn-parrot.service
* FDMR-Monitor:
@ -180,14 +176,11 @@ To facilitate your update, copy all your obp in the opb list menu option, when w
#
* Support
<p><atitle="ADN Systems - User Group"href="https://t.me/ADN_Systems"target="_blank"><imgsrc="https://gitlab.com/uploads/-/system/project/avatar/15566648/telegram_icon.png"alt=""width="28"height="28"/></a></p>
Unofficial script to install Freedmr Peer Server with Dashboard self-service, if you require support from the official version of the developer , refer to the original developer script :
FreeDMR Peer Server original version gitlab FreeDMR by G7RZU hacknix Simon.
If you have the basic knowledge of Linux to install, configure and manage a DMR server, you can integrate your server to the ever-growing network of mesh servers of Amateur radio digital network systems.
#
@ -200,9 +193,9 @@ Special thanks to colleagues: CE5RPY Rodrigo, CS8ABG Bruno, OA4DOA Christian, G7
#sed -i "s/meta name=\"description.*/meta name=\"description\" content=\"Copyright (c) 2016-22.The Regents of the K0USY Group. All rights reserved. Version OA4DOA 2022 (v270422)\">/g" /var/www/fdmr/*.php
sed -i '166 s/hotpink/#ad02fd/g' /var/www/fdmr/css/styles.php
sed -i '217 s/color:white/color:black/' /var/www/fdmr/css/styles.php
sed -i "251d" /var/www/fdmr/css/styles.php
sed '250 a <?php echo THEME_COLOR."\\n";?>' -i /var/www/fdmr/css/styles.php
sed '21 a # For custom color, select: pro' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '24 a COLOR_TEXT = #fff519' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '25 a COLOR_1 = #000080' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '26 a COLOR_2 = #193dff' -i /opt/FDMR-Monitor/fdmr-mon.cfg
#sed '27 a COLOR_BACKGROUND = 5a5958' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '45 a $cd1 = strtolower($config["GLOBAL"]["COLOR_1"]);' -i /var/www/fdmr/include/config.php
sed '46 a $cd2 = strtolower($config["GLOBAL"]["COLOR_2"]);' -i /var/www/fdmr/include/config.php
sed '47 a $cd3 = strtolower($config["GLOBAL"]["COLOR_TEXT"]);' -i /var/www/fdmr/include/config.php
sed '48 a $cd3 = strtolower($config["GLOBAL"]["COLOR_TEXT"]);' -i /var/www/fdmr/include/config.php
sed '49 a $cd4 = strtolower($config["GLOBAL"]["COLOR_BACKGROUND"]);' -i /var/www/fdmr/include/config.php
sed '66 a } elseif ($theme == "pro") {' -i /var/www/fdmr/include/config.php
sed '67 a $tc = "background-image: linear-gradient(to bottom, $cd1 0%, $cd2 100%);color:$cd3;";' -i /var/www/fdmr/include/config.php
choix=$(whiptail --title "Raspbian Proyect HP3ICC / update FDMR" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
choix=$(whiptail --title "Script proyect HP3ICC / update FDMR+" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
" 17 50 4 \
1" Update FreeDMR " \
1" Update ADN-Server " \
2" Update FDMR-Monitor OA4DOA "\
3" Update FDMR-Monitor CS8ABG "\
4" Menu Principal " 3>&1 1>&2 2>&3)
@ -136,7 +138,7 @@ fi
# case : action en fonction du choix
case$choix in
1)
menu-up-fdm;;
menu-up-adn;;
2)
menu-up-fdmon ;;
3)
@ -151,7 +153,7 @@ exit 0
EOF
#
sudo cat > /bin/menu-up-fdm <<- "EOF"
sudo cat > /bin/menu-up-adn <<- "EOF"
#!/bin/bash
if[[$EUID -ne 0]];then
whiptail --title "sudo su" --msgbox "requiere ser usuario root , escriba (sudo su) antes de entrar a menu / requires root user, type (sudo su) before entering menu"050
@ -159,11 +161,11 @@ if [[ $EUID -ne 0 ]]; then
fi
while : ;do
choix=$(whiptail --title "Raspbian Proyect HP3ICC / update FreeDMR" --menu "Nota Importante: debe debe agregar todos sus obp en la opcion numero uno, ( 1-Lista de OBP )antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo la carpeta /opt/FreeDMR, al finalizar la actualizacion el servicio Freedmr se reinniciara automaticamente.
choix=$(whiptail --title "Script proyect HP3ICC / update ADN-Server" --menu "Nota Importante: debe debe agregar todos sus obp en la opcion numero uno, ( 1-Lista de OBP )antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo la carpeta /opt/ADN-DMR-Peer-Server, al finalizar la actualizacion el servicio Freedmr se reinniciara automaticamente.
" 18 55 5 \
1" List OBP "\
2" shell extra "\
3" Iniciar Actualizacion FreeDMR " \
3" Iniciar Actualizacion ADN-Server " \
4" Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
@ -197,7 +199,7 @@ if [[ $EUID -ne 0 ]]; then
fi
while : ;do
choix=$(whiptail --title "Raspbian Proyect HP3ICC / update FDMR-Monitor OA4DOA" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
choix=$(whiptail --title "Script proyect HP3ICC / update FDMR-Monitor OA4DOA" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
" 17 50 4 \
1" shell extra "\
2" Iniciar Actualizacion FDMR-Monitor OA4DOA "\
@ -232,7 +234,7 @@ if [[ $EUID -ne 0 ]]; then
fi
while : ;do
choix=$(whiptail --title "Raspbian Proyect HP3ICC / update FDMR-Monitor CS8ABG" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
choix=$(whiptail --title "Script proyect HP3ICC / update FDMR-Monitor CS8ABG" --menu "Nota Importante: antes de iniciar la actualizacion, el proceso de actualizacion borrara por completo todas las configuraciones, al finalizar la actualizacion el servicio se reinniciara automaticamente.
#sed -i "s/meta name=\"description.*/meta name=\"description\" content=\"Copyright (c) 2016-22.The Regents of the K0USY Group. All rights reserved. Version OA4DOA 2022 (v270422)\">/g" /var/www/fdmr/*.php
sed -i '166 s/hotpink/#ad02fd/g' /var/www/fdmr/css/styles.php
sed -i '217 s/color:white/color:black/' /var/www/fdmr/css/styles.php
sed -i "251d" /var/www/fdmr/css/styles.php
sed '250 a <?php echo THEME_COLOR."\\n";?>' -i /var/www/fdmr/css/styles.php
sed '21 a # For custom color, select: pro' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '24 a COLOR_TEXT = #fff519' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '25 a COLOR_1 = #000080' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '26 a COLOR_2 = #193dff' -i /opt/FDMR-Monitor/fdmr-mon.cfg
#sed '27 a COLOR_BACKGROUND = 5a5958' -i /opt/FDMR-Monitor/fdmr-mon.cfg
sed '45 a $cd1 = strtolower($config["GLOBAL"]["COLOR_1"]);' -i /var/www/fdmr/include/config.php
sed '46 a $cd2 = strtolower($config["GLOBAL"]["COLOR_2"]);' -i /var/www/fdmr/include/config.php
sed '47 a $cd3 = strtolower($config["GLOBAL"]["COLOR_TEXT"]);' -i /var/www/fdmr/include/config.php
sed '48 a $cd3 = strtolower($config["GLOBAL"]["COLOR_TEXT"]);' -i /var/www/fdmr/include/config.php
sed '49 a $cd4 = strtolower($config["GLOBAL"]["COLOR_BACKGROUND"]);' -i /var/www/fdmr/include/config.php
sed '66 a } elseif ($theme == "pro") {' -i /var/www/fdmr/include/config.php
sed '67 a $tc = "background-image: linear-gradient(to bottom, $cd1 0%, $cd2 100%);color:$cd3;";' -i /var/www/fdmr/include/config.php