Date   

Re: #a25 Getting It Started After Config #a25

Tim Huffaker
 

Basil,

I went back through the install to make sure I did not miss anything.  I think I still have a error or an install issue. ax0 and ax1 are not configured. So how can I get them working.  

pi@KK5KT:~ $ ax25-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 NOT ENABLED
AX.25 device: ax0 not configured
AX.25 device: ax1 not configured
Direwolf is running with pid of 650
port: 0, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
port: 1, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
Device: ax0 does NOT exist, Device: ax1 does NOT exist
pi@KK5KT:~ $ 
 


Re: #upgrade #draws #configuration #upgrade #draws #configuration

Basil Gunn
 

Erwin,
Please disregard the last link I sent you. The following link is the one to use
for automatic startup for ardop/rigctld/pat using systemd service files.

https://github.com/nwdigitalradio/n7nix/blob/master/ardop/AUTO_STARTUP.md

Basil Gunn <basil@pacabunga.com> writes:

Erwin,
Everything that you did looks fine.

But until the config file problem is fixed you will not have a port 8080
LISTENER.

Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.
Ende up in an error - looks like something was going wrong with the
config?
I agree, something seems amiss with PAT config file.

I have some severely brief notes on PAT install here:
https://github.com/nwdigitalradio/n7nix/tree/master/email/pat

Did you install pat with my pat_install.sh script?

Check permissions on your pat config files
cd
ls -salt .wl2k

Look for matching double quotes & terminating comma on all the
.wl2k/config.json lines. If you don't see anything wrong then post your
.wl2k/config.json file BUT remove your "secure_login_password" entry.

/Basil

Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

Hello Basil

*did this:*
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 14 (delta 11), reused 14 (delta 11), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/nwdigitalradio/n7nix
49d8220..1c273c7 master -> origin/master
Updating 49d8220..1c273c7
Fast-forward
ardop/AUTO_STARTUP.md | 11 ++++++++---
ardop/ardop_ctrl.sh | 28 +++++++++++++++++-----------
direwolf/config.sh | 9 ++++++---
hfprogs/wsj_ctrl.sh | 8 ++++----
4 files changed, 35 insertions(+), 21 deletions(-)

pi@draws:~/n7nix $ cd ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 status
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: KX2
*** ARDOP NOT CONFIGURED.

== Status for configured rig:
== Pulse Audio is running with pid: 891
File: /home/pi/.asoundrc does not exist, creating
File: /etc/asound.conf does not exist
== Ardop Verify required programs
Found program: piARDOP_GUI
Found program: piardop2, ARDOPC Version 2.0.3.8-BPQ
Found program: piardopc, ARDOPC Version 1.0.4.1j-BPQ
Found program: arim, version: ARIM 2.10
Found program: pat, version: Pat v0.11.0 (eb00df2) linux/arm - go1.16.5
== Ardop systemctl unit file check
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
Creating systemd service files.
== unit file update
DEBUG: creating rigctld unit file for radio: KX2
DEBUG: creating ardop unit file for radio: KX2
systemctl daemon-reload
== Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
== audio device udrc check: closed
Finished ardop status

*Reboot* :
pi@draws:~ $ lsof -i:8080
pi@draws:~ $ journalctl -u pat
-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Wed 2021-09-01 21:19:01 CES
Sep 01 21:17:18 draws systemd[1]: Started pat.
Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.

Ende up in an error - looks like something was going wrong with the config?

73 de Erwin, OE1EKG



Re: #upgrade #draws #configuration #upgrade #draws #configuration

Basil Gunn
 

Erwin,
Everything that you did looks fine.

But until the config file problem is fixed you will not have a port 8080
LISTENER.

Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.
Ende up in an error - looks like something was going wrong with the
config?
I agree, something seems amiss with PAT config file.

I have some severely brief notes on PAT install here:
https://github.com/nwdigitalradio/n7nix/tree/master/email/pat

Did you install pat with my pat_install.sh script?

Check permissions on your pat config files
cd
ls -salt .wl2k

Look for matching double quotes & terminating comma on all the
.wl2k/config.json lines. If you don't see anything wrong then post your
.wl2k/config.json file BUT remove your "secure_login_password" entry.

/Basil

Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

Hello Basil

*did this:*
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 14 (delta 11), reused 14 (delta 11), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/nwdigitalradio/n7nix
49d8220..1c273c7 master -> origin/master
Updating 49d8220..1c273c7
Fast-forward
ardop/AUTO_STARTUP.md | 11 ++++++++---
ardop/ardop_ctrl.sh | 28 +++++++++++++++++-----------
direwolf/config.sh | 9 ++++++---
hfprogs/wsj_ctrl.sh | 8 ++++----
4 files changed, 35 insertions(+), 21 deletions(-)

pi@draws:~/n7nix $ cd ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 status
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: KX2
*** ARDOP NOT CONFIGURED.

== Status for configured rig:
== Pulse Audio is running with pid: 891
File: /home/pi/.asoundrc does not exist, creating
File: /etc/asound.conf does not exist
== Ardop Verify required programs
Found program: piARDOP_GUI
Found program: piardop2, ARDOPC Version 2.0.3.8-BPQ
Found program: piardopc, ARDOPC Version 1.0.4.1j-BPQ
Found program: arim, version: ARIM 2.10
Found program: pat, version: Pat v0.11.0 (eb00df2) linux/arm - go1.16.5
== Ardop systemctl unit file check
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
Creating systemd service files.
== unit file update
DEBUG: creating rigctld unit file for radio: KX2
DEBUG: creating ardop unit file for radio: KX2
systemctl daemon-reload
== Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
== audio device udrc check: closed
Finished ardop status

*Reboot* :
pi@draws:~ $ lsof -i:8080
pi@draws:~ $ journalctl -u pat
-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Wed 2021-09-01 21:19:01 CES
Sep 01 21:17:18 draws systemd[1]: Started pat.
Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.

Ende up in an error - looks like something was going wrong with the config?

73 de Erwin, OE1EKG



Re: #upgrade #draws #configuration #upgrade #draws #configuration

Erwin OE1EKG
 

Hello Basil

did this:
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 14 (delta 11), reused 14 (delta 11), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/nwdigitalradio/n7nix
   49d8220..1c273c7  master     -> origin/master
Updating 49d8220..1c273c7
Fast-forward
 ardop/AUTO_STARTUP.md | 11 ++++++++---
 ardop/ardop_ctrl.sh   | 28 +++++++++++++++++-----------
 direwolf/config.sh    |  9 ++++++---
 hfprogs/wsj_ctrl.sh   |  8 ++++----
 4 files changed, 35 insertions(+), 21 deletions(-)
 
pi@draws:~/n7nix $ cd ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 status
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: KX2
 *** ARDOP NOT CONFIGURED.
 
 == Status for configured rig: 
== Pulse Audio is running with pid: 891
File: /home/pi/.asoundrc does not exist, creating
File: /etc/asound.conf does not exist
 == Ardop Verify required programs
Found program: piARDOP_GUI
Found program: piardop2, ARDOPC Version 2.0.3.8-BPQ
Found program: piardopc, ARDOPC Version 1.0.4.1j-BPQ
Found program: arim, version: ARIM 2.10
Found program: pat, version: Pat v0.11.0 (eb00df2) linux/arm - go1.16.5
 == Ardop systemctl unit file check
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
Creating systemd service files.
 == unit file update
DEBUG: creating rigctld unit file for radio: KX2
DEBUG: creating ardop unit file for radio: KX2
 systemctl daemon-reload
 == Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
  == audio device udrc check: closed
Finished ardop status

Reboot:
pi@draws:~ $ lsof -i:8080
pi@draws:~ $ journalctl -u pat
-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Wed 2021-09-01 21:19:01 CES
Sep 01 21:17:18 draws systemd[1]: Started pat.
Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.

Ende up in an error - looks like something was going wrong with the config?

73 de Erwin, OE1EKG


Re: #upgrade #draws #configuration #upgrade #draws #configuration

Basil Gunn
 

Erwin,

1. Please update your local n7nix repo. That should fix the naming
problem.

cd
cd n7nix
git pull

2. Force an update of the ardop systemd service files.

cd n7nix/ardop
./ardop_ctrl.sh -f -a kx2 status

3. Reboot the RPi. This will stop & restart all the systemd processes
including all PAT http processes

Once restarted confirm that you have a 'LISTENer' on port 8080

$ lsof -i:8080

Also check the system log for PAT systemd service file

journalctl -u pat

4. Finally test with your browser & URL localhost:8080

Let me know how you make out.

/Basil

Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

[Edited Message Follows]

On Sat, Aug 28, 2021 at 09:16 PM, Basil Gunn wrote:


mgr-ctrl.sh status
Hello Basil,

thanks for your fast response. Tried your proposal:

pi@draws:~ $ mgr-ctrl.sh status
* draws-manager.service - DRAWSâ
¢ Manager - A web application to manage the DRAWâ
¢ HAT configuration.
Loaded: loaded (/etc/systemd/system/draws-manager.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://github.com/nwdigitalradio/draws-manager
-- Logs begin at Sun 2021-08-29 08:50:08 CEST, end at Wed 2021-09-01 18:49:51 CEST. --
-- No entries --

Status for draws-manager: NOT RUNNING and NOT ENABLED

Then startet pat service
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix/ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 start
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: K3/KX3
DEBUG: Updating systemd unitfiles
== unit file update
DEBUG: creating rigctld unit file for radio: K3/KX3
DEBUG: creating ardop unit file for radio: K3/KX3
Starting service: rigctld
Starting service: ardop
Starting service: pat

but when I started localhost:8080 in the browser I get this error again:

This site can’t be reachedlocalhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Then:
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -a kx2 stop
Service: draws-manager is already stopped
Service: direwolf is already stopped
Setting radio name to: radio_kx2, rig name: K3/KX3
Kill all ardopc, rigctld & pat processes

DEBUG: kill_ardop: kill_flag true

proc piardopc: 0, pid: 614, args: 8515 pcm.ARDOP pcm.ARDOP -p GPIO=12
DISABLING ardop
Removed /etc/systemd/system/multi-user.target.wants/ardop.service.
Service: ardop now stopped.

Configured radio K3/KX3 DOES NOT MATCH requested radio radio_kx2

== Status for configured rig: K3/KX3
== audio device udrc check: closed
File: /home/pi/.asoundrc does not exist, creating
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
All systemd service files found
== Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
Finished ardop stop

73 de Erwin, OE1EKG



Re: #upgrade #draws #configuration #upgrade #draws #configuration

Erwin OE1EKG
 
Edited

On Sat, Aug 28, 2021 at 09:16 PM, Basil Gunn wrote:
mgr-ctrl.sh status
Hello Basil,

thanks for your fast response. Tried your proposal:

pi@draws:~ $  mgr-ctrl.sh status
* draws-manager.service - DRAWSâ
                                ¢ Manager - A web application to manage the DRAWâ
 ¢ HAT configuration.
   Loaded: loaded (/etc/systemd/system/draws-manager.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: https://github.com/nwdigitalradio/draws-manager
-- Logs begin at Sun 2021-08-29 08:50:08 CEST, end at Wed 2021-09-01 18:49:51 CEST. --
-- No entries --
 
 Status for draws-manager: NOT RUNNING and NOT ENABLED

Then startet pat service
pi@draws:~ $ cd 
pi@draws:~ $ cd n7nix/ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 start
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: K3/KX3
DEBUG: Updating systemd unitfiles
 == unit file update
DEBUG: creating rigctld unit file for radio: K3/KX3
DEBUG: creating ardop unit file for radio: K3/KX3
Starting service: rigctld
Starting service: ardop
Starting service: pat

but when I started localhost:8080 in the browser I get this error again:

This site can’t be reachedlocalhost refused to connect.
Try:
 
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Then:
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -a kx2 stop
Service: draws-manager is already stopped
Service: direwolf is already stopped
Setting radio name to: radio_kx2, rig name: K3/KX3
Kill all ardopc, rigctld & pat processes
 
DEBUG: kill_ardop: kill_flag true
 
proc piardopc: 0, pid: 614, args:  8515 pcm.ARDOP pcm.ARDOP -p GPIO=12
DISABLING ardop
Removed /etc/systemd/system/multi-user.target.wants/ardop.service.
Service: ardop now stopped.
 
 Configured radio K3/KX3 DOES NOT MATCH requested radio radio_kx2
 
 == Status for configured rig: K3/KX3
  == audio device udrc check: closed
File: /home/pi/.asoundrc does not exist, creating
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
All systemd service files found
 == Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
Finished ardop stop

73 de Erwin, OE1EKG


Re: #a25 Getting It Started After Config #a25

Basil Gunn
 

1. You don't need to be root to run any of:
ax25-stop
ax25-start
ax25-status

you can be root but you need to be in the correct directory,
/home/pi/bin NOT /bin which is where you are trying to start them from.

2. If you followed the install instructions all 3 of those programs will
be in your path as user PI not ROOT.

3. From your console output ax25 did NOT start properly so as user pi.

ax25-stop
ax25-start
ax25-status

Tim Huffaker <thuffaker@mindspring.com> writes:

On Mon, Jan 21, 2019 at 03:16 PM, Basil Gunn wrote:
I wanted to add to this since I am seeing errors on AX.25. Can you look through this file below and see the errors. its a new image build and dire wolf is working. this is digipeater build.

pi@KK5KT:~ $ cd ~bin
pi@KK5KT:/bin $ sudo su
root@KK5KT:/bin# ./ax25-start
bash: ./ax25-start: No such file or directory
root@KK5KT:/bin# ./ax25-start
bash: ./ax25-start: No such file or directory
root@KK5KT:/bin# exit
exit
pi@KK5KT:/bin $ cd
pi@KK5KT:~ $ ax25-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


Re: #a25 Getting It Started After Config #a25

Tim Huffaker
 

On Mon, Jan 21, 2019 at 03:16 PM, Basil Gunn wrote:
I wanted to add to this since I am seeing errors on AX.25. Can you look through this file below and see the errors. its a new image build and dire wolf is working.  this is digipeater build. 

Tim 
KM4ESU

pi@KK5KT:~ $ cd ~bin
pi@KK5KT:/bin $ sudo su
root@KK5KT:/bin# ./ax25-start
bash: ./ax25-start: No such file or directory
root@KK5KT:/bin# ./ax25-start
bash: ./ax25-start: No such file or directory
root@KK5KT:/bin# exit
exit
pi@KK5KT:/bin $ cd
pi@KK5KT:~ $ ax25-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
Direwolf is running with pid of 606
port: 0, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
port: 1, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
Device: ax0 does NOT exist, Device: ax1 does NOT exist
pi@KK5KT:~ $ ax25-status -d
AX25 Debug Status
== failed & loaded but inactive units==
  UNIT          LOAD   ACTIVE SUB    DESCRIPTION                 
● ax25d.service loaded failed failed General purpose AX.25 daemon
 
LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
 
1 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
 
== direwolf ==
  pid: 606
  ver: Dire Wolf DEVELOPMENT version 1.7 A (Feb 15 2021)
== /proc/sys ==
core  ipv4  ipv6  netfilter  nf_conntrack_max  unix
ls: cannot access '/proc/sys/net/ax25': No such file or directory
 
== Network Interface ax0 & ax1 ==
Device "ax0" does not exist.
 
Device "ax1" does not exist.
 
== status networkd services ==
enabled
● systemd-networkd-wait-online.service - Wait for Network to be Configured
   Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; enabled; vendor preset: enabled)
   Active: active (exited) since Tue 2021-08-31 18:28:04 CDT; 12min ago
     Docs: man:systemd-networkd-wait-online.service(8)
  Process: 605 ExecStart=/lib/systemd/systemd-networkd-wait-online (code=exited, status=0/SUCCESS)
 Main PID: 605 (code=exited, status=0/SUCCESS)
 
Aug 31 18:28:00 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:03 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:04 KK5KT systemd-networkd-wait-online[605]: ignoring: lo
Aug 31 18:28:04 KK5KT systemd[1]: Started Wait for Network to be Configured.
enabled
● systemd-networkd.service - Network Service
   Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-31 18:27:56 CDT; 12min ago
     Docs: man:systemd-networkd.service(8)
 Main PID: 406 (systemd-network)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/systemd-networkd.service
           └─406 /lib/systemd/systemd-networkd
 
Aug 31 18:27:56 KK5KT systemd[1]: Starting Network Service...
Aug 31 18:27:56 KK5KT systemd-networkd[406]: Enumeration completed
Aug 31 18:27:56 KK5KT systemd[1]: Started Network Service.
Aug 31 18:28:03 KK5KT systemd-networkd[406]: wlan0: Gained carrier
Aug 31 18:28:04 KK5KT systemd-networkd[406]: wlan0: Gained IPv6LL
 
== status direwolf service ==
enabled
● direwolf.service - Direwolf Daemon
   Loaded: loaded (/etc/systemd/system/direwolf.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-31 18:27:57 CDT; 12min ago
  Process: 588 ExecStartPre=/bin/rm -f /tmp/kisstnc (code=exited, status=0/SUCCESS)
 Main PID: 606 (direwolf)
    Tasks: 15 (limit: 4915)
   CGroup: /system.slice/direwolf.service
           └─606 /usr/bin/direwolf -t 0 -c /etc/direwolf.conf -p
 
Aug 31 18:38:23 KK5KT direwolf[606]: N 34 39.2800, W 086 40.4400
Aug 31 18:38:23 KK5KT direwolf[606]: , temperature 25, rain 0.00 in last 24…2WX"
Aug 31 18:38:34 KK5KT direwolf[606]: Digipeater W4HBO-5 audio level = 157(4…||:_
Aug 31 18:38:34 KK5KT direwolf[606]: Audio input level is too high.  Reduce… 50.
Aug 31 18:38:34 KK5KT direwolf[606]: [1.5] NA4A-10>APRS,W4HBO-5*:@312338z34…3.5V
Aug 31 18:38:34 KK5KT direwolf[606]: Position with time, OVERLAY DIGI (gree…ead)
Aug 31 18:38:34 KK5KT direwolf[606]: N 34 22.1700, W 086 54.1100
Aug 31 18:38:34 KK5KT direwolf[606]:   Morgan Co | Falkville ---- U=13.5V
Aug 31 18:39:49 KK5KT systemd[1]: /etc/systemd/system/direwolf.service:10: …ing.
Aug 31 18:40:20 KK5KT systemd[1]: /etc/systemd/system/direwolf.service:10: …ing.
Hint: Some lines were ellipsized, use -l to show in full.
 
== status ax25 service ==
enabled
● ax25dev.service - AX.25 device
   Loaded: loaded (/etc/systemd/system/ax25dev.service; enabled; vendor preset: enabled)
   Active: active (exited) since Tue 2021-08-31 18:27:58 CDT; 12min ago
  Process: 723 ExecStart=/bin/bash -c /etc/ax25/ax25-upd (code=exited, status=0/SUCCESS)
 Main PID: 723 (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/ax25dev.service
           └─741 /usr/local/sbin/mkiss /tmp/kisstnc /dev/ptmx /dev/ptmx
 
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: Using Device = ax1, baudra… 1200
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: ** Error setting Device: a…rms**
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: finished
Aug 31 18:27:58 KK5KT bash[723]:  Port udr1 attached to ax1
Aug 31 18:27:58 KK5KT bash[723]: axconfig: unable to open axports file /us…tory)
Aug 31 18:27:58 KK5KT bash[723]: kissparms: no AX.25 ports configured
Aug 31 18:27:58 KK5KT bash[723]: axconfig: unable to open axports file /us…tory)
Aug 31 18:27:58 KK5KT bash[723]: kissparms: no AX.25 ports configured
Aug 31 18:27:58 KK5KT bash[723]: ax25-upd script finished
Aug 31 18:27:58 KK5KT systemd[1]: Started AX.25 device.
Hint: Some lines were ellipsized, use -l to show in full.
 
-- Logs begin at Thu 2019-02-14 04:11:58 CST, end at Tue 2021-08-31 18:40:20 CDT. --
Aug 31 18:27:57 KK5KT systemd[1]: Starting AX.25 device...
Aug 31 18:27:57 KK5KT bash[613]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Aug 31 18:27:57 KK5KT bash[613]: Direwolf serial port NOT FOUND
Aug 31 18:27:57 KK5KT systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 18:27:57 KK5KT systemd[1]: ax25dev.service: Failed with result 'exit-code'.
Aug 31 18:27:57 KK5KT systemd[1]: Failed to start AX.25 device.
Aug 31 18:27:58 KK5KT systemd[1]: Starting AX.25 device...
Aug 31 18:27:58 KK5KT bash[723]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Aug 31 18:27:58 KK5KT bash[723]: Direwolf serial port ready
Aug 31 18:27:58 KK5KT bash[723]: UDRC II or DRAWS installed
Aug 31 18:27:58 KK5KT bash[723]: using mkiss with UDRC II and pseudo term_1: /dev/pts/1 pseudo term_2: /dev/pts/2
Aug 31 18:27:58 KK5KT bash[723]: kissattach: cannot open axports file /usr/local/etc/ax25/axports
Aug 31 18:27:58 KK5KT bash[723]: kissattach: cannot open axports file /usr/local/etc/ax25/axports
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: baudrate: 1200
Aug 31 18:27:58 KK5KT bash[723]: debug: using T1_TIMEOUT: 3000, T2_TIMEOUT: 1000
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: Using Device = ax0, baudrate: 1200
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: ** Error setting Device: ax0 parms**
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: finished
Aug 31 18:27:58 KK5KT bash[723]:  Port udr0 attached to ax0
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: baudrate: 1200
Aug 31 18:27:58 KK5KT bash[723]: debug: using T1_TIMEOUT: 3000, T2_TIMEOUT: 1000
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: Using Device = ax1, baudrate: 1200
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: ** Error setting Device: ax1 parms**
Aug 31 18:27:58 KK5KT bash[723]: ax25dev-parms: finished
Aug 31 18:27:58 KK5KT bash[723]:  Port udr1 attached to ax1
Aug 31 18:27:58 KK5KT bash[723]: axconfig: unable to open axports file /usr/local/etc/ax25/axports (No such file or directory)
Aug 31 18:27:58 KK5KT bash[723]: kissparms: no AX.25 ports configured
Aug 31 18:27:58 KK5KT bash[723]: axconfig: unable to open axports file /usr/local/etc/ax25/axports (No such file or directory)
Aug 31 18:27:58 KK5KT bash[723]: kissparms: no AX.25 ports configured
Aug 31 18:27:58 KK5KT bash[723]: ax25-upd script finished
Aug 31 18:27:58 KK5KT systemd[1]: Started AX.25 device.
 
== status ax25 path ==
enabled
● ax25dev.path
   Loaded: loaded (/etc/systemd/system/ax25dev.path; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-31 18:27:56 CDT; 12min ago
 
Aug 31 18:27:56 KK5KT systemd[1]: Started ax25dev.path.
 
== status ax25-mheardd ==
enabled
● ax25-mheardd.service - AX.25 mheard daemon
   Loaded: loaded (/etc/systemd/system/ax25-mheardd.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
 
Aug 31 18:29:37 KK5KT systemd[1]: Dependency failed for AX.25 mheard daemon.
Aug 31 18:29:37 KK5KT systemd[1]: ax25-mheardd.service: Job ax25-mheardd.se…cy'.
Hint: Some lines were ellipsized, use -l to show in full.
 
== status ax25d ==
enabled
● ax25d.service - General purpose AX.25 daemon
   Loaded: loaded (/etc/systemd/system/ax25d.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2021-08-31 18:29:37 CDT; 10min ago
  Process: 1820 ExecStart=/usr/local/sbin/ax25d -l (code=exited, status=1/FAILURE)
 Main PID: 1820 (code=exited, status=1/FAILURE)
 
Aug 31 18:29:37 KK5KT systemd[1]: Started General purpose AX.25 daemon.
Aug 31 18:29:37 KK5KT ax25d[1820]: axconfig: unable to open axports file /u…ory)
Aug 31 18:29:37 KK5KT ax25d[1820]: ax25d: no AX.25 port data configured
Aug 31 18:29:37 KK5KT systemd[1]: ax25d.service: Main process exited, code=…LURE
Aug 31 18:29:37 KK5KT systemd[1]: ax25d.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
 
== netstat ax25 ==
Active AX.25 sockets
Dest       Source     Device  State        Vr/Vs    Send-Q  Recv-Q
Direwolf is running with pid of 606
port: 0, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
port: 1, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: , t2 timeout: 
Device: ax0 does NOT exist, Device: ax1 does NOT exist
pi@KK5KT:~ $ 
 


Re: #upgrade #draws #configuration #upgrade #draws #configuration

Basil Gunn
 

Hi Erwin,

but cannot open http://localhost:8080/
This is probably because DRAWS manager is running.
Please run: mgr-ctrl.sh status

If you see 'enabled' & 'active (running') then you will want to stop DRAWS-manager

$ mgr-ctrl.sh 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: active (running) since Sat 2021-08-28 11:59:52 PDT; 5min ago
Docs: https://github.com/nwdigitalradio/draws-manager
Main PID: 5402 (npm)
Tasks: 23 (limit: 4915)
CGroup: /system.slice/draws-manager.service
├─5402 npm
├─5414 sh -c node ./bin/www
└─5415 node ./bin/www

To stop DRAWS-manager run:

mgr-ctrl.sh stop

and then verify with:

mgr-ctrl.sh status

which should look like the following:

$ mgr-ctrl.sh stop
DISABLING draws-manager
Removed
/etc/systemd/system/multi-user.target.wants/draws-manager.service.

$ mgr-ctrl.sh status
● draws-manager.service - DRAWS™ Manager - A web application to manage the DRAW™ HAT configuration.
Loaded: loaded (/etc/systemd/system/draws-manager.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://github.com/nwdigitalradio/draws-manager


This will free up port 8080 for use by PAT.

Is it necessary to put the kernel hold again on the image?
This is a good question considering kernel developers have broken the
Ti320aic driver twice in the last 2 years. For the time being I would
say, no, you don't have to put a hold on upgrading the kernel.


Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

Hello Basil,

thanks for the fast response - alle run flawless. Is ti necessary to
put the kernel hold again on the image? One thing I faces was the PAT
- I had the problem in the past #5725 (
https://nw-digital-radio.groups.io/g/udrc/message/5725 )
resolved. Did an update from 0.10 to 0.11 Below is the terminal
output and waterfall shows graphic, but cannot open
http://localhost:8080/


Re: #upgrade #draws #configuration #upgrade #draws #configuration

Erwin OE1EKG
 

Hello Basil,

thanks for the fast response - alle run flawless. Is ti necessary to put the kernel hold again on the image? One thing I faces was the PAT - I had the problem in the past #5725   nresolved. Did an update from 0.10 to 0.11 
Below is the terminal output and waterfall shows graphic, but cannot open http://localhost:8080/

73 de Erwin, OE1EKG

pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -a kx2 start
Service: draws-manager is already stopped
Service: direwolf is already stopped
Setting radio name to: radio_kx2, rig name: K3/KX3
Starting service: rigctld
Starting service: ardop
Starting service: pat
 
pi@draws:~/bin $ ./piardopc 8515 plughw:2,0 plughw:2,0 -p GPIO=12
ARDOPC Version 1.0.4.1j-BPQ
GPIO interface for PTT available
Using GPIO pin 12 for PTT
ARDOPC listening on port 8515
Capture Devices
 
Card 0, ID `b1', name `bcm2835 HDMI 1'
 
Card 1, ID `Headphones', name `bcm2835 Headphones'
 
Card 2, ID `udrc', name `udrc'
  Device hw:2,0 ID `bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0', name `bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0', 1 subdevices (1 available)
    2 channels,  sampling rate 8000..192000 Hz
 
Playback Devices
 
Card 0, ID `b1', name `bcm2835 HDMI 1'
  Device hw:0,0 ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 available)
    1..8 channels, sampling rate 8000..192000 Hz
 
Card 1, ID `Headphones', name `bcm2835 Headphones'
  Device hw:1,0 ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 available)
    1..8 channels, sampling rate 8000..192000 Hz
 
Card 2, ID `udrc', name `udrc'
  Device hw:2,0 ID `bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0', name `bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0', 1 subdevices (1 available)
    2 channels,  sampling rate 8000..192000 Hz
 
Opening Playback Device plughw:2,0 Rate 12000
Opening Capture Device plughw:2,0 Rate 12000
ARDOPC listening on port 8515
bind(sock) failed port 8515 Error 98
bind(sock) failed port 8516 Error 98
Input peaks = -666, 451
Input peaks = -679, 461
Input peaks = -627, 562
Input peaks = -658, 598
Input peaks = -660, 410
Input peaks = -622, 443
Input peaks = -673, 470
Input peaks = -586, 496
Input peaks = -576, 386
Input peaks = -626, 525
Input peaks = -599, 429
Input peaks = -604, 434
Input peaks = -739, 478
Input peaks = -745, 488
Input peaks = -690, 474
 


Re: On going issue with the draw and RMS-Gateway

Mike Lussier - AE4ML
 


gateway is AE4ML-10

pi@UDRC-RMSGATEWAY:~/n7nix/ax25 $ ./ax25-showcfg.sh 
 
 === Display kissparms & ax25dev-parms
port: 0, speed: 1200, slottime: 200, txdelay: 500, txtail: 100, persist: 32, t1 timeout: 3000, t2 timeout: 1000
port: 1, speed: 9600, slottime:  10, txdelay: 150, txtail: 50, persist: 32, t1 timeout: 2000, t2 timeout:  100
 
 == kissparms from /etc/ax25/ax25-upd
        $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_2} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
        $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
 
 ===== ax.25 config
Found directory: /proc/sys/net/ax25/ax0
ax25_default_mode: 0
backoff_type: 0
connect_mode: 2
dama_slave_timeout: 180000
extended_window_size: 32
idle_timeout: 900000
ip_default_mode: 0
maximum_packet_length: 255
maximum_retry_count: 6
protocol: 0
standard_window_size: 2
t1_timeout: 3000
t2_timeout: 1000
t3_timeout: 300000
 
Found directory: /proc/sys/net/ax25/ax1
ax25_default_mode: 0
backoff_type: 0
connect_mode: 2
dama_slave_timeout: 180000
extended_window_size: 32
idle_timeout: 900000
ip_default_mode: 0
maximum_packet_length: 255
maximum_retry_count: 6
protocol: 0
standard_window_size: 2
t1_timeout: 2000
t2_timeout: 100
t3_timeout: 300000
 
 
 ==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]
 
 ======= DRAWS
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[0.00dB] R:[0.00dB]
PCM         L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
 
 ===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
 
 
===== Port baudrate
DireWolf: udr0 speed: 1200, udr1 speed: 1200
AX.25:    udr0 speed: 1200, udr1 speed: 9600
 
===== axports
udr0        AE4ML-10            9600    255     2       Winlink port
udr1        AE4ML-0             9600    255     2       Direwolf port
 
 ===== ax25d.conf
[AE4ML-10 VIA udr0]
NOCALL   * * * * * *  L
default  * * * * * *  - rmsgw /usr/local/bin/rmsgw rmsgw -P %d %U
#
[AE4ML VIA udr0]
NOCALL   * * * * * *  L
default  * * * * * *  - pi /usr/local/bin/wl2kax25d wl2kax25d -c %U -a %d
 
 ===== wl2k.conf
paclink-unix not configured.
 


Re: On going issue with the draw and RMS-Gateway

Mike Lussier - AE4ML
 

gateway is AE4ML-10
users KD7PUF & AE4ML


Re: On going issue with the draw and RMS-Gateway

Basil Gunn
 

I have been running into issues with this gateway,

The RF side is sound. good power out and hardly any thing noticeably
reflected. The draw is on a raspberry pi3B+. The radio is a TM-G707.
The setup is RMS Gateway. folks can connect and send a simple message
to one or two users. Even a lengthy message to one or two users. They
can't get a message via radio from a group of users i.e. Winlink
Wednesday.
Winlink Wednesday??
Send me the list of users in group 'Winlink Wednesday'

Send me the message that they are trying to send to my regular email.
How many members in the group of users? What Winlink client are they
using? Does the message fail for ALL users?
Probably should post this problem to the LinuxRMS group.

https://groups.io/g/LinuxRMS/topics

Turn on DEBUG for RMSGW by editing this file: /etc/rmsgw/gateway.conf
and setting the log mask.

LOGMASK=DEBUG

then reboot.

after you see the problem send me the /var/log/rms.debug file.

I need packet spy output of session (listen -a) for the failure case.

You also may have some dicey ax.25 parameters.
Run this script and send me the output.

ax25-showcfg.sh

What is the call sign of your RMS Gateway so I can check on the Winlink
site.

The message is loaded with recipients and fails to complete after
about a quarter to half of the way through the message. Another
message type that will fail is if you have any attachments to a
message. it doesn't matter inbound or outbound. The use of forms for
the most part work but I have seen failures there too.
If I run a bug report this is what I see. I have been digging into
log files and trying to figure this out without success. The end users
are a mix of windows users with winlink-express and linux users
running Pat.

pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./alsa-show.sh
==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]

======= DRAWS
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[0.00dB] R:[0.00dB]
PCM L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]

===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]

pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./buginfo.sh
=== Versions ===
== Kernel:
Linux UDRC-RMSGATEWAY 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux

== Firmware:
Nov 30 2020 22:13:46
Copyright (c) 2012 Broadcom
version ab1181cc0cb6df52bfae3b1d3fef0ce7c325166c (clean) (release) (start)

== Pi hardware:
Pi 3 Model B, Rev 1.2, Mfg by Stadium with WiFi
temp=45.1'C

== DRAWS hardware:
Product id: 0x0004, ver: 0x0108, Assembly rev: 1, fab rev: 8

=== Checks ===
== Codec driver check:
[ 6.906933] asoc-simple-card soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok

== DRAWS driver check:
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #1

== Boot 'fail' check:
[ 6.382118] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[412048.494286] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[412048.494297] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK

== GPS check:
Serial devices OK
gpsd OK

== /boot/config file
disable_overscan=1
[pi4]
dtoverlay=vc4-fkms-v3d
[all]
dtoverlay=
dtoverlay=draws,alsaname=udrc
force_turbo=1
dtparam=audio=on



On going issue with the draw and RMS-Gateway

Mike Lussier - AE4ML
 

I have been running into issues with this gateway, The RF side is sound. good power out and hardly any thing noticeably reflected.
The draw is on a raspberry pi3B+. The radio is a TM-G707.  The setup is RMS Gateway. 
folks can connect and send a simple message to one or two users. Even a lengthy message to one or two users. They can't get a message via radio from a group of users i.e. Winlink Wednesday. The message is loaded with recipients and fails to complete after about a quarter to half of the way through the message. Another message type that will fail is if you have any attachments to a message. it doesn't matter inbound or outbound. The use of forms for the most part work but I have seen failures there too. 
If I run a bug report this is what I see. 
I have been digging into log files and trying to figure this out without success. The end users are a mix of windows users with winlink-express and linux users running Pat. 

 pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./alsa-show.sh 
 ==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]
 
 ======= DRAWS
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[0.00dB] R:[0.00dB]
PCM         L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
 
 ===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
 
pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./buginfo.sh 
=== Versions ===
== Kernel:
Linux UDRC-RMSGATEWAY 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux
 
== Firmware:
Nov 30 2020 22:13:46 
Copyright (c) 2012 Broadcom
version ab1181cc0cb6df52bfae3b1d3fef0ce7c325166c (clean) (release) (start)
 
== Pi hardware:
 Pi 3 Model B, Rev 1.2, Mfg by Stadium with WiFi
temp=45.1'C
 
== DRAWS hardware:
Product id: 0x0004, ver: 0x0108, Assembly rev: 1, fab rev: 8
 
=== Checks ===
== Codec driver check:
[    6.906933] asoc-simple-card soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
== DRAWS driver check:
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #1
 
== Boot 'fail' check:
[    6.382118] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[412048.494286] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[412048.494297] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK
 
== GPS check:
Serial devices OK
gpsd OK
 
== /boot/config file
disable_overscan=1
[pi4]
dtoverlay=vc4-fkms-v3d
[all]
dtoverlay=
dtoverlay=draws,alsaname=udrc
force_turbo=1
dtparam=audio=on
 


Re: #upgrade #draws #configuration #upgrade #draws #configuration

Basil Gunn
 

Erwin,

First remove the kernel hold:

sudo su
apt-mark unhold $(apt-mark showhold)

# verify
apt-mark showhold

# Should be no output

# Then do a system update/upgrade

apt-get update
apt-get upgrade

# reboot
shutdown -r now

# This should get you a current kernel
# Verify your kernel version

uname -r
5.10.52-v7l+

# test that DRAWS sound card is enumerated

aplay -l

# should see something similar to:

**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 2: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

# as user pi or whatever just not root

Remove offending scripts that will not update.

cd
cd n7nix/email/pat
rm pat_install.sh
cd
cd n7nix/hfprogs
rm wsj_ctrl.sh

# Now do the repository refresh

cd ..
git pull

Also fldigi build process is currently broken with respect to flxmlrpc

Fldigi 4.1.20 is avail but it seems it requires new flxmlrpc (>= 1.0.1)
except the author hasn't released it yet

# From fldigi build
checking for flxmlrpc >= 1.0.1... no
configure: error: Package requirements (flxmlrpc >= 1.0.1) were not met:

Requested 'flxmlrpc >= 1.0.1' but version of flxmlrpc is 0.1.4

I think I have fixed this in the current hf_install.sh script by not
specifying flxmlrpc on the ./configure line.


Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

Hello on the forum,

after few month I found time to play again with the DRAWS and want to finish my started installation. First of all I want to do an update -but this failed cause of PAT and WSJTX installation? So what can I do to overcome this?

73 de Erwin, OE1EKG

Here the code what I did:
pi@draws:~ $ apt-mark showhold
libraspberrypi-bin
libraspberrypi-dev
libraspberrypi-doc
libraspberrypi0
raspberrypi-bootloader
raspberrypi-kernel
raspberrypi-kernel-headers
pi@draws:~ $ ## Update NWDR scripts
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
Updating b46e987..36e4185
error: Your local changes to the following files would be overwritten by merge:
email/pat/pat_install.sh
hfprogs/wsj_ctrl.sh
Please commit your changes or stash them before you merge.



#upgrade #draws #configuration #upgrade #draws #configuration

Erwin OE1EKG
 

Hello on the forum,

after few month I found time to play again with the DRAWS and want to finish my started installation. First of all I want to do an update -but this failed cause of PAT and WSJTX installation? So what can I do to overcome this?

73 de Erwin, OE1EKG

Here the code what I did:
pi@draws:~ $ apt-mark showhold
libraspberrypi-bin
libraspberrypi-dev
libraspberrypi-doc
libraspberrypi0
raspberrypi-bootloader
raspberrypi-kernel
raspberrypi-kernel-headers
pi@draws:~ $ ## Update NWDR scripts
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
Updating b46e987..36e4185
error: Your local changes to the following files would be overwritten by merge:
email/pat/pat_install.sh
hfprogs/wsj_ctrl.sh
Please commit your changes or stash them before you merge.
 
 
 


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 

Basil,

Understood.  I may give it a go to see if the card "lights up" after installing the usual audio suspects.  My uses are VERY specific to one application of my own creation (hence the need for recent Qt5 libraries).  I have an SD card with Ubuntu server on it now.  It'll be a matter of moving the DRAWS over and testing it out on the RPi4.

Thanks for the clarification!

Mitch

On 8/16/2021 12:38, Basil Gunn wrote:
If Ubuntu or Manjaro is "not possible" with the overlay to support
DRAWS, that's all I really need to hear.
The tlv320aic codec driver IS in the main line Linux kernel so it IS
"possible" that the Ubuntu, Manjaro kernels will support DRAWS. There is
other support for Pi hardware in the Raspbian kernel that "may" not be
in the Ubuntu, Manjaro kernels.

The only thing I can say is that the Raspbian kernel supports
the Pi hardware better than other kernels.




Re: RMS Gateway Question.

Basil Gunn
 

Everything looks good.
Now open a new console as root and run the packet spy.

listen -a

Mike Lussier <mike.lussier@gmail.com> writes:

Basil,

I have run the setalsa-tmv71a.sh and here is the output of the grep

pi@UDRC-RMSGATEWAY:~/bin $ grep "receive_out=" /etc/ax25/port.conf
receive_out=audio
receive_out=audio


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Basil Gunn
 

If Ubuntu or Manjaro is "not possible" with the overlay to support
DRAWS, that's all I really need to hear.
The tlv320aic codec driver IS in the main line Linux kernel so it IS
"possible" that the Ubuntu, Manjaro kernels will support DRAWS. There is
other support for Pi hardware in the Raspbian kernel that "may" not be
in the Ubuntu, Manjaro kernels.

The only thing I can say is that the Raspbian kernel supports
the Pi hardware better than other kernels.


Re: Anyone have the DRAWS functional on Ubuntu for RPi 20 or 21?

Mitch Winkle
 

Oh I have done that.  Which is why I never want to do it again :)  A repo source is much more reliable long-term.  Alternately, I could install QtCreator I guess.  That's a hammer, but may work and requires painful discovery of the required system files along with the Qt libraries to make it all work right.  It can be challenging to make the end results portable that way.

If Ubuntu or Manjaro is "not possible" with the overlay to support DRAWS, that's all I really need to hear.  No need to flog it with the group.

On 8/16/2021 10:54, Basil Gunn wrote:
Qt version not kernel version
How to Compile Qt from Source Code on Linux
https://www.ics.com/blog/how-compile-qt-source-code-linux

201 - 220 of 6023