Re: #ax25 #direwolf system failing suggested checks #direwolf #ax25


Ryan Matthew Headley
 

I understand your instructions, but I think we may be on different pages.

I wish to leave the right din port available for a separate radio to do packet winlink.

I wish to use the left din for APRS and linpac.


On Wed, Nov 27, 2019 at 10:53 AM Basil Gunn <basil@...> wrote:

Assuming you are using the left mDin6 connector.
As root edit the following files:

Edit file: /etc/ax25/axports
 udr0 W4EAE-10 9600 255 2 Winlink port
 udr1 W4EAE-1  9600 255 2 Direwolf port

Edit file: /etc/ax25/ax25d.conf
change both udr1 to udr0

Edit file: /usr/local/etc/wl2k.conf
ax25port=udr0

Also please run the bin refresh script:
cd
cd n7nix/config
./bin_refresh.sh

After a reboot please send me the console output of:

ax25-status -d

Thanks,
/Basil n7nix

Ryan Matthew Headley <headley.ryan@...> writes:

> The are the contents of /etc/ax25/axports:
>
> udr0 W4EAE-01 9600 255 2 Direwolf port
> udr1 W4EAE-10 9600 255 2 Winlink port
>
> Looks good so far. But these are the contents of /etc/ax25/ax25d.conf:
>
> W4EAE-10 VIA udr1]
> NOCALL * * * * * * L
> default * * * * * * - rmsgw /usr/local/bin/rmsgw rmsgw -P %d %U
> #
> [W4EAE VIA udr1]
> NOCALL * * * * * * L
> default * * * * * * - pi /usr/local/bin/wl2kax25d wl2kax25d -c %U -a %d
>
> I should note that I installed rmsgw as well intentionally. That is my next project after getting APRS and linpac up and running (I am probably going to buy another DRAWS).
>
> ax25-status returns:
>
> 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: RUNNING and ENABLED
> Status for ax25d.service: RUNNING and ENABLED
> AX.25 device: ax0 successfully configured with ip: 192.168.255.2
> AX.25 device: ax1 successfully configured with ip: 192.168.255.3
>
> and ax25-status -d returns:
>
> X25 Debug Status
> == failed & loaded but inactive units==
> 0 loaded units listed.
> To show all installed unit files use 'systemctl list-unit-files'.
>
> == direwolf ==
> pid: 519
> ver: Dire Wolf DEVELOPMENT version 1.6 C (Sep 19 2019)
> == /proc/sys ==
> ax25 core ipv4 ipv6 netfilter unix
> ax0 ax1
>
> == Network Interface ax0 & ax1 ==
> 4: ax0: <BROADCAST,UP,LOWER_UP> mtu 255 qdisc pfifo_fast state UNKNOWN group default qlen 10
> link/ax25 ae:68:8a:82:8a:40:02 brd a2:a6:a8:40:40:40:00
> inet 192.168.255.2/32 brd 192.168.255.255 scope global ax0
> valid_lft forever preferred_lft forever
>
> 5: ax1: <BROADCAST,UP,LOWER_UP> mtu 255 qdisc pfifo_fast state UNKNOWN group default qlen 10
> link/ax25 ae:68:8a:82:8a:40:14 brd a2:a6:a8:40:40:40:00
> inet 192.168.255.3/32 brd 192.168.255.255 scope global ax1
> valid_lft forever preferred_lft forever
>
> == 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 2019-11-26 18:33:37 EST; 14h ago
> Docs: man:systemd-networkd-wait-online.service(8)
> Main PID: 509 (code=exited, status=0/SUCCESS)
> Tasks: 0 (limit: 4915)
> Memory: 0B
> CGroup: /system.slice/systemd-networkd-wait-online.service
>
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws systemd-networkd-wait-online[509]: ignoring: lo
> Nov 26 18:33:37 draws 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 2019-11-26 18:33:36 EST; 14h ago
> Docs: man:systemd-networkd.service(8)
> Main PID: 340 (systemd-network)
> Status: "Processing requests..."
> Tasks: 1 (limit: 4915)
> Memory: 4.4M
> CGroup: /system.slice/systemd-networkd.service
> └─340 /lib/systemd/systemd-networkd
>
> Nov 26 18:33:36 draws systemd[1]: Starting Network Service...
> Nov 26 18:33:36 draws systemd-networkd[340]: Enumeration completed
> Nov 26 18:33:36 draws systemd[1]: Started Network Service.
> Nov 26 18:33:37 draws systemd-networkd[340]: ax0: Gained carrier
> Nov 26 18:33:37 draws systemd-networkd[340]: ax1: Gained carrier
> Nov 26 18:33:43 draws systemd-networkd[340]: wlan0: Gained carrier
> Nov 26 18:33:45 draws systemd-networkd[340]: 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 2019-11-26 18:33:36 EST; 14h ago
> Main PID: 519 (direwolf)
> Tasks: 15 (limit: 4915)
> Memory: 2.7M
> CGroup: /system.slice/direwolf.service
> └─519 /usr/bin/direwolf -t 0 -c /etc/direwolf.conf -p
>
> Nov 27 08:36:31 draws direwolf[519]: Position, OVERLAY DIGI (green star) w/…omni
> Nov 27 08:36:31 draws direwolf[519]: N 35 27.6400, W 082 21.4200
> Nov 27 08:36:31 draws direwolf[519]: W2,NCn Bwallow Mt www.radioclub.org<0x20>
> Nov 27 08:36:36 draws direwolf[519]: [114B blob data]
> Nov 27 08:36:45 draws direwolf[519]: [ig>tx] WC4PEM-10>APMI06,TCPIP*,qAC,FI…3,I4
> Nov 27 08:36:45 draws direwolf[519]: [ig>tx] WC4PEM-10>APMI06,TCPIP*,qAC,FI…i,Hi
> Nov 27 08:36:45 draws direwolf[519]: [ig>tx] WC4PEM-10>APMI06,TCPIP*,qAC,FI…,1,0
> Nov 27 08:36:45 draws direwolf[519]: [ig>tx] WC4PEM-10>APMI06,TCPIP*,qAC,FI…rtow
> Nov 27 08:36:46 draws systemd[1]: /etc/systemd/system/direwolf.service:10: …ing.
> Nov 27 08:36:46 draws 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 2019-11-26 18:33:38 EST; 14h ago
> Main PID: 617 (code=exited, status=0/SUCCESS)
> Tasks: 3 (limit: 4915)
> Memory: 1.5M
> CGroup: /system.slice/ax25dev.service
> ├─630 /usr/local/sbin/mkiss /tmp/kisstnc /dev/ptmx /dev/ptmx
> ├─650 /usr/local/sbin/kissattach /dev/pts/1 udr0 192.168.255.2
> └─655 /usr/local/sbin/kissattach /dev/pts/2 udr1 192.168.255.3
>
> Nov 26 18:33:37 draws bash[617]: kissattach return: 0
> Nov 26 18:33:37 draws bash[617]: Using Device = ax0
> Nov 26 18:33:37 draws bash[617]: ax25dev-parms finished
> Nov 26 18:33:37 draws bash[617]: Using Device = ax1
> Nov 26 18:33:37 draws bash[617]: ax25dev-parms finished
> Nov 26 18:33:37 draws bash[617]: Port udr0 attached to ax0
> Nov 26 18:33:37 draws bash[617]: Port udr1 attached to ax1
> Nov 26 18:33:38 draws bash[617]: kissparms: invalid port name - udr0
> Nov 26 18:33:38 draws bash[617]: ax25-upd script finished
> Nov 26 18:33:38 draws systemd[1]: Started AX.25 device.
>
> -- Logs begin at Tue 2019-11-26 18:33:34 EST, end at Wed 2019-11-27 08:36:46 EST. --
> Nov 26 18:33:36 draws systemd[1]: Starting AX.25 device...
> Nov 26 18:33:37 draws bash[524]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
> Nov 26 18:33:37 draws bash[524]: Direwolf serial port NOT FOUND
> Nov 26 18:33:37 draws systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
> Nov 26 18:33:37 draws systemd[1]: ax25dev.service: Failed with result 'exit-code'.
> Nov 26 18:33:37 draws systemd[1]: Failed to start AX.25 device.
> Nov 26 18:33:37 draws systemd[1]: Starting AX.25 device...
> Nov 26 18:33:37 draws bash[617]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
> Nov 26 18:33:37 draws bash[617]: Direwolf serial port ready
> Nov 26 18:33:37 draws bash[617]: UDRC_PROD: Digital Radio Amateur Work Station, ID: 4
> Nov 26 18:33:37 draws bash[617]: Product ID match: 4
> Nov 26 18:33:37 draws bash[617]: Found HAT for DRAWS with product ID: 4
> Nov 26 18:33:37 draws bash[617]: UDRC II or DRAWS installed
> Nov 26 18:33:37 draws bash[617]: using mkiss with UDRC II and pseudo term_1: /dev/pts/1 pseudo term_2: /dev/pts/2
> Nov 26 18:33:37 draws bash[617]: kissattach return: 0
> Nov 26 18:33:37 draws bash[617]: Using Device = ax0
> Nov 26 18:33:37 draws bash[617]: ax25dev-parms finished
> Nov 26 18:33:37 draws bash[617]: Using Device = ax1
> Nov 26 18:33:37 draws bash[617]: ax25dev-parms finished
> Nov 26 18:33:37 draws bash[617]: Port udr0 attached to ax0
> Nov 26 18:33:37 draws bash[617]: Port udr1 attached to ax1
> Nov 26 18:33:38 draws bash[617]: kissparms: invalid port name - udr0
> Nov 26 18:33:38 draws bash[617]: ax25-upd script finished
> Nov 26 18:33:38 draws 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 2019-11-26 18:33:36 EST; 14h ago
>
> Nov 26 18:33:36 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: active (running) since Tue 2019-11-26 18:33:38 EST; 14h ago
> Main PID: 695 (mheardd)
> Tasks: 1 (limit: 4915)
> Memory: 240.0K
> CGroup: /system.slice/ax25-mheardd.service
> └─695 /usr/local/sbin/mheardd -f -n 150
>
> Nov 26 18:33:38 draws systemd[1]: Started AX.25 mheard daemon.
>
> == status ax25d ==
> enabled
> ● ax25d.service - General purpose AX.25 daemon
> Loaded: loaded (/etc/systemd/system/ax25d.service; enabled; vendor preset: enabled)
> Active: active (running) since Tue 2019-11-26 18:33:38 EST; 14h ago
> Main PID: 694 (ax25d)
> Tasks: 1 (limit: 4915)
> Memory: 268.0K
> CGroup: /system.slice/ax25d.service
> └─694 /usr/local/sbin/ax25d -l
>
> Nov 26 18:33:38 draws systemd[1]: Started General purpose AX.25 daemon.
> Nov 26 18:33:38 draws ax25d[694]: starting
> Nov 26 18:33:38 draws ax25d[694]: ax25d: UID for user 'rmsgw' is unknown, i…ntry
> Nov 26 18:33:38 draws ax25d[694]: new config file loaded successfuly
> 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
> * W4EAE-0 ax1 LISTENING 000/000 0 0
> * W4EAE-10 ax1 LISTENING 000/000 0 0
>
>






--
***************************
Ryan Matthew Headley
1705 Granby Road
Cayce, SC 29033 USA

mobile - +1803-386-1799

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