doc/ru_RU.KOI8-R/articles/diskless-x/article.sgml
Denis Peplin db4400396e Change RU for articles.ent and books.ent back to EN for consistency
This modification was not really needed.

Noticed by:	hrs
Obtained from:	The FreeBSD Russian Documentation Project
2004-08-12 08:47:33 +00:00

382 lines
13 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
The FreeBSD Russian Documentation Project
$FreeBSD$
$FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/diskless-x/article.sgml,v 1.7 2004/08/12 08:30:15 den Exp $
Original revision: 1.16
-->
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
<!ENTITY % articles.ent PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
%articles.ent;
]>
<article lang="ru">
<articleinfo>
<title>âÅÚÄÉÓËÏ×ÙÊ X-ÓÅÒ×ÅÒ: ÒÕËÏ×ÏÄÓÔ×Ï ÐÏ ÎÁÓÔÒÏÊËÅ</title>
<authorgroup>
<author>
<firstname>Jerry</firstname>
<surname>Kendall</surname>
<affiliation>
<address>
<email>jerry@kcis.com</email>
</address>
</affiliation>
</author></authorgroup>
<pubdate>28 ÄÅËÁÂÒÑ 1996</pubdate>
<copyright>
<year>1996</year>
<holder>Jerry Kendall</holder>
</copyright>
<legalnotice id="trademarks" role="trademarks">
&tm-attrib.freebsd;
&tm-attrib.3com;
&tm-attrib.microsoft;
&tm-attrib.sun;
&tm-attrib.general;
</legalnotice>
<abstract>
<para>ó ÐÏÍÏÝØÀ ÎÅÓËÏÌØËÉÈ ÄÒÕÚÅÊ ÉÚ ÓÐÉÓËÁ ÒÁÓÓÙÌËÉ FreeBSD-hackers Ñ
ÓÍÏÇ ÎÁÓÔÒÏÉÔØ ÂÅÚÄÉÓËÏ×ÙÊ X-ÔÅÒÍÉÎÁÌ. óÏÚÄÁÎÉÅ X-ÔÅÒÍÉÎÁÌÁ,
×Ï-ÐÅÒ×ÙÈ, ÔÒÅÂÕÅÔ ÓÎÁÞÁÌÁ ÎÁÓÔÒÏÊËÉ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÙ Ó ÍÉÎÉÍÁÌØÎÙÍ
ÎÁÂÏÒÏÍ ÕÔÉÌÉÔ, ÄÏÓÔÕÐÎÙÈ ÞÅÒÅÚ NFS. ôÅ ÖÅ ÓÁÍÙÅ ÛÁÇÉ ÂÙÌÉ ÐÒÉÍÅÎÅÎÙ
ÄÌÑ ÓÏÚÄÁÎÉÑ Ä×ÕÈ ÒÁÚÎÙÈ ÂÅÚÄÉÓËÏ×ÙÈ ÓÉÓÔÅÍ. ðÅÒ×ÁÑ ÉÚ ÎÉÈ ÂÙÌÁ
<hostid role="fqdn">altair.example.com</hostid>. âÅÚÄÉÓËÏ×ÙÊ
X-ÔÅÒÍÉÎÁÌ, ËÏÔÏÒÙÊ ÒÁÂÏÔÁÌ ÎÁ ÍÏÅÊ ÓÔÁÒÏÊ ÍÁÛÉÎÅ 386DX-40. îÁ ÎÅÊ ÂÙÌ
ÄÉÓË ÏÂßÅÍÏÍ 340 ÍÅÇÁÂÁÊÔ, ÎÏ Ñ ÎÅ ÈÏÔÅÌ ÅÇÏ ÍÅÎÑÔØ. ôÁË ÞÔÏ ÍÁÛÉÎÁ
ÚÁÇÒÕÖÁÌÁÓØ Ó <hostid role="fqdn">antares.example.com</hostid> ÐÏ ÓÅÔÉ
Ethernet. ÷ÔÏÒÏÊ ÓÉÓÔÅÍÏÊ Ñ×ÌÑÅÔÓÑ 486DX2-66. ñ ÎÁÓÔÒÏÉÌ (ÐÏÌÎÏÓÔØÀ)
ÂÅÚÄÉÓËÏ×ÕÀ ÓÉÓÔÅÍÕ FreeBSD, ËÏÔÏÒÁÑ ÎÅ ÉÓÐÏÌØÚÕÅÔ ÌÏËÁÌØÎÙÊ ÄÉÓË.
óÅÒ×ÅÒÏÍ × ÜÔÏÍ ÓÌÕÞÁÅ ×ÙÓÔÕÐÁÅÔ Sun 670MP ÐÏÄ ÕÐÒÁ×ÌÅÎÉÅÍ &sunos;
4.1.3. ÷ ÏÂÏÉÈ ÓÌÕÞÁÑÈ ÔÒÅÂÏ×ÁÌÁÓØ ÏÄÎÁ É ÔÁ ÖÅ ÎÁÞÁÌØÎÁÑ
ÎÁÓÔÒÏÊËÁ.</para>
<para>ñ Õ×ÅÒÅÎ, ÞÔÏ Ë ÜÔÏÍÕ ÅÓÔØ ÞÔÏ ÄÏÂÁ×ÉÔØ. ðÏÖÁÌÕÊÓÔÁ, ÐÒÉÓÙÌÁÊÔÅ
ÍÎÅ ÌÀÂÙÅ ÚÁÍÅÞÁÎÉÑ.</para>
</abstract>
</articleinfo>
<sect1>
<title>óÏÚÄÁÎÉÅ ÚÁÇÒÕÚÏÞÎÏÊ ÄÉÓËÅÔÙ (ÎÁ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÅ)</title>
<para>ôÁË ËÁË ÓÅÔÅ×ÙÅ ÎÁÞÁÌØÎÙÅ ÚÁÇÒÕÚÞÉËÉ ÎÅ ÂÕÄÕÔ ÒÁÂÏÔÁÔØ Ó ÎÅËÏÔÏÒÙÍÉ
ÒÅÚÉÄÅÎÔÎÙÍÉ (TSR) É ÐÒÏÞÉÍÉ ÐÒÏÇÒÁÍÍÁÍÉ, ÉÓÐÏÌØÚÕÅÍÙÍÉ × &ms-dos;, ÔÏ
ÌÕÞÛÅ ÓÏÚÄÁÔØ ÏÔÄÅÌØÎÕÀ ÚÁÇÒÕÚÏÞÎÕÀ ÄÉÓËÅÔÕ, ÉÌÉ, ÅÓÌÉ ×Ù ÍÏÖÅÔÅ, ÓÏÚÄÁÔØ
ÍÅÎÀ &ms-dos;, ËÏÔÏÒÏÅ ÂÕÄÅÔ (ÐÒÉ ÐÏÍÏÝÉ ÆÁÊÌÏ×
<filename>config.sys</filename>/<filename>autoexec.bat</filename>)
ÓÐÒÁÛÉ×ÁÔØ, ËÁËÕÀ ËÏÎÆÉÇÕÒÁÃÉÀ ÓÌÅÄÕÅÔ ÚÁÇÒÕÚÉÔØ ÐÒÉ ÚÁÐÕÓËÅ ÓÉÓÔÅÍÙ.
ñ ÉÓÐÏÌØÚÏ×ÁÌ ÐÏÓÌÅÄÎÉÊ ÍÅÔÏÄ É ÏÎ ÐÒÅËÒÁÓÎÏ ÒÁÂÏÔÁÅÔ. íÏÅ ÍÅÎÀ &ms-dos;
(6.x) ÐÒÉ×ÏÄÉÔÓÑ ÎÉÖÅ.</para>
<example>
<title><filename>config.sys</filename></title>
<programlisting>[menu]
menuitem=normal, normal
menuitem=unix, unix
[normal]
....
normal config.sys stuff
...
[unix]</programlisting>
</example>
<example>
<title><filename>autoexec.bat</filename></title>
<programlisting>@ECHO OFF
goto %config%
:normal
...
normal autoexec.bat stuff
...
goto end
:unix
cd \netboot
nb8390.com
:end</programlisting>
</example>
</sect1>
<sect1>
<title>ðÏÌÕÞÅÎÉÅ ÐÒÏÇÒÁÍÍ ÄÌÑ ÓÅÔÅ×ÏÊ ÚÁÇÒÕÚËÉ (ÎÁ ÓÅÒ×ÅÒÅ)</title>
<para>ïÔËÏÍÐÉÌÉÒÕÊÔÅ ÐÒÏÇÒÁÍÍÙ <quote>net-boot</quote>, ÒÁÓÐÏÌÏÖÅÎÎÙÅ ×
ËÁÔÁÌÏÇÅ <filename>/usr/src/sys/i386/boot/netboot</filename>. ÷Ù ÄÏÌÖÎÙ
ÐÒÏÞÅÓÔØ ÚÁÍÅÞÁÎÉÑ × ÎÁÞÁÌÅ ÆÁÊÌÁ <filename>Makefile</filename>.
éÚÍÅÎÉÔÅ ÎÁÓÔÒÏÊËÉ, ËÁË ÜÔÏ ÎÕÖÎÏ. óÄÅÌÁÊÔÅ ÒÅÚÅÒ×ÎÕÀ ËÏÐÉÀ ÏÒÉÇÉÎÁÌÁ
ÎÁ ÔÏÔ ÓÌÕÞÁÊ, ÅÓÌÉ ÞÔÏ-ÔÏ ÐÏÊÄ£Ô ÎÅ ÔÁË, ËÁË ÏÖÉÄÁÌÏÓØ. ëÏÇÄÁ
ÐÏÓÔÒÏÅÎÉÅ ÂÕÄÅÔ ÚÁËÏÎÞÅÎÏ, ÄÏÌÖÎÏ ÐÏÌÕÞÉÔØÓÑ 2
×ÙÐÏÌÎÉÍÙÈ ÆÁÊÌÁ ÄÌÑ &ms-dos;, <filename>nb8390.com</filename> É
<filename>nb3c509.com</filename>. ïÄÎÁ ÉÚ ÜÔÉÈ ÐÒÏÇÒÁÍÍ É ÂÕÄÅÔ ÔÅÍ, ÞÔÏ
×ÁÍ ÎÕÖÎÏ ÚÁÐÕÓÔÉÔØ ÎÁ ÂÅÚÄÉÓËÏ×ÏÍ ÓÅÒ×ÅÒÅ. ïÎÁ ÂÕÄÅÔ ÚÁÇÒÕÖÁÔØ ÑÄÒÏ
Ó ÓÅÒ×ÅÒÁ. îÁ ÜÔÏÍ ÜÔÁÐÅ ÐÏÍÅÓÔÉÔÅ ÏÂÅ ÐÒÏÇÒÁÍÍÙ ÎÁ ÚÁÇÒÕÚÏÞÎÕÀ ÄÉÓËÅÔÕ
&ms-dos;, ÓÏÚÄÁÎÎÕÀ ÒÁÎÅÅ.</para>
</sect1>
<sect1>
<title>ïÐÒÅÄÅÌÉÔÅ, ËÁËÕÀ ÐÒÏÇÒÁÍÍÕ ÎÕÖÎÏ ÚÁÐÕÓËÁÔØ (ÎÁ ÂÅÚÄÉÓËÏ×ÏÊ
ÓÉÓÔÅÍÅ)</title>
<para>åÓÌÉ ×Ù ÚÎÁÅÔÅ, ËÁËÏÊ ÎÁÂÏÒ ÍÉËÒÏÓÈÅÍ ÉÓÐÏÌØÚÕÅÔÓÑ × ×ÁÛÅÍ ÁÄÁÐÔÅÒÅ
Ethernet, ÜÔÏ ÌÅÇËÏ. åÓÌÉ Õ ×ÁÓ ÉÓÐÏÌØÚÕÅÔÓÑ ÎÁÂÏÒ ÍÉËÒÏÓÈÅÍ NS8390 ÉÌÉ
ÄÒÕÇÏÊ ÎÁ ÅÅ ÏÓÎÏ×Å, ÔÏ ÎÕÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ
<filename>nb8390.com</filename>. åÓÌÉ Õ ×ÁÓ ÉÓÐÏÌØÚÕÅÔÓÑ ÎÁÂÏÒ ÍÉËÒÏÓÈÅÍ
ÎÁ ÏÓÎÏ×Å &tm.3com; 509, ÔÏ ÉÓÐÏÌØÚÕÊÔÅ ÐÒÏÇÒÁÍÍÕ ÚÁÇÒÕÚËÉ
<filename>nb3C509.com</filename>. åÓÌÉ ×Ù ÎÅ Õ×ÅÒÅÎÙ × ÔÏÍ, ÞÔÏ Õ ×ÁÓ
ÕÓÔÁÎÏ×ÌÅÎÏ, ÐÏÐÒÏÂÕÊÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÌÀÂÏÊ, É ÅÓÌÉ ÏÎ ×ÙÄÁÓÔ ÓÏÏÂÝÅÎÉÅ
<errorname>No adapter found</errorname>, ÐÏÐÒÏÂÕÊÔÅ ÄÒÕÇÏÊ. ëÒÏÍÅ ÜÔÏÇÏ,
×ÁÍ ÎÉÞÅÇÏ ÎÅ ÏÓÔÁÅÔÓÑ ÄÅÌÁÔØ.</para>
</sect1>
<sect1>
<title>úÁÇÒÕÚËÁ ÐÏ ÓÅÔÉ</title>
<para>úÁÇÒÕÚÉÔÅ ÂÅÚÄÉÓËÏ×ÕÀ ÓÉÓÔÅÍÕ ÂÅÚ ËÁËÉÈ-ÌÉÂÏ ÆÁÊÌÏ×
config.sys/autoexec.bat. ðÏÐÒÏÂÕÊÔÅ ÚÁÐÕÓÔÉÔØ ÚÁÇÒÕÚÏÞÎÕÀ ÐÒÏÇÒÁÍÍÕ ÄÌÑ
×ÁÛÅÇÏ ÁÄÁÐÔÅÒÁ Ethernet.</para>
<para>íÏÊ ÁÄÁÐÔÅÒ Ethernet ÒÁÂÏÔÁÅÔ ÎÁ ÎÁÂÏÒÅ WD8013 × 16-ÒÁÚÒÑÄÎÏÍ ÒÅÖÉÍÅ,
ÔÁË ÞÔÏ Ñ ÚÁÐÕÓËÁÀ <filename>nb8390.com</filename></para>
<screen><prompt>C:&gt;</prompt> <userinput>cd \netboot</userinput>
<prompt>C:&gt;</prompt> <userinput>nb8390</userinput>
<prompt>Boot from Network (Y/N) ?</prompt> <userinput>Y</userinput>
BOOTP/TFTP/NFS bootstrap loader ESC for menu
Searching for adapter..
WD8013EBT base 0x0300, memory 0x000D8000, addr 00:40:01:43:26:66
Searching for server...</screen>
<para>ôÅÐÅÒØ ÍÏÑ ÂÅÚÄÉÓËÏ×ÁÑ ÓÉÓÔÅÍÁ ÐÙÔÁÅÔÓÑ ÎÁÊÔÉ ÍÁÛÉÎÕ, ËÏÔÏÒÁÑ
×ÙÓÔÕÐÁÅÔ × ËÁÞÅÓÔ×Å ÓÅÒ×ÅÒÁ ÚÁÇÒÕÚËÉ. úÁÐÏÍÎÉÔÅ ÓÔÒÏËÕ
<literal>addr</literal> ×ÙÛÅ, ÐÏÚÖÅ ÏÎÁ ×ÁÍ ÐÏÎÁÄÏÂÉÔÓÑ. ðÅÒÅÚÁÇÒÕÚÉÔÅ
ÂÅÚÄÉÓËÏ×ÕÀ ÓÉÓÔÅÍÕ É ÉÚÍÅÎÉÔÅ ×ÁÛÉ ÆÁÊÌÙ <filename>config.sys</filename>
É <filename>autoexec.bat</filename>, ÞÔÏÂÙ ÏÎÉ ×ÙÐÏÌÎÑÌÉ ÜÔÉ ÄÅÊÓÔ×ÉÑ
Á×ÔÏÍÁÔÉÞÅÓËÉ. íÏÖÅÔ ÂÙÔØ, × ÍÅÎÀ. åÓÌÉ ×Ù ÚÁÐÕÓËÁÌÉ
<command>nb3c509.com</command>, Á ÎÅ <command>nb8390.com</command>, ÔÏ
×Ù×ÏÄÉÍÙÅ ÓÏÏÂÝÅÎÉÑ ÂÕÄÕÔ ÔÏÞÎÏ ÔÁËÉÍÉ ÖÅ. åÓÌÉ ×Ù ÐÏÌÕÞÉÌÉ ÓÏÏÂÝÅÎÉÅ
<errorname>No adapter found</errorname> ÐÏÓÌÅ <literal>Searching for
adapter...</literal>, ÐÒÏ×ÅÒØÔÅ ÐÒÁ×ÉÌØÎÏÓÔØ ÚÁÄÁÎÉÑ ÐÁÒÁÍÅÔÒÏ× ×ÒÅÍÅÎÉ
ËÏÍÐÉÌÑÃÉÉ × ÆÁÊÌÅ <filename>Makefile</filename>.</para>
</sect1>
<sect1>
<title>îÁÓÔÒÏÊËÁ ×ÏÚÍÏÖÎÏÓÔÉ ÓÉÓÔÅÍÁÍ ÚÁÇÒÕÖÁÔØÓÑ ÐÏ ÓÅÔÉ (ÎÁ
ÓÅÒ×ÅÒÅ)</title>
<para>ðÒÏ×ÅÒØÔÅ, ÞÔÏ × ÆÁÊÌÅ <filename>/etc/inetd.conf</filename> ÉÍÅÀÔÓÑ
ÚÁÐÉÓÉ ÄÌÑ tftp É bootps. îÉÖÅ ÐÏËÁÚÁÎÙ ÍÏÉ ÚÁÐÉÓÉ:</para>
<programlisting>
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot
#
# Additions by who ever you are
bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab
</programlisting>
<para>åÓÌÉ ×Ù ÉÚÍÅÎÉÌÉ ÆÁÊÌ <filename>/etc/inetd.conf</filename>, ÔÏ
ÐÏÛÌÉÔÅ ÐÒÏÇÒÁÍÍÅ &man.inetd.8; ÓÉÇÎÁÌ <literal>HUP</literal>. äÌÑ ÜÔÏÇÏ
ÎÁÊÄÉÔÅ ID ÐÒÏÃÅÓÓÁ <command>inetd</command> ËÏÍÁÎÄÏÊ <command>ps
-ax | grep inetd | grep -v grep</command>. ðÏÓÌÅ ÜÔÏÇÏ ÐÏÛÌÉÔÅ ÅÍÕ
ÓÉÇÎÁÌ <literal>HUP</literal>. üÔÏ ÄÅÌÁÅÔÓÑ ËÏÍÁÎÄÏÊ <command>kill
-HUP &lt;pid&gt;</command>. üÔÏ ÚÁÓÔÁ×ÉÔ <command>inetd</command>
ÐÏ×ÔÏÒÎÏ ÐÒÏÞÅÓÔØ Ó×ÏÊ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÊ ÆÁÊÌ.</para>
<para>îÅ ÚÁÂÙÌÉ ÌÉ ×Ù ÓÔÒÏËÕ Ó <literal>addr</literal> ÉÚ ×Ù×ÏÄÁ ÎÁÞÁÌØÎÏÇÏ
ÚÁÇÒÕÚÞÉËÁ ÎÁ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÅ? ëÁË ×Ù ÍÏÖÅÔÅ ÕÇÁÄÁÔØ, ÔÅÐÅÒØ ÏÎ ×ÁÍ
ÔÒÅÂÕÅÔÓÑ.</para>
<para>äÏÂÁ×ØÔÅ ÚÁÐÉÓØ × ÆÁÊÌ <filename>/etc/bootptab</filename> (ÍÏÖÅÔ
ÂÙÔØ, ×ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ ÅÇÏ ÓÏÚÄÁÔØ). ïÎÁ ÄÏÌÖÎÁ ÉÍÅÔØ ÓÌÅÄÕÀÝÉÊ
×ÉÄ:</para>
<programlisting>altair:\
:ht=ether:\
:ha=004001432666:\
:sm=255.255.255.0:\
:hn:\
:ds=199.246.76.1:\
:ip=199.246.76.2:\
:gw=199.246.76.1:\
:vm=rfc1048:</programlisting>
<para>óÔÒÏËÉ ÉÍÅÀÔ ÔÁËÏÊ ÓÍÙÓÌ:</para>
<informaltable frame="none">
<tgroup cols="2">
<tbody>
<row>
<entry><literal>altair</literal></entry>
<entry>ÎÁÚ×ÁÎÉÅ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÙ ÂÅÚ ÄÏÍÅÎÎÏÊ ÞÁÓÔÉ.</entry>
</row>
<row>
<entry><literal>ht=ether</literal></entry>
<entry>ÔÉÐ ÏÂÏÒÕÄÏ×ÁÎÉÑ <quote>ethernet</quote>.</entry>
</row>
<row>
<entry><literal>ha=004001432666</literal></entry>
<entry>ÁÐÐÁÒÁÔÎÙÊ ÁÄÒÅÓ (ÞÉÓÌÏ, ÚÁÐÉÓÁÎÎÏÅ ÒÁÎÅÅ).</entry>
</row>
<row>
<entry><literal>sm=255.255.255.0</literal></entry>
<entry>ÍÁÓËÁ ÐÏÄÓÅÔÉ.</entry>
</row>
<row>
<entry><literal>hn</literal></entry>
<entry>ÕËÁÚÙ×ÁÅÔ ÓÅÒ×ÅÒÕ ÐÏÓÙÌÁÔØ ËÌÉÅÎÔÕ ÅÇÏ ÉÍÑ ÈÏÓÔÁ.</entry>
</row>
<row>
<entry><literal>ds=199.246.76.1</literal></entry>
<entry>ÕËÁÚÙ×ÁÅÔ ËÌÉÅÎÔÕ ÒÁÓÐÏÌÏÖÅÎÉÅ ÓÅÒ×ÅÒÁ ÉÍÅÎ.</entry>
</row>
<row>
<entry><literal>ip=199.246.76.2</literal></entry>
<entry>ÕËÁÚÙ×ÁÅÔ ËÌÉÅÎÔÕ ÅÇÏ IP-ÁÄÒÅÓ.</entry>
</row>
<row>
<entry><literal>gw=199.246.76.1</literal></entry>
<entry>ÕËÁÚÙ×ÁÅÔ ËÌÉÅÎÔÕ ÍÁÒÛÒÕÔÉÚÁÔÏÒ ÐÏ ÕÍÏÌÞÁÎÉÀ.</entry>
</row>
<row>
<entry><literal>vm=...</literal></entry>
<entry>ÐÒÏÓÔÏ ÏÓÔÁ×ØÔÅ ÜÔÏ ÔÁË.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<note>
<para>ðÒÏ×ÅÒØÔÅ ÐÒÁ×ÉÌØÎÏÓÔØ ÎÁÓÔÒÏÊËÉ IP-ÁÄÒÅÓÏ×, ÁÄÒÅÓÁ ×ÙÛÅ Ñ×ÌÑÀÔÓÑ
ÍÏÉÍÉ.</para>
</note>
<para>óÏÚÄÁÊÔÅ ËÁÔÁÌÏÇ <filename>/tftpboot</filename>, × ËÏÔÏÒÏÍ ÂÕÄÕÔ
ÒÁÓÐÏÌÁÇÁÔØÓÑ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÅ ÆÁÊÌÙ ÄÌÑ ÂÅÚÄÉÓËÏ×ÙÈ ÓÉÓÔÅÍ, ËÏÔÏÒÙÅ
ÂÕÄÅÔ ÏÂÓÌÕÖÉ×ÁÔØ ÓÅÒ×ÅÒ. üÔÉ ÆÁÊÌÙ ÂÕÄÕÔ ÉÍÅÎÏ×ÁÔØÓÑ
<filename>cfg.<replaceable>ip</replaceable></filename>, ÇÄÅ
<replaceable>ip</replaceable> Ñ×ÌÑÅÔÓÑ IP-ÁÄÒÅÓÏÍ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÙ.
ëÏÎÆÉÇÕÒÁÃÉÏÎÎÙÊ ÆÁÊÌ ÄÌÑ <hostid>altair</hostid> ÂÕÄÅÔ ÎÏÓÉÔØ ÎÁÚ×ÁÎÉÅ
<filename>/tftpboot/cfg.199.246.76.2</filename>. åÇÏ ÓÏÄÅÒÖÉÍÏÅ:</para>
<programlisting>rootfs 199.246.76.1:/DiskLess/rootfs/altair
hostname altair.example.com</programlisting>
<para>óÔÒÏËÁ <literal>hostname altair.example.com</literal> ÐÒÏÓÔÏ
ÕËÁÚÙ×ÁÅÔ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍŠţ ÐÏÌÎÏÅ ÄÏÍÅÎÎÏÅ ÉÍÑ.</para>
<para>óÔÒÏËÁ <literal>rootfs 199.246.76.1:/DiskLess/rootfs/altair</literal>
ÕËÁÚÙ×ÁÅÔ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÅ ÍÅÓÔÏÐÏÌÏÖÅÎÉÅ ÅÅ ËÏÒÎÅ×ÏÊ ÆÁÊÌÏ×ÏÊ
ÓÉÓÔÅÍÙ, ÍÏÎÔÉÒÕÅÍÏÊ ÐÏ ÐÒÏÔÏËÏÌÕ NFS.</para>
<note>
<para>ëÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ ÓÉÓÔÅÍÁ, ÍÏÎÔÉÒÕÅÍÁÑ ÞÅÒÅÚ NFS, ÂÕÄÅÔ
ÍÏÎÔÉÒÏ×ÁÔØÓÑ × ÒÅÖÉÍÅ <emphasis>ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ</emphasis>.</para>
</note>
<para>äÅÒÅ×Ï ÄÌÑ ÂÅÚÄÉÓËÏ×ÏÊ ÓÉÓÔÅÍÙ ÍÏÖÅÔ ÂÙÔØ ÓÍÏÎÔÉÒÏ×ÁÎÏ ÐÏ×ÔÏÒÎÏ Ó
ÐÒÁ×ÏÍ ÎÁ ×ÙÐÏÌÎÅÎÉÅ ÏÐÅÒÁÃÉÊ ÞÔÅÎÉÑ É ÚÁÐÉÓÉ, ÅÓÌÉ ÜÔÏ
ÐÏÔÒÅÂÕÅÔÓÑ.</para>
<para>ñ ÉÓÐÏÌØÚÕÀ Ó×ÏÊ ÎÉËÏÍÕ ÎÅ ÎÕÖÎÙÊ 386DX-40 × ËÁÞÅÓÔ×Å ×ÙÄÅÌÅÎÎÏÇÏ
X-ÔÅÒÍÉÎÁÌÁ.</para>
<para>äÅÒÅ×Ï ÄÌÑ <hostid>altair</hostid> ÉÍÅÅÔ ÔÁËÏÊ ×ÉÄ:</para>
<literallayout>/
/bin
/etc
/tmp
/sbin
/dev
/dev/fd
/usr
/var
/var/run</literallayout>
<para>÷ÏÔ ÒÅÁÌØÎÙÊ ÓÐÉÓÏË ÆÁÊÌÏ×:</para>
<screen>
-r-xr-xr-x 1 root wheel 779984 Dec 11 23:44 ./kernel
-r-xr-xr-x 1 root bin 299008 Dec 12 00:22 ./bin/sh
-rw-r--r-- 1 root wheel 499 Dec 15 15:54 ./etc/rc
-rw-r--r-- 1 root wheel 1411 Dec 11 23:19 ./etc/ttys
-rw-r--r-- 1 root wheel 157 Dec 15 15:42 ./etc/hosts
-rw-r--r-- 1 root bin 1569 Dec 15 15:26 ./etc/XF86Config.altair
-r-x------ 1 bin bin 151552 Jun 10 1995 ./sbin/init
-r-xr-xr-x 1 bin bin 176128 Jun 10 1995 ./sbin/ifconfig
-r-xr-xr-x 1 bin bin 110592 Jun 10 1995 ./sbin/mount_nfs
-r-xr-xr-x 1 bin bin 135168 Jun 10 1995 ./sbin/reboot
-r-xr-xr-x 1 root bin 73728 Dec 13 22:38 ./sbin/mount
-r-xr-xr-x 1 root wheel 1992 Jun 10 1995 ./dev/MAKEDEV.local
-r-xr-xr-x 1 root wheel 24419 Jun 10 1995 ./dev/MAKEDEV
</screen>
<para>åÓÌÉ ×Ù ÎÅ ÉÓÐÏÌØÚÕÅÔÅ &man.devfs.5; (ËÏÔÏÒÁÑ ×Ï FreeBSD&nbsp;5.X
ÐÏ ÕÍÏÌÞÁÎÉÀ ÁËÔÉ×ÉÒÏ×ÁÎÁ), ÔÏ ÄÏÌÖÎÙ ÕÂÅÄÉÔØÓÑ, ÞÔÏ ÚÁÐÕÓËÁÌÉ ËÏÍÁÎÄÕ
<command>MAKEDEV all</command> × ËÁÔÁÌÏÇÅ
<filename>dev</filename>.</para>
<para>íÏÊ <filename>/etc/rc</filename> ÄÌÑ <hostid>altair</hostid> ×ÙÇÌÑÄÉÔ
×ÏÔ ÔÁË:</para>
<programlisting>#!/bin/sh
#
PATH=/bin:/
export PATH
#
# configure the localhost
/sbin/ifconfig lo0 127.0.0.1
#
# configure the ethernet card
/sbin/ifconfig ed0 199.246.76.2 netmask 0xffffff00
#
# mount the root filesystem via NFS
/sbin/mount antares:/DiskLess/rootfs/altair /
#
# mount the /usr filesystem via NFS
/sbin/mount antares:/DiskLess/usr /usr
#
/usr/X11R6/bin/XF86_SVGA -query antares -xf86config /etc/XF86Config.altair > /dev/null 2>&1
#
# Reboot after X exits
/sbin/reboot
#
# We blew up....
exit 1</programlisting>
<para>ðÒÉ×ÅÔÓÔ×ÕÀÔÓÑ ÌÀÂÙÅ ÚÁÍÅÞÁÎÉÑ É ×ÏÐÒÏÓÙ.</para>
</sect1>
</article>
<!--
Local Variables:
mode: sgml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->