Building and Configuring Conversd Server 

Synopsis

Building & configuring conversd and creating the systemd service file for conversd.

This version now builds on newer systems.


Build & Install

Download and unzip the source code.

vi Makefile

#Directories:
BASE_DIR = /usr/local
DATA_DIR = /var/cache/conversd
#/etc/conversd if you…
CONF_DIR = $(BASE_DIR)/etc/conversd
BIN_DIR = $(BASE_DIR)/bin
SBIN_DIR = $(BASE_DIR)/sbin
MAN_DIR = $(BASE_DIR)/man
#
INIT_DIR = /etc/init.d 
sudo apt install libreadline-dev
sudo make clean
sudo make install-all

Lots of compile warnings. Ignore. It should install all of the files after compilation. If you got fatal errors, you are missing libraries.

Remove the no longer necessary SYSV init script:

sudo rm /etc/init.d/conversd
sudo rm /etc/init.d/lconversd
sudo rm /etc/init.d/wconversd
sudo rm /etc/init.d/ppconversd

Create the Service file for systemd

cd /etc/systemd/system
sudo vi conversd.service

Paste this into conversd.service:

[Unit]
Description=Conversd Server On %I
After=network.target
[Service]
PrivateTmp=true
Type=forking
ExecStart=/usr/local/sbin/conversd
[Install]
WantedBy=multi-user.target

Run these commands as root:

sudo systemctl daemon-reload
sudo systemctl enable conversd

Configuration

Configure your server, make sure to change the secret number to a completely different one, as well as make sure it is smaller than the default as that is there to deliberately stop the server working (so pay attention).

vi /usr/local/etc/conversd/conversd.conf

Modify /etc/services to include the service name and port:

sudo vi /etc/services

Insert:

conversd 3600/tcp

Testing

Start the daemon

sudo service conversd start

Check it is running

ps -ef | grep conv
daemon 7448 1 0 02:41 ? 00:00:00 /usr/local/sbin/conversd

Log in using the convers client:

convers -l <callsign>
conversd @ Rijen_NB Ping-Pong conversd saupp-1.62a
Type /HELP for help.
*
Enjoy the convers. Type /version to see where comments go to.
Set your /personal text if you haven't already done so. /? gives help.
*
*** There is 1 user online
*** Will try local default channel 31.
*** You created a new channel 31.
*** ( 1:51) conversd made you a channel operator for channel 31

If you find the articles, or content in general posted here useful, enjoyable or maybe even something else, please consider making a small contribution towards my hosting fund so that I may continue to provide my services for free to as many people as possible.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s