[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Is conserver the right tool for this?

Bryan Stansell bryan@conserver.com
Thu, 4 Sep 2008 15:39:57 -0700 (PDT)


On Thu, Sep 04, 2008 at 04:14:15PM -0500, Jae Norment wrote:
> -- which is perfectly understandable, as I haven't told conserver that
> the ports I want to use for this are /dev/ttyPS0-/dev/ttyPS7.  The
> config files that I've found so far are way overkill for what I think I
> want to do...  Can I get a 'dummies' version of the manpage?

Do the sample config files in conserver.cf/samples help?  They're meant
to walk from very simple to very complex setups (well, more complex, at
least).  They do make big leaps, however.

Here's a config file to try out...which "numbers" the ports 1-8.  If you
want to use 'port 0;' through 'port 7;', change portbase to 0:

------------------------------------------------------------------------
default * {
    logfile /var/consoles/&;	# '&' is replaced with console name
    timestamp 1hab;		# write timestamps
    rw *;			# allow sysadmins full access
    master localhost;
}

# you can name 'perle' something more appropriate (perhaps the
# type of serial card) and change the references below.
default perle {
    type device;
    device /dev/ttyPS&;
    baud 9600;
    parity none;
    devicesubst &=Pd;
    portbase -1;
    portinc 1;
    host unused;
}

console ttyPS0 { include perle; port 1; }
console ttyPS1 { include perle; port 2; }

access * {
	trusted 127.0.0.1;
}

config * {
	logfile /var/log/conserver;
}
------------------------------------------------------------------------

Bryan