To compile and run QnetGateway on a CentOS 7 machine (such as
may currently be?
running an Icom G3 gateway), it is necessary to do some
additional steps, as the
g++ version installed by default on CentOS 7 is a little too
old. There is?
probably a cleaner way of doing this, but the below worked
for me.
?
You will need to compile the correct version of GCC from
source following these?
instructions. All commands run as root, and note the
compilation of GCC will?
take some time, depending on how many cores you have
available:
?
? ? yum -y install unzip git libconfig-devel wget automake
libmpc-devel mpfr-devel gmp-devel
? ? tar xvfj gcc-4.9.2.tar.bz2
? ? cd gcc-4.9.2
? ? ./configure --disable-multilib --enable-languages=c,c++
? ? make -j
? ? make install?
? ??
? ? * Make sure /usr/local/bin is in the system path.
? ??
? ? cp /usr/local/lib64/libstdc++.so.6.0.20 /lib64/
? ? rm -f /lib64/libstdc++.so.6
? ? ln -s /lib64/libstdc++.so.6.0.20 /lib64/libstdc++.so.6
?
Then follow the normal compile and install instructions.
?
The above was done on a server running in Openstack, so I was
not able to verify
full operation, but I hope to be able to do this on an Icom
G3 server very soon.
?
?
[root@qnetgateway-test ~]# systemctl status qngateway.service
¡ñ qngateway.service - QnetGateway
? ?Loaded: loaded (/usr/lib/systemd/system/qngateway.service;
enabled; vendor preset: disabled)
? ?Active: active (running) since Fri 2018-04-27 09:16:56
UTC; 11min ago
?Main PID: 1286 (qngateway)
? ?CGroup: /system.slice/qngateway.service
? ? ? ? ? ?©¸©¤1286 /usr/local/bin/qngateway
/usr/local/etc/qn.cfg
?
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
g2=4, srv=5, MAX+1=6
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
APRS beacon thread started
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
get_irc_data thread started
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
Inactivity from local rptr band 2, removing stream id 3fa0
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
Trying to connect to APRS...
Apr 27 09:17:11 qnetgateway-test.localdomain qngateway[1286]:
Waiting for up to 15 seconds for APRS_HOST
Apr 27 09:17:12 qnetgateway-test.localdomain qngateway[1286]:
IRCDDBApp: state=3 tableID=0
Apr 27 09:17:12 qnetgateway-test.localdomain qngateway[1286]:
Connected to APRS rotate.aprs.net:14580
Apr 27 09:17:15 qnetgateway-test.localdomain qngateway[1286]:
IRCDDBApp: state=6 initialization completed
Apr 27 09:18:01 qnetgateway-test.localdomain qngateway[1286]:
irc status=7, probable connect...
[root@qnetgateway-test ~]#
?
?
It would be awesome if someone else were able to test this
too in case I've missed?
something. The plan is to replace the Icom gateway software
for the repeater in?
question, but still keep the callsign registration part.
Originally we'd planned to put ircDDBGateway on there, but I
think this will work
better.
73,
Stefan MI0PYN