Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

184 bytes added, 03:56, 27 February 2012
no edit summary
=== Investigation 3: What files does the <code>system-config-network</code> GUI tool change?. ===
{{Admon/note | Use fedora1 | Complete this investigation on your fedora1 VM.}}
 <span style="background-color:yellow">Explain purpose of file backups</span> # Start '''fedora1 ''' VM and login
# Before we configure fedora1 we should create a timestamp file that can be used to see which files have changed as a result of using the GUI tool.
#* <code>date > /tmp/timestamp</code>
# Run the network configuration tool and enter the following static configuration in the same way that you configured '''fedora2'''.#* IP Address: '''192.168.235.11'''#* Subnetmask: '''255.255.255.0'''#* Default Gateway: '''192.168.235.1'''#* DNS Server: '''192.168.235.1'''# Save and quit and restart exit the network configuration tool.# Restart NetworkManager# Verify the configuration by pinging fedora host ('''192.168.235.1''') and fedora2 ('''192.168.235.12''')
# To verify that fedora1 has the correct default gateway configured, enter the command <code>route -n</code>
# Use the <code>find</code> command to locate the configuration files modified by the GUI network configuration program
#* Previously, you created a file called <code>/tmp/timestamp</code>. Any files that were modified by the GUI network configuration program should have a timestamp later (or newer) than the "timestamp" file you created. All the Linux TCP/IP configuration files are stored under the "'''/etc" ''' directory or its sub-directories. The following command when run as root will give you a list of all the files under the <code>/etc</code> directory with a file modification date newer than the date of the "timestamp" file:
#**<code>find /etc -newer /tmp/timestamp</code>
# Capture the output to a file called <code>netcfg.lst</code> under user root's home directory.
#** Copy the files manually using the <code>cp</code> command.
#** Investigate the <code>-exec</code> option of the <code>find</code> command to see how to find and copy the files with a single command.
# Record '''Answer the answer to the investigation Investigation 3 observations / questions in your lab logbook.'''
=== Investigation 4: How do I configure the network without a GUI tool?. ===
13,420
edits

Navigation menu