3 using the “current-settings” file – Kontron AT8404 User Manual
Page 115

Software Description
102
AT8404 User Guide
www.kontron.com
4.6.3 Using the “current-settings” file
The current-settings file is used to do the default configuration of the carrier with respect to:
• network interface configration
• watchdog configuration
• SSH configuration
• IPMI over LAN configuration
• DHCP configuration
Using the file to change any default configuration must be taken very carefully to avoid misconfigurations.
To check and edit the /mnt/os/current-settings file you must either be logged in with a serial connection or
you must be logged in using telnet port 2323. To use the telnet connection you must first enable telnet port
2323 access (see 4.6.3.2 Enabling SSH to access the Carrier).
The following output shows an example /mnt/os/current-settings file. The comments in the file provide
information about default settings and possible setting changes that can be made and the effects the
changes might have.
##
## Configuration Settings for T5307
## This is a template file
##
## set to yes to start BCM shell instead of normal
## startup
## Note that you should also disable the pOSWD
## and pWD watchdogs in this case
CONFIG_START_BCMSH="no"
# set this to yes to interrupt boot procedure
# prior to FASTPATH startup
# mainly used for debugging
CONFIG_START_MENU="no"
## set to yes to start OS telnetd on port 2323
CONFIG_START_TELNETD="yes"
# note that you need to have SSHD keys
# generated and included in configuration
# for SSHD to work.
# Keys should be stored in
#/etc/ssh/ssh_host_key
#/etc/ssh/ssh_host_rsa_key
#/etc/ssh/ssh_host_dsa_key
#
# You may do this by adding them to /mnt/os/extra-profile
# settings tar.gz file
#
# generate them on Linux using:
# ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -C '' -N ''
# ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N ''
# ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N ''
# You may then create an extra-profile with them in it:
# tar -C / -zcvf /mnt/os/extra-profile /etc/ssh/ssh_host_*
CONFIG_START_SSHD="no"
## set to yes to start NFS portmapper
CONFIG_START_PORTMAP="no"
## Set this to "yes" to start the IPMI over Lan daemon.
## Access parameters may then be adjusted in /etc/ipmi_lan.conf.
##
CONFIG_START_IPMILAN="no"