Re: Help setting up RMS Gateway? #draws #rms

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
>
>




Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.