conserver/INSTALL

166 lines
6.0 KiB
Plaintext
Raw Normal View History

INSTALL
=======
2001-07-26 17:05:04 -07:00
Upgrading?
Whenever you upgrade I suggest you upgrade both the client and
server. Most times, however, you can get away without upgrading
the client (it's usually a fairly static piece of code). I'll
document any dependencies here, but check the CHANGES file for any
new features added to the client if you're considering *not*
upgrading.
2002-03-12 01:12:20 -08:00
Version 7.2.0
- The code related to broadcast messages in the client (-b) has
changed. If you want the username to come across properly in
the broadcast message, you'll need to make sure you upgrade
to the 7.2.0 client.
2001-08-04 21:11:57 -07:00
Version 7.1.1
- Both conserver.passwd and conserver.cf file parsing behaves
the same now. Both use leading whitespace as a continuation
line indicator - if you have leading whitespace on a line
(aside from comments) you probably should remove it.
2001-07-26 17:05:04 -07:00
Version 7.1.0
- The client/server protocol has changed. You *MUST* use a
7.1.0 client with a 7.1.0 and above server. A 7.1.0 client
is *not* backward compatible with a pre-7.1.0 server.
- Some of the flags in the client (-d, -D, and -r) and server
(-n) have been given new identities to make the client and
server flags more uniform.
- The conserver.passwd file now uses the first username match
to determine access rights - if you have multiple instances
of a username in an existing password file, they must be
combined into one to continue to work.
Quickie Instructions
2001-07-26 17:05:04 -07:00
- Download conserver (http://www.conserver.com/) and unpack
- Run './configure'
2001-06-15 17:44:07 -07:00
2001-07-26 17:05:04 -07:00
- If all is well, run 'make install'
2001-07-26 17:05:04 -07:00
- Now set up config files, etc. (see below)
2001-02-18 22:50:29 -08:00
Detailed Instructions
2001-02-18 22:50:29 -08:00
- First thing to do is determine if you want different defaults. A
'./configure --help' will show you the basics. If you like all
2001-07-05 09:18:19 -07:00
the defaults shown, you're set. If not, here are the conserver
2001-02-18 22:50:29 -08:00
unique options:
2001-02-18 22:50:29 -08:00
--with-port=PORT Specify port number [conserver]
2001-07-26 17:05:04 -07:00
--with-base=PORT Base port for secondary channel [0]
2001-02-18 22:50:29 -08:00
--with-master=MASTER Specify master server hostname [console]
2001-07-26 17:05:04 -07:00
--with-cffile=CFFILE Specify config filename [conserver.cf]
--with-pwdfile=PWDFILE Specify password filename [conserver.passwd]
--with-logfile=LOGFILE Specify log filename [/var/log/conserver]
2001-06-15 17:44:07 -07:00
--with-pidfile=PIDFILE Specify PID filepath [/var/run/conserver.pid]
2001-07-26 17:05:04 -07:00
--with-maxmemb=MAXMEMB Specify maximum consoles per process [16]
2001-02-18 22:50:29 -08:00
--with-timeout=TIMEOUT Specify connect() timeout in seconds [10]
2001-10-16 21:33:13 -07:00
--with-libwrap[=PATH] Compile in libwrap (tcp_wrappers) support
2002-03-25 18:03:03 -08:00
--with-regex Use regular expressions in conserver.passwd
2001-02-18 22:50:29 -08:00
Not surprisingly, some match the old conserver/cons.h items...here
they are for reference:
PORT or SERVICE - Socket used to communicate
HOST - Hostname of console server
CONFIG - Config file path
PASSWD_FILE - Password file path
MAXMEMB - Number of consoles per child process
2001-02-18 22:50:29 -08:00
- Run './configure'. This will detect system specific
information. The --prefix option will redirect where things are
installed. Other options are available as well...try
'./configure --help'.
- Now run 'make'. Hopefully things will compile.
- Once things build, you can run 'make install'.
- If you'd like to build the autologin application, you'll need to
run 'make autologin'. If you'd like it installed, use 'make
autologin.install'.
- Now that the binaries are in place, we need to set up the
configuration files and such.
2001-02-18 22:50:29 -08:00
+ Does your conserver master hostname exist? This is the
hostname specified with the --with-master option. By default
the hostname is "console", so make sure it's in DNS, hosts
files, or whatever.
+ If you used a symbolic name for the --with-port option (by
default it uses "conserver", so the answer would be yes),
you'll need to enter a definition in your services file
(directly, via NIS, or whatever). Here's what we use:
2001-02-18 22:50:29 -08:00
console 782/tcp conserver # console server
2001-02-18 22:50:29 -08:00
If you used a number, you shouldn't have to worry about this
step.
2001-02-18 22:50:29 -08:00
+ Next, make sure conserver runs during boot. The init script we
use under Solaris is installed in <PREFIX>/etc/conserver.rc.
Use that or some form of it for your own /etc/init.d script or
an entry in startup files (/etc/rc, /etc/rc.local, or
whatever).
2001-02-18 22:50:29 -08:00
+ Now for the fun stuff. You need to create a conserver.cf and
conserver.passwd file. Those are defined with the
--with-cffile and --with-pwdfile settings. If you ever need to
know what values were compiled into conserver, run 'conserver
-V'. See the conserver.cf/INSTALL file for instructions on
setup of these files.
- That's it! Just start up the console server and enjoy!
2002-03-25 18:03:03 -08:00
Other Information And Gotchas
- Debian Linux Distribution
The Debian folks have conserver distributed with the package
names of conserver-client and conserver-server. They are in
the distribution "sid" and the "non-free" part (because the
Ohio State license doesn't explicitly allow for modification to
the code, even though it's totally implied and the intention of
the author - I've even got proof in email! Oh well, can't
blame the Debian folks for being cautious - they've been burned
before, apparently).
- Potential GCC bug
Adam Morris <AMorris@providence.org> reported a problem with
the following line in console/console.c:
if ((in_addr_t) (-1) == pPort->sin_addr.s_addr) {
This tickles a GCC bug under HP-UX 11.11 using GCC 3.0.2 in
64-bit mode with optimization enabled (-O). The bug could
possibly be provoked in other combinations as well. His fix is
to change the line to:
if ((in_addr_t) (-1) == inet_addr(pcToHost)) {
It's also reported that newer versions of the compiler fix the
issue, so if you happen to have problems with the client
connecting to servers, you might be tickling this bug and you
can upgrade the compiler, turn off the optimization, or apply
this code change.
#
2002-03-25 18:03:03 -08:00
# $Id: INSTALL,v 1.22 2002-03-25 16:16:17-08 bryan Exp $
#