Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
--------------------------------------------------------------------------------
----------
Eseguite il login via ssh. Prima di ogni cosa aggiornate il kernel: è ....
Facoltativo questo aggiornamento
sudo rpi-update
--------------------------------------------------------------------------------
-----------
Poi ... se volete installare il Panamense :) o passate avanti
ho visto che tutto funzionava compreso il nodo privato per i brdge verso dmr
sudo apt-get install build-essential sigc++ gcc g++ make cmake libgcrypt20-
dev tk-dev libgsm1-dev libsigc++-2.0-dev tcl-dev libspeex-dev libasound2-dev
alsa-utils librtlsdr-dev vorbis-tools libpopt-dev libssl-dev libopus-dev groff
tcl8.5-dev tk8.5-dev git curl libcurl4-openssl-dev librtlsdr-dev rtl-sdr
libjsoncpp-dev libogg-dev
da raspberry
.................................
apt-get --assume-yes install libjsoncpp-dev libcurl4-nss-dev mtr-tiny openvpn
dialog wget evtest vim screen cmake git g++ make libsigc++-2.0-dev libgsm1-dev
libpopt-dev tcl8.6-dev libgcrypt20-dev libspeex-dev libasound2-dev alsa-utils
vorbis-tools libopus-dev opus-tools rtl-sdr librtlsdr-dev ntp
da server
........iniziamo
usrp = https://github.com/dl1hrc/svxlink.git
e allora andiamo..
cd svxlink
cd svxlink/src
mkdir build
cd build
..........
...........
make
make doc
make install
ldconfig
Versione 19.0....
cd /usr/share/svxlink/sounds/
sudo wget
https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/download/
19.09.99.1/svxlink-sounds-en_US-heather-16k-19.09.99.1.tar.bz2
svxlink.conf
###############################################################################
# #
# Configuration file for the SvxLink server #
# #
###############################################################################
[GLOBAL]
LOGICS=ReflectorLogic,UsrpLogic
CFG_DIR=svxlink.d
TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S"
CARD_SAMPLE_RATE=48000
CARD_CHANNELS=1
LINKS=ReflectorLink
[UsrpLogic]
TYPE=Usrp
CALL="IU0NDT"
DMRID="2221976"
USRP_HOST=127.0.0.1
USRP_TX_PORT=32003
USRP_RX_PORT=34003
DEFAULT_TG=222
FILTER_TO_USRP=BpBu1/650-3800
FILTER_FROM_USRP=HsBq1/0.05/-5/4000
#PREAMP=1
#NET_PREAMP=0
EVENT_HANDLER=/usr/share/svxlink/events.tcl
[ReflectorLogic]
TYPE=Reflector
HOST=127.0.0.1
PORT=5300
CALLSIGN=Iu0ndt
AUTH_KEY=xxxxx
JITTER_BUFFER_DELAY=2
DEFAULT_TG=222
MONITOR_TGS=222
TG_SELECT_TIMEOUT=30
ANNOUNCE_REMOTE_MIN_INTERVAL=300
EVENT_HANDLER=/usr/share/svxlink/events.tcl
NODE_INFO_FILE=/etc/svxlink/node_info.json
MUTE_FIRST_TX_LOC=0
MUTE_FIRST_TX_REM=0
QSY_PENDING_TIMEOUT=15
AUDIO_CODEC=OPUS
OPUS_ENC_COMPLEXITY=10
OPUS_ENC_BITRATE=200000
OPUS_ENC_VBR=0
[ReflectorLink]
CONNECT_LOGICS=ReflectorLogic,UsrpLogic
DEFAULT_ACTIVE=1
OPTIONS=DEFAULT_CONNECT,NO_DISCONNECT
TIMEOUT=0
svxreflector.conf
[GLOBAL]
#CFG_DIR=svxreflector.d
TIMESTAMP_FORMAT="%c"
LISTEN_PORT=5300
#SQL_TIMEOUT=600
#SQL_TIMEOUT_BLOCKTIME=60
#CODECS=OPUS
TG_FOR_V1_CLIENTS=999
#RANDOM_QSY_RANGE=12399:100
HTTP_SRV_PORT=8080
[USERS]
#SM0ABC-1=MyNodes
#SM0ABC-2=MyNodes
IU0NDT=IU0NDT
IU0ntd1=IU0ndt1
[PASSWORDS]
#MyNodes="Change this key now!"
IU0NDT="Password"
IU0ndt1=password
#[TG#9999]
#AUTO_QSY_AFTER=300
#ALLOW=S[A-M]\\\\d.*|LA8PV
...
Ho anche aggiunto il "servizio" /lib/systemd/system/svxlink.service nel quale ho
inserito :
[Unit]
Description=SvxLink Server
After=network.target sound.target
[Service]
Restart=always
KillMode=process
ExecStart=/usr/bin/svxlink –config=/etc/svxlink/svxlink.conf
–logfile=/var/log/svxlink
RestartSec=5
TimeoutSec=5
User=svxlink
Group=svxlink
Environment="HOME=/etc/svxlink"
[Install]
WantedBy=multi-user.target
abilitandolo con sudo systemctl enable svxlink
..........................................
Etc/svxlink/svxlink-miofile.conf
svxlink --config=svxlink2.conf
.........................................................
Installare la dashboard
........................
https://github.com/sa2blv/SVXportal.git
installazione mysql
sudo mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
mysql
.......................
APPUNTI PER ACCEDERE
c://
mysql -u root -p
mysql -u Svxportal -p
---------
exit;
sudo systemctl status mysql
sudo systemctl stop mysql
sudo systemctl start mysql
rientrare
......................................
SELECT user,authentication_string,plugin,host FROM mysql.user; <-----------
esempi!!
FLUSH PRIVILEGES;
exit;
INSTALLARE PHP
..............
indirizzi
http://108.61.99.248/info.php
http://108.61.99.248/SVXportal
................
Aprire momentaneamente tutto i firewall per evitare incongruenze nelle porte
.......................................
CONFIGURAZIONE PORTALE