Problem

In this hands-on project, you configure and update your NTP daemon. 1. Switch to a comm...

In this hands-on project, you configure and update your NTP daemon.

1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type chkconfig --list ntpd and press Enter. Note the runlevels that the NTP daemon is started in.

3. Edit the /etc/ntp.conf file with a text editor. Note the default NTP servers that are queried for time information. Next, add the following line (where network is your classroom network and subnet_mask is the associated subnet mask):

restrict network mask subnet_mask nomodify notrap

When finished, save your changes and quit the editor.

4. At the command prompt, type service ntpd stop and press Enter to stop the NTP daemon.

5. At the command prompt, type ntpdate –u 0.fedora.pool.ntp.org and press Enter to synchronize your clock with the first time server listed in /etc/ntp.conf. Repeat this command several times until the offset is very low.

6. At the command prompt, type service ntpd start and press Enter to start the NTP daemon.

7. At the command prompt, type ntpq -p and press Enter to view information about the time servers that you are synchronizing with (peers).

8. Type exit and press Enter to log out of your shell.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 13