------------------------ Exercise #11 for NET2003 due March 21, 2005 ------------------------ -Ian! D. Allen - idallen@idallen.ca Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) Global weight: 3% of your total mark this term Due dates: 1. in-lab live demo March 21 2. electronic deliverables due 23h59 March 21 The electronic deliverables for this exercise are to be submitted online on the Course Linux Server using the "datsubmit" method described in the exercise description, below. No paper; no email; no FTP. Late-submission date: I will accept without penalty electronic deliverables that are submitted late but before 23h00 on Wednesday, March 23. After that late-submission date, the electronic deliverables are worth zero marks. In-lab demos cannot be submitted late. Exercises submitted by the *due date* will be marked online and your marks will be sent to you by email after the late-submission date. Marks: 3% Exercise Synopsis (Summary Description): Configure a backup partition for your updated Mini system. Answer some questions based on the Week 10 lecture. Demonstrate the NTP service configured on your Mini system. Show a packet trace of the NTP protocol. Where to work: Work anywhere that you can install your hard drive caddy and have your Mini system booted with networking at the same time. Exercise Preparation: See notes and readings in: mandrake_install.txt, mandrake_config.txt, mandrake_network.txt, server_admin.txt, t111_server.txt, week10notes.txt ----------------------------------------------- Exercise Details (on your Mandrake Mini System) ----------------------------------------------- Have you done all the preparation steps? If not, go back and do them. Finish your Notes Readings (see the weekly Notes files). Any questions? See me in a lab or post questions to the Discussion news group (on the top left of the Course Home Page). Most of the work will require that you become the root user using the "su" command. Your prompt will change to include a "#" character, warning you that you have elevated privilege. ------------------ serial boot images ------------------ Follow the directions given in server_admin.txt, section "B. Alternating or serial bootable backup partitions", with this change: Before you unmount and reboot - after step [f] but before step [g] - produce the following output files: fstab-diff.txt Use the "-u" option to the "diff" command and compare your current /etc/fstab file with the one you edited on the new partition. Save the "diff -u" output in fstab-diff.txt and copy it to the course linux sever for submission. menu-diff.txt [Updated March 21] Before you edit menu.lst on the first partition, save a copy as menu.lst.old. Use the "-u" option to the "diff" command and compare the old file with the new one after you add the new partition boot information. Save the "diff -u" output in menu-diff.txt and copy it to the course linux sever for submission. (If you already have the GRUB boot menu numbered for the new partition, create another GRUB boot menu for the next [N+1] partition.) Note that you can also generate these differences after you successfully reboot into the new partition; but, you will have to mount the old partition to access your previous /etc/fstab for the diff. For full marks when doing the "diff -u", the previous, older file should be the first file name argument. The newer file should be the second file name argument: diff -u ------------------ Week 10 notes quiz - week10answers.txt ------------------ Prepare a text file week10answers.txt with your assignment label in it. Under the label answer these questions about your Mandrake Mini Linux system: 0. Please number each answer clearly! No numbers; no marks. 1. Does the Mini system have a driver for the 3c509 network card? If so, what is the absolute pathname to this driver module? If not, in which directory (absolute pathname) would I expect to find such a driver? 2. In the list of loaded kernel modules, which modules are clearly and obviously related to the ext3 file system? 3. What three network settings does your system need to be a fully functional node on the network? 4. True/False: You must have a name server defined in /etc/resolv.conf for your system to work at all. 5. In which file (absolute pathname) would I look for the basic network configuration of network interface "eth3"? 6. True/False: If your system runs DHCP, you must enter DNS servers in /etc/resolv.conf. 7. True/False: I can define up to four DNS servers in /etc/resolv.conf. 8. True/False: /etc/resolv.conf is a script file executed by the DHCP client program. 9. True/False: The name of the init.d script that configures networking on a Mandrake system is "resolv.conf". 10. True/False: Like Knoppix, your Mandrake Mini system boots up with system and kernel logging disabled in all run levels. 11. True/False: To sniff packets under Linux, only the GUI ethereal program is available. 12. What is the name of the Linux ntpdate (not ntp) config file, used to hold the names of hosts to which this machine will synchronize time? (Hint: read the NTP start-up script.) ----------------------- In-Lab Demo #1 March 21 ----------------------- Demonstrate the NTP service configured to synchronize with time servers time.chu.nrc.ca, time.nrc.ca, and pool.ntp.org, with the same three servers used to set the clock via ntpdate. (You need to edit two different config files.) In a second window, demonstrate a "tcpdump" packet trace showing the NTP packets (and only the NTP packets) when you stop/start the ntp service. --------------------- Electronic Submission --------------------- Submit the files for marking: $ datsubmit 11 fstab-diff.txt menu-diff.txt week10answers.txt Always submit all files for marking at the same time.