On Mon, Feb 3, 2025 at 12:06?PM Terry M. Stader via groups.io
<ka8scp@...> wrote:
For example:
[root@wb1gof my_scripts]# cat xrf221a-c.sh>
#!/bin/bash
# script to automatically connect
# C port to XRF221A using the g2_link tool
# disconnect first
/usr/bin/nc -u -w 1 10.0.0.2 30003 <<EOF
um C
EOF
#
sleep 3
# disconnect dplus
echo " U" >/dstar/tmp/link-c
#
sleep 3
# first connect with netcat to port
# then connect to XRF221A
/usr/bin/nc -u -w 1 10.0.0.2 30003 <<EOF
lm CXRF221A
EOF
exit 0
Forgot about Cannet tonight. Started to look at this to construct a
connect script to XLX044A ... but where are things like the um and
lm defined.
I figure "um X" is "unlink module X" and "cm X" the same but connect ...
So I would send "lm BXLX044A" to port 30003 on our IP with netcat and
then um later? Being sure to adjust monlink's schedule to "leave a
hole" for all the g2_link stuff?
--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!