PREMESSO CHE … Hai una conoscenza pratica di Linux e dei comandi della shell Hai una conoscenza pratica di git e come creare codice sorgente per creare un binario eseguibile Non hai paura di rompere le cose e sai dove trovare aiuto online se qualcosa si rompe…
Debian 10 is what you want to use.
Make sure you install is up to date
apt update
apt upgrade
if updates were installed, reboot
Add the dvswitch repository
wget http://dvswitch.org/buster
chmod +x buster
./buster
Make sure you have added the repository
apt update
look for “deb http://dvswitch.org/DVSwitch_Repository hamradio” in the output
Verify programs are now installable
apt install allstar –dry-run
any errors reported?
apt install dvswitch-server –dry-run
any errors reported?
Install AllStar first
apt install allstar
errors? stop and ask
reboot
AllStar working?
asterisk -r to login to the asterisk cli to check
……………………………………………..
Questo ↓ se non si ha il DVSwitch Server
…………………………………………………
Install DVSwitch Server
apt install dvswitch-server
errors? stop and ask
run the dvs menu to configure DVSwitch Server
When asked for the USRP port, take the default (Just hit enter)
Configure AllStar and DVSwitch Server to taste.
Per far partire il configuratore di DVSwitch Server
scrivere dvs
……………………………………
comando per far partire il configuratore di Allstarlink è asl-menu e seguire questa guida
………………………………….
Questo è un pacchetto aggiuntivo e serve per dare la possibilità del cambio della password.
apt-get install apache2-utils ; <——-per il comando di cambio password
……………………….
installare Allmon2
sudo apt install git
sudo git clone https://github.com/AllStarLink/AllMon2.git /var/www/html/allmon2
cd /var/www/html/allmon2
sudo mv allmon.ini.txt allmon.ini.php
sudo mv controlpanel.ini.txt controlpanel.ini.php
Configuration
Now you have to edit the allmon.ini.php file
sudo nano allmon.ini.php
Change: the ‘500’ number [500] to your node number.
Change: host=127.0.0.1:5038
Change: passwd=yourpassword (vedere al punto 1 le note)
Note: ‘llcgi’ is the default password according to the initial node setup. However look at ‘secret = xxxxx’ in /etc/asterisk/manager.conf to be sure of the correct password.
Change: menu=yes
Example almond.ini.php with node(s) listed under a menu item. In this example named MySites.
<?php
[Off-site Link]
url=http://google.com
[515932]
host=127.0.0.1:5038
user=admin <…………………NON cambiare
passwd=llcgi <…………..NON cambiare
nomenu=no ; <————NO è per vedere yes è per non vedere
hideNodeURL=no ; <————NO è per vedere yes è per non vedere
[501]
system=System1
host=my.address.com:5038
user=admin
passwd=password2
nomenu=yes
hideNodeURL=yes
[502]
system=System1
host=my.address.com:5038
user=admin
passwd=password2
nomenu=yes
hideNodeURL=yes
…………………………………
1 ) Nota Bene!!!!
La password llcgi non va cambiata almeno per i primi test
è una password di default che è ripetuta anche in altri file.
Se viene sostituita pregiudica il collegamento con i vari moduli
Con il comando descritto sotto potrete sostituire la password di accesso alla dashboard
lasciando invariata la llcgi che è solo di controllo per il sistema.
htpasswd -cB .htpasswd admin
e quindi per accedere alla dashboard d comando Allmon2 potrete scrivere
admin e poi la vostra nuova password
……………………………………………..
Password to Enable Buttons and Control Panel
While in the /var/www/html/allmon2 directory
repeater@repeater:~$ htpasswd -cB .htpasswd admin
Note: don’t use an exclamation mark in the .htpasswd password.
Test and Use
repeater@repeater:~$ chmod 777 astdb.php
./astdb.php
If you are using Lighttpd, you must modify your configuration to work with Allmon2.
Add
server.stream-response-body = 2
to /etc/lighttpd/lighttpd.conf and restart lighttpd.
………………………………………………………………….
iax.conf
Scrivere solo la propria password e salvare
[iaxrpt] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <—————
context = iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret =passw0rd1
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
[iaxclient] ; Connect from iax client (Zoiper…)
type = friend ; Notice type here is friend <————–
context = iax-client ; Context to jump to in extensions.conf
auth = md5
secret = passw0rd
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
Nel dvs-mobile sul vostro telefono è da inserire questa configurazione per collegarvi al vostro server
Hostname =…192.. <….Indirizzo ip del server
porta=4569 <….controllare che non sia stata modificata!!
username=iaxclient <…. corrisponde a [iaxclient]
password=passw0rd <……..la password che è stata cambiata
callerID =IU0 <…. è il vostro id di chiamata
Node=51593 <….. il vostro numero di nodo
……………………………………………………….
Sii il primo a commentare