Topics

Help setting up RMS Gateway? #draws #rms

Craig McVeay
 

Working on getting WINLINK RMS application running on my DRAWS.  The image is up and running and I suspect I am nearly there but, I am a noob to Linux so I'm stuck.  I went through the setup and configuration from N7NIX and here's where I am now.

Setup:  DRAWS HAT on RPi 3B+, 32GB Micro SD running headless.  Powered through the HAT, connected to the internet via WiFi.

When I run "tail -f /var/log/rms.debug", I get the following:

Nov  4 08:46:01 n0csmdraws rmsgw_aci[1680]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov  4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov  4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov  4 08:46:02 n0csmdraws rmsgw_aci[1680]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
Nov  4 09:17:01 n0csmdraws rmsgw_aci[3584]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Nov  4 2019 (DM26sf)
Nov  4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov  4 09:17:01 n0csmdraws rmsgw_aci[3584]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov  4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov  4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov  4 09:17:02 n0csmdraws rmsgw_aci[3584]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

I've tried two cables on each port with the same results.  I'm obviously missing something but I'm not sure what.

Thank you,
Craig
N0CSM

Basil Gunn
 

Did you start AX.25?
cd
cd bin
sudo su
./ax25-start

As user pi or whatever your default user name is please post the console
output of:

ax25-status
and
ifconfig

/Basil

Craig McVeay <cmcveay@...> writes:

Working on getting WINLINK RMS application running on my DRAWS. The image is up and running and I suspect I am nearly there but, I am a noob to Linux so I'm stuck. I went through the setup and configuration from N7NIX and here's where I am now.

Setup: DRAWS HAT on RPi 3B+, 32GB Micro SD running headless. Powered through the HAT, connected to the internet via WiFi.

When I run "tail -f /var/log/rms.debug", I get the following:

Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov 4 08:46:02 n0csmdraws rmsgw_aci[1680]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Nov 4 2019 (DM26sf)
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov 4 09:17:02 n0csmdraws rmsgw_aci[3584]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

I've tried two cables on each port with the same results. I'm obviously missing something but I'm not sure what.

Thank you,
Craig
N0CSM

Craig McVeay
 

Basil,
  Thank you for the quick reply.

results of AX.25-status
Status for direwolf.service: RUNNING and ENABLED
Status for ax25dev.service: RUNNING and ENABLED
Status for ax25dev.path: RUNNING and ENABLED
Status for ax25-mheardd.service: NOT RUNNING and ENABLED
Status for ax25d.service: NOT RUNNING and ENABLED
AX.25 device: ax0 not configured
AX.25 device: ax1 not configured

It looks like I have to configure the ports so I'll be looking for the instructions on that part.  If it helps, I'll be running an Alinco DR-135T on one side and an IC-7200 on the other.


Here are the results of ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:88:93:0f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.59  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::85c7:f539:b08a:58a6  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:dd:c6:5a  txqueuelen 1000  (Ethernet)
        RX packets 821  bytes 146045 (142.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 445  bytes 83615 (81.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

73,
Craig

Virus-free. www.avg.com


On Mon, Nov 4, 2019 at 11:19 AM Basil Gunn <basil@...> wrote:

Did you start AX.25?
cd
cd bin
sudo su
./ax25-start

As user pi or whatever your default user name is please post the console
output of:

ax25-status
and
ifconfig

/Basil

Craig McVeay <cmcveay@...> writes:

> Working on getting WINLINK RMS application running on my DRAWS. The image is up and running and I suspect I am nearly there but, I am a noob to Linux so I'm stuck. I went through the setup and configuration from N7NIX and here's where I am now.
>
> Setup: DRAWS HAT on RPi 3B+, 32GB Micro SD running headless. Powered through the HAT, connected to the internet via WiFi.
>
> When I run "tail -f /var/log/rms.debug", I get the following:
>
> Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
> Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
> Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
> Nov 4 08:46:02 n0csmdraws rmsgw_aci[1680]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
> Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Nov 4 2019 (DM26sf)
> Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
> Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
> Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
> Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
> Nov 4 09:17:02 n0csmdraws rmsgw_aci[3584]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
>
> I've tried two cables on each port with the same results. I'm obviously missing something but I'm not sure what.
>
> Thank you,
> Craig
> N0CSM



Basil Gunn
 

It looks like you didn't follow the instructions from the 'Getting
Started Guide' here:
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

You need to follow those instructions specifically:

cd
cd n7nix/config
sudo su
./app_config.sh core

This configures AX.25, Direwolf, systemd and a few other things for you.
Please read the 'Getting Started Guide'

/Basil

Craig McVeay <cmcveay@...> writes:

Basil,
Thank you for the quick reply.

*results of AX.25-status*
Status for direwolf.service: RUNNING and ENABLED
Status for ax25dev.service: RUNNING and ENABLED
Status for ax25dev.path: RUNNING and ENABLED
Status for ax25-mheardd.service: NOT RUNNING and ENABLED
Status for ax25d.service: NOT RUNNING and ENABLED
AX.25 device: ax0 not configured
AX.25 device: ax1 not configured

It looks like I have to configure the ports so I'll be looking for the
instructions on that part. If it helps, I'll be running an Alinco DR-135T
on one side and an IC-7200 on the other.


*Here are the results of ifconfig*
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:88:93:0f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.59 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::85c7:f539:b08a:58a6 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:dd:c6:5a txqueuelen 1000 (Ethernet)
RX packets 821 bytes 146045 (142.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 445 bytes 83615 (81.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

73,
Craig

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Nov 4, 2019 at 11:19 AM Basil Gunn <@basil860> wrote:


Did you start AX.25?
cd
cd bin
sudo su
./ax25-start

As user pi or whatever your default user name is please post the console
output of:

ax25-status
and
ifconfig

/Basil

Craig McVeay <cmcveay@...> writes:

Working on getting WINLINK RMS application running on my DRAWS. The
image is up and running and I suspect I am nearly there but, I am a noob to
Linux so I'm stuck. I went through the setup and configuration from N7NIX
and here's where I am now.

Setup: DRAWS HAT on RPi 3B+, 32GB Micro SD running headless. Powered
through the HAT, connected to the internet via WiFi.

When I run "tail -f /var/log/rms.debug", I get the following:

Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: /usr/local/bin/rmschanstat
ax25 udr0 N0CSM-10 reports unavailable
Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel: N0CSM-10 on udr0 is
DOWN -- not updated
Nov 4 08:46:01 n0csmdraws rmsgw_aci[1680]: Channel Stats: 1 read, 1
active, 1 down, 0 updated, 0 errors
Nov 4 08:46:02 n0csmdraws rmsgw_aci[1680]: python script
/usr/local/etc/rmsgw/updateversion.py failed, status 1
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: N0CSM-10 - Linux RMS Gateway
ACI 2.5.1 Nov 4 2019 (DM26sf)
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0
(145050000 Hz, mode 0)
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: /usr/local/bin/rmschanstat
ax25 udr0 N0CSM-10 reports unavailable
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel: N0CSM-10 on udr0 is
DOWN -- not updated
Nov 4 09:17:01 n0csmdraws rmsgw_aci[3584]: Channel Stats: 1 read, 1
active, 1 down, 0 updated, 0 errors
Nov 4 09:17:02 n0csmdraws rmsgw_aci[3584]: python script
/usr/local/etc/rmsgw/updateversion.py failed, status 1

I've tried two cables on each port with the same results. I'm obviously
missing something but I'm not sure what.

Thank you,
Craig
N0CSM


Craig McVeay
 

Progress is being made.  I started with a fresh copy of the latest image.  I went through the getting started, learned a few things along the way and this is what I am getting now.  I think this is much closer but, still scratching my head a bit.


results of AX.25-status
Status for direwolf.service: RUNNING and ENABLED
Status for ax25dev.service: RUNNING and ENABLED
Status for ax25dev.path: RUNNING and ENABLED
Status for ax25-mheardd.service: RUNNING and ENABLED
Status for ax25d.service: RUNNING and ENABLED
AX.25 device: ax0 successfully configured with ip: 192.168.1.245
AX.25 device: ax1 successfully configured with ip: 192.168.1.246

Here are the results of ifconfig
ax0: flags=67<UP,BROADCAST,RUNNING>  mtu 255
        inet 192.168.1.245  netmask 255.255.255.255  broadcast 192.168.1.255
        ax25 N0CSM-10  txqueuelen 10  (AMPR AX.25)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ax1: flags=67<UP,BROADCAST,RUNNING>  mtu 255
        inet 192.168.1.246  netmask 255.255.255.255  broadcast 192.168.1.255
        ax25 N0CSM-10  txqueuelen 10  (AMPR AX.25)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 20 (20.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.61  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::48a0:e6e2:f867:4eed  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:88:93:0f  txqueuelen 1000  (Ethernet)
        RX packets 573  bytes 70183 (68.5 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 138  bytes 19353 (18.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.59  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::85c7:f539:b08a:58a6  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:dd:c6:5a  txqueuelen 1000  (Ethernet)
        RX packets 172  bytes 28669 (27.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 27  bytes 4402 (4.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



results of tail -f /var/log/rms.debug
Nov  5 16:13:35 draws rmsgw_aci[1493]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov  5 16:13:35 draws rmsgw_aci[1493]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov  5 16:13:37 draws rmsgw_aci[1493]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
Nov  5 16:17:01 draws rmsgw_aci[2457]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Sep 19 2019 (DM26ad)
Nov  5 16:17:01 draws rmsgw_aci[2457]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov  5 16:17:01 draws rmsgw_aci[2457]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov  5 16:17:01 draws rmsgw_aci[2457]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov  5 16:17:01 draws rmsgw_aci[2457]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov  5 16:17:02 draws rmsgw_aci[2457]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

Basil Gunn
 

Your ax.25 status looks good and is running properly. You have something
incorrect in your RMS Gateway config. Have you made an authorization
request for an RMS Gateway previously?
https://winlink.org/content/join_gateway_sysop_team_sysop_guidelines

Look at the last line (with port name udr0) in file /etc/ax25/axports
The call sign with SSID (N0CSM-10) you use there must match the entries
in these 2 files:

--> /etc/rmsgw/channels.xml
Line containing <callsign>
This line must have a call sign with SSID ie. N0CSM-10

Also make sure there is a line like this:
<channel name="udr0" type="ax25" active="yes">

The following entry must also match the call sign in /etc/ax25/axports
--> /etc/rmsgw/gateway.conf
Line containing GWCALL=

/Basil

results of tail -f /var/log/rms.debug Nov 5 16:13:35 draws rmsgw_aci[1493]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov 5 16:13:35 draws rmsgw_aci[1493]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov 5 16:13:37 draws rmsgw_aci[1493]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
Nov 5 16:17:01 draws rmsgw_aci[2457]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Sep 19 2019 (DM26ad)
Nov 5 16:17:01 draws rmsgw_aci[2457]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov 5 16:17:01 draws rmsgw_aci[2457]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov 5 16:17:01 draws rmsgw_aci[2457]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov 5 16:17:01 draws rmsgw_aci[2457]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov 5 16:17:02 draws rmsgw_aci[2457]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

Craig McVeay
 

Basil,
  Yes on the gateway request, I've had a gateway running (RMS Packet on a Windows machine) for a little over a year.  If I have that running on the windows box while I'm setting this up on the DRAWS, could that be a part of the problem?  They are using different radios and antennas so no conflict there.

I checked and rechecked the entries in the files as you recommended and they were correct.  Rebooted the Pi and checked things again with no change.

I made a new image and started the entire config process over (I'm getting good at it now).  The results changed just a little.

AX.25 status shows all running and enabled.

tail -f /var/log/rms.debug results are a little different but the last line still suggests something is wrong.  I've verified and double checked the PW and other information entered and it is correct.  Here are the results
:
Nov  6 04:17:02 draws rmsgw_aci[1580]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Sep 19 2019 (DM26ad)
Nov  6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov  6 04:17:02 draws rmsgw_aci[1580]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov  6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov  6 04:17:02 draws rmsgw_aci[1580]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov  6 04:17:03 draws rmsgw_aci[1580]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

Thanks,
Craig

Basil Gunn
 

You may have a file permissions problem in the /usr/local/etc/rmsgw
directory. Verify by sending me the console output of:

ls -sal /usr/local/etc/rmsgw

You can solve the problem by running a new script.
# First fix your local git repo

cd
sudo su
chown -R pi:pi n7nix

# Now get the new script

exit
cd
cd n7nix
git pull

# Now run a script that should fix your problem.

cd rmsgw
sudo su
./grouptest.sh

# Verify that the permissions on files in the /usr/local/etc/rmsgw
directory are correct.

ls -sal /usr/local/etc/rmsgw

# And finally test with rmschanstat

sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10

Please send me all the console output from all of the above commands plus new
entries in file: /var/log/rms.debug

/Basil

Craig McVeay <cmcveay@...> writes:

Basil,
Yes on the gateway request, I've had a gateway running (RMS Packet on a Windows machine) for a little over a year. If I have that running on the windows box while I'm setting this up on the DRAWS, could that be a part of the problem? They are using different radios and antennas so no conflict there.

I checked and rechecked the entries in the files as you recommended and they were correct. Rebooted the Pi and checked things again with no change.

I made a new image and started the entire config process over (I'm getting good at it now). The results changed just a little.

AX.25 status shows all running and enabled.

tail -f /var/log/rms.debug results are a little different but the last line still suggests something is wrong. I've verified and double checked the PW and other information entered and it is correct. Here are the results
:
Nov 6 04:17:02 draws rmsgw_aci[1580]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Sep 19 2019 (DM26ad)
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
Nov 6 04:17:02 draws rmsgw_aci[1580]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
Nov 6 04:17:03 draws rmsgw_aci[1580]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1

Thanks,
Craig

Craig McVeay
 

 
I ran the scripts that you sent and here's what I have.

Here's the output of the ls -sal /usr/local/etc/rmsgw

total 196
 4 drwxr-xr-x 4 rmsgw rmsgw  4096 Nov  6 04:11 .
 4 drwxr-xr-x 4 root  root   4096 Nov  6 04:12 ..
 4 -rw-r--r-- 1 rmsgw rmsgw   599 Sep 19 11:04 acihelp
 4 -rwxr-xr-x 1 rmsgw rmsgw  2329 Sep 19 11:04 admin-update.sh
 4 -rw-r--r-- 1 rmsgw rmsgw    48 Nov  6 04:11 banner
 4 -rw-r--r-- 1 rmsgw rmsgw   810 Nov  6 04:11 channels.xml
 4 -rw-r--r-- 1 rmsgw rmsgw  2812 Sep 19 11:04 channels.xsd
 4 -rw-r--r-- 1 rmsgw rmsgw   154 Nov  6 04:11 gateway.conf
 4 -rw-r--r-- 1 rmsgw rmsgw   160 Sep 19 11:04 gateway.conf-dist
12 -rwxr-xr-x 1 rmsgw rmsgw  9191 Sep 19 11:04 getchannel.py
12 -rwxr-xr-x 1 rmsgw rmsgw  9990 Sep 19 11:04 getsysop.py
 8 -rwxr-xr-x 1 rmsgw rmsgw  6862 Sep 19 11:04 getversionlist.py
 4 -rw-r--r-- 1 rmsgw rmsgw   383 Sep 19 11:04 gwhelp
 4 drwxr-xr-x 2 rmsgw rmsgw  4096 Sep 19 11:04 hooks
 4 -rw-r--r-- 1 rmsgw rmsgw   234 Sep 19 11:04 hosts
12 -rwxr-xr-x 1 rmsgw rmsgw 10929 Sep 19 11:04 mksysop.py
44 -rwxr-xr-x 1 rmsgw rmsgw 42660 Sep 19 11:04 rmsgwchantest
 4 drwxr-xr-x 2 rmsgw rmsgw  4096 Sep 19 11:04 stat
 4 -rw-rw---- 1 rmsgw rmsgw   539 Sep 19 11:04 sysop-template.xml
 4 -rwxr-xr-x 1 rmsgw rmsgw  3182 Sep 19 11:04 testwlapi.sh
12 -rwxr-xr-x 1 rmsgw rmsgw  9795 Sep 19 11:04 updatechannel.py
 8 -rwxr-xr-x 1 rmsgw rmsgw  7840 Sep 19 11:04 updatesysop.py
 8 -rwxr-xr-x 1 rmsgw rmsgw  7832 Sep 19 11:04 updateversion.py
 4 -rw-rw-r-- 1 rmsgw rmsgw   352 Sep 19 11:04 .version_info
12 -rwxr-xr-x 1 rmsgw rmsgw  8395 Sep 19 11:04 versionlist.sh
 4 -rw-rw---- 1 rmsgw rmsgw   864 Sep 19 11:04 winlinkservice.xml


Here's the output of sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10
status for interface ax0 unavailable



Virus-free. www.avg.com


On Wed, Nov 6, 2019 at 2:00 PM Basil Gunn <basil@...> wrote:

You may have a file permissions problem in the /usr/local/etc/rmsgw
directory. Verify by sending me the console output of:

ls -sal /usr/local/etc/rmsgw

You can solve the problem by running a new script.
# First fix your local git repo

cd
sudo su
chown -R pi:pi n7nix

# Now get the new script

exit
cd
cd n7nix
git pull

# Now run a script that should fix your problem.

cd rmsgw
sudo su
./grouptest.sh

# Verify that the permissions on files in the /usr/local/etc/rmsgw
directory are correct.

ls -sal /usr/local/etc/rmsgw

# And finally test with rmschanstat

sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10

Please send me all the console output from all of the above commands plus new
entries in file: /var/log/rms.debug

/Basil

Craig McVeay <cmcveay@...> writes:

> Basil,
> Yes on the gateway request, I've had a gateway running (RMS Packet on a Windows machine) for a little over a year. If I have that running on the windows box while I'm setting this up on the DRAWS, could that be a part of the problem? They are using different radios and antennas so no conflict there.
>
> I checked and rechecked the entries in the files as you recommended and they were correct. Rebooted the Pi and checked things again with no change.
>
> I made a new image and started the entire config process over (I'm getting good at it now). The results changed just a little.
>
> AX.25 status shows all running and enabled.
>
> tail -f /var/log/rms.debug results are a little different but the last line still suggests something is wrong. I've verified and double checked the PW and other information entered and it is correct. Here are the results
> :
> Nov 6 04:17:02 draws rmsgw_aci[1580]: N0CSM-10 - Linux RMS Gateway ACI 2.5.1 Sep 19 2019 (DM26ad)
> Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 (145050000 Hz, mode 0)
> Nov 6 04:17:02 draws rmsgw_aci[1580]: /usr/local/bin/rmschanstat ax25 udr0 N0CSM-10 reports unavailable
> Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 is DOWN -- not updated
> Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel Stats: 1 read, 1 active, 1 down, 0 updated, 0 errors
> Nov 6 04:17:03 draws rmsgw_aci[1580]: python script /usr/local/etc/rmsgw/updateversion.py failed, status 1
>
> Thanks,
> Craig
>
>




Basil Gunn
 

Please read my previous email & do everything that I asked.
/Basil

Craig McVeay <cmcveay@...> writes:

I ran the scripts that you sent and here's what I have.

Here's the output of the ls -sal /usr/local/etc/rmsgw

total 196
4 drwxr-xr-x 4 rmsgw rmsgw 4096 Nov 6 04:11 .
4 drwxr-xr-x 4 root root 4096 Nov 6 04:12 ..
4 -rw-r--r-- 1 rmsgw rmsgw 599 Sep 19 11:04 acihelp
4 -rwxr-xr-x 1 rmsgw rmsgw 2329 Sep 19 11:04 admin-update.sh
4 -rw-r--r-- 1 rmsgw rmsgw 48 Nov 6 04:11 banner
4 -rw-r--r-- 1 rmsgw rmsgw 810 Nov 6 04:11 channels.xml
4 -rw-r--r-- 1 rmsgw rmsgw 2812 Sep 19 11:04 channels.xsd
4 -rw-r--r-- 1 rmsgw rmsgw 154 Nov 6 04:11 gateway.conf
4 -rw-r--r-- 1 rmsgw rmsgw 160 Sep 19 11:04 gateway.conf-dist
12 -rwxr-xr-x 1 rmsgw rmsgw 9191 Sep 19 11:04 getchannel.py
12 -rwxr-xr-x 1 rmsgw rmsgw 9990 Sep 19 11:04 getsysop.py
8 -rwxr-xr-x 1 rmsgw rmsgw 6862 Sep 19 11:04 getversionlist.py
4 -rw-r--r-- 1 rmsgw rmsgw 383 Sep 19 11:04 gwhelp
4 drwxr-xr-x 2 rmsgw rmsgw 4096 Sep 19 11:04 hooks
4 -rw-r--r-- 1 rmsgw rmsgw 234 Sep 19 11:04 hosts
12 -rwxr-xr-x 1 rmsgw rmsgw 10929 Sep 19 11:04 mksysop.py
44 -rwxr-xr-x 1 rmsgw rmsgw 42660 Sep 19 11:04 rmsgwchantest
4 drwxr-xr-x 2 rmsgw rmsgw 4096 Sep 19 11:04 stat
4 -rw-rw---- 1 rmsgw rmsgw 539 Sep 19 11:04 sysop-template.xml
4 -rwxr-xr-x 1 rmsgw rmsgw 3182 Sep 19 11:04 testwlapi.sh
12 -rwxr-xr-x 1 rmsgw rmsgw 9795 Sep 19 11:04 updatechannel.py
8 -rwxr-xr-x 1 rmsgw rmsgw 7840 Sep 19 11:04 updatesysop.py
8 -rwxr-xr-x 1 rmsgw rmsgw 7832 Sep 19 11:04 updateversion.py
4 -rw-rw-r-- 1 rmsgw rmsgw 352 Sep 19 11:04 .version_info
12 -rwxr-xr-x 1 rmsgw rmsgw 8395 Sep 19 11:04 versionlist.sh
4 -rw-rw---- 1 rmsgw rmsgw 864 Sep 19 11:04 winlinkservice.xml


Here's the output of sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10
status for interface ax0 unavailable



<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Nov 6, 2019 at 2:00 PM Basil Gunn <@basil860> wrote:


You may have a file permissions problem in the /usr/local/etc/rmsgw
directory. Verify by sending me the console output of:

ls -sal /usr/local/etc/rmsgw

You can solve the problem by running a new script.
# First fix your local git repo

cd
sudo su
chown -R pi:pi n7nix

# Now get the new script

exit
cd
cd n7nix
git pull

# Now run a script that should fix your problem.

cd rmsgw
sudo su
./grouptest.sh

# Verify that the permissions on files in the /usr/local/etc/rmsgw
directory are correct.

ls -sal /usr/local/etc/rmsgw

# And finally test with rmschanstat

sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10

Please send me all the console output from all of the above commands plus
new
entries in file: /var/log/rms.debug

/Basil

Craig McVeay <cmcveay@...> writes:

Basil,
Yes on the gateway request, I've had a gateway running (RMS Packet on a
Windows machine) for a little over a year. If I have that running on the
windows box while I'm setting this up on the DRAWS, could that be a part of
the problem? They are using different radios and antennas so no conflict
there.

I checked and rechecked the entries in the files as you recommended and
they were correct. Rebooted the Pi and checked things again with no change.

I made a new image and started the entire config process over (I'm
getting good at it now). The results changed just a little.

AX.25 status shows all running and enabled.

tail -f /var/log/rms.debug results are a little different but the last
line still suggests something is wrong. I've verified and double checked
the PW and other information entered and it is correct. Here are the results
:
Nov 6 04:17:02 draws rmsgw_aci[1580]: N0CSM-10 - Linux RMS Gateway ACI
2.5.1 Sep 19 2019 (DM26ad)
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0
(145050000 Hz, mode 0)
Nov 6 04:17:02 draws rmsgw_aci[1580]: /usr/local/bin/rmschanstat ax25
udr0 N0CSM-10 reports unavailable
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 is DOWN
-- not updated
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel Stats: 1 read, 1 active, 1
down, 0 updated, 0 errors
Nov 6 04:17:03 draws rmsgw_aci[1580]: python script
/usr/local/etc/rmsgw/updateversion.py failed, status 1

Thanks,
Craig




Basil Gunn
 

I now have a script, chk_gateway.sh, that I would like to see the console output
of.

# To get the script
cd
cd n7nix
git pull

# To run the script
cd rmsgw
sudo su
./chk_gateway.sh

Copy the console output to an email to me.
Thanks.
/Basil n7nix

Basil Gunn <@basil860> writes:

Please read my previous email & do everything that I asked.
/Basil

Craig McVeay <cmcveay@...> writes:

I ran the scripts that you sent and here's what I have.

Here's the output of the ls -sal /usr/local/etc/rmsgw

total 196
4 drwxr-xr-x 4 rmsgw rmsgw 4096 Nov 6 04:11 .
4 drwxr-xr-x 4 root root 4096 Nov 6 04:12 ..
4 -rw-r--r-- 1 rmsgw rmsgw 599 Sep 19 11:04 acihelp
4 -rwxr-xr-x 1 rmsgw rmsgw 2329 Sep 19 11:04 admin-update.sh
4 -rw-r--r-- 1 rmsgw rmsgw 48 Nov 6 04:11 banner
4 -rw-r--r-- 1 rmsgw rmsgw 810 Nov 6 04:11 channels.xml
4 -rw-r--r-- 1 rmsgw rmsgw 2812 Sep 19 11:04 channels.xsd
4 -rw-r--r-- 1 rmsgw rmsgw 154 Nov 6 04:11 gateway.conf
4 -rw-r--r-- 1 rmsgw rmsgw 160 Sep 19 11:04 gateway.conf-dist
12 -rwxr-xr-x 1 rmsgw rmsgw 9191 Sep 19 11:04 getchannel.py
12 -rwxr-xr-x 1 rmsgw rmsgw 9990 Sep 19 11:04 getsysop.py
8 -rwxr-xr-x 1 rmsgw rmsgw 6862 Sep 19 11:04 getversionlist.py
4 -rw-r--r-- 1 rmsgw rmsgw 383 Sep 19 11:04 gwhelp
4 drwxr-xr-x 2 rmsgw rmsgw 4096 Sep 19 11:04 hooks
4 -rw-r--r-- 1 rmsgw rmsgw 234 Sep 19 11:04 hosts
12 -rwxr-xr-x 1 rmsgw rmsgw 10929 Sep 19 11:04 mksysop.py
44 -rwxr-xr-x 1 rmsgw rmsgw 42660 Sep 19 11:04 rmsgwchantest
4 drwxr-xr-x 2 rmsgw rmsgw 4096 Sep 19 11:04 stat
4 -rw-rw---- 1 rmsgw rmsgw 539 Sep 19 11:04 sysop-template.xml
4 -rwxr-xr-x 1 rmsgw rmsgw 3182 Sep 19 11:04 testwlapi.sh
12 -rwxr-xr-x 1 rmsgw rmsgw 9795 Sep 19 11:04 updatechannel.py
8 -rwxr-xr-x 1 rmsgw rmsgw 7840 Sep 19 11:04 updatesysop.py
8 -rwxr-xr-x 1 rmsgw rmsgw 7832 Sep 19 11:04 updateversion.py
4 -rw-rw-r-- 1 rmsgw rmsgw 352 Sep 19 11:04 .version_info
12 -rwxr-xr-x 1 rmsgw rmsgw 8395 Sep 19 11:04 versionlist.sh
4 -rw-rw---- 1 rmsgw rmsgw 864 Sep 19 11:04 winlinkservice.xml


Here's the output of sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10
status for interface ax0 unavailable



<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Nov 6, 2019 at 2:00 PM Basil Gunn <@basil860> wrote:


You may have a file permissions problem in the /usr/local/etc/rmsgw
directory. Verify by sending me the console output of:

ls -sal /usr/local/etc/rmsgw

You can solve the problem by running a new script.
# First fix your local git repo

cd
sudo su
chown -R pi:pi n7nix

# Now get the new script

exit
cd
cd n7nix
git pull

# Now run a script that should fix your problem.

cd rmsgw
sudo su
./grouptest.sh

# Verify that the permissions on files in the /usr/local/etc/rmsgw
directory are correct.

ls -sal /usr/local/etc/rmsgw

# And finally test with rmschanstat

sudo -u rmsgw rmschanstat ax25 udr0 N0CSM-10

Please send me all the console output from all of the above commands plus
new
entries in file: /var/log/rms.debug

/Basil

Craig McVeay <cmcveay@...> writes:

Basil,
Yes on the gateway request, I've had a gateway running (RMS Packet on a
Windows machine) for a little over a year. If I have that running on the
windows box while I'm setting this up on the DRAWS, could that be a part of
the problem? They are using different radios and antennas so no conflict
there.

I checked and rechecked the entries in the files as you recommended and
they were correct. Rebooted the Pi and checked things again with no change.

I made a new image and started the entire config process over (I'm
getting good at it now). The results changed just a little.

AX.25 status shows all running and enabled.

tail -f /var/log/rms.debug results are a little different but the last
line still suggests something is wrong. I've verified and double checked
the PW and other information entered and it is correct. Here are the results
:
Nov 6 04:17:02 draws rmsgw_aci[1580]: N0CSM-10 - Linux RMS Gateway ACI
2.5.1 Sep 19 2019 (DM26ad)
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0
(145050000 Hz, mode 0)
Nov 6 04:17:02 draws rmsgw_aci[1580]: /usr/local/bin/rmschanstat ax25
udr0 N0CSM-10 reports unavailable
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel: N0CSM-10 on udr0 is DOWN
-- not updated
Nov 6 04:17:02 draws rmsgw_aci[1580]: Channel Stats: 1 read, 1 active, 1
down, 0 updated, 0 errors
Nov 6 04:17:03 draws rmsgw_aci[1580]: python script
/usr/local/etc/rmsgw/updateversion.py failed, status 1