#ax25 #ax25


Paul Noa
 

Attempting a core_install using the alternate method on my unit number 2, I used the "Install Everything" method on Unit number 1 with success.

However this time I am experiencing an issue with the core install see below:

root@raspberrypi:/home/pi/n7nix/config# ./core_install.sh
Initial core install script
HAT product id: 4
 === Check build tools
Build Tools packages installed.
=== Check for non essential packages
Non essential packages installed.
 === enable modules
 === Modify /boot/config.txt
 
        File: /boot/config.txt NOT modified: prod_id=4
 
 === Install libax25, ax25apps & ax25tools
Installing from this directory /home/pi/n7nix
dpkg: error: cannot access archive './ax25/debpkg/libax25_1.1.0-1_armhf.deb': No such file or directory
dpkg: error: cannot access archive './ax25/debpkg/ax25apps_1.0.5-1_armhf.deb': No such file or directory
dpkg: error: cannot access archive './ax25/debpkg/ax25tools_1.0.3-1_armhf.deb': No such file or directory
Check ax25 config dir
ax25 directory /usr/local/etc/ax25 DOES NOT exist, ax25 install failed

Any suggestions other than going directly to Direwolf ?

Thanks in advance for your support.

Paul


Basil Gunn
 

Paul,
A few days ago I updated the ax.25 lib/apps/tools packages to the latest
versions ... and forgot to update the core_install.sh script. I'll
change it so the package names are not hard coded in that script.

The install scripts are for the use case where you are starting from a
clean raspbian buster image. The supplied image (http://nwdig.net/downloads/)
has already run all the install scripts and only requires configuration.

This link points to the best instructions to follow for configuring a
UDRC/DRAWS image: nwdr14.zip

https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

Install scripts are mainly used by me to create an new image from
raspbian. The install scripts are not as refined as the configuration
scripts which have been run by more people.

I've checked in a fix to the core_install.sh script but perhaps you can
get back to me what you are trying to do & what your expectation is.

You can get my core_install.sh fix by:
cd
cd n7nix
git pull

/Basil


Paul Noa <pauljnoa@gmail.com> writes:

Attempting a core_install using the alternate method on my unit number 2, I used the "Install Everything" method on Unit number 1 with success.

However this time I am experiencing an issue with the core install see below:

root@raspberrypi:/home/pi/n7nix/config# ./core_install.sh
Initial core install script
HAT product id: 4
=== Check build tools
Build Tools packages installed.
=== Check for non essential packages
Non essential packages installed.
=== enable modules
=== Modify /boot/config.txt

File: /boot/config.txt NOT modified: prod_id=4

=== Install libax25, ax25apps & ax25tools
Installing from this directory /home/pi/n7nix
dpkg: error: cannot access archive './ax25/debpkg/libax25_1.1.0-1_armhf.deb': No such file or directory
dpkg: error: cannot access archive './ax25/debpkg/ax25apps_1.0.5-1_armhf.deb': No such file or directory
dpkg: error: cannot access archive './ax25/debpkg/ax25tools_1.0.3-1_armhf.deb': No such file or directory
Check ax25 config dir
ax25 directory /usr/local/etc/ax25 DOES NOT exist, ax25 install failed

Any suggestions other than going directly to Direwolf ?

Thanks in advance for your support.

Paul


Paul Noa
 

Basil,

My goal was to have functionality limited to the DRAWS Core and AX25 Direwolf, which is why I proceeded from a clean image and attempted to configure only those portions.  Can I presume that the image you referred has all functionality, not limited to just DRAWS Core and AX25 Direwolf? 

Ran your Script:

:~/n7nix $ git pull
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 16 (delta 12), reused 16 (delta 12), pack-reused 0
Unpacking objects: 100% (16/16), done.
From https://github.com/nwdigitalradio/n7nix
   3b1d2f6..d719c2a  master     -> origin/master
Updating 3b1d2f6..d719c2a
Fast-forward
 ax25/ax_verchk.sh         | 51 +++++++++++++++++++++++++++++++++++++++++++--------
 config/core_install.sh    | 14 +++++++++++---
 docs/RMSGW_DAILY_CHECK.md |  2 +-
 3 files changed, 55 insertions(+), 12 deletions(-)

Thanks, I will test the config now.
Paul


Basil Gunn
 

My goal was to have functionality limited to the DRAWS Core and AX25
Direwolf, which is why I proceeded from a clean image and attempted to
configure only those portions. Can I presume that the image you
referred has all functionality, not limited to just DRAWS Core and
AX25 Direwolf?
While the nwdr14 image has a lot in it, not much is running and is
perfectly safe to run headless ax.25 apps.

The image contents is for support reasons extensive.
I believe you will find it much easier to use the image and just run
core config.

https://github.com/nwdigitalradio/n7nix/blob/master/docs/DRAWS_CONFIG.md#initial-configuration

The above doc is the same as the Getting Started Guide in the groups.io
udrc wiki.
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

Ran your Script:


Paul Noa
 

Basil,

No luck with your fix core_install.sh so regardless, I started fresh with the NWDR14 image and everything went well!, no errors, at least to the point of testing AX25 with a radio attached which I do not have ready just yet.

Thanks!

However, when I run gpsmon I do not get the screen with the satellites but :

tcp://localhost:2947 JSON slave driver> (82) {"class":"VERSION","release":"3.19","rev":"3.19","proto_major":3,"proto_minor":14} (171) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttySC0","activated":"2020-01-04T22:56:30.339Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]} (122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true} 

And as expected my mapping software does not see the GPS signal either probably related.
Any Ideas??

Paul




Basil Gunn
 

No luck with your fix core_install.sh
I need to see the console output.
NWDR14 will be going away shortly & if there is a problem with the new
scripts, I need to fix it.

so regardless, I started fresh with the NWDR14 image and everything
went well!
Is the gps working?
https://github.com/nwdigitalradio/n7nix/blob/master/docs/VERIFY_CONFIG.md#check-gps
or run
cd
cd n7nix/debug
./btest.sh -g

, no errors, at least to the point of testing AX25 with a radio
attached which I do not have ready just yet.
Which radio? (make, model number)
It would be good to have your transmit sensitivity which will allow you
to calculate the alsa values for optimum deviation.

ie. from the Kenwood manual
1200 bps: Transmit data input (PKD) sensitivity is 40 mV p-p , input impedance is 10 kΩ.
9600 bps: Transmit data input (PKD) sensitivity is 2 V p-p , input impedance is 10 kΩ.

Also does your radio have a data connector?

/Basil


Thanks!

However, when I run gpsmon I do not get the screen with the satellites but :

tcp://localhost:2947 JSON slave driver> (82) {"class":"VERSION","release":"3.19","rev":"3.19","proto_major":3,"proto_minor":14} (171) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttySC0","activated":"2020-01-04T22:56:30.339Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]} (122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true}

And as expected my mapping software does not see the GPS signal either probably related.
Any Ideas??

Paul


Paul Noa
 

NO the gps is not working I read some messages under the #gpsd and did this:

sudo systemctl enable gpsd && sudo systemctl restart gpsd
Synchronizing state of gpsd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable gpsd
A dependency job for gpsd.service failed. See 'journalctl -xe' for details.

~/n7nix/debug $ ./btest.sh -g
*** Running as user: pi ***
Verify gpsd is returning sentences: Sentence count: 3
Test nmea sentence:

Nothing else happened


Paul Noa
 

~ $ systemctl status chronyd
● chrony.service - chrony, an NTP client/server
   Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-01-04 17:46:43 EST; 1h 32min ago
     Docs: man:chronyd(8)
           man:chronyc(1)
           man:chrony.conf(5)
 Main PID: 474 (chronyd)
    Tasks: 2 (limit: 2200)
   Memory: 1.6M
   CGroup: /system.slice/chrony.service
           ├─474 /usr/sbin/chronyd -F -1
           └─480 /usr/sbin/chronyd -F -1
 
Jan 04 17:46:43 asawizard systemd[1]: Starting chrony, an NTP client/server...
Jan 04 17:46:43 asawizard chronyd[474]: chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +S
Jan 04 17:46:43 asawizard chronyd[474]: Frequency -0.274 +/- 0.349 ppm read from /var/lib/chrony/chrony.drift
Jan 04 17:46:43 asawizard chronyd[474]: Loaded seccomp filter
Jan 04 17:46:43 asawizard systemd[1]: Started chrony, an NTP client/server.
Jan 04 17:47:16 asawizard chronyd[474]: Selected source 184.105.182.7
Jan 04 17:47:16 asawizard chronyd[474]: System clock wrong by 8.212573 seconds, adjustment started
Jan 04 17:47:25 asawizard chronyd[474]: System clock was stepped by 8.212573 seconds
Jan 04 17:48:31 asawizard chronyd[474]: Selected source 108.61.56.35
lines 1-22/22 (END)    


Paul Noa
 

On Sat, Jan 4, 2020 at 07:10 PM, Basil Gunn wrote:
Which radio? (make, model number)
It would be good to have your transmit sensitivity which will allow you
to calculate the alsa values for optimum deviation.

ie. from the Kenwood manual
1200 bps: Transmit data input (PKD) sensitivity is 40 mV p-p , input impedance is 10 kΩ.
9600 bps: Transmit data input (PKD) sensitivity is 2 V p-p , input impedance is 10 kΩ.

Also does your radio have a data connector?
I will be using a Hyteria TM800-U , yes it has a data port. 
I have reached that step yet next week most likely.


Paul Noa
 

On Sat, Jan 4, 2020 at 07:10 PM, Basil Gunn wrote:
I need to see the console output.
NWDR14 will be going away shortly & if there is a problem with the new
scripts, I need to fix it.
  inflating: direwolf-dev/tnc-test-cd-results.png finishing deferred symbolic links: direwolf-dev/debian/changelog -> ../CHANGES.md make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. make: *** No rule to make target 'install-conf'. Stop. copying direwolf config file from source to /etc/direwolf.conf cp: cannot stat '/root/direwolf.conf': No such file or directory mv: cannot stat '/root/direwolf.conf': No such file or directory cp: cannot stat '/usr/local/bin/direwolf': No such file or directory Direwolf: config file NOT installed! copying direwolf config file from package to /etc/direwolf.conf cp: cannot stat '/usr/share/doc/direwolf/examples/direwolf.conf*': No such file or directory gzip: /etc/direwolf.conf.gz: No such file or directory core_install.sh: direwolf install failed!


Basil Gunn
 

Really hard to tell what's going on when you give me snippets of the
console output. What you've shown me shows a complete install failure.

Are you installing from a clean NWDR14.img file?
Did you follow these instructions?
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

Are you still trying to run install scripts using a clean Raspbian
buster image?

I recommend starting from the NWDR14.img and following the Getting
Started instructions. If you run into problems show me the entire
console output.

/Basil

Paul Noa <pauljnoa@gmail.com> writes:

On Sat, Jan 4, 2020 at 07:10 PM, Basil Gunn wrote:


I need to see the console output.
NWDR14 will be going away shortly & if there is a problem with the new
scripts, I need to fix it.
inflating: direwolf-dev/tnc-test-cd-results.png finishing deferred symbolic links: direwolf-dev/debian/changelog -> ../CHANGES.md make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. make: *** No rule to make target 'install-conf'. Stop. copying direwolf config file from source to /etc/direwolf.conf cp: cannot stat '/root/direwolf.conf': No such file or directory mv: cannot stat '/root/direwolf.conf': No such file or directory cp: cannot stat '/usr/local/bin/direwolf': No such file or directory Direwolf: config file NOT installed! copying direwolf config file from package to /etc/direwolf.conf cp: cannot stat '/usr/share/doc/direwolf/examples/direwolf.conf*': No such file or directory gzip: /etc/direwolf.conf.gz: No such file or directory core_install.sh: direwolf install failed!


Paul Noa
 

Basil,

Sorry for my ignorance but could you tell me how to provide the entire console output please?

What I provided was the output in its entirety of the core_install.sh fix  you sent yesterday. 

But i bailed and started over and Yes I used the NWDR14.image and followed the instructions you provided.

Paul

On Sat, 4 Jan 2020 at 20:12, Basil Gunn <basil@...> wrote:

Really hard to tell what's going on when you give me snippets of the
console output. What you've shown me shows a complete install failure.

Are you installing from a clean NWDR14.img file?
Did you follow these instructions?
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

Are you still trying to run install scripts using a clean Raspbian
buster image?

I recommend starting from the NWDR14.img and following the Getting
Started instructions. If you run into problems show me the entire
console output.

/Basil

Paul Noa <pauljnoa@...> writes:

> On Sat, Jan 4, 2020 at 07:10 PM, Basil Gunn wrote:
>
>>
>> I need to see the console output.
>> NWDR14 will be going away shortly & if there is a problem with the new
>> scripts, I need to fix it.
>
> inflating: direwolf-dev/tnc-test-cd-results.png finishing deferred symbolic links: direwolf-dev/debian/changelog -> ../CHANGES.md make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. make: *** No rule to make target 'install-conf'. Stop. copying direwolf config file from source to /etc/direwolf.conf cp: cannot stat '/root/direwolf.conf': No such file or directory mv: cannot stat '/root/direwolf.conf': No such file or directory cp: cannot stat '/usr/local/bin/direwolf': No such file or directory Direwolf: config file NOT installed! copying direwolf config file from package to /etc/direwolf.conf cp: cannot stat '/usr/share/doc/direwolf/examples/direwolf.conf*': No such file or directory gzip: /etc/direwolf.conf.gz: No such file or directory core_install.sh: direwolf install failed!




Basil Gunn
 

Sorry for my ignorance but could you tell me how to provide the entire
console output please?
Read this doc:
https://github.com/nwdigitalradio/n7nix/blob/master/docs/DEBUG_BASICS.md

Over the next couple of days I will clean-up any docs and scripts that
mention installation. You should focus on configuration of the NWDR
image that has already completed the core installation.

/Basil


Paul Noa
 

Basil,

Inexplicably, GPS, gpsmon, and my mapping app are working fine today!

Could not tell you why it would not work yesterday nor why it is working today, HMMM?

I will build up another unit with the NWDR14 image and follow your instruction previously sent and report the outcome.

I do not have my radio connected yet but will do so this week ASAP.  Will advise!

Thanks for your indulgence,

Paul


Paul Noa
 

Basil,

Will do, Thanks