开云体育

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

Re: timeout ...


 

开云体育

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

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