开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: timeout ...


 

开云体育

Hi Peter,

I am listening to the Can-net at the moment (just started about 20 minutes ago), so perhaps I will hear you on here later tonight?

I cant speak much to the coordination with monlink as I dont use it on our repeater, but I can confirm the following commands will work with g2_link:

The following will unlink local module C:

/usr/bin/nc -u -w 1 10.0.0.2 30003 <<EOF
um C
EOF

and the following will link the local module C, to XRF044A ,

/usr/bin/nc -u -w 1 10.0.0.2 30003 <<EOF
lm CXRF044A
EOF

Of course, you can also use the URCall setting on your radio to link and unlink as well. The format is similar to Dplus, just use T (terminate) and O (open) instead of U (unlink) and L (link).? For example, if your URCall is set to XRF044AO , assuming your other settings are correct, will make g2_link attempt to connect to XRF044A on the module it was received.

Hope this helps.

Rob,
VY1RG


From:[email protected] <[email protected]> on behalf of Peter Laws via groups.io <plaws0@...>
Sent:?February 7, 2025 17:26
To:[email protected] <[email protected]>
Subject:?Re: [g2-link] timeout ...
?
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!





Join [email protected] to automatically receive all group messages.