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

Re: Bootstrap learning (conserver.cf clues)

David K. Z. Harris zonker@jeffk.com
Thu, 1 Feb 2007 17:13:31 -0800 (PST)


### set up global access
default full    { rw *; }

### define some terminal server specifics
# we set portbase and portinc so we can reference the ports in a
# physical representation and let conserver do the math to figure
# out the actual socket address
default cisco                   { type host; portbase 2000; portinc 1; }
default cisco-cs                { type host; portbase 2000; portinc 1; }

### set up some custom break sequences
break 4 { string "+\d+\d+"; delay 300; }
break 5 { string "\033c"; }

### set the defaults for all the consoles
# these get applied before anything else
default * {
        # The '&' character is substituted with the console name
        logfile /var/consoles/&;
        # timestamps every hour with activity and break logging
        timestamp 1hab;
        # include the 'full' default
        include full;
        # master server is localhost
        master localhost;
}

#   Leading zeroes were used in CS names, for sorting purposes
#________________________________________
#
#  cs05  Cisco 2511   ts-05   192.168.15.15   MAC not known
#  cs05  16-port   portbase = 2000    portinc = 1
#  cs05  (at the garage, needs config)
#  CiscoC-RJ45: 1-o RTS, 2-o DTR, 3-o TD, 4 GND, 5-i GND, 6-i RD, 7-i DSR, 8-i CTS
#
default cs05 {
        include cisco;          # use the cisco defaults
        host ts-05;             # terminal-server device to connect to
}
console cs05-1  { include ts-05; port 1 }
console cs05-2  { include ts-05; port 2 }
console cs05-3  { include ts-05; port 3 }
console cs05-4  { include ts-05; port 4 }
console cs05-5  { include ts-05; port 5 }
console cs05-6  { include ts-05; port 6 }
console cs05-7  { include ts-05; port 7 }
console cs05-8  { include ts-05; port 8 }
console cs05-9  { include ts-05; port 9 }
console cs05-10 { include ts-05; port 10 }
console cs05-11 { include ts-05; port 11 }
console cs05-12 { include ts-05; port 12 }
console cs05-13 { include ts-05; port 13 }
console cs05-14 { include ts-05; port 14 }
console cs05-15 { include ts-05; port 15 }
console cs05-16 { include ts-05; port 16 }

   Other clues at http://www.conserver.com/consoles/Cisco/ciscocons.html

    Regards,

         -Z-