EasyManua.ls Logo

Tripp Lite B092-016 - Serial Port configuration

Tripp Lite B092-016
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
180
Chapter 14: Command Line Configuration
The registered configurators are:
alerts
auth
cascade
console
dhcp
dialin
eventlog
hosts
ipaccess
ipconfig
nagios
power
serialconfig
services
slave
systemsettings
time
ups
users
There are three ways to delete a config element value. The simplest way is use the delete-node script detailed later in Chapter
15.Youcanalsoassignthecongelementto"",ordeletetheentirecongnodeusing-d:
# /bin/config -d 'element name'
Allpasswordsaresavedinplaintextexcepttheuserpasswordsandthesystempasswords,whichareencrypted.
Note: The config command does not verify whether the nodes edited/added by the user are valid. This means that any node
may be added to the tree. If a user were to run the following command:
# /bin/config -s config.fruit.apple=sweet
The configurator will not complain, but this command is clearly useless. When the configurators are run (to turn the config.xml
file into live config) they will simply ignore this <fruit> node. Administrators must make sure of the spelling when typing config
commands. Incorrect spelling for a node will not be flagged.
MostcongurationsmadetotheXMLlewillbeimmediatelyactive.Tomakesurethatallcongurationchangesareactive,
especiallywheneditinguserpasswords,runallthecongurators:
# /bin/config -a
For information on backing up and restoring the configuration file refer Chapter 15 Advanced Configuration.
14.1.1 Serial Port configuration
The first set of configurations that needs to be made to any serial port are the RS232 common settings. For example to setup
serial port 5 to use the following properties:
Baud Rate 9600
Parity None
Data Bits 8
Stop Bits 1
label Myport
log level 0
protocol RS232
flow control None
To do this use the following commands:
# config -s config.ports.port5.speed=9600
# config -s config.ports.port5.parity=None
# config -s config.ports.port5.charsize=8
# config -s config.ports.port5.stop=1
# config -s config.ports.port5.label=myport
# config -s config.ports.port5.loglevel=0
# config -s config.ports.port5.protocol=RS232
# config -s config.ports.port5.flowcontrol=None

Table of Contents