This is an old revision of the document!


Check out, build & install paclink-unix

  • Click on the 'code' tab from this link.
  • Or just go to this link and follow instructions for 'Anonymous CVS Access'
  • Checking the code out from the CVS repository gets you the latest source containing features & bug fixes that aren't in the current tar ball.
    • Use CVS to check out the code do not download the tar ball.
  • Once the code for paclink-unix is checked out read the INSTALL.CVS file
sudo apt-get install cvs
cvs -d:pserver:anonymous@paclink-unix.cvs.sourceforge.net:/cvsroot/paclink-unix login
(just hit enter for the password)
 
cvs -z3 -d:pserver:anonymous@paclink-unix.cvs.sourceforge.net:/cvsroot/paclink-unix co -P 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
  • 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

./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 webman to something appropriate.
usermod -a -G postdrop webman
usermod -a -G mail webman
usermod -a -G adm webman
  • verify that user is in group mail by executing:
groups
  • As root set permissions in the outbox directory:
    • change username webman to something appropriate.
cd /usr/local/var/
chown -R webman:mail wl2k
  • Edit paclink-unix config file in /usr/local/etc/wl2k.conf
  • uncomment lines that you edit
    • set mycall to your callsign
    • set timeout to 190
    • set email to <username>@localhost in my case that would be webman@localhost
    • set ax25port to the portname in /etc/ax25/axports
  • All the rest of the defaults should be fine
plu/install_plu.1460648504.txt.gz · Last modified: 2016/04/14 08:41 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