Black Box 1101 Marine Safety Devices User Manual


 
1101 and 1102 Secure Device Servers
724-746-5500 | blackbox.com
122
# config -s config.ports.port5.sdt.ssh=on
To configure a username and password when accessing this port with Username = user1 and Password = secret:
# config -s config.ports.port#.sdt.username=user1
# config -s config.ports.port#.sdt.password=secret
Terminal server mode
Enable a TTY login for a local terminal attached to serial port 5:
# config -s config.ports.port5.mode=terminal
# config -s config.ports.port5.terminal=[vt220 | vt102 | vt100 | linux | ansi]
The default terminal is vt220.
Serial bridge mode
Create a network connection to a remote serial port via RFC-2217 on port 5:
# config -s config.ports.port5.mode=bridge
Optional configurations for the network address of RFC-2217 server of 192.168.3.3 and TCP port used by the RFC-2217 service = 2500:
# config -s config.ports.port5.bridge.address=192.168.3.3
# config -s config.ports.port5.bridge.port=2500
To enable RFC-2217 access: # config -s config.ports.port5.bridge.rfc2217=on
To redirect the serial bridge over an SSH tunnel to the server: # config -s config.ports.port5.bridge.ssh.enabled=on
Syslog settings
Additionally, the global system log settings can be set for any specific port, in any mode:
# config -s config.ports.port#.syslog.facility='facility'
'facility' can be:
Default
local 0-7
auth
authpriv
cron
daemon
ftp
kern
lpr
mail
news
user
uucp
# config -s config.ports.port#.syslog.priority='priority'
'priority' can be:
Default
warning
notice
Info
error
emergency
debug
critical
alert
14.3 Adding and Removing Users
First, determine the total number of existing Users (if you have no existing Users you can assume this is 0):
# config -g config.users.total
This command should display config.users.total 1. Note that if you see config.users.total, this means you have 0 Users configured.