Chapter 14:
Command Line Configuration
262
Console Server & RIM Gateway User Manual
# /bin/config
–-run=ipconfig
The following command will synchronize the live system with the new configuration:
# config -r ipconfig
14.1.18 Date & Time settings
To enable NTP using a server at pool.ntp.org issue the following commands:
# config -s config.ntp.enabled=on
# config -s config.ntp.server=pool.ntp.org
Alternatively, you can manually change the clock settings:
To change running system time:
# date 092216452005.05 Format is MMDDhhmm[[CC]YY][.ss]
Then the following command will save this new system time to the hardware clock:
#
/bin/hwclock --systohc
Alternatively, to change the hardware clock:
# /bin/hwclock --set --date=092216452005.05 Format is MMDDhhmm[[CC]YY][.ss]
Then the following command will save this new hardware clock time as the system time:
# /bin/hwclock --hctosys
To change the timezone:
# config -s config.system.timezone=US/Eastern
The following command will synchronize the live system with the new configuration:
# config -r time
14.1.19 Dial-in settings
To enable dial-in access on the DB9 serial port from the command line with the following attributes:
Local IP Address
172.24.1.1
Remote IP Address
172.24.1.2
Authentication Type:
MSCHAPv2
Serial Port Baud Rate:
115200
Serial Port Flow Control:
Hardware
Custom Modem Initialization:
ATQ0V1H0
Callback phone
0800223665
User to dial as
user1
Password for user
secret
Run the following commands:
# config -s config.console.ppp.localip=172.24.1.1
# config -s config.console.ppp.remoteip=172.24.1.2
# config -s config.console.ppp.auth=MSCHAPv2
# config -s config.console.speed=115200
# config -s config.console.flow=Hardware
# config -s config.console.initstring=ATQ0V1H0
# config -s config.console.ppp.enabled=on
# config -s config.console.ppp.callback.enabled=on
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......