Configuring the First Boot Script for the CTP150 Device
For the first-time boot process, there is a series of login prompts that require the following settings:
- Default username (ctp) and password (ctp). (We recommend that you change the root password after entering the default.)
- Supported protocol or protocols—(0) IPv4 only, (1) IPv6 only, or (2) IPv4 and IPv6. Enter the appropriate number value.
- Default interface—From the list of available devices, such as eth0 and eth1 (or more), enter the one to be the default.
- Hostname of the device.
- IP address of the interface—Enter the IP address of the selected interface, or accept the loopback address (127.0.0.1) by default.
- Netmask of the IP address—Enter the netmask (such as 255.255.255.128), or accept 255.255.255.0 as the default.
- Gateway IP address—Enter the IP address of the gateway, or accept the local address (127.0.0.1) as the default
- Maximum transmission unit (MTU)—Enter the MTU in bytes, or accept 1500 bytes as the default.
- Static routes added to the default interface, if any.
- Date and time GMT (more precisely, UTC)—Enter
these separately in digits for the month, day, hour, and minutes in
Coordinated Universal Time (UTC), or accept the internal settings.
The device goes into startup mode.
***** 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 (right) eth1: 10/100/1000 Copper (left) What device would you like to make the IPV4 default device? (rtn for eth0): OK, eth0 (10/100/1000 Copper (right)) 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