Re: Failure activating AX25, need help to fix #draws #direwolf #a25


Basil Gunn
 

If you read the Getting Started Guide
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

you will see all you need to do after the initial config is to run:
```
./ax25-start
```
This assumes that the draws device has been enumerated.
Check this by running:
```
aplay -l
```

If you do not see a udrc device from the output of the above command

card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 []

then you need to fix that first. Running showudrc.sh will give a hint as
to what the problem is.
Hopefully John can help you with that as I'm away from any computer device for
about a week.

/Basil n7nix

David Nussdorfer <davesworld06@...> writes:

Not sure how to set up the IPTables for AX.25, so I used my wireless access to my router during the config setup I used the IP address twice during the setup. Unfortunately, the information to set up ports are sparse, and I am a noob here. Below is the results:

pi@WD4VE_Draws:~ $ ax25-status
Status for direwolf.service: RUNNING and ENABLED
Status for ax25dev.service: NOT 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
pi@WD4VE_Draws:~ $ ax25-status -d
AX25 Debug Status
== failed & loaded but inactive units==
UNIT LOAD ACTIVE SUB DESCRIPTION
● ax25dev.service loaded failed failed AX.25 device

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: 396
ver: Dire Wolf DEVELOPMENT version 1.6 B (Feb 27 2019)
== /proc/sys ==
core ipv4 ipv6 netfilter 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 Sun 2019-07-07 16:25:09 PDT; 42s ago
Docs: man:systemd-networkd-wait-online.service(8)
Process: 324 ExecStart=/lib/systemd/systemd-networkd-wait-online (code=exited, status=0/SUCCESS)
Main PID: 324 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/systemd-networkd-wait-online.service

Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:07 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:09 WD4VE_Draws systemd-networkd-wait-online[324]: ignoring: lo
Jul 07 16:25:09 WD4VE_Draws systemd[1]: Started Wait for Network to be Confi…ed.
Hint: Some lines were ellipsized, use -l to show in full.
enabled
● systemd-networkd.service - Network Service
Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-07-07 16:25:04 PDT; 46s ago
Docs: man:systemd-networkd.service(8)
Main PID: 309 (systemd-network)
Status: "Processing requests..."
CGroup: /system.slice/systemd-networkd.service
└─309 /lib/systemd/systemd-networkd

Jul 07 16:25:04 WD4VE_Draws systemd[1]: Starting Network Service...
Jul 07 16:25:04 WD4VE_Draws systemd-networkd[309]: Enumeration completed
Jul 07 16:25:04 WD4VE_Draws systemd[1]: Started Network Service.
Jul 07 16:25:07 WD4VE_Draws systemd-networkd[309]: wlan0: Gained carrier
Jul 07 16:25:09 WD4VE_Draws systemd-networkd[309]: 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 Sun 2019-07-07 16:25:05 PDT; 45s ago
Process: 353 ExecStartPre=/bin/rm -f /tmp/kisstnc (code=exited, status=0/SUCCESS)
Main PID: 396 (direwolf)
CGroup: /system.slice/direwolf.service
└─396 /usr/bin/direwolf -t 0 -c /etc/direwolf.conf -p

Jul 07 16:25:31 WD4VE_Draws direwolf[396]: [ig] # logresp WD4VE verified, se…2PR
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Digipeater N6EX-1 audio level = 5…___
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: [0.3] WA6MHA-15>APOTU0,N6EX-1*:!3…20>
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Didn't find wind direction in for…99.
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Didn't find wind speed in form s999.
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Didn't find wind gust in form g999.
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Didn't find temperature in form t999.
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: Weather Report, WEATHER Station (…ack
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: N 34 11.2000, W 118 13.0200
Jul 07 16:25:46 WD4VE_Draws direwolf[396]: , " 12.6V 83F "
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: failed (Result: exit-code) since Sun 2019-07-07 16:25:06 PDT; 45s ago
Process: 493 ExecStart=/bin/bash -c /etc/ax25/ax25-upd (code=exited, status=1/FAILURE)
Main PID: 493 (code=exited, status=1/FAILURE)

Jul 07 16:25:06 WD4VE_Draws systemd[1]: Starting AX.25 device...
Jul 07 16:25:06 WD4VE_Draws bash[493]: ax25-upd: Start Port udr0 with devic…stnc
Jul 07 16:25:06 WD4VE_Draws bash[493]: Direwolf serial port ready
Jul 07 16:25:06 WD4VE_Draws bash[493]: No UDRC found, exiting
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Main process exited…URE
Jul 07 16:25:06 WD4VE_Draws systemd[1]: Failed to start AX.25 device.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Unit entered failed…te.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Failed with result …e'.
Hint: Some lines were ellipsized, use -l to show in full.

-- Logs begin at Thu 2016-11-03 10:16:43 PDT, end at Sun 2019-07-07 16:25:51 PDT. --
Jul 07 16:25:05 WD4VE_Draws systemd[1]: Starting AX.25 device...
Jul 07 16:25:06 WD4VE_Draws bash[429]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Jul 07 16:25:06 WD4VE_Draws bash[429]: Direwolf serial port NOT FOUND
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 16:25:06 WD4VE_Draws systemd[1]: Failed to start AX.25 device.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Unit entered failed state.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Failed with result 'exit-code'.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: Starting AX.25 device...
Jul 07 16:25:06 WD4VE_Draws bash[493]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Jul 07 16:25:06 WD4VE_Draws bash[493]: Direwolf serial port ready
Jul 07 16:25:06 WD4VE_Draws bash[493]: No UDRC found, exiting
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 16:25:06 WD4VE_Draws systemd[1]: Failed to start AX.25 device.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Unit entered failed state.
Jul 07 16:25:06 WD4VE_Draws systemd[1]: ax25dev.service: Failed with result 'exit-code'.

== status ax25 path ==
enabled
● ax25dev.path
Loaded: loaded (/etc/systemd/system/ax25dev.path; enabled; vendor preset: enabled)
Active: active (waiting) since Sun 2019-07-07 16:25:05 PDT; 46s ago

Jul 07 16:25:05 WD4VE_Draws 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)

== status ax25d ==
enabled
● ax25d.service - General purpose AX.25 daemon
Loaded: loaded (/etc/systemd/system/ax25d.service; enabled; vendor preset: enabled)
Active: inactive (dead)

== netstat ax25 ==
Active AX.25 sockets
Dest Source Device State Vr/Vs Send-Q Recv-Q

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