Date   
Re: Icom 706MKIIG Setup #icom #ptt

KB5ZUR
 

I got it going. 
Thanks

On Sun, Apr 5, 2020, 6:17 PM John D Hays - K7VE <john@...> wrote:
I just got to this.   You probably needed to upgrade nodejs ?

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_13.x | bash -
apt-get install -y nodejs

On Sun, Apr 5, 2020 at 10:46 AM KB5ZUR <kb5zur@...> wrote:
I got it fixed sorry for the prior post.
looks like I am up and going now.
-Kb5zur-David

On Sun, Apr 5, 2020 at 12:22 PM David Savells <kb5zur@...> wrote:
Well I have manages to break draws-manager. I get the following messages when I check the status:
● draws-manager.service - DRAWS™ Manager - A web application to manage the DRAW™ HAT configuration.
   Loaded: loaded (/etc/systemd/system/draws-manager.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-04-05 12:15:39 CDT; 2min 26s ago
     Docs: https://github.com/nwdigitalradio/draws-manager
  Process: 456 ExecStart=/usr/bin/npm start (code=exited, status=1/FAILURE)
 Main PID: 456 (code=exited, status=1/FAILURE)

Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! errno 1
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! webapp@0.0.1 start: `node ./bin/www`
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! Exit status 1
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR!
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! Failed at the webapp@0.0.1 start script.
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR! A complete log of this run can be found in:
Apr 05 12:15:39 DRAWS15 npm[456]: npm ERR!     /root/.npm/_logs/2020-04-05T17_15_39_643Z-debug.log
Apr 05 12:15:39 DRAWS15 systemd[1]: draws-manager.service: Main process exited, code=exited, status=1/FAILURE
Apr 05 12:15:39 DRAWS15 systemd[1]: draws-manager.service: Failed with result 'exit-code'.

additional log info:
0 info it worked if it ends with ok
1 warn npm npm does not support Node.js v10.15.2
2 warn npm You should probably upgrade to a newer version of node as we
3 warn npm can't make any promises that npm will work with this version.
4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
5 warn npm You can find the latest version at https://nodejs.org/
6 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
7 info using npm@5.8.0
8 info using node@...
9 verbose run-script [ 'prestart', 'start', 'poststart' ]
10 info lifecycle webapp@0.0.1~prestart: webapp@0.0.1
11 info lifecycle webapp@0.0.1~start: webapp@0.0.1
12 verbose lifecycle webapp@0.0.1~start: unsafe-perm in lifecycle true
13 verbose lifecycle webapp@0.0.1~start: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/local/var/draws-manager/webapp/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
14 verbose lifecycle webapp@0.0.1~start: CWD: /usr/local/var/draws-manager/webapp
15 silly lifecycle webapp@0.0.1~start: Args: [ '-c', 'node ./bin/www' ]
16 silly lifecycle webapp@0.0.1~start: Returned: code: 1  signal: null
17 info lifecycle webapp@0.0.1~start: Failed to exec start script
18 verbose stack Error: webapp@0.0.1 start: `node ./bin/www`
18 verbose stack Exit status 1
18 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/index.js:283:16)
18 verbose stack     at EventEmitter.emit (events.js:189:13)
18 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18 verbose stack     at ChildProcess.emit (events.js:189:13)
18 verbose stack     at maybeClose (internal/child_process.js:970:16)
18 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
19 verbose pkgid webapp@0.0.1
20 verbose cwd /usr/local/var/draws-manager/webapp
21 verbose Linux 4.19.97-v7+
22 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
23 verbose node v10.15.2
24 verbose npm  v5.8.0
25 error code ELIFECYCLE
26 error errno 1
27 error webapp@0.0.1 start: `node ./bin/www`
27 error Exit status 1
28 error Failed at the webapp@0.0.1 start script.
28 error This is probably not a problem with npm. There is likely additional logging output above.
29 verbose exit [ 1, true ]



Any ideas on how to fix this ?

-Kb5zur David


On Sat, Apr 4, 2020 at 1:22 PM John D Hays - K7VE <john@...> wrote:
As I recall WSJT-X uses Hamlin/CAT for PTT. 

On Sat, Apr 4, 2020, 10:55 KB5ZUR <kb5zur@...> wrote:
I'm struggling with the TX audio settings in JS8Call. When i use the recommended settings based on the 0.4V Peak to Peak value for my ICOM 706, I don't seem to output any power. When I adjust the values up, I get power output but no replies to my CQ's or replies to other stations I can hear.

I would like to do some testing in WSJT-X Ver 2.1.2 but don't see a way PTT with the script file.  

2 Questions: 
Can you recommend TX Audio setting for my ICOM706MkIIG 
Do you know if WSJT-X supports Advanced PTT settings for the script file for keying?

On Sat, Apr 4, 2020 at 11:10 AM David Savells <kb5zur@...> wrote:
Couldnt find advanced PTT setting in WSJT-X 

which ptt_ctrl.sh showed  /home/pi/bin/ptt_ctrl.sh
So I set that path in JS8Call and it is now keying the radio.
Just now getting into the TX audio adjustments but looks like I can TX using the Test PTT button in JS8Call setup.
Ill follow up once I can confirm proper operation
Thanks again for your help.
-Kb5zur David


On Sat, Apr 4, 2020 at 10:55 AM Basil Gunn <basil@...> wrote:

Hi David,

> Try using the path that comes back from the above command for js8call
> /home/pi/bin/ptt_ctrl.sh %1
>
> I'll test this later on today.

Using full path seems to work fine for script /home/pi/bin/ptt_ctrl.sh
%1 and js8call

Have you used wstx?
What did you use for PTT control when using wstx and ICOM 706MKIIg?

/Basil n7niix





--
John D. Hays
Kingston, WA
K7VE

 

Re: Backups and Updates

Basil Gunn
 

Now that I have a stable config with NWDR-15 : How do I use a USB
micro SD Card device to replicate the entire active SD card?
The answer to this question depends on which operating system you are
using on the machine with the USB device, Linux/MAC/Windows.

If you google this topic you will get a lot of responses for things to
try and some of them might even work. I make a LOT of images using my
Linux workstation so my notes reflect that. I have a number of friends
that use a MAC and we have found a solution when using that OS as well.
For Windows there is a lengthy thread on the RaspberryPi-4-HamRadio
groups.io group that might be helpful. I can't really comment on the
Windows solution since I never use it.

Please read a file that I've recently added to our github repo with some
notes so that you can see what I recommend.

How to make an SD card image backup
https://github.com/nwdigitalradio/n7nix/blob/master/docs/SDCARD_BACKUP.md

/Basil

Re: Backups and Updates

john.chabalko@...
 

Thanks Basil, i followed your advice last night and went ahead with a fresh rebuild - everything went fine and it also appears to have solved whatever was going on with prog_refresh not updating everything too. That dist-upgrade take a long time on a raspberry pi though ;) I started it kind of late and just let it run into the night.

The last time i did was during the time that the audio drivers were still being incorporated into the kernel - which i think was the root of my problem last year.

So going forward is it recommended to manage the linux os updates as i would on any other machine - updating OS packages periodically and applying OS patches regularly?

There are a couple of wonky things in the setup instructions i noticed
  • When you run ./app_config.sh core if you change the hostname of the rpi (which is one of the early steps) it throws a number of errors later on related to the previous (still current?) hostname of the device.
  • I was able to use a wpa_supplicant.conf and to enable ssh on the sd card after imaging it but i couldn't connect to the device via the "draws.local" hostname after boot. I don't see an updated hostname in the setup doc and that's what it used to be called from my notes. I ended up reimaging the card and connecting the rpi to my TV where i found that it was up and running on the network so i just connected to it directly by IP. I might try to play around with this again and see what it's doing. I tend to set up and run these things headless so that first time of connecting can be dicey.
Thanks for your help - here's the current state of my OS and applications, and everything's working great with radio control and audio routing.

cheers, 73
-john

pi@n3ap-p:~/n7nix/bin $ uname -a
Linux n3ap-p 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
pi@n3ap-p:~/n7nix/bin $ cat /etc/debian_version
10.3
pi@n3ap-p:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@n3ap-p:~ $ prog_refresh.sh -c
js8call: current version: 2.1.1, installed: 2.1.1
wsjtx:   current version: 2.1.2, installed: 2.1.2
Library: libflxmlrpc IS loaded.
flxmlrpc:  current version: 0.1.4, installed: 0.1.4
fldigi:  current version: 4.1.11, installed: 4.1.11
flrig:  current version: 1.3.50, installed: 1.3.50
flmsg:  current version: 4.0.14, installed: 4.0.14
flamp:  current version: 2.2.05, installed: 2.2.05
fllog:  current version: 1.2.6, installed: 1.2.6
xastir: current version: 2.1.5, installed: 2.1.5
gp_verchk.sh: Detected gpsd package.
gpsd: current version: 3.20, installed: 3.20

Re: Backups and Updates

Gayland Gump
 

On your pi under Raspberry Menu/Accessories/SD Card Copier assuming that you've managed to pickup a usb sd card reader/writer when you've either purchased and SD card or bought one ( a very useful item in Pi World).  Instructions for using it should be readily available with a bit of internet searching.

This is the simplest, most straightforward method I know of.  Have a few SD cards handy and when you make any significant changes to your system, use this to make a backup.

Gayland
KG7GCF


On Fri, Apr 10, 2020 at 4:06 AM Ed Bloom, KD9FRQ via groups.io <ewbloom=verizon.net@groups.io> wrote:
Follow up question.................

Now that I have a stable config with NWDR-15 : How do I use a USB micro
SD Card device
to replicate the entire active SD card?

Ed, KD9FRQ

On 4/9/2020 5:49 PM, Basil Gunn wrote:
> Hi there, i have 2 questions related to the DRAWs hat on a Raspberry
>> Pi 3B+
>>
>>     - Is there current guidance for applying operating system updates on an
>>     RPi 3b+ running the DRAWs hat? I'm running the stock image from ~1 year ago
>>     still.
> If you are running on an image that's about a year old I would recommend
> starting from a current image. The reason is around May of last year
> some of Anna's driver patches for the DRAWS/UDRC hat where being
> accepted into the mainline Linux kernel. After all the patches made it
> into the kernel everything worked well. Unfortunately the patches
> dribbled in and things were unstable for a few months beginning last
> summer.
>
>>      I updated not long after getting it and there was a conflict (at
>>     the time) with the audio driver so reverted back to the base image
>>     at the time
>>     - Is there a list, or document, describing which relevant config files
>>     should be backed up to be able to restore my system in the event of a SD
>>     card failure?
> Depends on what applications you configured, so no.
>
>>        - Or is there a script that collects the files and spits out a
>>        tarball?
> Nope. I could probably do it for packet ie. ax.25/direwolf/RMS
> gateway/paclink-unix but the HF programs configuration do not follow any
> established convention ... that I am aware of.
>
>>        - I've run 'prog_refresh -c' a few times lately and it shows updates
>>     available for a couple of software packages, but when i then run
>>     'prog_refresh' it doesn't update them
> I would have to see console output to comment on this.
>
>>        - I have run 'git pull' prior to 'prog_refresh -c'
>>
>> Any pointers to messages about this stuff would be fine too, i was
>> searching through groups.io and haven't hit pay dirt yet.
> To be clear, I don't back-up most of my SD cards. However, since I know
> how to squish the file system & compress the image I tend to store
> complete SD card images. ie. a 16 GB SD card image can be reduced to
> about a 2.5GB image file. This image file can be used to (re)create any SD
> card equal to or greater than 16GB. Building & burning images is done on
> a Linux workstation.
>
> The reason I don't back-up is that with the scripts I have made available I
> can start from a fresh mSD card and install/configure anything in
> around 30 minutes. For instance I can create a 1200/9600 baud
> point-to-point or RMS Gateway Winlink packet station in that time.
>
> /Basil n7nix



Re: Backups and Updates

Ed Bloom, KD9FRQ
 

Follow up question.................

Now that I have a stable config with NWDR-15 : How do I use a USB micro SD Card device
to replicate the entire active SD card?

Ed, KD9FRQ

On 4/9/2020 5:49 PM, Basil Gunn wrote:
Hi there, i have 2 questions related to the DRAWs hat on a Raspberry
Pi 3B+

- Is there current guidance for applying operating system updates on an
RPi 3b+ running the DRAWs hat? I'm running the stock image from ~1 year ago
still.
If you are running on an image that's about a year old I would recommend
starting from a current image. The reason is around May of last year
some of Anna's driver patches for the DRAWS/UDRC hat where being
accepted into the mainline Linux kernel. After all the patches made it
into the kernel everything worked well. Unfortunately the patches
dribbled in and things were unstable for a few months beginning last
summer.

I updated not long after getting it and there was a conflict (at
the time) with the audio driver so reverted back to the base image
at the time
- Is there a list, or document, describing which relevant config files
should be backed up to be able to restore my system in the event of a SD
card failure?
Depends on what applications you configured, so no.

- Or is there a script that collects the files and spits out a
tarball?
Nope. I could probably do it for packet ie. ax.25/direwolf/RMS
gateway/paclink-unix but the HF programs configuration do not follow any
established convention ... that I am aware of.

- I've run 'prog_refresh -c' a few times lately and it shows updates
available for a couple of software packages, but when i then run
'prog_refresh' it doesn't update them
I would have to see console output to comment on this.

- I have run 'git pull' prior to 'prog_refresh -c'

Any pointers to messages about this stuff would be fine too, i was
searching through groups.io and haven't hit pay dirt yet.
To be clear, I don't back-up most of my SD cards. However, since I know
how to squish the file system & compress the image I tend to store
complete SD card images. ie. a 16 GB SD card image can be reduced to
about a 2.5GB image file. This image file can be used to (re)create any SD
card equal to or greater than 16GB. Building & burning images is done on
a Linux workstation.

The reason I don't back-up is that with the scripts I have made available I
can start from a fresh mSD card and install/configure anything in
around 30 minutes. For instance I can create a 1200/9600 baud
point-to-point or RMS Gateway Winlink packet station in that time.

/Basil n7nix

Re: Backups and Updates

Basil Gunn
 

Hi there, i have 2 questions related to the DRAWs hat on a Raspberry
Pi 3B+

- Is there current guidance for applying operating system updates on an
RPi 3b+ running the DRAWs hat? I'm running the stock image from ~1 year ago
still.
If you are running on an image that's about a year old I would recommend
starting from a current image. The reason is around May of last year
some of Anna's driver patches for the DRAWS/UDRC hat where being
accepted into the mainline Linux kernel. After all the patches made it
into the kernel everything worked well. Unfortunately the patches
dribbled in and things were unstable for a few months beginning last
summer.

I updated not long after getting it and there was a conflict (at
the time) with the audio driver so reverted back to the base image
at the time
- Is there a list, or document, describing which relevant config files
should be backed up to be able to restore my system in the event of a SD
card failure?
Depends on what applications you configured, so no.

- Or is there a script that collects the files and spits out a
tarball?
Nope. I could probably do it for packet ie. ax.25/direwolf/RMS
gateway/paclink-unix but the HF programs configuration do not follow any
established convention ... that I am aware of.

- I've run 'prog_refresh -c' a few times lately and it shows updates
available for a couple of software packages, but when i then run
'prog_refresh' it doesn't update them
I would have to see console output to comment on this.

- I have run 'git pull' prior to 'prog_refresh -c'

Any pointers to messages about this stuff would be fine too, i was
searching through groups.io and haven't hit pay dirt yet.
To be clear, I don't back-up most of my SD cards. However, since I know
how to squish the file system & compress the image I tend to store
complete SD card images. ie. a 16 GB SD card image can be reduced to
about a 2.5GB image file. This image file can be used to (re)create any SD
card equal to or greater than 16GB. Building & burning images is done on
a Linux workstation.

The reason I don't back-up is that with the scripts I have made available I
can start from a fresh mSD card and install/configure anything in
around 30 minutes. For instance I can create a 1200/9600 baud
point-to-point or RMS Gateway Winlink packet station in that time.

/Basil n7nix

Re: NWDR15 Check

Basil Gunn
 

Thank you, Basil.
I have it working now and can receive APRS.
Good work Ed!

Ed, KD9FRQ

On 4/9/2020 11:23 AM, Basil Gunn wrote:
Hi Ed,
Just looking back at some of the posts.

Xastir does nothing. On previous install attempt, I followed the GitHub
directions and loaded Xastir that way and then icon worked. Do I need
to do that again?
Solution here:
https://nw-digital-radio.groups.io/g/udrc/message/4533?p=,,,20,0,0,0::relevance,,xastir+apt-get,20,2,0,71778905

Also, is there a script to add the split channel icon to the desktop? I
have a second DRAWS setup and I will gladly use it for HF and leave this
current install as VHF.
If you have dedicated RPi's for HF apps & VHF/UHF packet apps then I
would recommend not using split channel and for your HF RPi just make
sure that ax.25/direwolf is not running.

ax25-stop

/Basil n7nix

Backups and Updates

john.chabalko@...
 

Hi there, i have 2 questions related to the DRAWs hat on a Raspberry Pi 3B+

  • Is there current guidance for applying operating system updates on an RPi 3b+ running the DRAWs hat? I'm running the stock image from ~1 year ago still. I updated not long after getting it and there was a conflict (at the time) with the audio driver so reverted back to the base image at the time
  • Is there a list, or document, describing which relevant config files should be backed up to be able to restore my system in the event of a SD card failure?
    • Or is there a script that collects the files and spits out a tarball?
  • I've run 'prog_refresh -c' a few times lately and it shows updates available for a couple of software packages, but when i then run 'prog_refresh' it doesn't update them
    • I have run 'git pull' prior to 'prog_refresh -c'
Any pointers to messages about this stuff would be fine too, i was searching through groups.io and haven't hit pay dirt yet.

73

Re: NWDR15 Check

Ed Bloom, KD9FRQ
 

Thank you, Basil.

I have it working now and can receive APRS.

Ed,  KD9FRQ

On 4/9/2020 11:23 AM, Basil Gunn wrote:
Hi Ed,
Just looking back at some of the posts.

Xastir does nothing. On previous install attempt, I followed the GitHub
directions and loaded Xastir that way and then icon worked. Do I need
to do that again?
Solution here:
https://nw-digital-radio.groups.io/g/udrc/message/4533?p=,,,20,0,0,0::relevance,,xastir+apt-get,20,2,0,71778905

Also, is there a script to add the split channel icon to the desktop? I
have a second DRAWS setup and I will gladly use it for HF and leave this
current install as VHF.
If you have dedicated RPi's for HF apps & VHF/UHF packet apps then I
would recommend not using split channel and for your HF RPi just make
sure that ax.25/direwolf is not running.

ax25-stop

/Basil n7nix

Re: NWDR15 Check

Basil Gunn
 

Hi Ed,
Just looking back at some of the posts.

Xastir does nothing. On previous install attempt, I followed the GitHub
directions and loaded Xastir that way and then icon worked. Do I need
to do that again?
Solution here:
https://nw-digital-radio.groups.io/g/udrc/message/4533?p=,,,20,0,0,0::relevance,,xastir+apt-get,20,2,0,71778905

Also, is there a script to add the split channel icon to the desktop? I
have a second DRAWS setup and I will gladly use it for HF and leave this
current install as VHF.
If you have dedicated RPi's for HF apps & VHF/UHF packet apps then I
would recommend not using split channel and for your HF RPi just make
sure that ax.25/direwolf is not running.

ax25-stop

/Basil n7nix

Re: Xastir - No Start (NWDR15)

Basil Gunn
 

I got NQDR15 to load and configured so that it returns all the values
noted in the Wiki (Confirm Install).

YAAC icon worked and let me start setting up.

Xastir icon just "sits there" after double clicking and selecting
Execute and does not bring up the software to start the set up process.
Whenever you have a problem with an icon not loading a program, open a
console and run it from there. This is most likely your problem and
solution:

"error while loading shared libraries: libgeotiff.so.2:"

https://nw-digital-radio.groups.io/g/udrc/message/4533?p=,,,20,0,0,0::relevance,,xastir+apt-get,20,2,0,71778905

/Basil n7nix

Xastir - No Start (NWDR15)

Ed Bloom, KD9FRQ
 

I got NQDR15 to load and configured so that it returns all the values noted in the Wiki (Confirm Install).

YAAC icon worked and let me start setting up.

Xastir icon just "sits there" after double clicking and selecting Execute and does not bring up the software to start the set up process.

Do I need to follow the NWDR Github Xastir directions to get this icon to start the program?


Ed, KD9FRQ

Re: #gps #gpsd #ntp #time #gps #gpsd #ntp #time

Basil Gunn
 

It can sometimes take up to 15 minutes for the GPS device to achieve a
'lock'.

If your GPS antenna is indoors with a metal roof or in your basement or
live in a subterranean home or live in a forest or live by a power
distribution center you may never get a lock until you put your GPS
antenna outside.

When I run gpsmon it just outputs garbage, see below
That is not garbage. That is exactly what the GPS device will output
before it has sufficient satellites locked.

gaoth@... writes:

I originally purchased a DRAWS last April, played with it a bit and
had some trouble, got busy so set it aside and hadn’t touched it until
a couple of days ago when I started working with a a little bit more,
and I am still having issues. I have it running direwolf and that is
working, I can connect to the raspberry pi with a remote computer
running xastir and revice agwpe data, but the GPS doesn't appear to be
working

When I run gpsmon it just outputs garbage, see below

root@draws:/home/pi/bin# gpsmon
tcp://localhost:2947 JSON slave driver>
(82) {"class":"VERSION","release":"3.20","rev":"3.20","proto_major":3,"proto_minor":14}
(263) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttySC0","activated":"2020-04-08T16:45:43.266Z","native":0,"bps":9600,"parity":"N","stopbit
s":1,"cycle":1.00},{"class":"DEVICE","path":"/dev/pps0","driver":"PPS","activated":"2020-04-08T16:45:43.661Z"}]}
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true}

Re: This may be a bigger problem Re: #time #gps #gpsd #ntp

Basil Gunn
 

From the console output:
- DRAWS hat eeprom can not be read
- DRAWS driver can not enumerate device

Possible causes:
- 40 pin connector is not seated properly
- ie. not on all the way or off-by-one pin
- low voltage power supply
- Raspberry Pi is defective
- Draws hat is defective.


gaoth@... writes:

Well, I though t it was working fine, but after rebooting now nothing
works, aplay -l no li=longer lists the draws, I am attaching the the
showudrc script output for more information.

This may be a bigger problem Re: #time #gps #gpsd #ntp

gaoth@...
 

Well, I though t it was working fine, but after rebooting now nothing works, aplay -l no li=longer lists the draws, I am attaching the the showudrc script output for more information.

login as: pi
pi@....156's password:
Linux draws 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Apr  8 13:39:35 2020
pi@draws:~ $ app_config.sh
-bash: app_config.sh: command not found
pi@draws:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@draws:~ $ showudrc.sh
==== Sound Card ====
No udrc sound card found.
==== Pi Ver ====
 Pi 3 Model B+, Rev 1.3, Mfg by Sony UK
 Has WiFi
==== udrc Ver ====
HAT firmware not initialized or HAT not installed.
 
        No id eeprom found
 
 
==== sys Ver ====
----- image version
2020 01 23 09:25:01 PST: SD image version: nwdr15
----- /proc/version
Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
 
----- /etc/*version: 10.3
 
----- /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
 
---- systemd
   Static hostname: draws
         Icon name: computer
        Machine ID: 27ac1f0c20904cb7a960920e966db545
           Boot ID: 750f94150532455ba06c0eab0ce40190
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.97-v7+
      Architecture: arm
 
---- modules
 
---- kernel
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20200212-1 armhf        Raspberry Pi bootloader
 
---- Codec drivers
Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay
 
---- syslog
 
---- dmesg
 
 
----- Dire Wolf DEVELOPMENT version 1.6 D (Jan  6 2020)
 
==== Filesystem ====
/dev/root        29G  5.3G   23G  20% /
 
==== boot config ====
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
 
[all]
#dtoverlay=vc4-fkms-v3d
 
# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=draws,alsaname=udrc
force_turbo=1
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
 
---- throttle
temp=49.4'C
throttled=0x0
 
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)
pi@draws:~ $
 

Re: DRAWS

Paul Noa
 

Raw packets of KO4BCZ* - map view · info · telemetry · weather · raw · status · beacons · messages · bulletins · browse · moving · my account
 
Originating callsign: 
 
Show:  5 25 50 100 300 500 1000   Normal Hex Decoded

Found 6 packets. 15901 seconds between packets on average during 79505 seconds. Lookup took 0.047 seconds.

Raw APRS-IS packets are stored for 2 days. Unsupported and unparseable packets are shown in red. Some formats are unsupported at the moment. AIS data is not shown here. It is possible to search using wildcards (*?) after a prefix.

2020-04-07 18:22:26 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAR,W4NAS::KO4BCZ   :07 18:22:24 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 4
2020-04-07 19:14:35 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAR,W4NAS::KO4BCZ   :07 19:14:34 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 3
2020-04-08 16:16:12 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAR,W4NAS::KO4BCZ   :08 16:16:06 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0??
2020-04-08 16:16:13 EDT: KO4BCZ-11>APUDR1,W4NAS*,qAO,KO4BCZ-1::KO4BCZ   :08 16:16:06 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0<0x92><0x86>
2020-04-08 16:27:30 EDT: KO4BCZ-11>APUDR1,WIDE1-1,qAR,W4NAS::KO4BCZ   :08 16:27:21 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1??
2020-04-08 16:27:31 EDT: KO4BCZ-11>APUDR1,W4NAS*,qAO,KO4BCZ-1::KO4BCZ   :08 16:27:21 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 1<0xc6><0xc9>

A search using KO4BCZ* reurned the results above but it does not the format.

Nothing on APRS.fi as a result of the format error.

Any help you can offer would be great I feel like I am really close!!

Paul

Re: DRAWS

Paul Noa
 

Basil,
RE installing the iptables solved the chromium/xmit issue,  Thank You!

I have not seen this before:
Apr  8 16:16:13 asawizard direwolf[468]: [0.3] KO4BCZ-11>APUDR1,W4NAS*::KO4BCZ   :08 16:16:06 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0
Apr  8 16:16:13 asawizard direwolf[468]: APRS Message  for "KO4BCZ", Original Balloon (think Ham b, NW Digital Radio's UDR (APRS/Dstar)
Apr  8 16:16:13 asawizard direwolf[468]: 08 16:16:06 EDT KO4BCZ mesg_beacon test from host asawizard on port udr0 Seq: 0

It appears  i received a message from Original Balloon??  second line up

Sorry for the ignorance
and Thanks for your indulgence

Paul
KO4BCZ

#gps #gpsd #ntp #time #gps #gpsd #ntp #time

gaoth@...
 

I originally purchased a DRAWS last April, played with it a bit and had some trouble, got busy so set it aside and hadn’t touched it until a couple of days ago when I started working with a a little bit more, and I am still having issues. I have it running direwolf and that is working, I can connect to the raspberry pi with a remote computer running xastir and revice agwpe data, but the GPS doesn't appear to be working


When I run gpsmon it just outputs garbage, see below

 
root@draws:/home/pi/bin# gpsmon
tcp://localhost:2947          JSON slave driver>
(82) {"class":"VERSION","release":"3.20","rev":"3.20","proto_major":3,"proto_minor":14}
(263) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttySC0","activated":"2020-04-08T16:45:43.266Z","native":0,"bps":9600,"parity":"N","stopbit
s":1,"cycle":1.00},{"class":"DEVICE","path":"/dev/pps0","driver":"PPS","activated":"2020-04-08T16:45:43.661Z"}]}
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true}

additionally chronyc sources looks like the gps inst there
l
root@draws:/home/pi/bin# chronyc sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^- t2.time.bf1.yahoo.com         2   6    17    10  -1886us[-1886us] +/-   79ms
^- lax1.justaguy.be              2   6    17    10  -6845us[-6845us] +/-   86ms
^- y.ns.gin.ntt.net              2   6    17    10  -4371us[-4371us] +/-   33ms
^- tick.srs1.ntfo.org            3   6    17    10    +11ms[  +11ms] +/-  169ms
root@draws:/home/pi/bin# chronyc sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^- t2.time.bf1.yahoo.com         3   7   377    92  -1415us[-1415us] +/-   54ms
^[[A^- lax1.justaguy.be              2   6   377    25  -4075us[-4075us] +/-   82ms
^- y.ns.gin.ntt.net              2   7   377    28  -4274us[-4274us] +/-   53ms
^- tick.srs1.ntfo.org            3   6   377    28  +6572us[+6572us] +/-  189ms
root@draws:/home/pi/bin# gpsmon
root@draws:/home/pi/bin# chronyc sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^- t2.time.bf1.yahoo.com         3   8   377     0  -1553us[-1553us] +/-   64ms
^- lax1.justaguy.be              2   6   377    63  -1767us[-1767us] +/-   88ms
^- y.ns.gin.ntt.net              2   8   377    64  -4131us[-4131us] +/-   61ms
^- tick.srs1.ntfo.org            3   7   377   129  +4697us[+4697us] +/-  177ms
root@draws:/home/pi/bin#

i have a gps antenna connected and the system has been powered on for several hours.

Re: DRAWS

Paul Noa
 

Thanks Basil,

#Here is the output from the requested commands:

pi@asawizard:~ $ cd n7nix/iptables
pi@asawizard:~/n7nix/iptables $ sudo rm /etc/iptables/rules.ipv4.ax25
pi@asawizard:~/n7nix/iptables $ sudo rm /lib/dhcpcd/dhcpdc-hooks/70-ipv4.ax25
rm: cannot remove '/lib/dhcpcd/dhcpdc-hooks/70-ipv4.ax25': No such file or directory
pi@asawizard:~/n7nix/iptables $ sudo rm /lib/dhcpcd/dhcpcd-hooks/70-ipv4.ax25
pi@asawizard:~/n7nix/iptables $ ./iptable_install.sh
setup iptables
USER=pi not null
Need to create iptables file: /etc/iptables/rules.ipv4.ax25
Need to create iptables file: /lib/dhcpcd/dhcpcd-hooks/70-ipv4.ax25
 
== setup iptables
 
2020 04 08 15:58:25 EDT: iptable_install.sh: iptables install/config script FINISHED

$ ./iptable-check.sh
iptables file: /etc/iptables/rules.ipv4.ax25 exists
iptables file: /lib/dhcpcd/dhcpcd-hooks/70-ipv4.ax25 exists
Chain INPUT (policy ACCEPT 133 packets, 8450 bytes)
    pkts      bytes target     prot opt in     out     source               destination
 
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts      bytes target     prot opt in     out     source               destination
 
Chain OUTPUT (policy ACCEPT 86 packets, 7667 bytes)
    pkts      bytes target     prot opt in     out     source               destination
       0        0 DROP       2    --  *      ax0     0.0.0.0/0            224.0.0.22
       0        0 DROP       udp  --  *      ax0     0.0.0.0/0            224.0.0.251          udp dpt:5353
       0        0 DROP       udp  --  *      ax0     0.0.0.0/0            239.255.255.250      udp
       0        0 DROP       2    --  *      ax1     0.0.0.0/0            224.0.0.22
       0        0 DROP       udp  --  *      ax1     0.0.0.0/0            224.0.0.251          udp dpt:5353
       0        0 DROP       udp  --  *      ax1     0.0.0.0/0            239.255.255.250      udp
pi@asawizard:~/n7nix/iptables $   

Not sure if these are good or bad results Basil??

Paul

Re: DRAWS

Paul Noa
 

Update:

#So I shutdown changed from an iPhone to an Android running a hot spot realizing it had not worked since the converse.

pi@asawizard:~ $ tail -f /var/log/direwolf/direwolf.log
Apr  8 14:48:41 asawizard direwolf[500]: KISS protocol set TXtail = 10 (*10mS units = 100 mS), port 1
Apr  8 14:48:41 asawizard direwolf[500]: KISS protocol set Persistence = 32, port 1
Apr  8 14:48:41 asawizard direwolf[500]: KISS protocol set SlotTime = 20 (*10mS units = 200 mS), port 1
Apr  8 14:48:41 asawizard direwolf[500]: KISS protocol set FullDuplex = 0, port 1
Apr  8 14:48:45 asawizard direwolf[500]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Apr  8 14:49:05 asawizard direwolf[500]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Apr  8 14:49:12 asawizard direwolf[500]: Now connected to IGate server noam.aprs2.net (206.12.104.38)
Apr  8 14:49:12 asawizard direwolf[500]: Check server status here http://206.12.104.38:14501
Apr  8 14:50:57 asawizard direwolf[500]: [ig] # aprsc 2.1.4-g408ed49
Apr  8 14:50:57 asawizard direwolf[500]: [ig] # logresp KO4BCZ verified, server T2BC
^C

#It would not transmit until I opened Chromium!!

pi@asawizard:~ $ tail -f /var/log/direwolf/direwolf.log
Apr  8 14:54:25 asawizard direwolf[500]: [1L] KO4BCZ-1>QST:(UI cc=00, p/f=0)E<0x00><0x00><0xc3>c=@<0x00><0x01><0x11>fF<0xc0><0xa8><0xff><0x03><0xef><0xff><0xff><0xfa><0x94><0x11><0x07>l<0x00><0xaf><0x8f>LM-SEARCH * HTTP/1.1<0x0d><0x0a>HOST: 239.255.255.250:1900<0x0d><0x0a>MAN: "ssdp:discover"<0x0d><0x0a>MX: 1<0x0d><0x0a>ST: urn:dial-multiscreen-org:service:dial:1<0x0d><0x0a>USER-AGENT: Chromium/78.0.3904.108 Linux<0x0d><0x0a><0x0d><0x0a>
Apr  8 14:54:25 asawizard direwolf[500]: [1L] KO4BCZ-1>QST:(UI cc=00, p/f=0)F<0xc0><0x00>(<0x00><0x00>@<0x00><0x01><0x02>DM<0xc0><0xa8><0xff><0x03><0xe0><0x00><0x00><0x16><0x94><0x04><0x00><0x00>"<0x00><0xf9><0x02><0x00><0x00><0x00><0x01><0x04><0x00><0x00><0x00><0xe0><0x00><0x00><0xfb>
Apr  8 14:54:25 asawizard direwolf[500]: [1L] KO4BCZ-1>QST:(UI cc=00, p/f=0)E<0x00><0x00>D<0x14>;@<0x00><0x01><0x11><0xc4><0xc6><0xc0><0xa8><0xff><0x03><0xe0><0x00><0x00><0xfb><0x14><0xe9><0x14><0xe9><0x00>0<0xea><0xfb><0x00><0x00><0x00><0x00><0x00><0x01><0x00><0x00><0x00><0x00><0x00><0x00><0x0b>_googlecast<0x04>_tcp<0x05>local<0x00><0x00><0x0c><0x00><0x01>
Apr  8 14:54:26 asawizard direwolf[500]: [1L] KO4BCZ-1>QST:(UI cc=00, p/f=0)E<0x00><0x00><0xc3>c<0x97>@<0x00><0x01><0x11>e<0xec><0xc0><0xa8><0xff><0x03><0xef><0xff><0xff><0xfa><0x94><0x11><0x07>l<0x00><0xaf><0x8f>LM-SEARCH * HTTP/1.1<0x0d><0x0a>HOST: 239.255.255.250:1900<0x0d><0x0a>MAN: "ssdp:discover"<0x0d><0x0a>MX: 1<0x0d><0x0a>ST: urn:dial-multiscreen-org:service:dial:1<0x0d><0x0a>USER-AGENT: Chromium/78.0.3904.108 Linux<0x0d><0x0a><0x0d><0x0a>
Apr  8 14:54:28 asawizard direwolf[500]: [1L] KO4BCZ-1>QST:(UI cc=00, p/f=0)E<0x00><0x00>D<0x14>W@<0x00><0x01><0x11><0xc4><0xaa><0xc0><0xa8><0xff><0x03><0xe0><0x00><0x00><0xfb><0x14><0xe9><0x14><0xe9><0x00>0<0xea><0xfb><0x00><0x00><0x00><0x00><0x00><0x01><0x00><0x00><0x00><0x00><0x00><0x00><0x0b>_googlecast<0x04>_tcp<0x05>local<0x00><0x00><0x0c><0x00><0x01>
Apr  8 14:54:44 asawizard direwolf[500]: Digipeater W4NAS audio level = 18(7/6)   [NONE]   _||||||__
Apr  8 14:54:44 asawizard direwolf[500]: [0.3] W4DNQ>APIN20,W4NAS*,WIDE2-1:!3013.31N/08209.85W#Macclenny digi/igate
Apr  8 14:54:44 asawizard direwolf[500]: Position, DIGI (white center), PinPoint by AB0WV
Apr  8 14:54:44 asawizard direwolf[500]: N 30 13.3100, W 082 09.8500
Apr  8 14:54:44 asawizard direwolf[500]: Macclenny digi/igate
Apr  8 14:55:21 asawizard direwolf[500]: Digipeater W4NAS audio level = 19(7/6)   [NONE]   _|||||___
Apr  8 14:55:21 asawizard direwolf[500]: [0.3] N4APD-1>APTW01,WC4PEM-15,WIDE1,W4NAS*:_04091516c001s000g000t085r000p000P000h58b10129tU2k
Apr  8 14:55:21 asawizard direwolf[500]: Positionless Weather Report, Ambulance, Byons WXTrac
Apr  8 14:55:21 asawizard direwolf[500]: wind 0.0 mph, direction 1, gust 0, temperature 85, rain 0.00 in last hour, rain 0.00 in last 24 hours, rain 0.00 since midnight, humidity 58, barometer 29.91, "tU2k"

the problem it is trying broadcast chromium stuff: MAN: "ssdp:discover"<0x0d><0x0a>MX: 1<0x0d><0x0a>ST: urn:dial-multiscreen-org:service:dial:1<0x0d><0x0a>USER-AGENT: Chromium/78.0.3904.108 Linux<0x0d><0x0a><0x0d><0x0a>

Paul