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!