[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Matt Johnson mwj@doc.ic.ac.uk
Wed, 3 May 2006 09:07:13 -0700 (PDT)
* I have conserver cross-compiled and running on a whole bunch (>10) of Cyclades TS-4000s (one of which is 10.1.2.20), which present their serial ports as ttyS* to the local embedded Linux system. I'm happy enough with this bit -- the local conservers need to configure consoles as type "device" and have a devicesubst entry in an appropriate default{} stanza and then be referred to as ports.
config * { autocomplete yes; defaultaccess rejected; daemonmode yes; passwdfile /etc/conserver.passwd; primaryport 782; secondaryport 2001; }
default * { type device; device /dev/ttyS.; devicesubst .=Pd; host none; portbase 0; portinc 1; parity none; rw *; master 10.1.2.20; # master 10.1.1.1; baud 38400; }
access * { allowed 127.0.0.1; trusted 10.1.1.1; }
console cyc20port1 { port 1; # host 10.1.2.20; }
* What I want to do is to *also* run conserver on a Linux server (10.1.1.1), which would allow me to use the `console` utility on that machine to reach consoles on the conservers on all of the Cyclades devices (essentially acting as a consolidator). I believe that this involves the use of the "master" keyword in the configs on the Cyclades, but when I have tried on the individual Cyclades to say that the master is the Linux server (master 10.1.1.1), the secondaryport for the console cyc20port1 isn't actually opened when running conserver on the Cyclades! (Config as above opens the secondaryport when run on the cyclades -- switching the master in the default stanza and uncommenting the host entry in console cyc20port1 makes it vanish.) Assuming I need to use a 'type host' connection from the Linux server to the individual Cyclades consoles (which is what all the examples and documentation suggest) this is an obvious showstopper.
* will doing what I am trying to do work? :) * do I need separate conserver.cf files for each conserver instance in this case? * what am I doing wrong in the above?
-- ---------------------------------------------------------------------- Matt Johnson <mwj@doc.ic.ac.uk> (020) 7594 8440 / x48440 Systems Programmer, Computing Support Group Office: Huxley 225 Department of Computing, Imperial College London ----------------------------------------------------------------------