Download Unison GPS Network Time Server User Manual
Transcript
CHAPTER TWO Pay particular attention to the settings shown for eth0 and in particular the Mask: setting, which should match that which is appropriate for your network. Now check the remaining configuration parameters using route: Unison GPS(root@gntp:~)-> route Kernel IP routing table Destination Gateway localnet * loopback * default 192.168.1.241 Genmask 255.255.255.248 255.0.0.0 0.0.0.0 Flags U U UG Metric 0 0 1 Ref 0 0 0 Use 0 0 0 Iface eth0 lo eth0 Here you are interested in the default gateway address. It should match the appropriate one for your network. If so, then the ethernet interface of your Unison has been successfully configured to operate on your network and you are ready to check operation of the Unison over the network. If not, you should recheck your configuration and/or repeat the netconfig procedure. If you have configured a nameserver(s) for your network, you may check that by issuing this shell command: Unison GPS(root@gntp:~)-> cat /etc/resolv.conf search your.domain nameserver 192.168.1.1 nameserver 192.168.1.2 Which displays the contents of the /etc/resolv.conf file containing your domain name and the nameserver IP address(es) to use for that domain. Check Network Operation With your Unison network parameters properly configured, you are ready to test the setup using ping from a server or workstation that is able to access the network connected to the Unison. Alternatively, you could ping one of your servers or workstations from the Unison shell prompt to test the setup. Once you have successfully established network communications with the Unison, you may perform all maintenance and monitoring activities via telnet and ftp. The Unison provides both client and server operation using telnet. For security reasons as well as to reduce the memory footprint in the Unison, only client operation is supported using ftp. You may also monitor the Unison via the HTTP interface (see Chapter 7 - HTTP Interface). Security conscious users will want to use ssh, the secure shell replacement for telnet, as the login means. The companion utility, scp provides a secure replacement for ftp as a means of transferring files to and from the Unison. Both of these protocols are supported in the Unison via the OpenSSH implementations for Linux. Refer to Appendix A - Security for more information about the secure shell protocol. Using Telnet When establishing a telnet connection with your Unison, logging in directly as root is not permitted. This is a security measure that makes it slightly more difficult to gain access by simply trying passwords, since it is also necessary to know the name of a user. When you initiate a telnet session with the Unison, this banner will be displayed: 14 Unison GPS User Manual