beacmin.sh vs btest.sh

David Lowry
 

After a git pull, in my hands, beacmin.sh works fine but btest.sh is sending invalid packets and complains when issued:

Raw packet from btest.sh

 

2019-04-13 22:55:33 EDT: KE7RGP-11>APUDR1,MISION,WIDE1*,qAO,KF7FMI-10:!N/W-13 19:55:31 PDT, from ke7rgpi on port udr0 Seq: 2 [Invalid compressed packet]

 

Raw packets from beacmin.sh

 

2019-04-13 22:52:03 EDT: KE7RGP-15>APUDR1,MISION,WIDE1*,qAO,KF7FMI-10:!4615.75N/11919.82Wp13 19:52:01 PDT, Seq: 0C<0xa6>

2019-04-13 22:52:25 EDT: KE7RGP-15>APUDR1,MISION,WIDE1*,qAO,KF7FMI-10:!4615.75N/11919.82Wp13 19:52:21 PDT, Seq: 1<0xfc><0x1c>

 

 

pi@ke7rgpi:~/n7nix $ git pull
Updating 207fc35..2a8f0ab
Fast-forward
 bin/alsa-show.sh                     |   2 +-
 bin/mgr-stop.sh                      |  39 ++++++++
 bin/prog_refresh.sh                  |  65 +++++++++++++
 config/bin_refresh.sh                |   6 +-
 config/core_install.sh               |   2 +-
 debug/beacmin.sh                     | 182 +++++++++++++++++++++++++++++++++++
 debug/btest.sh                       | 132 ++++++++++++++++++++++---
 docs/DRAWS_AUX_PORT.md               |  52 ++++++++++
 docs/IMAGE_README.md                 |   2 +-
 docs/VERIFY_CONFIG.md                |  12 +++
 hfprogs/hf_verchk.sh                 |  12 ++-
 hostap/fixed_ip.sh                   |   2 +-
 hostap/hostap_config.sh              | 102 ++++++++++++++++----
 hostap/hostap_install.sh             |  19 +++-
 systemd/bin/ax25-status              |   2 +-
 xastir/{install.sh => xs_install.sh} |  46 +++++++--
 16 files changed, 619 insertions(+), 58 deletions(-)
 create mode 100755 bin/mgr-stop.sh
 create mode 100755 bin/prog_refresh.sh
 create mode 100755 debug/beacmin.sh
 create mode 100644 docs/DRAWS_AUX_PORT.md
 rename xastir/{install.sh => xs_install.sh} (60%)
pi@ke7rgpi:~/n7nix $ ls
ardop  bin          config     direwolf  dstarrepeater_1.20180703-4_armhf.deb   gps      iptables                               kernbuild  plu        systemd  vnc
ax25   ChangeLog    debug      docs      dstarrepeaterd_1.20180703-4_armhf.deb  hfprogs  ircddbgateway_1.20180703-1_armhf.deb   mailserv   README.md  tracker  xastir
bbs    change_user  deviation  dstar     email                                  hostap   ircddbgatewayd_1.20180703-1_armhf.deb  manager    rmsgw      uronode  yaac
pi@ke7rgpi:~/n7nix $ cd debug
pi@ke7rgpi:~/n7nix/debug $ sudo su
root@ke7rgpi:/home/pi/n7nix/debug# ./btest.sh -P udr0 -p
Send a position beacon
./btest.sh: line 313: get_lat_lon_nemasentence: command not found
Invalid gps data
 Sent: /usr/local/sbin/beacon -c KE7RGP-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 !N/W-13 19:28:50 PDT, from ke7rgpi on port udr0 Seq: 0
axconfig: duplicate callsign KE7RGP-10 in line 6 of axports file
chown: cannot access '/tmp/sequence.tmp': No such file or directory
root@ke7rgpi:/home/pi/n7nix/debug# exit
pi@ke7rgpi:~/n7nix/debug $ cd

root@ke7rgpi:/home/pi/n7nix/debug# ./beacmin.sh
 Sent: /usr/local/sbin/beacon -c KE7RGP-15 -d 'APUDR1 via WIDE1-1' -l -s udr0 !4615.75N/11919.82Wp13 19:52:01 PDT, Seq: 0
axconfig: duplicate callsign KE7RGP-10 in line 6 of axports file
root@ke7rgpi:/home/pi/n7nix/debug# ./beacmin.sh
 Sent: /usr/local/sbin/beacon -c KE7RGP-15 -d 'APUDR1 via WIDE1-1' -l -s udr0 !4615.75N/11919.82Wp13 19:52:21 PDT, Seq: 1
axconfig: duplicate callsign KE7RGP-10 in line 6 of axports file
root@ke7rgpi:/home/pi/n7nix/debug#

root@ke7rgpi:/home/pi/n7nix/debug# ./btest.sh -P udr0 -p
Send a position beacon
./btest.sh: line 313: get_lat_lon_nemasentence: command not found
Invalid gps data
 Sent: /usr/local/sbin/beacon -c KE7RGP-11 -d 'APUDR1 via WIDE1-1' -l -s udr0 !N/W-13 19:55:31 PDT, from ke7rgpi on port udr0 Seq: 2
axconfig: duplicate callsign KE7RGP-10 in line 6 of axports file
root@ke7rgpi:/home/pi/n7nix/debug# 

 

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