Configuring the First Boot Script for the CTP151 Device
For the first-time boot process, there is a series of login prompts that require the following settings:
For example:
***** First boot of this flash. Setting up basic system configuration. *****
*********** Setting up the root password ************
Changing root's password!
Changing password for user root.
New password:
Retype new password:
BAD PASSWORD: it is too short
passwd: all authentication tokens updated successfully.
Backing up /etc to nonvolatile storage..
************** Setting up the network ***************
Configure supported protocols:
0) IPv4 Only
1) IPv6 Only
2) IPv4 & IPv6
Please select your option (rtn for 0):
There are 2 ethernet devices available for use. The default device
is the device through which the default gateway can be accessed.
Ctp circuits can run over any ethernet device, default or not.
A default device must be configured, other devices may be configured
and enabled, or disabled. Here is a list to the available devices
and their descriptions:
eth0: 10/100/1000 Copper (labeled 0 on processor card)
eth1: 10/100/1000 Copper (labeled 1 on processor card)
eth2: 10/100/1000 Copper (labeled 2 on processor card)
eth3: 10/100/1000 Copper (labeled 3 on processor card)
eth4: 10/100/1000 Copper (labeled MGMT on processor card)
What device would you like to make the IPV4 default device? (rtn for eth0):
OK, eth0 (10/100/1000 Copper (labeled 0 on processor card)) will be configured as IPV4 default device.
Please input the hostname (return for (none)): ctp150bot
===== Configuration for eth0 (default device):
Please input the ip (return for 127.0.0.1): 10.3.206.10
Please input the netmask (return for 255.255.255.0): 255.255.0.0
Please input the gateway (return for 127.0.0.1): 10.3.0.1
Please input the mtu in bytes (return for 1500):
Add route to interface eth0 [n]
======================================
=== OS Security level set to LOW ===
======================================
Backing up /etc to nonvolatile storage..
Backing up /usr/local to nonvolatile storage..
************** Setting up date/time *****************
Setting the date (GMT). Please input the year [2008-2020] (return for 2010):
Setting the date (GMT). Please input the month [1-12] (return for 11):
Setting the date (GMT). Please input the day [1-31] (return for 14):
Setting the date (GMT). Please input the hour [0-23] (return for 16):
Setting the date (GMT). Please input the minute [0-59] (return for 41):
INIT: Entering runlevel: 3
Entering non-interactive startup