Check out, build & install paclink-unix

  • To get a copy of the current repository use this link:
git clone https://github.com/nwdigitalradio/paclink-unix
  • Install required build tools
sudo apt-get install build-essential autoconf automake libtool
  • During the installs shown below if any prompts come up just choose default
    • postfix will prompt for the type of installation you want but for this case the config files are manually edited so your choice is not critical.

On Debian (6.x) Squeeze

  • Required packages for Debian Squeeze
sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb4.8-dev libgmime-2.4-dev

On Debian (7.x) Wheezy

  • Required packages for Debian Squeeze
sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.1-dev libgmime-2.6-dev 

On Raspian Wheezy

  • Note that the RPi Raspian install is identical to Debian Wheezy
sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.1-dev libgmime-2.6-dev

On Raspian Jessie, Stretch or Buster

  • Note that the RPi Raspian install is identical to Debian Jessie
sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev

On Debian bullseye

  • Even though libgmime 3.0 is available, use the older libgmime 2.6 until port to 3.0 is complete.
sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev
  • Before you build paclink-unix you need to know which MTA is installed & configure the build for that package
    • Set the proper command line args for sendmail
      • postfix & exim4 sendmail program use -bm
      • sendmail sendmail program uses -ba
      • See Makefile.am
      • no argument selects sendmail MTA
        --enable-postfix

        selects postfix MTA

    • find the version of automake you are using & copy the missing script locally
      • The version I have installed is 1.14
ls -l /usr/share/automake*
cp /usr/share/automake-1.14/missing .
./autogen.sh --enable-postfix
  ** ./configure not required if autogen.sh is run -> ./configure --enable-postfix
  • Note: if after running ./autogen.sh or ./configure and you see this line on the console:
config.status: error: cannot find input file: `Makefile.in'
  • then run these commands:
automake --add-missing
./configure --enable-postfix
  • Obviously only use the –enable-postfix if that is the MTA you selected (my preference).
  • Continue the build
make
sudo make install
  • need to run 'make install' as root
  • mail.wl2k should be in /usr/local/libexec
  • Verify both wl2ktelnet & wl2kax25 are installed
whereis wl2ktelnet
whereis wl2kax25

A note about wl2kserial

  • Nick n2qz, the founder of paclink-unix, developed wl2kserial to interface to an SCS-PTC-IIpro modem using PACTOR III

After install need to do some config

  • Add user to the following groups, change username <your_user_name> to something appropriate.
usermod -a -G postdrop <your_user_name>
usermod -a -G mail <your_user_name>
usermod -a -G adm <your_user_name>
  • verify that user is in group mail by executing:
groups
  • As root set permissions in the outbox directory:
    • change <your_user_name> to something appropriate.
cd /usr/local/var/
chown -R <your_user_name>:mail wl2k
  • Edit paclink-unix config file in /usr/local/etc/wl2k.conf
  • uncomment lines that you edit
    • set mycall to your callsign & use uppercase
    • set timeout to 190
    • set email to <username>@localhost
    • set wl2k-password
      • For official Winlink documentation go here and look for the section that starts with:
If you’re using a different Winlink e-mail client program, you must follow these steps:
  • set ax25port to the portname in /etc/ax25/axports
  • All the rest of the defaults should be fine
plu/install_plu.txt · Last modified: 2021/10/01 12:06 by gunn
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0