开云体育

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

timeout ...


 

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

I see nothing in the logs that looks related ...

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).

And yes, g2_link is running.



[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg


Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via groups.io
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?



[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 



Yup.



[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl




On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?



[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via groups.io
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

THANK YOU! ?



On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

It is there?
========
# personalize the cron.d dashboard file
# make sure to change output location to /var/www/html/
#/root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "$GW_CALL D-STAR" -r -t /root/g2_link/g2_lh.tpl $GW_CALL

# NOTE: Non-standard gateway IP g2_lh -? reveals option
# example: -a 192.168.1.172

#after cron runs, new g2_link dashboard at https://your_ip_here/fs.html"
=========


Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 9:52?PM, Peter Laws via groups.io <plaws0@...> wrote:

?
Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

THANK YOU! ?



On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

开云体育

I see it is not in Robert’s AlmaLinux version of the instructions… I’ll add it tomorrow and put the updated file in the g2_link file section of groups.io

Terry?

Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 10:02?PM, Terry M. Stader <ka8scp@...> wrote:

?It is there?
========
# personalize the cron.d dashboard file
# make sure to change output location to /var/www/html/
#/root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "$GW_CALL D-STAR" -r -t /root/g2_link/g2_lh.tpl $GW_CALL

# NOTE: Non-standard gateway IP g2_lh -? reveals option
# example: -a 192.168.1.172

#after cron runs, new g2_link dashboard at https://your_ip_here/fs.html"
=========


Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 9:52?PM, Peter Laws via groups.io <plaws0@...> wrote:

?
Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

THANK YOU! ?



On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin
<g3_icom_setup_doc.txt>

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

Except for that, it all worked as advertised - thanks to all of who have worked on the project!

I am currently thinking about my strategy for Cannet.? Currently, monlink handles switching us from REF069C (our default) to REF038A and back again.? Monlink, as you said, only works with DPlus reflectors so I'll need to cron the Cannet connection.

Is XLX044A still the "right" place for us to connect?? Or is there a "more correct" target for the Cannet? ?

Peter



On Sun, Feb 2, 2025 at 10:07?PM Terry M. Stader via <ka8scp=[email protected]> wrote:
I see it is not in Robert’s AlmaLinux version of the instructions… I’ll add it tomorrow and put the updated file in the g2_link file section of

Terry?

Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 10:02?PM, Terry M. Stader <ka8scp@...> wrote:

?It is there?
========
# personalize the cron.d dashboard file
# make sure to change output location to /var/www/html/
#/root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "$GW_CALL D-STAR" -r -t /root/g2_link/g2_lh.tpl $GW_CALL

# NOTE: Non-standard gateway IP g2_lh -? reveals option
# example: -a 192.168.1.172

#after cron runs, new g2_link dashboard at "
=========


Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 9:52?PM, Peter Laws via <plaws0=[email protected]> wrote:

?
Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

THANK YOU! ?



On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin
<g3_icom_setup_doc.txt>

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

I use scripts to start up connects and disconnect cron for the various nets.

?

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

?

补苍诲…

?

[root@wb1gof my_scripts]# cat ref069c-c-start.sh

#!/bin/bash

# script to connect

# B port to REF069C using dplus

# disconnect any g2_link connection first

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

um C

#EOF

#

#sleep 3

# disconnect any dplus connection

echo "?????? U" >/dstar/tmp/link-c

#sleep 3

# query connection status

echo "?????? I" >/dstar/tmp/link-c

#

sleep 5

# connect to REF069C

echo "REF069CL" >/dstar/tmp/link-c

>>EOF

?

exit 0

?

YMMV.

?

Terry

From: [email protected] <[email protected]> On Behalf Of Peter Laws via groups.io
Sent: Sunday, February 2, 2025 10:56 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

Except for that, it all worked as advertised - thanks to all of who have worked on the project!

?

I am currently thinking about my strategy for Cannet.? Currently, monlink handles switching us from REF069C (our default) to REF038A and back again.? Monlink, as you said, only works with DPlus reflectors so I'll need to cron the Cannet connection.

?

Is XLX044A still the "right" place for us to connect?? Or is there a "more correct" target for the Cannet? ?

?

Peter

?

?

?

On Sun, Feb 2, 2025 at 10:07?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

I see it is not in Robert’s AlmaLinux version of the instructions… I’ll add it tomorrow and put the updated file in the g2_link file section of

?

Terry?

?

Terry M Stader KA8SCP

WB1GOF Repeaters Proprietor?



On Feb 2, 2025, at 10:02?PM, Terry M. Stader <ka8scp@...> wrote:

?It is there?

========

# personalize the cron.d dashboard file

# make sure to change output location to /var/www/html/

#/root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "$GW_CALL D-STAR" -r -t /root/g2_link/g2_lh.tpl $GW_CALL

?

# NOTE: Non-standard gateway IP g2_lh -? reveals option

# example: -a 192.168.1.172

?

#after cron runs, new g2_link dashboard at "

=========

?

?

Terry M Stader KA8SCP

WB1GOF Repeaters Proprietor?



On Feb 2, 2025, at 9:52?PM, Peter Laws via <plaws0=[email protected]> wrote:

?

Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

?

THANK YOU! ?

?

?

On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To:
[email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To:
[email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin

<g3_icom_setup_doc.txt>


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

开云体育

Thank you, an oversight on my part for sure.?

Rob
VY1RG


From: [email protected] <[email protected]> on behalf of Terry M. Stader <ka8scp@...>
Sent: February 2, 2025 20:07
To: [email protected] <[email protected]>
Subject: Re: [g2-link] timeout ...
?
I see it is not in Robert’s AlmaLinux version of the instructions… I’ll add it tomorrow and put the updated file in the g2_link file section of groups.io

Terry?

Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 10:02?PM, Terry M. Stader <ka8scp@...> wrote:

?It is there?
========
# personalize the cron.d dashboard file
# make sure to change output location to /var/www/html/
#/root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "$GW_CALL D-STAR" -r -t /root/g2_link/g2_lh.tpl $GW_CALL

# NOTE: Non-standard gateway IP g2_lh -? reveals option
# example: -a 192.168.1.172

#after cron runs, new g2_link dashboard at https://your_ip_here/fs.html"
=========


Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 2, 2025, at 9:52?PM, Peter Laws via groups.io <plaws0@...> wrote:

?
Duuuude.? Can we get that added to the readme?? I suspect that a lot of folks have normal IPs since G3(.0) came out and the 10.0.0.silly addresses are mandated any more.

THANK YOU! ?



On Sun, Feb 2, 2025 at 9:41?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Are you using the Icom standard 10.0.0.2 IP for the gateway? Otherwise you have to specify the IP in the cron job…

?

See message /g/g2-link/message/84?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cg2_lh%2C20%2C2%2C20%2C104259816

?

[root@wb1gof g2_link]# /root/g2_link/g2_lh -?

Usage: g2_lh [OPTION...] g2_lh [options] <repeater call sign>

?

? -a, --address=10.0.0.2???? IP Address for g2_link

? -b, --banner=Free*Star???? Banner message

? -d, --debug??????????????? Make output file human readable

? -m, --modules=ABCDE??????? Report link status on modules

? -o, --output=stdout??????? Output html file spec (renamed from temporary

???????????????????????????? file)

? -O, --direct=file????????? Direct output html file spec

? -p, --port=50001?????????? IP Port number for g2_link

? -r, --register[=DStar.do]? Registration pointer

? -t, --template=file??????? file specification for template

? -u, --user=call??????????? Dashboard user's call sign

? -v, --verbose[=level]????? output to stderr: 0=silent, 1=errors, 2=warning,

???????????????????????????? 3=Information

? -?, --help???????????????? Give this help list

????? --usage??????????????? Give a short usage message

?

Mandatory or optional arguments to long options are also mandatory or optional

for any corresponding short options.

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 9:24 PM
To: [email protected]
Subject: Re: [g2-link] timeout ...

?

?

?

Yup.

?

?

[root@dstar-gw html]# find / -name g2_lh -ls

201837346 ? 4164 -rwxr-xr-x ? 1 root ? ? root? ? ? 4261984 Feb? 2 17:14 /root/g2_link/g2_lh

[root@dstar-gw html]# find / -name g2_lh.tpl -ls

201837345 ? ? 12 -rw-r--r-- ? 1 root ? ? root ? ? ? ? 8719 Feb? 2 17:14 /root/g2_link/g2_lh.tpl

?

?

On Sun, Feb 2, 2025 at 9:15?PM Terry M. Stader via <ka8scp=[email protected]> wrote:

Did you verify the file locations?

?

[root@wb1gof cron.d]# cat dashboard

MAILTO=""

*/1 * * * * root /root/g2_link/g2_lh -m "BC" -o /var/www/html/fs.html -b "XRF/DCS" -r -t /root/g2_link/g2_lh.tpl WB1GOF

?

[root@wb1gof cron.d]# cd /

[root@wb1gof /]# find -name g2_lh

./root/g2_link/g2_lh

[root@wb1gof /]# find -name g2_lh.tpl

./root/g2_link/g2_lh.tpl

?

Terry

?

From: [email protected] <[email protected]> On Behalf Of Peter Laws via
Sent: Sunday, February 2, 2025 7:47 PM
To: [email protected]
Subject: [g2-link] timeout ...

?

timeout... no reply from g2_link ...


I get the error above when I run this: ?" /root/g2_link/g2_lh -m "B" -o /var/www/html/fs.html -b "VE2RM" -r -t /root/g2_link/g2_lh.tpl VE2RM" manually ... which is likely why I don't see the status page. ?

If you look at the index.html is is frameified as expected, but there is no ?/var/www/html/fs.html .? I touched one in case the program would rather append than create, but nothing.

?

I see nothing in the logs that looks related ...

?

I *did* remember to look at netstat to see what other ports needed to have holes poked and poked them (firewall at the edge - iptables is disabled).


And yes, g2_link is running.

?

?

?

[root@dstar-gw g2_link]# systemctl status g2_link

g2_link.service - g2_link Service

?? ? Loaded: loaded (/etc/systemd/system/g2_link.service; enabled; preset: disabled)

?? ? Active: active (running) since Sun 2025-02-02 19:27:25 EST; 18min ago

?? Main PID: 1541 (g2_link)

? ? ? Tasks: 1 (limit: 48201)

?? ? Memory: 15.9M

? ? ? ? CPU: 2.367s

?? ? CGroup: /system.slice/g2_link.service

?? ? ? ? ? ? └─1541 /root/g2_link/g2_link /root/g2_link/g2_link.cfg

?

Feb 02 19:27:25 dstar-gw systemd[1]: Started g2_link Service.




--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


?

--

Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin
<g3_icom_setup_doc.txt>

--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

On Tue, Feb 4, 2025 at 2:24?PM Robert Gillis via groups.io
<robert@...> wrote:

Thank you, an oversight on my part for sure.
Bah - no sweat. I'm happy to see folks contributing!

From what I can see, admins cannot modify (easily) the DPlus
dashboard. No so much once I found $G2_LINK/g2_link/g2_lh.tpl

Since I can't edit the DPlus page, I will edit the g2_link page with
some instructions for "both sides" (especially "remember to unlink on
both sides!").



Peter

--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

There is a working example tpl in the Files section that has the information you are trying to add. Feel free to modify the example I guess if it doesn’t float your boat.



Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 4, 2025, at 7:34?PM, Peter Laws via groups.io <plaws0@...> wrote:

?On Tue, Feb 4, 2025 at 2:24?PM Robert Gillis via groups.io
<robert@...> wrote:

Thank you, an oversight on my part for sure.

Bah - no sweat. ?I'm happy to see folks contributing!

From what I can see, admins cannot modify (easily) the DPlus
dashboard. ?No so much once I found $G2_LINK/g2_link/g2_lh.tpl

Since I can't edit the DPlus page, I will edit the g2_link page with
some instructions for "both sides" (especially "remember to unlink on
both sides!").



Peter

--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!






--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

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!


 

开云体育

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!






 

Oh, monlink knows nothing of non-DPlus reflectors.

I'd just like to find the docs that let me know what commands I can
send via netcat and how they relate to the commands I can send over
RF.

I had *meant* to do this before this evening, but alas ....

Didn't realize the RAC pres took a turn at NCS for the net ...
interesting. No one in the hierarchy of that other national
association to our south is even aware of DV modes. :-)



--
Peter Laws - VE[23]UWY / N5UWY
Admin VE2RM
Admin W5TC (ret.)

RAC member
ARRL Life Member

On Fri, Feb 7, 2025 at 9:25?PM Robert Gillis via groups.io
<robert@...> wrote:

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!







--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!


 

开云体育

Ah! I understand.

From one of the previous posts on this group, the following commands exist (ported from when it was dextra from what I understand)
The following commands can be sent to dextra_srv from within netcat(nc) pu ? ? ? ? ? ? ? ? ? "print users" mu ? ? ? ? ? ? ? ? ? "mute users" uu ? ? ? ? ? ? ? ? ? "unmute users" pl ? ? ? ? ? ? ? ? ? "print links" sh ? ? ? ? ? ? ? ? ? "shut it down" al ? ? ? ? ? ? ? ? ? "allow links by other radio users" dl ? ? ? ? ? ? ? ? ? "disallow links by other radio users" pa ? ? ? ? ? ? ? ? ? "print administrators" aa KI4LKF ? ? ? ? ? ?"add KI4LKF as an admin" ra KI4LKF ? ? ? ? ? ?"remove admin KI4LKF" pb ? ? ? ? ? ? ? ? ? "print blocked callsigns" ab KI4LKF ? ? ? ? ? ?"add a block on KI4LKF" rb KI4LKF ? ? ? ? ? ?"remove the block on KI4LKF" mc KI4LKF ? ? ? ? ? ?"mute the callsign KI4LKF" uc KI4LKF ? ? ? ? ? ?"unmute the callsign KI4LKF" lm BXRF005A ? ? ? ? ?"link your repeater mod B to Reflector XRF005 mod A" um B ? ? ? ? ? ? ? ? "Unlink repeater module B from whatever it was linked to" qsoy ? ? ? ? ? ? ? ? "qso details set to YES" qson ? ? ? ? ? ? ? ? "qso details set to NO" pv ? ? ? ? ? ? ? ? ? "print the current software version"


Rob,
VY1RG


From:[email protected] <[email protected]> on behalf of Peter Laws via groups.io <plaws0@...>
Sent:?February 7, 2025 19:51
To:[email protected] <[email protected]>
Subject:?Re: [g2-link] timeout ...
?
Oh, monlink knows nothing of non-DPlus reflectors.

I'd just like to find the docs that let me know what commands I can
send via netcat and how they relate to the commands I can send over
RF.

I had *meant* to do this before this evening, but alas ....

Didn't realize the RAC pres took a turn at NCS for the net ...
interesting.? No one in the hierarchy of that other national
association to our south is even aware of DV modes.? :-)



--
Peter Laws - VE[23]UWY / N5UWY
Admin VE2RM
Admin W5TC (ret.)

RAC member
ARRL Life Member

On Fri, Feb 7, 2025 at 9:25?PM Robert Gillis via groups.io
<robert@...> wrote:
>
> 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!
>
>
>
>
>
>



--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!






 

开云体育

I sent some script examples and posted the list of commands in a previous message.

Rob captured the essence of the principle commands for lining and unlinking.

It is critical that you coordinate any monlink scheduling so not to initiate a dplus connection at the same time as a g2_link comm补苍诲… you do not want to cross link a REFxxx with and XRFxxx which is possible at the command line level.

Also… g2_link does NOT recognize XLX as a valid reflector type. You have to use the XRF or DCS prefix.

Terry

Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor?

On Feb 7, 2025, at 9:25?PM, Robert Gillis via groups.io <robert@...> wrote:

?
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!






--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

Peter, monlink only knows dplus via monitoring the dplus.log file. It does not interact with g2_link or the g2_link.log file.

Terry M Stader KA8SCP
WB1GOF Repeaters Proprietor

On Feb 7, 2025, at 9:52?PM, Peter Laws via groups.io <plaws0@...> wrote:

Oh, monlink knows nothing of non-DPlus reflectors.
--
Terry Stader - KA8SCP
D-STAR Gateway & Reflector Admin


 

On Fri, Feb 7, 2025 at 11:18?PM Terry M. Stader via groups.io
<ka8scp@...> wrote:

I sent some script examples and posted the list of commands in a previous message.

Rob captured the essence of the principle commands for lining and unlinking.
Yes he did and I put that in a text file on the GW.


It is critical that you coordinate any monlink scheduling so not to initiate a dplus connection at the same time as a g2_link comm补苍诲… you do not want to cross link a REFxxx with and XRFxxx which is possible at the command line level.
WHO WOULD EVER DO THAT NOT ME CERTAINLY BUT IF IT WAS IT DID HAPPEN
WOULD HAVE BEEN BY ACCIDENT. :)

monlink switched us off REF038A at whatever time I had set even though
the net was still active (I need to re-re-read the monlink docs - I
thought I'd fixed that). So I thought "well, let me try that g2_link
stuff like all the cool kids" ... and of course, as you have said many
times. monlink (and, really, DPlus, too) knows nothing about
g2_link-related stuff.

I caught it reconnecting a couple times before finally updating the
schedule in monlink and reloading it (again, I thought monlink picked
up changes in the config ... re-re-re-read the docs tomorrow).

Now there is a Cannet-sized hole in the monlink schedule (F,
2055-0000) and I'll add the appropriate scripts to the crontab
tomorrow.



Also… g2_link does NOT recognize XLX as a valid reflector type. You have to use the XRF or DCS prefix.
Ah. I think you've mentioned that before, but thanks for repeating it.


LONNGG Cannet tonight. I even checked in it was so long. :-)

Peter





--
Peter Laws | VE[23]UWY / N5UWY | plaws0 gmail com | Travel by Train!