Date
1 - 5 of 5
mheard not working. Help debugging? #draws #ax25
Mheard prints nothing except a header with "Callsign Port Packets Last heard". There are no error messages. I looked at /var/ax25/mheard/mheard.dat and it is a zero-length file.
I think ax25 is otherwise working. I can use beacon or listen on the APRS frequency, and see packets coming in. I can send APRS beacons from another radio and see them displayed with listen -d c. I get a message as follows when I run listen: "axconfig: duplicate callsign KI7JS-10 in line 6 of axports file" but it shows traffic coming in from the radio. Can anyone suggest a few troubleshooting steps I can take? Thanks.
|
|
Can anyone suggest a few troubleshooting steps I can take? Thanks.Look at file: /etc/ax25/axports and fix your duplicate call sign problem. Which DRAWS connector are you using? Left connector corresponds to device udr0. Tune your radio to the 2M APRS frequency, 144.390 so you will have traffic. Run this script and copy the console output in an email. cd cd n7nix/debug ./ax25-showcfg.sh /Basil n7nix Jay S <jaystagnone@gmail.com> writes: Mheard prints nothing except a header with "Callsign Port Packets Last
|
|
Thanks!
OK, I changed the second ki7js-10 to ki7js-11. I am using the left connector, hooked up through a ham-made-parts cable to an old Alinco 110. Here's the script output: pi@drawspi1:~/n7nix/debug $ ./ax25-showcfg.sh
=== Display kissparms & ax25dev-parms
port: 0, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: 3000, t2 timeout: 1000
port: 1, speed: 1200, slottime: 200, txdelay: 500, t1 timeout: 3000, t2 timeout: 1000
== kissparms from /etc/ax25/ax25-upd
$KISSPARMS -p ${PORTNAME_1} -f no -l 100 -r 32 -s $SLOTTIME -t $TXDELAY
$KISSPARMS -p ${PORTNAME_1} -f no -l 100 -r 32 -s $SLOTTIME -t $TXDELAY
$KISSPARMS -p ${PORTNAME_1} -f no -l 100 -r 32 -s $SLOTTIME -t $TXDELAY
$KISSPARMS -p ${PORTNAME_2} -f no -l 100 -r 32 -s $SLOTTIME -t $TXDELAY
$KISSPARMS -p ${PORTNAME_1} -f no -l 100 -r 32 -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: 3000
t2_timeout: 1000
t3_timeout: 300000
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[-6.00dB] R:[-6.00dB]
PCM L:[-25.00dB] R:[-25.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: 1200
===== axports
udr0 KI7JS-10 9600 255 2 Winlink port
udr1 KI7JS-11 9600 255 2 Direwolf port
===== ax25d.conf
[KI7JS-10 VIA udr0]
NOCALL * * * * * * L
default * * * * * * - rmsgw /usr/local/bin/rmsgw rmsgw -P %d %U
#
[KI7JS VIA udr0]
NOCALL * * * * * * L
default * * * * * * - pi /usr/local/bin/wl2kax25d wl2kax25d -c %U -a %d
===== wl2k.conf
paclink-unix ax25 port: ax25port=udr0
pi@drawspi1:~/n7nix/debug $ mheard
Callsign Port Packets Last Heard
pi@drawspi1:~/n7nix/debug $ mheard
|
|
You are using the default alsa settings which most likely will NOT work
toggle quoted messageShow quoted text
for you. You need to determine your alsa settings so that your deviation is set properly. Also which ham-made parts cable are you using? When you have time post your output from the listen command: use listen -a also console output of both: ax25-status ax25-status -d You previously stated you used listen -d c In the version of listen I am using '-d' is not a valid argument. $ listen -v listen: 2.0.1 Thanks, /Basil Jay S <jaystagnone@gmail.com> writes:
Thanks!
|
|
Mheard is working now on my draws system.
I had fixed the duplicate call sign in /etc/ax25/axports. However I had not rebooted. Alternatively I could have restarted ax25 service by running ax25-stop and ax25-start. Once I rebooted I got the output below. To summarize, the original issue was that I saw no output or error message from mheard even though it was obvious that ax25 packets were being received. The problem was caused by a duplicate ssid in /etc/ax25/axports. It was fixed by editing /etc/ax25/axports and changing the second ssid (on line 6) to something different and then restarting ax25 or rebooting. The offending lines were: udr0 KI7JS-10 9600 255 2 Winlink port
udr1 KI7JS-10 9600 255 2 Direwolf port (I had to change this to KI7JS-11 to fix it)
Thanks for the help, Basil! Jay KI7JS pi@drawspi1:~ $ mheard Callsign Port Packets Last Heard JUNIPR udr0 3 2020-04-25 09:25:10 N7AWM udr0 4 2020-04-25 09:25:00 DIXIE-1 udr0 2 2020-04-25 09:24:43 KM7LJ udr0 2 2020-04-25 09:24:24 TROUT udr0 1 2020-04-25 09:24:18
|
|