diff options
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/ethnet-symperm.xml | 2 | ||||
-rw-r--r-- | chapter07/ethnet.xml | 21 | ||||
-rw-r--r-- | chapter07/hosts.xml | 23 | ||||
-rw-r--r-- | chapter07/introduction.xml | 2 | ||||
-rw-r--r-- | chapter07/localnet-symperm.xml | 2 | ||||
-rw-r--r-- | chapter07/localnet.xml | 2 | ||||
-rw-r--r-- | chapter07/network.xml | 9 |
7 files changed, 32 insertions, 29 deletions
diff --git a/chapter07/ethnet-symperm.xml b/chapter07/ethnet-symperm.xml index ba72ab6e9..c9df60e9b 100644 --- a/chapter07/ethnet-symperm.xml +++ b/chapter07/ethnet-symperm.xml @@ -2,7 +2,7 @@ <title>Setting up permissions and symlink</title> <para> -Set the proper file permissions and create the necessary symlink by +The proper file permissions and the necessary symlinks are set or created by running the following commands: </para> diff --git a/chapter07/ethnet.xml b/chapter07/ethnet.xml index a81176a6c..3298bd139 100644 --- a/chapter07/ethnet.xml +++ b/chapter07/ethnet.xml @@ -2,12 +2,12 @@ <title>Creating the /etc/init.d/ethnet script</title> <para> -This section only applies if you are going to configure a network card. -If you're not, skip this section. +This section only applies if a user is going to configure a network card. +If not, this section can be skipped. </para> <para> -Create a new file <filename>/etc/init.d/ethnet</filename> containing the +A new file <filename>/etc/init.d/ethnet</filename> is created containing the following: </para> @@ -119,7 +119,7 @@ esac <title>Adding default gateway to /etc/sysconfig/network</title> <para> -If you require a default gateway to be setup, run the following command: +If a default gateway is required to be setup, the following command does that: </para> <literallayout> @@ -131,7 +131,7 @@ GATEWAY=192.168.1.2 </literallayout> <para> -Change GATEWAY to match your network setup. +GATEWAY needs to be changed to match the network setup. </para> </sect2> @@ -143,11 +143,11 @@ Change GATEWAY to match your network setup. Which interfaces are brought up and down by the ethnet script depends on the files in the /etc/sysconfig/network-scripts directory. This directory should contain files in the form of ifcfg-x where x is an -identification number (or whatever you choose to name it). +identification number (or whatever a user named it). </para> <para> -First create the network-scripts directory by running: +First the network-scripts directory is created by running: </para> <blockquote><literallayout> @@ -158,8 +158,8 @@ First create the network-scripts directory by running: <para> -Now, create new files in that directory containing the following. -The following creates a sample file ifcfg-eth0: +Now, new files are created in that directory containing the following. +This creates a sample file ifcfg-eth0: </para> <blockquote><literallayout> @@ -176,7 +176,8 @@ BROADCAST=192.168.1.255 </literallayout></blockquote> <para> -Of course, change the values of those four variables in every file to +Of course, the values of those four variables have to be changed +in every file to match the proper setup. Usually NETMASK and BROADCAST will remain the same, just the DEVICE IP variables will change per network interface. If the ONBOOT variable is set to yes, the ethnet script will bring it up diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 676291981..787ab47b2 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -2,7 +2,7 @@ <title>Creating the /etc/hosts file</title> <para> -If you want to configure a network card, you have to decide on the +If a network card is to be configured, a user has to decide on the IP-address, FQDN and possible aliases for use in the /etc/hosts file. An example is: </para> @@ -14,8 +14,8 @@ example is: </literallayout></blockquote> <para> -Make sure the IP-address is in the private network IP-address range. -Valid ranges are: +It should made sure that the IP-address is in the private network +IP-address range. Valid ranges are: </para> <blockquote><literallayout> @@ -33,14 +33,14 @@ be www.linuxfromscratch.org </para> <para> -If you're not going to use a network card, you still need to come up with a +If a user is not going to use a network card, he still needs to come up with a FQDN. This is necessary for programs like Sendmail to operate correctly (in fact; Sendmail won't run when it can't determine the FQDN). </para> <para> -If you don't configure a network card, create a new file -<filename>/etc/hosts</filename> by running: +If a network card is not going to be configured, a new file +<filename>/etc/hosts</filename> is created by running: </para> <literallayout> @@ -56,8 +56,8 @@ If you don't configure a network card, create a new file </literallayout> <para> -If you do configure a network card, create a new file -<filename>/etc/hosts</filename> containing: +If a network card is to be configured, a new file +<filename>/etc/hosts</filename> is created containing: </para> <literallayout> @@ -74,9 +74,10 @@ If you do configure a network card, create a new file </literallayout> <para> -Of course, change the 192.168.1.1 and www.mydomain.org to your own -liking (or requirements if you are assigned an IP-address by a network/system -administrator and you plan on connecting this machine to that network). +Of course, the 192.168.1.1 and www.mydomain.org have to be changed to the +users +liking (or requirements if assigned an IP-address by a network/system +administrator and this machine is planned to be connected to that network). </para> </sect1> diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index c9f266db3..efbf1d697 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -2,7 +2,7 @@ <title>Introduction</title> <para> -This chapter will setup basic networking. Although you might not be +This chapter will setup basic networking. Although the system might not be connected to a network, Linux software uses network functions anyway. We'll be installing at least the local loopback device and a network card as well if applicable. Also the proper bootscripts will be created diff --git a/chapter07/localnet-symperm.xml b/chapter07/localnet-symperm.xml index 137c3b7e5..dc71d1f3f 100644 --- a/chapter07/localnet-symperm.xml +++ b/chapter07/localnet-symperm.xml @@ -2,7 +2,7 @@ <title>Setting up permissions and symlink</title> <para> -Set the proper file permissions and create the necessary symlink by +The proper file permissions and the necessary symlink are set or created by running the following commands: </para> diff --git a/chapter07/localnet.xml b/chapter07/localnet.xml index e82f9ba0c..fbc1f1fd3 100644 --- a/chapter07/localnet.xml +++ b/chapter07/localnet.xml @@ -2,7 +2,7 @@ <title>Creating the /etc/init.d/localnet bootscript</title> <para> -Create a new file <filename>/etc/init.d/localnet</filename> containing +A new file <filename>/etc/init.d/localnet</filename> is created containing the following: </para> diff --git a/chapter07/network.xml b/chapter07/network.xml index 603c61b55..64d61bd04 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -2,8 +2,8 @@ <title>Creating the /etc/sysconfig/network file</title> <para> -Create a new file <filename>/etc/sysconfig/network</filename> and put the -hostname in it by running: +A new file <filename>/etc/sysconfig/network</filename> is created and the +hostname is put in it by running: </para> <blockquote><literallayout> @@ -13,8 +13,9 @@ hostname in it by running: </literallayout></blockquote> <para> -Replace <quote>lfs</quote> by the name you wish to call your computer. -Please not that you should not enter the FQDN (Fully Qualified Domain +<quote>lfs</quote> needs to be replaced by the name the computer is to be +called. +A user should not enter the FQDN (Fully Qualified Domain Name) here. That information will be put in the <filename>/etc/hosts</filename> file later. </para> |