Date   

Re: DVSwitch dashboard not populating

Steve Siesel [K4KSA]
 

I’ve noticed that some versions of Allstar also install apache2 as a webserver. DVswitch-server installs lighttpd as a webserver as well so there might be some conflicts. Others better than me can answer beyond this.

 

Steve

K4KSA

 

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of David Young
Sent: Sunday, February 14, 2021 3:22 PM
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DVSwitch dashboard not populating

 

Went through the process to install Allstar node on Debian10 amd64 cloud server which was already running multiple bridges (FCS / DMR, NXDN reflector and bridge NXDN / DMR and P25 Reflector and bridge P25 / DMR using analog_bridge modules.  Eventually got Allstar node installed and working including bridging it to DMR by adding a third analog_bridge module (had to change the private node ports from 32001 and 34001 to 32051 and 34051 to work alongside the analog_bridge modules already configured for P25).   Tried to install DVSwitch-Server following Steve's posted instructions and it generated an error during installation even though I did the install test prior to the actual install which did not generate any error.  All the bridges are working correctly including the Allstar node and bridge to DMR.  The dashboard however, I guess did not install fully.  The web browser shows the dashboard display but nothing populates the dashboard except the bottom hardware information which is valid.  I looked at the files in path:  >/var/www/html/include< and instead of seeing the config.php file I expected, there is a file named 'config.php.dpkg-new' which seems to be part of the installation which did not complete.

Is there a way to just reinstall the dashboard without removing and reinstall DVSwitch-Server to reintall or repair the dashboard installation?

Thanks for help,
--
Dave WB6DTB


Re: Unable to locate package dvswitch-server

Steve N4IRS
 

David,
You have a mixed install. If possible you best bet is to start over. The install attempt has left packages from stretch.

On 2/14/21 3:20 PM, David - W9DWH/4 via groups.io wrote:
I now have the DVswitch server installed but it is showing some errors.

root@dvswitch:~# apt-get install dvswitch-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
dvswitch-server is already the newest version (1.6.0-20201029-7).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dvswitch-server : Depends: dvswitch-menu but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@dvswitch:~#

When I type apt-get -f install I get this:

root@dvswitch:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  dvswitch-menu
The following NEW packages will be installed:
  dvswitch-menu
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
28 not fully installed or removed.
Need to get 0 B/76.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 91894 files and directories currently installed.)
Preparing to unpack .../dvswitch-menu_1.6.1-20201220-113_all.deb ...
Unpacking dvswitch-menu (1.6.1-20201220-113) ...
dpkg: error processing archive /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb (--unpack):
 trying to overwrite '/usr/local/dvs/init_config.sh', which is also in package dvswitch-base 1.5-20200427-21
Errors were encountered while processing:
 /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I type DVS to start it I get command not found.




DVSwitch dashboard not populating

David Young
 

Went through the process to install Allstar node on Debian10 amd64 cloud server which was already running multiple bridges (FCS / DMR, NXDN reflector and bridge NXDN / DMR and P25 Reflector and bridge P25 / DMR using analog_bridge modules.  Eventually got Allstar node installed and working including bridging it to DMR by adding a third analog_bridge module (had to change the private node ports from 32001 and 34001 to 32051 and 34051 to work alongside the analog_bridge modules already configured for P25).   Tried to install DVSwitch-Server following Steve's posted instructions and it generated an error during installation even though I did the install test prior to the actual install which did not generate any error.  All the bridges are working correctly including the Allstar node and bridge to DMR.  The dashboard however, I guess did not install fully.  The web browser shows the dashboard display but nothing populates the dashboard except the bottom hardware information which is valid.  I looked at the files in path:  >/var/www/html/include< and instead of seeing the config.php file I expected, there is a file named 'config.php.dpkg-new' which seems to be part of the installation which did not complete.

Is there a way to just reinstall the dashboard without removing and reinstall DVSwitch-Server to reintall or repair the dashboard installation?

Thanks for help,
--
Dave WB6DTB


Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

agreed.

But that is not what is happening for me twice.

I might look at it deeper tonight.

On 2/14/2021 3:20 PM, Steve N4IRS wrote:
Then something is wrong with your OS install. apt upgrade should install any packages that have been updated since the last time.

On 2/14/21 3:17 PM, Mike KB8JNM wrote:

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

On 2/14/2021 3:16 PM, Steve N4IRS wrote:
are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf







Re: Unable to locate package dvswitch-server

 

Unfortunately I have been having issues with either downloading or updating from
dvsiwtch.org. It seems to be unreachable.
I have spent quite a bit of time talking with Spectrum Customer Service (!) and they
claim that they can reach the  44 block. 
Yes, I have checked my router over and over. 
Stumped.
Don
WB5EKU
 

On Sun, Feb 14, 2021 at 12:15 PM Steve N4IRS <szingman@...> wrote:
I just did it this morning and have done it quite a few times over the last few days.

On 2/14/21 3:12 PM, Mike KB8JNM wrote:

It did work a week or more ago, then something changed with the packages for system.


On 2/14/2021 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf





Re: Unable to locate package dvswitch-server

David - W9DWH
 

I now have the DVswitch server installed but it is showing some errors.

root@dvswitch:~# apt-get install dvswitch-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
dvswitch-server is already the newest version (1.6.0-20201029-7).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dvswitch-server : Depends: dvswitch-menu but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@dvswitch:~#

When I type apt-get -f install I get this:

root@dvswitch:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  dvswitch-menu
The following NEW packages will be installed:
  dvswitch-menu
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
28 not fully installed or removed.
Need to get 0 B/76.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 91894 files and directories currently installed.)
Preparing to unpack .../dvswitch-menu_1.6.1-20201220-113_all.deb ...
Unpacking dvswitch-menu (1.6.1-20201220-113) ...
dpkg: error processing archive /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb (--unpack):
 trying to overwrite '/usr/local/dvs/init_config.sh', which is also in package dvswitch-base 1.5-20200427-21
Errors were encountered while processing:
 /var/cache/apt/archives/dvswitch-menu_1.6.1-20201220-113_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When I type DVS to start it I get command not found.



Re: Unable to locate package dvswitch-server

Steve N4IRS
 

Then something is wrong with your OS install. apt upgrade should install any packages that have been updated since the last time.

On 2/14/21 3:17 PM, Mike KB8JNM wrote:

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

On 2/14/2021 3:16 PM, Steve N4IRS wrote:
are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf







Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

That was a cloud x86 install from iso

On 2/14/2021 3:18 PM, Mike KB8JNM wrote:

The following packages have been kept back:
  openssh-client openssh-server openssh-sftp-server ssh
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

On 2/14/2021 3:17 PM, Mike KB8JNM wrote:

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

On 2/14/2021 3:16 PM, Steve N4IRS wrote:
are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf






Re: ASL<>AB

Steve Siesel [K4KSA]
 

Thanks…All seems good now…One last question for today..( I Hope!) What would be the apt command to install a second instance of DVSwitch server (for broadcastify purpsoses) to lets say  to /home/k4ksa?

 

Steve

 

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Steve N4IRS
Sent: Sunday, February 14, 2021 2:59 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL<>AB

 

I suggest you use these values:

duplex = 0                ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!

hangtime = 0                ; squelch tail hang time 0
althangtime = 0                ; longer squelch tail hang time 0

holdofftelem = 1            ; Hold off all telemetry when signal is present on receiver or from connected nodes
                    ; except when an ID needs to be done and there is a signal coming from a connected node.

telemdefault = 0            ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.

telemdynamic = 0            ; 0 = disallow users to change the local telemetry setting with a COP command,

linktolink = no                ; disables forcing physical half-duplex operation of main repeater while
                    ; still keeping half-duplex semantics (optional)

nounkeyct = 1                ; Set to a 1 to eliminate courtesy tones and associated delays.

totime = 180000                ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

; idrecording = |ie            ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie            ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

On 2/14/21 2:56 PM, Steve Siesel [K4KSA] wrote:

It is now working…Long hangtime I think I will change Hangtime to 20

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Steve N4IRS
Sent: Sunday, February 14, 2021 2:51 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL<>AB

 

Is chan_usrp enabled in modules.conf?

On 2/14/21 2:50 PM, Steve Siesel [K4KSA] wrote:

Yes…..

 

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Steve N4IRS
Sent: Sunday, February 14, 2021 2:50 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL<>AB

 

Did you fix rpt.conf and did you then restart asterisk?

On 2/14/21 2:46 PM, Steve Siesel [K4KSA] wrote:

After restarting AB and Asterisk….also md3890-emu is running

Still no Joy…Here is the latest start of Analog_bridge.log

 

 

I: 2021-02-14 19:43:13.761 Analog_Bridge is starting

M: 2021-02-14 19:43:13.762 Setting [MACROS] DMR -> /opt/MMDVM_Bridge/dvswitch.sh mode DMR

M: 2021-02-14 19:43:13.762 Setting [MACROS] DSTAR -> /opt/MMDVM_Bridge/dvswitch.sh mode DSTAR

M: 2021-02-14 19:43:13.762 Setting [MACROS] NXDN -> /opt/MMDVM_Bridge/dvswitch.sh mode NXDN

M: 2021-02-14 19:43:13.762 Setting [MACROS] P25 -> /opt/MMDVM_Bridge/dvswitch.sh mode P25

M: 2021-02-14 19:43:13.762 Setting [MACROS] YSF -> /opt/MMDVM_Bridge/dvswitch.sh mode YSF

M: 2021-02-14 19:43:13.762 Setting [MACROS] dbupdate -> /opt/MMDVM_Bridge/dvswitch.sh collectProcessPushDataFiles

M: 2021-02-14 19:43:13.764 Setting [MACROS] 9876 -> /opt/Analog_Bridge/parrot.sh

M: 2021-02-14 19:43:13.765 Setting [] include -> dvsm.macro

M: 2021-02-14 19:43:13.766 Setting [GENERAL] logLevel -> 2

M: 2021-02-14 19:43:13.766 Setting [GENERAL] exportMetadata -> true

M: 2021-02-14 19:43:13.767 Setting [GENERAL] transferRootDir -> /tmp

M: 2021-02-14 19:43:13.767 Setting [GENERAL] subscriberFile -> /var/lib/dvswitch/subscriber_ids.csv

M: 2021-02-14 19:43:13.768 Setting [GENERAL] decoderFallBack -> true

M: 2021-02-14 19:43:13.768 Setting [GENERAL] useEmulator -> false

M: 2021-02-14 19:43:13.769 Setting [GENERAL] emulatorAddress -> 127.0.0.1:2470

M: 2021-02-14 19:43:13.769 Setting [GENERAL] pcmPort -> 2222

M: 2021-02-14 19:43:13.769 Setting [AMBE_AUDIO] address -> 127.0.0.1

M: 2021-02-14 19:43:13.769 Setting [AMBE_AUDIO] txPort -> 31103

M: 2021-02-14 19:43:13.770 Setting [AMBE_AUDIO] rxPort -> 31100

M: 2021-02-14 19:43:13.770 Setting [AMBE_AUDIO] ambeMode -> DMR

M: 2021-02-14 19:43:13.770 Setting [AMBE_AUDIO] minTxTimeMS -> 2500

M: 2021-02-14 19:43:13.771 Setting [AMBE_AUDIO] gatewayDmrId -> 1112721

M: 2021-02-14 19:43:13.771 Setting [AMBE_AUDIO] repeaterID -> 111272123

M: 2021-02-14 19:43:13.772 Setting [AMBE_AUDIO] txTg -> 31676

M: 2021-02-14 19:43:13.772 Setting [AMBE_AUDIO] txTs -> 2

M: 2021-02-14 19:43:13.772 Setting [AMBE_AUDIO] colorCode -> 1

M: 2021-02-14 19:43:13.773 Setting [USRP] address -> 127.0.0.1

M: 2021-02-14 19:43:13.773 Setting [USRP] txPort -> 32001

M: 2021-02-14 19:43:13.773 Setting [USRP] rxPort -> 34001

M: 2021-02-14 19:43:13.774 Setting [USRP] usrpAudio -> AUDIO_UNITY

M: 2021-02-14 19:43:13.774 Setting [USRP] usrpGain -> 1.10

M: 2021-02-14 19:43:13.774 Setting [USRP] usrpAGC -> -20,10,100

M: 2021-02-14 19:43:13.775 Setting [USRP] tlvAudio -> AUDIO_UNITY

M: 2021-02-14 19:43:13.775 Setting [USRP] tlvGain -> 0.35

M: 2021-02-14 19:43:13.776 Setting [DV3000] address -> 127.0.0.1

M: 2021-02-14 19:43:13.776 Setting [DV3000] rxPort -> 2460

I: 2021-02-14 19:43:13.777 Open UDP listener on 127.0.0.1:31100

I: 2021-02-14 19:43:13.777 Open USRP on 127.0.0.1:32001

M: 2021-02-14 19:43:13.777 Connecting to DV3000 hardware......

W: 2021-02-14 19:43:13.871 DV3000 did not reset at 127.0.0.1:2460

W: 2021-02-14 19:43:13.871 DV3000 not found at 127.0.0.1:2460 (Reset failed)

I: 2021-02-14 19:43:16.072 Subscriber IDs loaded: 187850

I: 2021-02-14 19:43:16.073 Default extended metadata <K4KSA>

W: 2021-02-14 19:43:16.073 Using software MBE decoder version 1.2.3

W: 2021-02-14 19:43:16.073 Using software OP25 IMBE/AMBE vocoder

I: 2021-02-14 19:43:16.074 Sending to USRP clients at 127.0.0.1 on port(s) 32001

I: 2021-02-14 19:43:16.074 Sending PCM to  clients at 127.0.0.1 on port 2222

I: 2021-02-14 19:43:16.074 Starting TLV --> Analog_Bridge (decoder) --> USRP thread

I: 2021-02-14 19:43:16.075 Starting USRP --> Analog_Bridge (encoder) -> TLV thread

 

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Steve N4IRS
Sent: Sunday, February 14, 2021 2:41 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL<>AB

 

You have 2 channel drivers uncommented:

rxchannel = dahdi/pseudo                ; No radio (hub) <--------------------- Comment this out.
; rxchannel = SimpleUSB/usb_1999        ; SimpleUSB
; rxchannel = Pi/1                      ; Raspberry Pi PiTA
; rxchannel = Radio/usb_1999            ; USBRadio (DSP)
; rxchannel = Dahdi/1                   ; PCI Quad card
; rxchannel = Beagle/1                  ; BeagleBoard
rxchannel = USRP/127.0.0.1:34001:32001; GNU Radio interface USRP
; rxchannel = Voter/1999                ; RTCM device

On 2/14/21 2:34 PM, Steve Siesel [K4KSA] wrote:

Can you look at this as well…..

 

I cannot get ASL<> AB to talk….Here is my rpt.cof and Analog_bridge.ini. RF from talkgroup 31676 make it in the logs of AB and MB. When able to talk on Allstar via Corey’s WS, I see the transmission in Allstar but nothing past that.

 

Steve

 

 

; Your Repeater

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

[460310]                                        ; Change this to your assigned node number

 

                                        ; Must also be enabled in modules.conf

                                        ; Rx audio/signalling channel. Choose ONLY 1 per node stanza

 

                                        ; Enable the selected channel driver in modules.conf !!!

rxchannel = dahdi/pseudo                ; No radio (hub)

; rxchannel = SimpleUSB/usb_1999        ; SimpleUSB

; rxchannel = Pi/1                      ; Raspberry Pi PiTA

; rxchannel = Radio/usb_1999            ; USBRadio (DSP)

; rxchannel = Dahdi/1                   ; PCI Quad card

; rxchannel = Beagle/1                  ; BeagleBoard

rxchannel = USRP/127.0.0.1:34001:32001; GNU Radio interface USRP

; rxchannel = Voter/1999                ; RTCM device

 

 

duplex = 1                              ; 0 = Half duplex with no telemetry tones or hang time.

                                        ;     Special Case: Full duplex if linktolink is set to yes.

                                        ;     This mode is preferred when interfacing with an external multiport repeater controller.

                                        ;     Comment out idrecording and idtalkover to suppress IDs also

                                        ; 1 = Half duplex with telemetry tones and hang time. Does not repeat audio.

                                        ;     This mode is preferred when interfacing a simplex node.

                                        ; 2 = Full Duplex with telemetry tones and hang time.

                                        ;     This mode is preferred when interfacing a repeater.

                                        ; 3 = Full Duplex with telemetry tones and hang time, but no repeated audio.

                                        ; 4 = Full Duplex with telemetry tones and hang time. Repeated audio only when the autopatch is down.

 

linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while

                                        ; still keeping half-duplex semantics (optional)

 

linkmongain = 0                         ; Link Monitor Gain adjusts the audio level of monitored nodes when a signal from another node or the local receiver is received.

                                        ; If linkmongain is set to a negative number the monitored audio will decrease by the set amount in db.

                                        ; If linkmongain set to a positive number monitored audio will increase by the set amount in db.

                                        ; The value of linkmongain is in db. The default value is 0 db.

 

erxgain = -3                            ; Echolink receive gain adjustment

                                        ; Note: Gain is in db-volts (20logVI/VO)

etxgain = 3                             ; Echolink transmit gain adjustment

                                        ; Note: Gain is in db-volts (20logVI/VO)

;eannmode = 1                           ; 1 = Say only node number on echolink connects (default = 1)

                                        ; 2 = say phonetic call sign only on echolink connects

                                        ; 3 = say phonetic call sign and node number on echolink connects

 

;controlstates = controlstates          ; system control state stanza

 

scheduler = schedule                    ; scheduler stanza

functions = functions                   ; Repeater Function stanza

phone_functions = functions             ; Phone Function stanza

link_functions = functions              ; Link Function stanza

 

telemetry = telemetry                   ; Telemetry stanza

morse = morse                           ; Morse stanza

wait_times = wait-times                 ; Wait times stanza

 

context = radio                         ; dialing context for phone

callerid = "Repeater" <0000000000>      ; callerid for phone calls

accountcode = RADIO                     ; account code (optional)

 

hangtime = 5000                         ; squelch tail hang time (in ms) (optional, default 5 seconds, 5000 ms)

althangtime = 4000                      ; longer squelch tail

totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

 

idrecording = |iWA4XYZ                  ; cording or morse string see http://ohnosec.org/drupal/node/87

idtalkover = |iWA4XYZ                   ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

                                        ; See Telemetry section Example: idrecording = rpt/nodenames/1999

idtime = 540000                         ; id interval time (in ms) (optional) Default 5 minutes (300000 ms)

politeid = 30000                        ; time in milliseconds before ID timer expires to try and ID in the tail. (optional, default 30000)

 

unlinkedct = ct2                        ; Send a this courtesy tone when the user unkeys if the node is not connected to any other nodes. (optional, default is none)

remotect = ct3                          ; remote linked courtesy tone (indicates a remote is in the list of links)

linkunkeyct = ct8                       ; sent when a transmission received over the link unkeys

;nolocallinkct = 0                      ; Send unlinkedct instead if another local node is connected to this node (hosted on the same PC).

 

;connpgm = yourconnectprogram           ; Disabled. Execute a program you specify on connect. (default)

                                        ; passes 2 command line arguments to your program:

                                        ; 1. node number in this stanza (us)

                                        ; 2. node number being connected to us (them)

;discpgm = yourdisconnectprogram        ; Disabled. Execute a program you specify on disconnect. (default)

                                        ; passes 2 command line arguments to your program:

                                        ; 1. node number in this stanza (us)

                                        ; 2. node number being disconnected from us (them)

 

;lnkactenable = 0                       ; Set to 1 to enable the link activity timer. Applicable to standard nodes only.

 

;lnkacttime = 1800                      ; Link activity timer time in seconds.

;lnkactmacro = *52                      ; Function to execute when link activity timer expires.

;lnkacttimerwarn = 30seconds            ; Message to play when the link activity timer has 30 seconds left.

 

;remote_inact_timeout =                 ; Specifies the amount of time without keying from the link. Set to 0 to disable timeout. (15 * 60)

;remote_timeout =                       ; Session time out for remote base. Set to 0 to disable. (60 * 60)

;remote_timeout_warning_freq =          ; 30

;remote_timeout_warning =               ; (3 * 60)

 

;nounkeyct = 0                          ; Set to a 1 to eliminate courtesy tones and associated delays.

 

holdofftelem = 0                        ; Hold off all telemetry when signal is present on receiver or from connected nodes

                                        ; except when an ID needs to be done and there is a signal coming from a connected node.

 

telemdefault = 0                        ; 0 = telemetry output off

                                        ; 1 = telemetry output on (default = 1)

                                        ; 2 = timed telemetry output on command execution and for a short time thereafter.

 

telemdynamic = 1                        ; 0 = disallow users to change the local telemetry setting with a COP command,

                                        ; 1 = Allow users to change the setting with a COP command. (default = 1)

 

;beaconing = 0                          ; Send ID regardless of repeater activity (Required in the UK, but probably illegal in the US)

 

parrotmode = 0                          ; 0 = Parrot Off (default = 0)

                                        ; 1 = Parrot On Command

                                        ; 2 = Parrot Always

                                        ; 3 = Parrot Once by Command

 

parrottime = 1000                       ; Set the amount of time in milliseconds

                                        ; to wait before parroting what was received

 

;rxnotch=1065,40                        ; (Optional) Notch a particular frequency for a specified

                                        ; b/w. app_rpt must have been compiled with

                                        ; the notch option

 

startup_macro =

 

; nodenames = /var/lib/asterisk/sounds/rpt/nodenames.callsign   ; Point to alternate nodename sound directory

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Need more information on these

 

;extnodes = extnodes-different  ; section in extnodefile containing dynamic node information (optional)

;extnodefile = /foo/nodes       ; Points to nodelist file containing dynamic node info default = /var/lib/asterisk/rpt_extnodes (optional)

;extnodefile2 =                 ; Is this a list of node files? Possible a list of private nodes or a list of static IPs for known nodes????

;nodenames = /foo/names         ; locaton of node sound files default = /var/lib/asterisk/sounds/rpt/nodenames

;archivedir = /tmp              ; defines and enables activity recording into specified directory (optional)

;monminblocks = 2048            ; Min 1K blocks to be left on partition (will not save monitor output if disk too full)

 

;                               ; The tailmessagetime,tailsquashedtime, and tailmessagelist need to be set

;                               ; to support tail messages. They can be omitted otherwise.

;tailmessagetime = 300000       ; Play a tail message every 5 mins

;tailsquashedtime = 30000       ; If squashed by another user,

;                               ; try again after 30 seconds

;tailmessagelist = msg1,msg2    ; list of messages to be played for tail message

 

; alt_functions

; ctgroup

; dphone_functions

; idtime

; iobase

; iospeed

; locallist

; mars          Remote Base

; memory

; nobusyout

; nodes

; nolocallinkct

; notelemtx

; outxlat

; parrot

; propagate_phonedtmf

; rptnode

; rptinactmacro  Macro to execute when inactivity timer expires

; rptinacttime   Inactivity timer time in seconds  (0 seconds disables feature)

; rxnotch       Optional Audio notch

; simplexphonedelay

; tonemacro

; tonezone

; txlimits

 

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

 

; *** Status Reporting ***

 

; Comment the following statpost line stop to reporting of the status of your node to stats.allstarlink.org

statpost_url = http://stats.allstarlink.org/uhandler ; Status updates

 

[functions]

 

; Prefix        Functions

; *1            Disconnect Link

; *2            Monitor Link

; *3            Connect Link

; *4            Command Mode

; *5            Macros

; *6            User Functions

; *7            Connection Status/Functions

; *8            User Functions

; *9            User Functions

; *0            User Functions

 

; *A            User Functions

; *B            User Functions

; *C            User Functions

; *D            User Functions

 

 

; Mandatory Command Codes

; http://docs.allstarlink.org/drupal/node/91

 

1 = ilink,1             ; Disconnect specified link

2 = ilink,2             ; Connect specified link -- monitor only

3 = ilink,3             ; Connect specified link -- tranceive

4 = ilink,4             ; Enter command mode on specified link

70 = ilink,5            ; System status

99 = cop,6              ; PTT (phone mode only)

 

; End Mandatory Command Codes

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

; Macro Commands

5 = macro

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

; Autopatch Commands

; Note, This may be a good place for other 2 digit frequently used commands

 

61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000  ; Autopatch up

62 = autopatchdn                                                 ; Autopatch down

 

; autopatchup can optionally take comma delimited setting=value pairs:

 

; context = string              ; Override default context with "string"

; dialtime = ms                 ; Specify the max number of milliseconds between phone number digits (1000 milliseconds = 1 second)

; farenddisconnect = 1          ; Automatically disconnect when called party hangs up

; noct = 1                      ; Don't send repeater courtesy tone during autopatch calls

; quiet = 1                     ; Don't send dial tone, or connect messages. Do not send patch down message when called party hangs up

                                ; Example: 123=autopatchup,dialtime=20000,noct=1,farenddisconnect=1

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

; Status Commands

 

; 1 - Force ID (global)

; 2 - Give Time of Day (global)

; 3 - Give software Version (global)

; 4 - Give GPS location info

; 5 - Last (dtmf) user

; 11 - Force ID (local only)

; 12 - Give Time of Day (local only)

 

721 = status,1          ; Force ID (global)

722 = status,2          ; Give Time of Day (global)

723 = status,3          ; Give software Version (global)

724 = status,4          ; Give GPS location info

725 = status,5          ; Last (dtmf) user

711 = status,11         ; Force ID (local only)

712 = status,12         ; Give Time of Day (local only)

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

; Link Commands

 

; 1 - Disconnect specified link

; 2 - Connect specified link -- monitor only

; 3 - Connect specified link -- tranceive

; 4 - Enter command mode on specified link

; 5 - System status

; 6 - Disconnect all links

; 7 - Last Node to Key Up

; 8 - Connect specified link -- local monitor only

; 9 - Send Text Message (9,<destnodeno or 0 (for all)>,Message Text, etc.

; 10 - Disconnect all RANGER links (except permalinks)

; 11 - Disconnect a previously permanently connected link

; 12 - Permanently connect specified link -- monitor only

; 13 - Permanently connect specified link -- tranceive

; 15 - Full system status (all nodes)

; 16 - Reconnect links disconnected with "disconnect all links"

; 17 - MDC test (for diag purposes)

; 18 - Permanently Connect specified link -- local monitor only

 

; ilink commands 1 through 5 are defined in the Mandatory Command section

 

806 = ilink,6                   ; Disconnect all links

807 = ilink,7                   ; Last Node to Key Up

808 = ilink,8                   ; Connect specified link -- local monitor only

809 = ilink,9,1999,"Testing"    ; would send a text message to node 1999 replace 1999 with 0 for all connected nodes

810 = ilink,10                  ; Disconnect all RANGER links (except permalinks)

811 = ilink,11                  ; Disconnect a previously permanently connected link

812 = ilink,12                  ; Permanently connect specified link -- monitor only

813 = ilink,13                  ; Permanently connect specified link -- tranceive

815 = ilink,15                  ; Full system status (all nodes)

816 = ilink,16                  ; Reconnect links disconnected with "disconnect all links"

817 = ilink,17                  ; MDC test (for diag purposes)

818 = ilink 18                  ; Permanently Connect specified link -- local monitor only

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

; Control operator (cop) functions. Change these to something other than these codes listed below!

 

901 = cop,1                   ��         ; System warm boot

902 = cop,2                             ; System enable

903 = cop,3                             ; System disable

 

904 = cop,4                             ; Test tone on/off (toggle)

905 = cop,5                             ; Dump system variables on console (debug use only)

 

907 = cop,7                             ; Time out timer enable

908 = cop,8                             ; Time out timer disable

 

909 = cop,9                             ; Autopatch enable

910 = cop,10                            ; Autopatch disable

 

911 = cop,11                            ; User linking functions enable

912 = cop,12                            ; User linking functions disable

 

913 = cop,13                            ; Query system control state

914 = cop,14                            ; Set system control state

 

915 = cop,15                            ; Scheduler enable

916 = cop,16                            ; Scheduler disable

 

917 = cop,17                            ; User functions enable (time, id, etc)

918 = cop,18                            ; User functions disable

 

919 = cop,19                            ; Select alternate hang time (althangtime)

920 = cop,20                            ; Select standard hangtime (hangtime)

 

921 = cop,21                            ; Enable Parrot Mode

922 = cop,22                            ; Disable Parrot Mode

923 = cop,23                            ; Birdbath (Current Parrot Cleanup/Flush)

 

924 = cop,24                            ; Flush all telemetry

925 = cop,25                            ; Query last node un-keyed

926 = cop,26                            ; Query all nodes keyed/unkeyed

927 = cop,27                            ; Reset DAQ minimum on a pin

928 = cop,28                            ; Reset DAQ maximum on a pin

 

930 = cop,30                            ; Recall Memory Setting in Attached Xcvr

 

931 = cop,31                            ; Channel Selector for Parallel Programmed Xcvr

 

932 = cop,32                            ; Touchtone pad test: command + Digit string + # to playback all digits pressed

 

933 = cop,33                            ; Local Telemetry Output Enable

934 = cop,34                            ; Local Telemetry Output Disable

935 = cop,35                            ; Local Telemetry Output on Demand

 

936 = cop,36                            ; Foreign Link Local Output Path Enable

937 = cop,37                            ; Foreign Link Local Output Path Disable

938 = cop,38                            ; Foreign Link Local Output Path Follows Local Telemetry

939 = cop,39                            ; Foreign Link Local Output Path on Demand

 

942 = cop,42                            ; Echolink announce node # only

943 = cop,43                            ; Echolink announce node Callsign only

944 = cop,44                            ; Echolink announce node # & Callsign

 

945 = cop,45                            ; Link Activity timer enable

945 = cop,46                            ; Link Activity timer disable

947 = cop,47                            ; Reset "Link Config Changed" Flag

 

948 = cop,48                            ; Send Page Tone (Tone specs separated by parenthesis)

 

949 = cop,49                            ; Disable incoming connections (control state noice)

950 = cop,50                            ; Enable incoming connections (control state noicd)

 

951 = cop,51                            ; Enable sleep mode

952 = cop,52                            ; Disable sleep mode

953 = cop,53                            ; Wake up from sleep

954 = cop,54                            ; Go to sleep

955 = cop,55                            ; Parrot Once if parrot mode is disabled

 

956 = cop,56                            ; Rx CTCSS Enable

957 = cop,57                            ; Rx CTCSS Disable

 

958 = cop.58                            ; Tx CTCSS On Input only Enable

959 = cop,59                            ; Tx CTCSS On Input only Disable

 

960 = cop,60                            ; Send MDC-1200 Burst (cop,60,type,UnitID[,DestID,SubCode])

                                        ; Type is 'I' for PttID, 'E' for Emergency, and 'C' for Call

                                        ; (SelCall or Alert), or 'SX' for STS (ststus), where X is 0-F.

                                        ; DestID and subcode are only specified for  the 'C' type message.

                                        ; UnitID is the local systems UnitID. DestID is the MDC1200 ID of

                                        ; the radio being called, and the subcodes are as follows:

                                        ; Subcode '8205' is Voice Selective Call for Spectra ('Call')

                                        ; Subcode '8015' is Voice Selective Call for Maxtrac ('SC') or

                                        ; Astro-Saber('Call')

                                        ; Subcode '810D' is Call Alert (like Maxtrac 'CA')

 

961 = cop,61                            ; Send Message to USB to control GPIO pins (cop,61,GPIO1=0[,GPIO4=1].....)

962 = cop,62                            ; Send Message to USB to control GPIO pins, quietly (cop,62,GPIO1=0[,GPIO4=1].....)

 

963 = cop,63                            ; Send pre-configred APRSTT notification (cop,63,CALL[,OVERLAYCHR])

964 = cop,64                            ; Send pre-configred APRSTT notification, quietly (cop,64,CALL[,OVERLAYCHR])

965 = cop,65                            ; Send POCSAG page (equipped channel types only)

 

[functions-remote]

 

0 = remote,1                            ; Retrieve Memory

1 = remote,2                            ; Set freq.

2 = remote,3                            ; Set tx PL tone

3 = remote,4                            ; Set rx PL tone

40 = remote,100                         ; Rx PL off

41 = remote,101                         ; Rx PL on

42 = remote,102                         ; Tx PL off

43 = remote,103                         ; Tx PL on

44 = remote,104                         ; Low Power

45 = remote,105                         ; Medium Power

46 = remote,106                         ; High Power

711 = remote,107                        ; Bump -20

714 = remote,108                        ; Bump -100

717 = remote,109                        ; Bump -500

713 = remote,110                        ; Bump +20

716 = remote,111                        ; Bump +100

719 = remote,112                        ; Bump +500

721 = remote,113                        ; Scan - slow

724 = remote,114                        ; Scan - quick

727 = remote,115                        ; Scan - fast

723 = remote,116                        ; Scan + slow

726 = remote,117                        ; Scan + quick

729 = remote,118                        ; Scan + fast

79 = remote,119                         ; Tune

51 = remote,5                           ; Long status query

52 = remote,140                         ; Short status query

67 = remote,210                         ; Send a *

69 = remote,211                         ; Send a #

;91 = remote,99,CALLSIGN,LICENSETAG     ; Remote base login.

                                        ; Define a different dtmf sequence for each user which is

                                        ; authorized to use the remote base to control access to it.

                                        ; For examble 9139583=remote,99,WB6NIL,G would grant access to

                                        ; the remote base and announce WB6NIL as being logged in.

                                        ; Another entry, 9148351=remote,99,WA6ZFT,E would grant access to

                                        ; the remote base and announce WA6ZFT as being logged in.

                                        ; When the remote base is disconnected from the originating node, the

                                        ; user will be logged out. The LICENSETAG argument is used to enforce

                                        ; tx frequency limits. See [txlimits] below.

85 = cop,6                              ; Remote base telephone key

 

 

[telemetry]

 

; Telemetry entries can be shared across all repeaters, or defined for each repeater.

; Can be a tone sequence, morse string, or a file

;

; |t - Tone escape sequence

;

; Tone sequences consist of 1 or more 4-tuple entries (freq1, freq2, duration, amplitude)

; Single frequencies are created by setting freq1 or freq2 to zero.

;

; |m - Morse escape sequence

;

; Sends Morse code at the telemetry amplitude and telemetry frequency as defined in the

; [morse] section.

;

; Follow with an alphanumeric string

;

; |i - Morse ID escape sequence

;

; Sends Morse code at the ID amplitude and ID frequency as defined in the

; [morse] section.

;

; path/to/sound/file/without/extension

;

; Send the sound if in place of a constructed tone. Do not include the file extension

; Example: ct8 = rpt/bloop

; Example: idrecording = rpt/nodenames/1999

 

ct1 = |t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)

ct2 = |t(660,880,150,2048)

ct3 = |t(440,0,150,4096)

ct4 = |t(550,0,150,2048)

ct5 = |t(660,0,150,2048)

ct6 = |t(880,0,150,2048)

ct7 = |t(660,440,150,2048)

ct8 = |t(700,1100,150,2048)

ranger = |t(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,150,0)

remotemon = |t(1209,0,50,2048)                                  ; local courtesy tone when receive only

remotetx = |t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000)         ; local courtesy tone when linked Trancieve mode

cmdmode = |t(900,903,200,2048)

functcomplete = |t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)

remcomplete = |t(650,0,100,2048)(0,0,100,0)(650,0,100,2048)(0,0,100,0)(650,0,100,2048)

pfxtone = |t(350,440,30000,3072)

patchup = rpt/callproceeding

patchdown = rpt/callterminated

 

; As far as what the numbers mean,

; (000,000,010,000)

;   |   |   |   |-------amplitude

;   |   |   |-------------duration

;   |   |-------------------Tone 2

;   |-------------------------Tone 1

 

; So, with 0,0,10,0 That says No Tone1, No Tone2, 10ms duration, 0 Amplitude.

; Use it for a delay.  Fine tuning for how long before telemetry is sent, in conjunction with the telemdelay parameter)

; The numbers, like 350,440,10,2048 are 350Hz, 440Hz, 10ms delay, amplitude of 2048.

 

; Morse code parameters, these are common to all repeaters.

 

[morse]

speed = 20                              ; Approximate speed in WPM

frequency = 800                         ; Morse Telemetry Frequency

amplitude = 4096                        ; Morse Telemetry Amplitude

idfrequency = 1065                      ; Morse ID Frequency

idamplitude = 1024                      ; Morse ID Amplitude

 

;

; This section allows wait times for telemetry events to be adjusted

; A section for wait times can be defined for every repeater

;

 

[wait-times]

telemwait = 2000                        ; Time to wait before sending most telemetry

idwait = 500                            ; Time to wait before starting ID

unkeywait = 2000                        ; Time to wait after unkey before sending CT's and link telemetry

calltermwait = 2000                     ; Time to wait before announcing "call terminated"

 

;

; This is where you define your nodes which cam be connected to.

;

 

[nodes]

; Note, if you are using automatic update for allstar link nodes,

; no allstar link nodes should be defined here. Only place a definition

; for your local nodes, and private (off of allstar link) nodes here.

 

460310 = radio@....0.1:4569/460310,NONE       ; This must be changed to your node number

                                        ; and iax port number if not the default

; Memories for remote bases

 

[memory]

;00 = 146.580,100.0,m

;01 = 147.030,103.5,m+t

;02 = 147.240,103.5,m+t

;03 = 147.765,79.7,m-t

;04 = 146.460,100.0,m

;05 = 146.550,100.0,m

 

; Place command macros here

 

[macro]

;1 = *32011#

;2 = *12001*12011*12043*12040*12050*12060*12009*12002*12003*12004*1113*12030#

;3 = *32001*32011*32050*32030*32060#

 

 

; Data Acquisition configuration

 

;[daq-list]

;device = device_name1

;device = device_name2

 

;Where: device_name1 and device_name2 are stanzas you define in this file

 

;device = daq-cham-1

 

; Device name

 

;[daq-cham-1]                           ; Defined in [daq-list]

;hwtype = uchameleon                    ; DAQ hardware type

;devnode = /dev/ttyUSB0                 ; DAQ device node (if required)

;1 = inadc                              ; Pin definition for an ADC channel

;2 = inadc

;3 = inadc

;4 = inadc

;5 = inadc

;6 = inadc

;7 = inadc

;8 = inadc

;9 = inp                                ; Pin definition for an input with a weak pullup resistor

;10 = inp

;11 = inp

;12 = inp

;13 = in                                ; Pin definition for an input without a weak pullup resistor

;14 = out                               ; Pin definition for an output

;15 = out

;16 = out

;17 = out

;18 = out

 

;[meter-faces]

 

;face = scale(scalepre,scalediv,scalepost),word/?,...

;

; scalepre = offset to add before dividing with scalediv

; scalediv = full scale/number of whole units (e.g. 256/20 or 12.8 for 20 volts).

; scalepost = offset to add after dividing with scalediv

;

;face = range(X-Y:word,X2-Y2:word,...),word/?,...

;face = bit(low-word,high-word),word/?,...

;

; word/? is either a word in /var/lib/asterisk/sounds or one of its subdirectories,

; or a question mark which is  a placeholder for the measured value.

;

;

; Battery voltage 0-20 volts

;batvolts = scale(0,12.8,0),rpt/thevoltageis,?,ha/volts

; 4 quadrant wind direction

;winddir = range(0-33:north,34-96:west,97-160:south,161-224:east,225-255:north),rpt/thewindis,?

; LM34 temperature sensor with 130 deg. F full scale

;lm34f = scale(0,1.969,0),rpt/thetemperatureis,?,degrees,fahrenheit

; Status poll (non alarmed)

;light = bit(ha/off,ha/on),ha/light,?

 

;[alarms]

;

;tag = device,pin,node,ignorefirst,func-low,func-hi

;

;tag = a unique name for the alarm

;device = daq device to poll

;pin = the device pin to be monitored

;ignorefirstalarm = set to 1 to throwaway first alarm event, or 0 to report it

;node = the node number to execute the function on

;func-low = the DTMF function to execute on a high to low transition

;func-high = the DTMF function to execute on a low to high transition

;

; a  '-' as a function name is shorthand for no-operation

;

;door = daq-cham-1,9,1,2017,*7,-

;pwrfail = daq-cham-1,10,0,2017,*911111,-

;

; Control states

; Allow several control operator functions to be changed at once using one command (good for scheduling)

;

;[controlstates]

;statenum = copcmd,[copcmd]...

;0 = rptena,lnkena,apena,totena,ufena,noicd  ; Normal operation

;1 = rptena,lnkena,apdis,totdis,ufena,noice  ; Net and news operation

;2 = rptena,lnkdis,apdis,totena,ufdis,noice  ; Repeater only operation

 

; Scheduler - execute a macro at a given time

 

[schedule]

;dtmf_function =  m h dom mon dow  ; ala cron, star is implied

;2 = 00 00 * * *   ; at midnight, execute macro 2.

 

#includeifexists custom/rpt.conf

 

 

 

 

Analog_Bridge.ini

 

 

; Analog_Bridge configuration file.

;   This file should be placed in either /etc or it can be

;   supplied as a path on the Analog_Bridge command line.

 

; The best way to think of this file is that there are two main sections, the USRP (analog audio) and

; AMBE_AUDIO (compressed audio).  Analog_Bridge will take everything sent to the USRP port and

; encode it for transmission on the AMBE_AUDIO port.  The encoder will use the format defined in ambeMode.

; As you might expect, the reverse direction is defined too.

 

; Analog_Bridge supports include files. More on this later...

include = dvsm.macro

; include = asl.macro

 

; General Section describes settings for Analog_Bridge itself.

[GENERAL]

logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal

 

; Metadata management

exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)

transferRootDir = /tmp                  ; Export database files to USRP partner

subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data

 

; General vocoder setup information

decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found

useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)

emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server

 

pcmPort = 2222                          ; UDP port to send to the WebProxy

 

; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)

[AMBE_AUDIO]

address = 127.0.0.1                     ; IP address of xx_Bridge

txPort = 31103                          ; Transmit TLV frames to partner on this port

rxPort = 31100                          ; Listen for TLV frames from partner on this port

ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)

minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)

 

; The metadata below is used when ASL is the source since it does not have any concept of digital modes

gatewayDmrId = 1112721                  ; ID to use when transmitting from Analog_Bridge 7 digit ID

repeaterID = 111272123                  ; ID of source repeater 7 digit ID plus 2 digit SSID

txTg = 31676                               ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge

txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge

colorCode = 1                           ; Color Code to assign DMR frames

 

; Information for USRP channel driver.  This interface uses PCM to transfer audio information

; There are two typical configurations, ASL and Transcode.  ASL (AllstarLink) is for analog clients connected

; to a digital network.  Transcode is when Analog_Bridge actually points its PCM interfaces back at itself,

; causing a TLV <-- (pcm <--> pcm) --> TLV type of architecture.

;   When using ASL, this matches the rpt.conf ASL file with a setting like:

;   rxchannel = usrp/127.0.0.1:34001:32001

;   When Transcoding, make two ini files and set txPort equal to the other instance rxPort (crossover).  Launch

;   each instance with its own ini file.

[USRP]

address = 127.0.0.1                     ; IP address of USRP partner (Allstar/Asterisk or another Analog_Bridge)

txPort = 32001                          ; Transmit USRP frames on this port

rxPort = 34001                          ; Listen for USRP frames on this port

usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)

usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)

tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)

tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

 

[MACROS]

 

; Where the macros are

; xxxx=yyyy

; xxxx is the dial string to match

; yyyy is the command line to execute

 

; xxxx must be preceded by a *

; xxxx can be any string (alphanumeric)

; yyyy is the command to execute

; yyyy will replace xxxx in the dial string

; arguments follow the macro name with a # delimiter

 

; For example using macro "5678" above would look like:

; *5678#9876

 

; Which would invoke:

; echo 9876

 

; Information for DV3000 hardware decoder

;   There are two configuration modes: IP (AMBEServer) and serial (direct connect hardware)

;   Use top server and port if using AMBEServer

;   Use bottom server/port and serial = true if using the DV3000u (thumbdv)

;   Did you run AMBETest4.py before using this?

[DV3000]

address = 127.0.0.1                   ; IP address of AMBEServer

rxPort = 2460                         ; Port of AMBEServer

; address = /dev/ttyUSB0              ; Device of DV3000U on this machine

; baud = 460800                       ; Baud rate of the dongle (230400 or 460800)

; serial = true                       ; Use serial=true f

 

 

 

 

 

 

 

 


Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

The following packages have been kept back:
  openssh-client openssh-server openssh-sftp-server ssh
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

On 2/14/2021 3:17 PM, Mike KB8JNM wrote:

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

On 2/14/2021 3:16 PM, Steve N4IRS wrote:
are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf






Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

Originally, it left me with 9

I installed them manually, all but 3

ssh client and server and one other network package.

On 2/14/2021 3:16 PM, Steve N4IRS wrote:
are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf






Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

Perhaps the packages have been fixed. Have not done it for a few days.


On 2/14/2021 3:15 PM, Steve N4IRS wrote:
I just did it this morning and have done it quite a few times over the last few days.

On 2/14/21 3:12 PM, Mike KB8JNM wrote:

It did work a week or more ago, then something changed with the packages for system.


On 2/14/2021 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf





Re: Unable to locate package dvswitch-server

Steve N4IRS
 

are you saying that apt upgrade does not install updates?

On 2/14/21 3:14 PM, Mike KB8JNM wrote:

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf






Re: Unable to locate package dvswitch-server

Steve N4IRS
 

I just did it this morning and have done it quite a few times over the last few days.

On 2/14/21 3:12 PM, Mike KB8JNM wrote:

It did work a week or more ago, then something changed with the packages for system.


On 2/14/2021 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf





Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

That is where it takes system updates but can not install them all.

I'm pretty sure that is what the other fella was having a issue with but can't speak to that if it was not buster

On 2/14/2021 3:12 PM, Steve N4IRS wrote:
OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf





Re: Unable to locate package dvswitch-server

Steve N4IRS
 

OK,
step one:
Make sure your existing system is up to date.
apt update
apt upgrade

What is wrong there?

On 2/14/21 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf





Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

It did work a week or more ago, then something changed with the packages for system.


On 2/14/2021 3:10 PM, Mike KB8JNM wrote:

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf




Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

No, back up a step, I talking system.

apt update

apt apgrade

On 2/14/2021 3:08 PM, Steve N4IRS wrote:
That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf




Re: Unable to locate package dvswitch-server

Steve N4IRS
 

That script is the first step. It adds the buster repo.

On 2/14/21 3:06 PM, Mike KB8JNM wrote:

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf




Re: Unable to locate package dvswitch-server

Mike KB8JNM
 

The issue was not with the install script.

Never got that far.

The issue was updated repository's that are broken.

On 2/14/2021 3:05 PM, Steve N4IRS wrote:
This is the buster script:

#!/usr/bin/env bash
set -o errexit

# N4IRS 10/25/2020

#################################################
#                                               #
#    Add DVSwitch Repository and gpg key        #
#                                               #
#################################################

if [[ $(/usr/bin/id -u) -ne 0 ]]; then
    echo "Not running as root"
    echo "either run as root or with sudo"
    exit
fi

distribution=buster

# INSTALL gnupg needed for gpg.key
[ ! -x "/usr/bin/gpg" ] && apt-get install gnupg -y

# Add the backport repository, if needed to install monit
if [ $(apt-cache policy monit | grep -c "Candidate: (none)") -eq 1 ] ; then
        # add repository
        printf "%s\n" "deb http://ftp.de.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
fi

# INSTALL netstat needed by dvswitch.sh
[ ! -x "/bin/netstat" ] && apt-get install net-tools -y

# Check for rc.local and create if not found.
FILE="/etc/rc.local"
        if [ ! -f "$FILE" ] ; then
        echo '#!/bin/sh -e' > $FILE
        echo '' >> $FILE
        echo 'exit 0' >> $FILE
       chmod +x $FILE
        fi

# Are the repos installed
# Should this test for buster too?
if [ -f /etc/apt/sources.list.d/dvswitch.list ]
then
    echo "The Repository file already exists, exiting"
    exit 0
fi

# Install the key and add the repo
wget -O - http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key | apt-key add -
echo "# Official DVSwitch repository" >/etc/apt/sources.list.d/dvswitch.list
echo "deb http://dvswitch.org/DVSwitch_Repository $distribution hamradio" >>/etc/apt/sources.list.d/dvswitch.list
echo "#" >>/etc/apt/sources.list.d/dvswitch.list

apt-get update

# print the installed repositories
echo "Installed repositories:"
apt-cache policy | grep http | awk '{print $2 $3}' | sort -u

I don't see any way it would install a pointer to http://dvswitch.org/ASL_Repository stretch


On 2/14/21 3:00 PM, Mike KB8JNM wrote:

I have the same issue with Buster

I was able to manually update packages until ssh-client/server and one other related

Stopped till I have time to fool with it again.

On 2/14/2021 2:48 PM, Steve N4IRS wrote:
I assume you mean this:

wget http://dvswitch.org/buster
sudo chmod +x buster
sudo ./buster
sudo apt-get update
sudo apt-get install dvswitch-server

The buster script would have either added the buster repository or told you that it was already installed.

Check /etc/apt/sources.list.d/allstarlink.list

deb http://dvswitch.org/DVSwitch_Repository buster hamradio

Then:
apt-get update
apt-get install dvswitch-server


Steve N4IRS



On 2/14/21 2:40 PM, David - W9DWH/4 via groups.io wrote:
http://dvswitch.org/DVSwitch_install.pdf


1061 - 1080 of 9579