开云体育

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

Alma and g2_link


 

Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.

I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.

Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?

Any thoughts?

Terry KA8SCP


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


 

Alma Linux is said to be binary-compatible with RedHat Enterprise Linux, which is what CentOS was derived from. RHEL was proprietary, CentOS was open.

My approach would be to take a working Alma 9 G3.2 system and add in G2_link as if it were a CentOS system and see what happens. You might find it just works. If it doesn't, turn on the highest level of logging and capture what happens. Often the problem has already been found and the solution documented on the internet.

Jim - K6JM

PS In the probably unlikely case that G2_Link needs to be substantially modified, I'd then search for an AI tool that will generate a translation program. Increasing such conversion programs are being "written" by AI tools, not humans. But I kind of doubt that will be needed in this case.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Terry M. Stader
Sent: Sunday, June 2, 2024 6:34 AM
To: [email protected]
Subject: [g2-link] Alma and g2_link

Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.

I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.

Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?

Any thoughts?

Terry KA8SCP


 

I believe that Jim has the basics correct, except that I believe that there was a change in the database format so the internal SQL has a good possibility of not working.

That said, I'd be willing to have a poke at it on a virtual machine and see what can be seen.
Hans VE7OES


On Wed, Jun 5, 2024, 7:36?p.m. Jim - K6JM via <jmm=[email protected]> wrote:
Alma Linux is said to be binary-compatible with RedHat Enterprise Linux, which is what CentOS was derived from. RHEL was proprietary, CentOS was open.?

My approach would be to take a working Alma 9 G3.2 system and add in G2_link as if it were a CentOS system and see what happens.? You might find it just works.? If it doesn't, turn on the highest level of logging and capture what happens.? Often the problem has already been found and the solution documented on the internet.

? ? Jim - K6JM

PS In the probably unlikely case that G2_Link needs to be substantially modified, I'd then search for an AI tool that will generate a translation program.? Increasing such conversion programs are being "written" by AI tools, not humans.? But I kind of doubt that will be needed in this case.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Terry M. Stader
Sent: Sunday, June 2, 2024 6:34 AM
To: [email protected]
Subject: [g2-link] Alma and g2_link

Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.

I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.

Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?

Any thoughts?

Terry KA8SCP








 

I have looked at and enhanced g2-link over the years. I'm preparing to install alma on our 3 servers and will address g2-link from my src to make sure it works. I can report back when I'm done.

rich

On 6/5/24 8:36 PM, Jim - K6JM via groups.io wrote:
Alma Linux is said to be binary-compatible with RedHat Enterprise Linux, which is what CentOS was derived from. RHEL was proprietary, CentOS was open.

My approach would be to take a working Alma 9 G3.2 system and add in G2_link as if it were a CentOS system and see what happens. You might find it just works. If it doesn't, turn on the highest level of logging and capture what happens. Often the problem has already been found and the solution documented on the internet.

Jim - K6JM

PS In the probably unlikely case that G2_Link needs to be substantially modified, I'd then search for an AI tool that will generate a translation program. Increasing such conversion programs are being "written" by AI tools, not humans. But I kind of doubt that will be needed in this case.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Terry M. Stader
Sent: Sunday, June 2, 2024 6:34 AM
To: [email protected]
Subject: [g2-link] Alma and g2_link

Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.

I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.

Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?

Any thoughts?

Terry KA8SCP






.


 

Alma 9 does not have a /etc/init.d directory, so the g2_link.SVC file needs to be converted to a g2_link.service file for the /lib/systemd/system/ directory. I see the dstar_gw, dplus, monlink versions are there on the new Alma 3.2 system I built yesterday.

Terry

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Rich Painter
Sent: Thursday, June 6, 2024 12:04 PM
To: [email protected]
Subject: Re: [g2-link] Alma and g2_link

I have looked at and enhanced g2-link over the years. I'm preparing to install alma on our 3 servers and will address g2-link from my src to make sure it works. I can report back when I'm done.

rich

On 6/5/24 8:36 PM, Jim - K6JM via groups.io wrote:
Alma Linux is said to be binary-compatible with RedHat Enterprise Linux, which is what CentOS was derived from. RHEL was proprietary, CentOS was open.

My approach would be to take a working Alma 9 G3.2 system and add in G2_link as if it were a CentOS system and see what happens. You might find it just works. If it doesn't, turn on the highest level of logging and capture what happens. Often the problem has already been found and the solution documented on the internet.

Jim - K6JM

PS In the probably unlikely case that G2_Link needs to be substantially modified, I'd then search for an AI tool that will generate a translation program. Increasing such conversion programs are being "written" by AI tools, not humans. But I kind of doubt that will be needed in this case.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Terry M.
Stader
Sent: Sunday, June 2, 2024 6:34 AM
To: [email protected]
Subject: [g2-link] Alma and g2_link

Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.

I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.

Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?

Any thoughts?

Terry KA8SCP







.







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


 

Hey Rich,

Can you share what your "enhancements" are? Shareable with others?

Terry

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Rich Painter
Sent: Thursday, June 6, 2024 12:04 PM
To: [email protected]
Subject: Re: [g2-link] Alma and g2_link

I have looked at and enhanced g2-link over the years.




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


 

开云体育

Has anyone explored the free version of Oracle Linux? There is one that is RHEL compatible.? Be interesting to see if g3 gateway etc would install on it.?

Cheers,?

Simon
ZL1SWW?





-------- Original message --------
From: "Terry M. Stader" <ka8scp@...>
Date: 7/06/24 5:00?am (GMT+12:00)
Subject: Re: [g2-link] Alma and g2_link

Alma 9 does not have a /etc/init.d directory, so the g2_link.SVC file needs to be converted to a g2_link.service file for the /lib/systemd/system/ directory. I see the dstar_gw, dplus, monlink versions are there on the new Alma 3.2 system I built yesterday.

Terry

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Rich Painter
Sent: Thursday, June 6, 2024 12:04 PM
To: [email protected]
Subject: Re: [g2-link] Alma and g2_link

I have looked at and enhanced g2-link over the years. I'm preparing to install alma on our 3 servers and will address g2-link from my src to make sure it works. I can report back when I'm done.

rich

On 6/5/24 8:36 PM, Jim - K6JM via groups.io wrote:
> Alma Linux is said to be binary-compatible with RedHat Enterprise Linux, which is what CentOS was derived from. RHEL was proprietary, CentOS was open.
>
> My approach would be to take a working Alma 9 G3.2 system and add in G2_link as if it were a CentOS system and see what happens.? You might find it just works.? If it doesn't, turn on the highest level of logging and capture what happens.? Often the problem has already been found and the solution documented on the internet.
>
>????? Jim - K6JM
>
> PS In the probably unlikely case that G2_Link needs to be substantially modified, I'd then search for an AI tool that will generate a translation program.? Increasing such conversion programs are being "written" by AI tools, not humans.? But I kind of doubt that will be needed in this case.
>
> -----Original Message-----
> From: [email protected] <[email protected]> On Behalf Of Terry M.
> Stader
> Sent: Sunday, June 2, 2024 6:34 AM
> To: [email protected]
> Subject: [g2-link] Alma and g2_link
>
> Good day everyone. With the release of G3.2 supporting Alma 9 as Icom moves away from the EOL of Centos 7, it looks like we need to address the future of g2_link.
>
> I am not a “coder”. I can look at code and read it well enough, but I do not know where to begin in a migration from Centos 7 to Alma 9 and g2_link.
>
> Is there anyone in the group that has some knowledge in this vein? Or even knows someone who would take a look at the task?
>
> Any thoughts?
>
> Terry KA8SCP
>
>
>
>
>
>
>
> .








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






 

The red button is discard, the green button is send. *sigh* And again ...

Why would you look at Oracle's distribution vs Alma? Are you certain that they are "RHEL compatible" enough that the instructions on offer for Alma 9 would "just work"? Or would you spend hours and hours tracking down some obscure difference?

Anyway, not a fan of systemd, but as a user (and mostly-former admin), I don't get a say. I hate the gratuitous changes over the years in how things work. I do want to keep moving forward but for goodness's sake, include config converters and commands that look like the "old way" while doing the new thing (and telling you where to find more info). Some new stuff *is* better, but if you have been running ifconfig for *decades* and now it's "ip", at least make ifconfig say "hey, greybeard, run 'ip a' instead next time (here is the info)"

But no. Not how the kids do it these days.

ANYWAY, systemd uses ASCII files like the /etc/init.d stuff but just rearranges everything. Here is the example for the ircDDB addon I put on our G3.2/Alma 9 system the other day.


[root@dstar-gw etc]# more /usr/lib/systemd/system-preset/51-ircddbd3.preset /usr/lib/systemd/system/ircddbd3.service
::::::::::::::
/usr/lib/systemd/system-preset/51-ircddbd3.preset
::::::::::::::
enable ircddbd3.service
::::::::::::::
/usr/lib/systemd/system/ircddbd3.service
::::::::::::::
[Unit]
Description=ircDDB java program
After=network.target

[Service]
Type=simple
ExecStart=/usr/share/ircddbd3/ircddbd3.sh
User=ircddb
Group=ircddb
Restart=always
RestartSec=30


[Install]
WantedBy=multi-user.target