Next: 5. Server configuration
Up: Dwun 0.8g
Previous: 3. Quickstart
  Contents
4. Compiling
In general,
./configure
make
make install
should suffice. This will install dwun and its associated documentation into
the /usr/local hierarchy. (bin/, sbin/, man/). To specify a different base directory,
use the --prefix=base option to configure.
Dwun has been tested extensively with Debian GNU/Linux 2.1 x86. It has also
had some testing on FreeBSD 3.2 and 3.3 x86. It has briefly been tested on Redhat
Linux 6.0, Compaq Tru64 Unix and FreeBSD 4.0 on Alpha. It is known to at least
compile on Solaris. Include your config.h file, uname -a output and dwun -v
output if you have problems.
Only the first 8 characters of a password are significant. This is caused by
the behaviour of crypt(3) and is not a bug in my code.
Some options that can only be changed by editing header files before compilation
are
- USER_LEN
- ipc.h and makeauth.c. To control the
maximum username length. 16 by default.
- MAX_COMMANDON_FAIL
- connect.h. Fatal connection
error if commandon exits in less than MIN_TIME_BETWEEN_DIALS this
number of times in a row. 5 by default.
- MIN_TIME_BETWEEN_DIALS
- connect.h.
Minimum time between each run of commandon5. Dwun will wait until
this time is up before dialing again if commandon exits quickly. 5 seconds
by default.
- MAX_COMMANDON_EXIT_TIME
- connect.h. If we
running commandoff and commandon hasn't exited within this time, we will kill
the dial scripts then run commandoff again. Meaningless if commandoff is not
set. 10 seconds by default.
Next: 5. Server configuration
Up: Dwun 0.8g
Previous: 3. Quickstart
  Contents
2000-06-15