Home Shack APRS My Radios Antennas Frequencies that I Monitor Echolink Packet D-Star DMR / YSF Links
ACARS CW FRN HELP Data Modes Motorola, Solved Rallies RTTY SSTV Weather Fax DVSwitch

ALLSTARLINK 2.0, by Adrian, M7MRX.

INSTALLATION MANUAL IN PDF FORMAT (see link below).

With huge thanks to Adrian, M7MRX.

Information from Dave, G0KBM, to which I am eternally grateful.

Support from Dave, WB3JSW. Thank you.

(If I have missed anyone, please let me know)

Digital Radio using a Raspberry PI

You will need.........

Raspberry PI 3B+ and a 32gb micro SD card (recommended size)

and the following software (all links open in a new window)

SD Card formatter

win32disk imager or balena Etcher

putty

WINSCP

Remember to open up ports 4569 and 12345

on you router (TCP & UDP)

INSTALLATION MANUAL HERE

24.575kb Abobe Acrobat PDF File (get the reader HERE)

Installation Video on YouTube HERE

You will never get those 47 minutes and 43 seconds back...LOL

Adding Talkgroups Video on YouTube HERE

Great tutorial of 5 minutes 41 seconds

Using Supermon, hUC (HTML User Client) and the dashboard HERE

Tutorial of 4 minutes 34 seconds

--------------------------------------------------------------------------------------------

SSH BUTTON

A mobile application on PLAY STORE by PA7LIM

This will enable easy remote SHUTDOWN of your RASPBERRY PI (should you need to)

sample screenshot

A Jumbospot can also be accessed the same way

This is shown below in "PUTTY" however, the details are the same for SSH BUTTON.

Depending on the system, you could wait up to 2 minutes before you can un-plug after SHUT DOWN

PI putty commands

sudo poweroff (ENTER) < shuts down the PI
sudo reboot (ENTER) < reboots the PI

sudo - run the command as superuser

--------------------------------------------------------------------------------------------

SUPERMON

problems logging in ?

log in to your PI with putty

At prompt type cd /var/www/html/supermon

press enter

type sudo htpasswd -cB .htpasswd admin

press enter

you will now be requested to enter your password

press enter and enter your password again

once that is done......

type  cd .. press enter

then cd allmon2 press enter

then type in the command ./astdb.php

now you should be able to log in to supermon in your browser

Problems with ALLSTAR "unable to tune".

follow pages 55, 56 and 57 of the installation guide.

this will solve this issue.

PROBLEMS LOGGING INTO TGIF.

When setting up DMR servers, DO NOT 'cut and paste' any passwords.

YOU MUST ENTER THEM MANUALLY or it won't work.

example

you have to manually  edit dmr node list json in >>

opt/Analog_Reflector/arRoot/modes/DMR_node_list.json

and manually enter tgif password as the huc wouldn't connect

The .json files in the modes folder allow you to add your favorites.

 

adding allstar favourites to supermon.

log in to the pi via putty

type sudo -s press enter

type cd /var/www/html/supermon press enter

type nano favorites.ini press enter

now you can follow the format to add favorites

Add whatever you need

----------------------

EXAMPLE BELOW

-----------------------

[general]
;
label[] = "HUBNET"
cmd[] = "rpt cmd %node% ilink 13 41522"
;
;label[] = "Philadelphia AllStar HUB 27225"
;cmd[] = "rpt cmd %node% ilink 13 27225"
;

hold down CTRL and press X then release CTRL and press Y then enter to SAVE
 

SUPERMON DISPLAY SCREEN

Just 4 items to edit here (Highlighted in GREEN)

LOG IN TO YOUR PI then type sudo -s

now enter             nano /var/www/html/supermon/global.inc

below is what you will see in the editor.

<?php
// Set the values to your parameters
// ONLY change text between quotes
//
// Your callsign
$CALL = "PUT YOUR CALLSIGN HERE";
//
// Your name
$NAME = "PUT YOUR NAME HERE";
//
// Your location
$LOCATION = "PUT YOUR LOCATION HERE";
//
// Second line header title
$TITLE2 = "RPi2-3-4 Node";
//
// Third line header title
$TITLE3 = "AllStar/IRLP/Echolink System Manager";
//
// Background image - specify path if not /var/www/html/supermon
// Leaving BACKGROUND null "" results in BACKGROUND_COLOR
$BACKGROUND = "background.jpg";
//
// Background color if no image
$BACKGROUND_COLOR = "blue";
//
// Height of background - matches image height
$BACKGROUND_HEIGHT = "124px";
// Supermon screen REFRESH delay time in seconds
// Default is 21600 seconds, six hours
$REFRESH_DELAY = "21600";
//
// Show number of core dump files that may exist, IF any
;
$SHOW_COREDUMPS = "yes";
//
// Show weather conditions and temperature for Zip code area
$LOCALZIP = "ENTER THE LOCAL AIRPORT ABBREVIATION HERE";

once you are done, CTRL X, press Y and ENTER

SUPERMON will now be personalised for you
 

 

Within supermon

Be very careful whilst editing files, my example just adds HUBNET

supermon configuration editor does not work


This is not an error. Those files are read only for a reason. It is
totally unsafe to edit those files in a web browser in the current
Supermon. The message at the top of the screen specifically tells you to
edit in Linux with nano or vi if it is a read only file. In any event this
is the best way to do it. Changing permissions on files should never be
done and if you do so you are doing it at your own risk.

We possibly may be looking at a way to allow safer editing of these files
but some files like iax.conf that have passwords will probably never be
editable via the web. I should point out that web access is NOT secure.
This uses http not https and data is in the clear out on the net.

If you have access to a web page to your server then you most certainly
should also have access via ssh using putty or another ssh client. All you
need to do is log in and edit the file. Most of these files do not get
edited that often anyway.

---------------------------------------------------------------------

ALLSTAR MONITOR II

Using PUTTY

at the prompt enter cd /var/www/html/allmon2 (press enter)

type sudo -s (press enter)

type chmod 777 astdb.php (press enter)

type ./astdb.php (press enter)

you should see : Success: astdb.txt 764888 bytes

type htpasswd -cB .htpasswd admin (press enter)

you will be asked to type

New password:
Re-type new password:

a message should appear
Adding password for user admin

Now edit the allmon.ini.php  type in sudo nano allmon.ini.php (press enter)

now paste this into your empty .ini file

<?php
[Off-site Link]
url=http://allstarlink.org

[ENTER NODE NUMBER HERE]
host=127.0.0.1:5038
user=admin
passwd=ENTER PASSWORD HERE
nomenu=no
hideNodeURL=no

;[2000]
;system=System2
;host=my.address.com:5037
;user=admin
;passwd=password2

;[2000 RTCM]
;system=System2
;rtcmnode=2000

;[Grouped Nodes]
;nodes=500,501,2000

;[2 RTCMs]
;system=System2
;rtcmnode=2000,2001
?>
 

hold down CTRL and press X then release CTRL

and press Y then enter to SAVE

hold down CTRL and press X then release CTRL and press Y then enter to SAVE

now in PUTTY

type cp controlpanel.ini.txt controlpanel.ini.php (press enter)

this will enable the control panel button

now, in a browser, go to

http://192.168.x.x/allmon2

that should be it.......(hopefully)

 

--------------------------------------------------

---------------------------------------------------------------------------------------

 

I have found a way to edit the files on the PI, within the ALLSTARIMAGE with windows.

Click here   >>> WINSCP <<< to get winscp.

It is all done by importing your saved putty connections

image below, show where to edit the .json files.
on the right hand side is PI, double click to edit the .json files

For the site's settings in WinSCP, SELECT EDIT, then ADVANCED  and navigate to Environment > Shell
Change the text in the field from default to sudo su - and your "pi" account will log in using sudo privileges,
letting you SCP files anywhere as root. Allowing you to edit them.

Once this is done, log in to your PI with WINscp and edit your files.

When SAVING a file, choose DELETE to save

After Changes are saved, PUTTY into your Raspberry Pi and log in.

type sudo reboot

OR

open the ASL-MENU, by typing asl-menu at the prompt.

GOTO system diagnostics menu (9).

SELECT (G) restart ASL ASTERISK (astres.sh).

----------------------------------------------------------------

If you prefer to edit .json files within putty.....

[email protected]:/home/repeater#

cd /opt
cd Analog_Reflector
cd arRoot
cd modes
sudo nano DSTAR_node_list.json
----------------------------------------------------------------------

PI putty commands

sudo poweroff (ENTER) < shuts down the PI
sudo reboot (ENTER) < reboots the PI

sudo - run the command as superuser

ECHOLINK

In PUTTY run asl-menu
select option 2 run node setup menu


select option A2 edit echolink

sample echolink.conf file below

[el0]
confmode=no ; Conference mode
call=W6ABC-L ;
Change this to your callsign
pwd=XXXXX ;
Change this to your echolink password
name=echolinkusername ;
Change this to your real name
qth=echolink-location ;
Change this to your actual QTH
[email protected] ;
Change this to your echolink registered email
maxstns=20 ; The maximum 'at-once' connections allowed/supported (see ** below)
node=123456 ;
Change this to your 'ECHOLINK' node number
astnode=2345 ;
Change this to your active Allstar node number
context=radio-secure ; The allstar context (leave the default unless you have good reason to change)
server1=server1.echolink.org
server2=server2.echolink.org
server3=server3.echolink.org
rtcptimeout=10
recfile=/tmp/recorded.gsm
freq=145.000 ; Freq in MHz
tone=100.0 ; CTCSS Tone (0 for none)
lat=34.74978 ; Latitude in decimal degrees
lon=-92.27666 ; Longitude in decimal degrees
power=0 ; 0=0W, 1=1W, 2=4W, 3=9W, 4=16W, 5=25W, 6=36W, 7=49W, 8=64W, 9=81W (Power in Watts)
height=0 ; 0=10' ,1=20',2=40',3=80' ,4=160' ,5=320' ,6=640' ,7=1280',8=2560',9=5120' (AMSL in Feet)
gain=7 ; Gain in db (0-9)
dir=0 ; 0=omni, 1=45deg, 2=90deg, 3=135deg, 4=180deg, 5=225deg, 6=270deg, 7=315deg, 8=360deg
(Direction)


edit all your details and select option EZ to save
then go BACK and then select option AZ save and make live
exit asl-menu

using ASL client to connect to an echolink node

Allstar sees ALL EchoLink node numbers as 6-digits long.
Nodes with shorter numbers have to add leading zeroes.

e.g. EchoLink node 2345 = AllStar Node 002345

Also, in order to differentiate EchoLink node numbers from AllStar numbers,
the 6-digit number has to be preceded with a "3".
So the example above becomes 3002345, a total of 7 digits.

Therefore to connect to an echolink node via ASL key in *3002345

for example Hubnet UK would be *33973498

so just enter and click send

IMPORTANT

EchoLink is designed to allow only one node per IP address, and trying to 
run two or more behind the same public IP 
can lead to very erratic operation. You may have already noticed odd 
behaviour such as inability to connect, or incoming connections being 
picked up by the "wrong" node. It also causes problems with the servers that 
manage the EchoLink system. For this reason, it's against our Access Policies, 
and nodes that operate this way for more than 48 hours may be blocked at our firewalls.

Keep in mind that if you are running your EchoLink nodes from the same location that 
shares a single ISP service, such as cable or DSL, it's common for all of the PCs in 
that location to be sharing the same public IP address. 
This works well for most types of Internet usage, and even some other VoIP systems, 
but it won't work for multiple EchoLink nodes, because of the requirement that each 
logged-in node have a separate address. 
In fact, proper EchoLink operation requires that you set up port forwarding 
in your router, to forward all incoming EchoLink traffic to a single machine.

If you need to run multiple nodes on the same Internet service, there are a few options:

1) Check with your ISP to see if it can allocate to you a second public IP address, 
and if so, how you can set up your network to begin using it.
2) Use a Public Proxy with your second node, especially if it's not a "sysop" node, 
and you only need to run it part of the time.
3) Consider the use of a VPN service for the second node, which is typically 
available on a monthly subscription basis from various providers.

Hopefully this information is helpful. 
You can find more information about how the EchoLink network works on the 
EchoLink Web site (www.echolink.org).

 

 

--------------------------------------------------------------------------------------

Setting up DVSWITCH MOBILE ........

Android users can access the PI with DVSwitch Mobile from the Google Play Store.

Select the ACCOUNTS TAB
Select the first entry and it will present you with the account setup page.
Top left change from
iax2 to usrp
Host name will be the
ip address of your pi
Port =
12345
Tx port =
12345
Callsign
DMR num
Uncheck autoload node
Transmit level set to the last
T in transmit
Rec level set to the last
L in level
Then save.
Back out to initial operational screen and press register. The client should then connect.
NOTE: it seems that you can run both dvsm and Huc at the same time.

once you have set the account up and you back out of the account setup page make sure the
 little box next to the account is checked with a green tick.
You set it by pressing the box.
On dvsm to get your extented options you select *0 send. This will give you a menu you see on
Huc to select any dmr networks you have setup.

This is assuming within the dvs software
On the pi
 the advance menu system has been set

In the PI, login and type DVS followed by the enter key

select MENU options 2, 23, 9, should be ADVANCED

IN YOUR ROUTER, PORT FORWARD PORT 12345 TCP and UPD

ADDING FAVOURITES TO DVSWITCH MOBILE and HUC
(only DMR, D-STAR and FUSION)

(ALLSTAR is different, see below)

If anyone knows an easier way, please let me know, thank you.

AT THE PROMPT IN PUTTY, TYPE dvs

navigate to menu 2, menu 22, and select the favourites you want to edit.

In these examples, I have added two entries to the d-star, one to ysf and one to dmr favourites.

once added, ctrl x, y, enter to save changes

then, with dvswitch mobile connected select option 6, push to DVSM/UC

on your mobile screen you should see messages

updating global db, adding favourite db, file transfer rx file success

Holding B on dvswitch mobile will bring up your updated list.

DVSWITCH MOBILE

Adding shortcuts to Macros for ALLSTAR

 
 

ADDING ALLSTAR FAVOURITES TO THE HUC

 


LOG INTO YOUR PI

sudo -s

cd /var/www/html/supermon

nano favorites.ini

Add whatever you need

----------------------

EXAMPLE BELOW

-----------------------

[general]
;
label[] = "HUBNET"
cmd[] = "rpt cmd %node% ilink 13 41522"
;
;label[] = "Philadelphia AllStar HUB 27225"
;cmd[] = "rpt cmd %node% ilink 13 27225"
;

hold down CTRL and press X then release CTRL

and press Y then enter to SAVE

refreshing your HUC page should see the changes

----------------------------------------A Similar Project---------------------------------------

DVSWITCH

This is a software solution for Digital Radio

A Two part solution consisting of a Raspberry PI computer
and a Windows / Android dashboard to control it.

I currently use a Raspberry Pi 3B+ and a Windows 7 64 bit laptop.

Step 1. Download the Image File for the raspberry pi >>> HERE <<<

Step 2. Go to the PI-Star website and download a configuration file for WIFI, wpa_supplicant.conf,  >>> HERE <<<

Step 3. Download USRP for Windows (64bit) or (32bit) (The Installer is in Spanish but the Programme is in English)

YOU MAY NEED MICROSOFT VISUAL C++ >>> HERE <<<

Step 4. Download PuTTY >>> HERE <<<

Step 5. Download Instructions >>> HERE <<<

Step 6. Download a sample pyUC.ini file >>> HERE <<<

Step 7. Write the image file to a micro sd card, when completed, copy across the WIFI file wpa_supplicant.conf  to the root of your card

Step 8. Read the DVSWITCH install instructions, using PuTTY to SSH into your PI from your Computer.

Step 9. Install the USRP client (note the installer is in Spanish, but once installed it is in English.

Step 10. Replace the pyUC.ini file in the Windows program directory with the sample one you downloaded in step 6.
---------------------------------------------------------------------------------------------------------------------------------------------------------

You will need to run NOTEPAD as "ADMINISTRATOR" to edit the pyUC.ini file in the windows program directory.

The pyUC.ini file will need to be altered to suit your callsign, ip address, ports, etc and here you can add any short cuts to talkgroups.

Android users can access the PI with DVSwitch Mobile from the Google Play Store.

GOOD LUCK.


EMAIL [email protected]