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 ?
toggle quoted message
Show quoted text
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
toggle quoted message
Show quoted text
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 ? ? 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 ?
toggle quoted message
Show quoted text
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 ? ? 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 ? ? 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! ?
toggle quoted message
Show quoted text
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 ? ? ? 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 ? ? 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 ? ? 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?
toggle quoted message
Show quoted text
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! ?
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 ? ? ? 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 ? ? 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 ? ? 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?
toggle quoted message
Show quoted text
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! ?
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 ? ? ? 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 ? ? 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 ? ? 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
toggle quoted message
Show quoted text
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? ? 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! ?
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 ? ? ? 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 ? ? 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 ? ? 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. ? [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 ? ? YMMV. ? Terry
toggle quoted message
Show quoted text
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? ? ? 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 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? ? 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. ? 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 ? ? ? 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 ? ? 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 ? ? 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
-- 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
toggle quoted message
Show quoted text
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! ?
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
?
?
?
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
?
?
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
?
?
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.
| |