Server User Manual

# config -s config.interfaces.wan.address=192.168.0.23
# config -s config.interfaces.wan.netmask=255.255.255.0
# config -s config.interfaces.wan.gateway=192.168.0.1
# config -s config.interfaces.wan.dns1=192.168.0.1
# config -s config.interfaces.wan.dns2=192.168.0.2
# config -s config.interfaces.wan.mode=static
# config -s config.interfaces.wan.media=[ Auto | 100baseTx-FD | 100baseTx-HD | 10baseT-HD ]
10baseT-FD
To enable bridging between all interfaces:
# config -s config.system.bridge.enabled=on
To enable IPv6 for all interfaces
# config -s config.system.ipv6.enabled=on
To configure the management LAN interface, use the same commands as above but replace:
config.interfaces.wan, with config.interfaces.lan
Note: Not all devices have a management LAN interface.
To configure a failover device in case of an outage:
# config -s config.interfaces.wan.failover.address1='ip address'
# config -s config.interfaces.wan.failover.address2='ip address'
# config -s config.interfaces.wan.failover.interface=[ eth1 | console | modem ]
The network interfaces can also be configured automatically:
# config -s config.interfaces.wan.mode=dhcp
# config -s config.interfaces.lan.mode=dhcp
The following command will synchronize the live system with the new configuration:
# /bin/config –-run=ipconfig
The following command will synchronize the live system with the new configuration:
# config -r ipconfig
14.19 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
_____________________________________________________________________
724-746-5500 | blackbox.com Page 232