toggle quoted messageShow quoted text
Once again I thank you very much for your invaluable help for progressing into RaspBerry Pi and DRAWS usage with AX.25.
Reading doc files is quite easy but it does not preclude some missinterpretations by me as you have noticed.
I want to achieve a complete set up of an FPAC NODE using DRAWS based on nwdr image that should simplify considerably the configuration with your scripts help. However I am not yet finished !
I still need ax25ipd configuration for AX25<-->UDP encapsulation of ROSE/FPAC and LinFBB frames toward Internet. I guess this should be added into ax25-start or built into a kind of ax25ipd-start. Then I will need something like uronode conf and install for FPAC node utilities.
Meanwhile I found an error when trying to use measure deviation script. The first case of failure is when direwolf is started and prevents using sound device as you noticed. You already wrote instructions in order to remove direwolf with stop AX.25. The second cause of failure is when user is sudo and your scripts fails finding /home/root/bin/ax25-stop script for $USER= root
I suggest you could add the following lines borrowed from other scripts from you.
These lines should be just before the USER check paragraph where ax25-stop is called.
# Don't be root
if [[ $EUID == 0 ]] ; then
echo "Don't be root"
73 de Bernard, f6bvp
Le 11/12/2019 à 21:49, Basil Gunn a écrit :
However there is a complete discrepancy between what you suggest andThe nwdr14.img comes with installed software. You must do the initial
what is explained in the
"Getting Started Guide"
In the above guide is written to execute script app_config.sh core in Initial Configuration.
On the contrary you wrote
come pre-installed on the nwdr14.img. Running the install scripts on
this image is not necessary and most likely will break things.
configuration. app_config.sh is a configuration script not an
installation script. Do not run the install scripts over the
pre-installation on the image.
Direwolf is part of the core install and is on the nwdr14.img.
You can see a log of what is already installed here:However, direwolf is not installed in nwdr14 image.
From log file:
2019 09 19 11:03:22 PDT: core_install.sh: core install script FINISHED
Run sudo ax25-start to enable it as specified in the 'Getting Started Guide'
direwolf -v 2>/dev/null | grep -m 1 -i version
Dire Wolf DEVELOPMENT version 1.6 C (Sep 19 2019)
Immediately after first initial distro configuration ax25-status showsYes, by design. The image will run HF programs by default unless you
that AX.25 pplications are not RUNNING and NOT ENABLED.
Executing ./ax25-start fails with error code due to direwolf port notBecause you haven't run ./app_config.sh core
found. There are a few reasons for this. First /etc/direwolf.conf is
not configured for DRAWS device is commented together with PTT GPIO is
not set to 12 (default left DRAWS plug).
See 'Getting Started Guide'
In order to check if AX.25 is now correctly set up I started YAACSee 'Getting Started Guide'
application and listening to APRS frequency.
No stations could be decoded.
I had to execute setalsa-udrc-din6.sh script.
* You must set your ALSA configuration for your particular radio at this time
At this step, to be able to get a functioning APRS application I foundax25-stop followed by ax25-start will also work.
it is abolutely necessary to switch Raspberry Pi power OFF and ON to
reboot. Otherwise, direwolf is not getting DRAWS audio.
After these mandatory successive procedures, measure-deviate script wasThe udrc port assignments are defaulting to a udrc II. You can fix that
found to be working correctly and beacon application could also be
by running the chk_port.sh script. The latest config scripts should do a
better job of setting the udr ports. ie when starting from a fresh image
always do a 'cd n7nix ; git pull' first. For the DRAWS hat the default
is to set the left mDin6 connector as udr0 for packet (winlink)
connections. You can change the config files to use the right mDin6
connector by running chk_ports.sh -n 1 -e
~/n7nix/bin $ ./chk_ports.sh -h
Usage: chk_ports.sh [-d][-e][-h]
Displays or edits: axports, ax25d.conf, channels.xml, wl2k.conf
No command line args, will display port names in above files.
-d set debug flag
-e set edit files flag
-n 0 or 1 set winlink device number, only used with -e option.
-p print files with port names.
-h no arg, display this message
pi@checkcfg:~/n7nix/bin $ ./chk_ports.sh
== AX.25 network ports check
Device ax0 OK, and up
Device ax1 OK, and up
== file: /usr/local/etc/ax25/axports check
axport: found device: udr0, with call sign N7NIX-10
axport: found device: udr1, with call sign N7NIX-1
== file: /usr/local/etc/ax25/ax25d.conf check
ax25d: found device: udr0, with call sign N7NIX-10
ax25d: found device: udr0, with call sign N7NIX
== file: /etc/rmsgw/channels.xml check
RMS gateway: chan_name: udr0, call sign: N7NIX-10
== file: /usr/local/etc/wl2k.conf check
plu: ax25port: udr0, call sign: N7NIX