- Timestamp:
- 03/18/2001 08:39:49 PM (23 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 53b5ccf
- Parents:
- 72033583
- Location:
- chapter07
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/ethnet-symperm.xml
r72033583 r137bd50 3 3 4 4 <para> 5 Set the proper file permissions and create the necessary symlinkby5 The proper file permissions and the necessary symlinks are set or created by 6 6 running the following commands: 7 7 </para> -
chapter07/ethnet.xml
r72033583 r137bd50 3 3 4 4 <para> 5 This section only applies if you aregoing to configure a network card.6 If you're not, skip this section.5 This section only applies if a user is going to configure a network card. 6 If not, this section can be skipped. 7 7 </para> 8 8 9 9 <para> 10 Create a new file <filename>/etc/init.d/ethnet</filename>containing the10 A new file <filename>/etc/init.d/ethnet</filename> is created containing the 11 11 following: 12 12 </para> … … 120 120 121 121 <para> 122 If you require a default gateway to be setup, run the following command:122 If a default gateway is required to be setup, the following command does that: 123 123 </para> 124 124 … … 132 132 133 133 <para> 134 Change GATEWAY to match yournetwork setup.134 GATEWAY needs to be changed to match the network setup. 135 135 </para> 136 136 … … 144 144 the files in the /etc/sysconfig/network-scripts directory. This 145 145 directory should contain files in the form of ifcfg-x where x is an 146 identification number (or whatever you choose to nameit).146 identification number (or whatever a user named it). 147 147 </para> 148 148 149 149 <para> 150 First create the network-scripts directoryby running:150 First the network-scripts directory is created by running: 151 151 </para> 152 152 … … 159 159 <para> 160 160 161 Now, create new filesin that directory containing the following.162 Th e followingcreates a sample file ifcfg-eth0:161 Now, new files are created in that directory containing the following. 162 This creates a sample file ifcfg-eth0: 163 163 </para> 164 164 … … 177 177 178 178 <para> 179 Of course, change the values of those four variables in every file to 179 Of course, the values of those four variables have to be changed 180 in every file to 180 181 match the proper setup. Usually NETMASK and BROADCAST will remain the 181 182 same, just the DEVICE IP variables will change per network interface. If -
chapter07/hosts.xml
r72033583 r137bd50 3 3 4 4 <para> 5 If you want to configure a network card, you haveto decide on the5 If a network card is to be configured, a user has to decide on the 6 6 IP-address, FQDN and possible aliases for use in the /etc/hosts file. An 7 7 example is: … … 15 15 16 16 <para> 17 Make sure the IP-address is in the private network IP-address range. 18 Valid ranges are:17 It should made sure that the IP-address is in the private network 18 IP-address range. Valid ranges are: 19 19 </para> 20 20 … … 34 34 35 35 <para> 36 If you're not going to use a network card, you still needto come up with a36 If a user is not going to use a network card, he still needs to come up with a 37 37 FQDN. This is necessary for programs like Sendmail to operate correctly (in 38 38 fact; Sendmail won't run when it can't determine the FQDN). … … 40 40 41 41 <para> 42 If you don't configure a network card, createa new file43 <filename>/etc/hosts</filename> by running:42 If a network card is not going to be configured, a new file 43 <filename>/etc/hosts</filename> is created by running: 44 44 </para> 45 45 … … 57 57 58 58 <para> 59 If you do configure a network card, createa new file60 <filename>/etc/hosts</filename> containing:59 If a network card is to be configured, a new file 60 <filename>/etc/hosts</filename> is created containing: 61 61 </para> 62 62 … … 75 75 76 76 <para> 77 Of course, change the 192.168.1.1 and www.mydomain.org to your own 78 liking (or requirements if you are assigned an IP-address by a network/system 79 administrator and you plan on connecting this machine to that network). 77 Of course, the 192.168.1.1 and www.mydomain.org have to be changed to the 78 users 79 liking (or requirements if assigned an IP-address by a network/system 80 administrator and this machine is planned to be connected to that network). 80 81 </para> 81 82 -
chapter07/introduction.xml
r72033583 r137bd50 3 3 4 4 <para> 5 This chapter will setup basic networking. Although youmight not be5 This chapter will setup basic networking. Although the system might not be 6 6 connected to a network, Linux software uses network functions anyway. 7 7 We'll be installing at least the local loopback device and a network -
chapter07/localnet-symperm.xml
r72033583 r137bd50 3 3 4 4 <para> 5 Set the proper file permissions and create the necessary symlinkby5 The proper file permissions and the necessary symlink are set or created by 6 6 running the following commands: 7 7 </para> -
chapter07/localnet.xml
r72033583 r137bd50 3 3 4 4 <para> 5 Create a new file <filename>/etc/init.d/localnet</filename>containing5 A new file <filename>/etc/init.d/localnet</filename> is created containing 6 6 the following: 7 7 </para> -
chapter07/network.xml
r72033583 r137bd50 3 3 4 4 <para> 5 Create a new file <filename>/etc/sysconfig/network</filename> and putthe6 hostname i n it by running:5 A new file <filename>/etc/sysconfig/network</filename> is created and the 6 hostname is put in it by running: 7 7 </para> 8 8 … … 14 14 15 15 <para> 16 Replace <quote>lfs</quote> by the name you wish to call your computer. 17 Please not that you should not enter the FQDN (Fully Qualified Domain 16 <quote>lfs</quote> needs to be replaced by the name the computer is to be 17 called. 18 A user should not enter the FQDN (Fully Qualified Domain 18 19 Name) here. That information will be put in the 19 20 <filename>/etc/hosts</filename> file later.
Note:
See TracChangeset
for help on using the changeset viewer.