Bridge


Joshua Johnson - KC5JMJ
 

i've been following this site https://www.lucifernet.com/2020/01/08/build-a-p25-dmr-cross-mode-bridge/
as a starting ground but started coming up with errors

ERROR 1

install-dvswitch-repo                                           100%[========================================================================================

2020-12-13 17:34:53 (13.7 MB/s) - ‘install-dvswitch-repo’ saved [782/782]

root@bridge:/tmp# chmod +x install-dvswitch-repo
root@bridge:/tmp# ./install-dvswitch-repo
The Repository file already exists, exiting
root@bridge:/tmp#  apt-get update
Get:1 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Err:1 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
M: 2020-12-13 23:35:01.060 No repeaters linked
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The followin                                                                             g signatures couldn't be verified because the public key is not available: NO_PU                                                                             BKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not                                                                              signed.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                             bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                             ils.
root@bridge:/tmp#


Steve N4IRS
 

That document is outdated. If you want to continue to use it, I suggest you contact the author.

For your error:
rm /etc/apt/sources.list.d/allstarlink.list
rm /etc/apt/sources.list.d/dvswitch.list

Note: Both files may not exist.

apt-get update

cd /tmp
wget http://dvswitch.org/buster
chmod +x buster
./buster
apt-get update -y

Steve N4IRS


On 12/13/20 6:36 PM, ibjosh1985@... wrote:
i've been following this site https://www.lucifernet.com/2020/01/08/build-a-p25-dmr-cross-mode-bridge/
as a starting ground but started coming up with errors

ERROR 1

install-dvswitch-repo                                           100%[========================================================================================

2020-12-13 17:34:53 (13.7 MB/s) - ‘install-dvswitch-repo’ saved [782/782]

root@bridge:/tmp# chmod +x install-dvswitch-repo
root@bridge:/tmp# ./install-dvswitch-repo
The Repository file already exists, exiting
root@bridge:/tmp#  apt-get update
Get:1 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Err:1 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
M: 2020-12-13 23:35:01.060 No repeaters linked
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The followin                                                                             g signatures couldn't be verified because the public key is not available: NO_PU                                                                             BKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not                                                                              signed.
N: Updating from such a repository can't be done securely, and is therefore disa                                                                             bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta                                                                             ils.
root@bridge:/tmp#



Joshua Johnson - KC5JMJ
 

do you have some links i may be able to follow on this journey


Steve N4IRS
 

On 12/13/20 6:55 PM, ibjosh1985@... wrote:
do you have some links i may be able to follow on this journey


Joshua Johnson - KC5JMJ
 

root@bridge:/home/kc5jmj# apt-get update
0% [Working]
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Get:3 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:3 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/home/kc5jmj#
root@bridge:/home/kc5jmj# cd /tmp
root@bridge:/tmp# wget http://dvswitch.org/buster
--2020-12-13 18:03:39--  http://dvswitch.org/buster
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1882 (1.8K)
Saving to: ‘buster’

buster                                                          100%[====================================================================================================================================================>]   1.84K  --.-KB/s    in 0s

2020-12-13 18:03:40 (27.9 MB/s) - ‘buster’ saved [1882/1882]

root@bridge:/tmp# chmod +x buster
root@bridge:/tmp# ./buster
The Repository file already exists, exiting
root@bridge:/tmp# apt-get update -y
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:4 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/tmp# ls
buster  systemd-private-ac6a4a5198324a4baf5d12819077641d-systemd-timesyncd.service-sraNEO
root@bridge:/tmp#


Steve N4IRS
 

Did you?
rm /etc/apt/sources.list.d/allstarlink.list
rm /etc/apt/sources.list.d/dvswitch.list
apt-get update

On 12/13/20 9:09 PM, ibjosh1985@... wrote:
root@bridge:/home/kc5jmj# apt-get update
0% [Working]
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Get:3 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:3 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/home/kc5jmj#
root@bridge:/home/kc5jmj# cd /tmp
root@bridge:/tmp# wget http://dvswitch.org/buster
--2020-12-13 18:03:39--  http://dvswitch.org/buster
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1882 (1.8K)
Saving to: ‘buster’

buster                                                          100%[====================================================================================================================================================>]   1.84K  --.-KB/s    in 0s

2020-12-13 18:03:40 (27.9 MB/s) - ‘buster’ saved [1882/1882]

root@bridge:/tmp# chmod +x buster
root@bridge:/tmp# ./buster
The Repository file already exists, exiting
root@bridge:/tmp# apt-get update -y
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:4 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/tmp# ls
buster  systemd-private-ac6a4a5198324a4baf5d12819077641d-systemd-timesyncd.service-sraNEO
root@bridge:/tmp#



Joshua Johnson - KC5JMJ
 

yes


Steve N4IRS
 

Show me the result of apt-get update.

On 12/13/20 9:11 PM, Steve Zingman wrote:
Did you?
rm /etc/apt/sources.list.d/allstarlink.list
rm /etc/apt/sources.list.d/dvswitch.list
apt-get update

On 12/13/20 9:09 PM, ibjosh1985@... wrote:
root@bridge:/home/kc5jmj# apt-get update
0% [Working]
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Get:3 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:3 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/home/kc5jmj#
root@bridge:/home/kc5jmj# cd /tmp
root@bridge:/tmp# wget http://dvswitch.org/buster
--2020-12-13 18:03:39--  http://dvswitch.org/buster
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1882 (1.8K)
Saving to: ‘buster’

buster                                                          100%[====================================================================================================================================================>]   1.84K  --.-KB/s    in 0s

2020-12-13 18:03:40 (27.9 MB/s) - ‘buster’ saved [1882/1882]

root@bridge:/tmp# chmod +x buster
root@bridge:/tmp# ./buster
The Repository file already exists, exiting
root@bridge:/tmp# apt-get update -y
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Err:4 http://dvswitch.org/ASL_Repository stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
Reading package lists... Done
W: GPG error: http://dvswitch.org/ASL_Repository stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 72147EC1E788D4C3
E: The repository 'http://dvswitch.org/ASL_Repository stretch InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@bridge:/tmp# ls
buster  systemd-private-ac6a4a5198324a4baf5d12819077641d-systemd-timesyncd.service-sraNEO
root@bridge:/tmp#




Joshua Johnson - KC5JMJ
 

i got it did a restart on the box and ran the script again and did not give the error


Steve N4IRS
 

This tells me otherwise.
Get:3 http://dvswitch.org/ASL_Repository stretch InRelease [4,806 B]
Err:3 http://dvswitch.org/ASL_Repository stretch InRelease

On 12/13/20 9:40 PM, ibjosh1985@... wrote:
yes


Joshua Johnson - KC5JMJ
 

root@bridge:/etc/apt/sources.list.d# apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://ftp.de.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://ftp.de.debian.org/debian buster-backports/main i386 Packages.diff/Index [27.8 kB]
Get:6 http://ftp.de.debian.org/debian buster-backports/main i386 Packages 2020-12-14-0201.33.pdiff [177 B]
Get:6 http://ftp.de.debian.org/debian buster-backports/main i386 Packages 2020-12-14-0201.33.pdiff [177 B]
Fetched 127 kB in 7s (18.9 kB/s)
Reading package lists... Done
root@bridge:/etc/apt/sources.list.d# cd /tmp
root@bridge:/tmp# wget http://dvswitch.org/buster
--2020-12-13 20:40:40--  http://dvswitch.org/buster
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1882 (1.8K)
Saving to: ‘buster.1’

buster.1                                                        100%[========================================================================================

2020-12-13 20:40:44 (34.7 MB/s) - ‘buster.1’ saved [1882/1882]

root@bridge:/tmp# chmod +x buster
root@bridge:/tmp# ./buster
--2020-12-13 20:40:44--  http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1678 (1.6K) [application/pgp-keys]
Saving to: ‘STDOUT’

-                                                               100%[========================================================================================

2020-12-13 20:40:44 (28.5 MB/s) - written to stdout [1678/1678]

OK
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://dvswitch.org/DVSwitch_Repository buster InRelease [4,798 B]
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Get:6 http://dvswitch.org/DVSwitch_Repository buster/hamradio i386 Packages [5,823 B]
Fetched 10.6 kB in 3s (3,322 B/s)
Reading package lists... Done
Installed repositories:
http://deb.debian.org/debianbuster/main
http://deb.debian.org/debianbuster-updates/main
http://dvswitch.org/DVSwitch_Repositorybuster/hamradio
http://ftp.de.debian.org/debianbuster-backports/main
http://security.debian.org/debian-securitybuster/updates/main
root@bridge:/tmp# apt-get update -y
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://dvswitch.org/DVSwitch_Repository buster InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Reading package lists... Done
root@bridge:/tmp#


Steve N4IRS
 

OK,
You now have the proper repository installed.

On 12/13/20 9:43 PM, ibjosh1985@... wrote:
root@bridge:/etc/apt/sources.list.d# apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://ftp.de.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://ftp.de.debian.org/debian buster-backports/main i386 Packages.diff/Index [27.8 kB]
Get:6 http://ftp.de.debian.org/debian buster-backports/main i386 Packages 2020-12-14-0201.33.pdiff [177 B]
Get:6 http://ftp.de.debian.org/debian buster-backports/main i386 Packages 2020-12-14-0201.33.pdiff [177 B]
Fetched 127 kB in 7s (18.9 kB/s)
Reading package lists... Done
root@bridge:/etc/apt/sources.list.d# cd /tmp
root@bridge:/tmp# wget http://dvswitch.org/buster
--2020-12-13 20:40:40--  http://dvswitch.org/buster
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1882 (1.8K)
Saving to: ‘buster.1’

buster.1                                                        100%[========================================================================================

2020-12-13 20:40:44 (34.7 MB/s) - ‘buster.1’ saved [1882/1882]

root@bridge:/tmp# chmod +x buster
root@bridge:/tmp# ./buster
--2020-12-13 20:40:44--  http://dvswitch.org/DVSwitch_Repository/dvswitch.gpg.key
Resolving dvswitch.org (dvswitch.org)... 44.103.34.4
Connecting to dvswitch.org (dvswitch.org)|44.103.34.4|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1678 (1.6K) [application/pgp-keys]
Saving to: ‘STDOUT’

-                                                               100%[========================================================================================

2020-12-13 20:40:44 (28.5 MB/s) - written to stdout [1678/1678]

OK
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://dvswitch.org/DVSwitch_Repository buster InRelease [4,798 B]
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Get:6 http://dvswitch.org/DVSwitch_Repository buster/hamradio i386 Packages [5,823 B]
Fetched 10.6 kB in 3s (3,322 B/s)
Reading package lists... Done
Installed repositories:
http://deb.debian.org/debianbuster/main
http://deb.debian.org/debianbuster-updates/main
http://dvswitch.org/DVSwitch_Repositorybuster/hamradio
http://ftp.de.debian.org/debianbuster-backports/main
http://security.debian.org/debian-securitybuster/updates/main
root@bridge:/tmp# apt-get update -y
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://dvswitch.org/DVSwitch_Repository buster InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.de.debian.org/debian buster-backports InRelease
Reading package lists... Done
root@bridge:/tmp#


Joshua Johnson - KC5JMJ
 

now i ran apt-get install dvswitch-server -y and its installing now


Joshua Johnson - KC5JMJ
 

that installed with no error's is there more steps that i need to do


Joshua Johnson - KC5JMJ
 

question when i had setup the dv switch did that install the p25 reflector to or do i still need to install that


Steve N4IRS
 

You will need to install that. It is not part of DVSwitch Server.

On 12/13/2020 11:13 PM, ibjosh1985@... wrote:
question when i had setup the dv switch did that install the p25 reflector to or do i still need to install that


Joshua Johnson - KC5JMJ
 

Ok and to verify I can install it on the same system


Steve N4IRS
 

Yes you can. I have not built a .deb for it yet, so you will need to install from source.

On 12/14/2020 8:40 AM, ibjosh1985@... wrote:
Ok and to verify I can install it on the same system


Joshua Johnson - KC5JMJ
 

i have both the p25 reflector and gateway installed how do i figure out its TG


Steve N4IRS
 

Are you going to create your own TG? If so You can find a list of TGs in use here /var/lib/mmdvm/P25Hosts.txt

On 12/14/2020 10:37 AM, ibjosh1985@... wrote:
i have both the p25 reflector and gateway installed how do i figure out its TG