* Remove some "remap=tt" from <emphasis>. In some cases, replace <emphasis>
with something more appropriate, like <command> * Fix up <address>. White space within <address> *is* significant, so the translation teams will have to duplicate this change. * Remove some <para> and </para> tags that erroneously broke up some paragraphs into two or more paragraphs. * Correct some <literallayout>s to <programlisting> * Remove some <para>...</para>s that were wrapping elements that don't need them (like <itemizedlist>). * Convert examples to use <screen> and <userinput>. Whitespace is significant, translators should be able to cut-n-paste the changes. Haven't done the whole file yet, since I ran out of time. More to follow.
This commit is contained in:
parent
7056d587a8
commit
b25a76ebcc
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7247
2 changed files with 662 additions and 360 deletions
|
@ -13,7 +13,7 @@
|
||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.54 2000/05/07 16:48:51 joe Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.55 2000/05/23 00:44:07 nik Exp $</pubdate>
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries
|
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
is being used in two ways here, one meaning ``at no cost'',
|
is being used in two ways here, one meaning ``at no cost'',
|
||||||
the other meaning ``you can do whatever you like''. Apart
|
the other meaning ``you can do whatever you like''. Apart
|
||||||
from one or two things you
|
from one or two things you
|
||||||
<emphasis remap=tt>cannot</emphasis> do with the FreeBSD code,
|
<emphasis>cannot</emphasis> do with the FreeBSD code,
|
||||||
for example pretending you wrote it, you really can do
|
for example pretending you wrote it, you really can do
|
||||||
whatever you like with it.</para>
|
whatever you like with it.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -437,46 +437,42 @@
|
||||||
<para>FreeBSD is also available via CDROM, from the following
|
<para>FreeBSD is also available via CDROM, from the following
|
||||||
place(s):</para>
|
place(s):</para>
|
||||||
|
|
||||||
<address>
|
<address>Walnut Creek CDROM
|
||||||
<otheraddr>Walnut Creek CDROM</otheraddr>
|
<street>4041 Pike Lane, Suite F</street>
|
||||||
<street>4041 Pike Lane, Suite F</street>
|
<city>Concord</city>, <state>CA</state>
|
||||||
<city>Concord</city>, <state>CA</state> <postcode>94520</postcode>
|
<postcode>94520</postcode>
|
||||||
<country>USA</country>
|
<country>USA</country>
|
||||||
|
|
||||||
<phone>Orders: +1 800 786-9907</phone>
|
<phone>Orders: +1 800 786-9907</phone>
|
||||||
<phone>Questions: +1 925 674-0783</phone>
|
<phone>Questions: +1 925 674-0783</phone>
|
||||||
<fax>FAX: +1 925 674-0821</fax>
|
<fax>FAX: +1 925 674-0821</fax>
|
||||||
<otheraddr>email: <ulink URL="mailto:orders@cdrom.com">WC Orders address</ulink></otheraddr>
|
<otheraddr>email: <ulink URL="mailto:orders@cdrom.com">WC Orders address</ulink></otheraddr>
|
||||||
<otheraddr>WWW: <ulink URL="http://www.cdrom.com/">WC Home page</ulink></otheraddr>
|
<otheraddr>WWW: <ulink URL="http://www.cdrom.com/">WC Home page</ulink></otheraddr></address>
|
||||||
</address>
|
|
||||||
|
|
||||||
<para>In Australia, you may find it at:</para>
|
<para>In Australia, you may find it at:</para>
|
||||||
|
|
||||||
<address>
|
<address>Advanced Multimedia Distributors
|
||||||
<otheraddr>Advanced Multimedia Distributors</otheraddr>
|
<street>Factory 1/1 Ovata Drive</street>
|
||||||
<street>Factory 1/1 Ovata Drive</street>
|
<city>Tullamarine, Melbourne</city>
|
||||||
<city>Tullamarine, Melbourne</city>
|
<state>Victoria</state>
|
||||||
<state>Victoria</state>
|
<country>Australia</country>
|
||||||
<country>Australia</country>
|
<phone>Voice: +61 3 9338 6777</phone>
|
||||||
<phone>Voice: +61 3 9338 6777</phone>
|
|
||||||
|
|
||||||
<otheraddr>CDROM Support BBS</otheraddr>
|
<otheraddr>CDROM Support BBS</otheraddr>
|
||||||
<street>17 Irvine St</street>
|
<street>17 Irvine St</street>
|
||||||
<city>Peppermint Grove</city>, <state>WA</state> <postcode>6011</postcode>
|
<city>Peppermint Grove</city>, <state>WA</state>
|
||||||
<phone>Voice: +61 9 385-3793</phone>
|
<postcode>6011</postcode>
|
||||||
<fax>Fax: +61 9 385-2360</fax>
|
<phone>Voice: +61 9 385-3793</phone>
|
||||||
</address>
|
<fax>Fax: +61 9 385-2360</fax></address>
|
||||||
|
|
||||||
<para>And in the UK:</para>
|
<para>And in the UK:</para>
|
||||||
|
|
||||||
<address>
|
<address>The Public Domain & Shareware Library
|
||||||
<otheraddr>The Public Domain & Shareware Library</otheraddr>
|
<street>Winscombe House, Beacon Rd</street>
|
||||||
<street>Winscombe House, Beacon Rd</street>
|
<city>Crowborough</city>
|
||||||
<city>Crowborough</city>
|
<state>Sussex. TN6 1UL</state>
|
||||||
<state>Sussex. TN6 1UL</state>
|
<phone>Voice: +44 1892 663-298</phone>
|
||||||
<phone>Voice: +44 1892 663-298</phone>
|
<fax>Fax: +44 1892 667-473</fax></address>
|
||||||
<fax>Fax: +44 1892 667-473</fax>
|
|
||||||
</address>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -645,9 +641,9 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>A description of these can be found via WWW as:</para>
|
<para>A description of these can be found via WWW as:
|
||||||
|
|
||||||
<para><ulink
|
<ulink
|
||||||
URL="http://gnn.com/gnn/bus/ora/category/bsd.html">4.4BSD
|
URL="http://gnn.com/gnn/bus/ora/category/bsd.html">4.4BSD
|
||||||
books description</ulink>. Due to poor sales, however, these
|
books description</ulink>. Due to poor sales, however, these
|
||||||
manuals may be hard to get a hold of.</para>
|
manuals may be hard to get a hold of.</para>
|
||||||
|
@ -1014,17 +1010,17 @@ File: +DESC (ignored)</screen>
|
||||||
<para>Certainly! There are multiple ways to mirror the Web
|
<para>Certainly! There are multiple ways to mirror the Web
|
||||||
pages.</para>
|
pages.</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Using CVSUP: You can retrieve the formatted files
|
<para>Using CVSUP: You can retrieve the formatted files
|
||||||
using CVSUP from cvsup.FreeBSD.org. Add this line to
|
using CVSUP from cvsup.FreeBSD.org. Add this line to
|
||||||
your cvsup file:
|
your cvsup file:</para>
|
||||||
|
|
||||||
<literallayout>
|
<programlisting>
|
||||||
www release=current hostname=/home base=/usr/local/etc/cvsup
|
www release=current hostname=/home base=/usr/local/etc/cvsup
|
||||||
prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallayout></para>
|
prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1040,7 +1036,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
publishing them. Simply start at
|
publishing them. Simply start at
|
||||||
ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/www.</para>
|
ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/www.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -1066,7 +1062,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
<para>The following newsgroups contain pertinent discussion for
|
<para>The following newsgroups contain pertinent discussion for
|
||||||
FreeBSD users:</para>
|
FreeBSD users:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1084,11 +1080,11 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
<para><ulink
|
<para><ulink
|
||||||
URL="news:comp.unix.bsd.misc">comp.unix.bsd.misc</ulink></para>
|
URL="news:comp.unix.bsd.misc">comp.unix.bsd.misc</ulink></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>Web resources:</para>
|
<para>Web resources:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1116,7 +1112,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
URL="http://people.FreeBSD.org/~ahasty/Bt848.html">Bt848</ulink>
|
URL="http://people.FreeBSD.org/~ahasty/Bt848.html">Bt848</ulink>
|
||||||
video capture chip, then follow that link.</para>
|
video capture chip, then follow that link.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>The FreeBSD handbook also has a fairly complete <ulink
|
<para>The FreeBSD handbook also has a fairly complete <ulink
|
||||||
URL="../handbook/bibliography.html">bibliography</ulink>
|
URL="../handbook/bibliography.html">bibliography</ulink>
|
||||||
|
@ -1149,7 +1145,7 @@ copied onto floppies by tools like <command>fdimage</command> or
|
||||||
filesystem install, for instance), below are some recommendations
|
filesystem install, for instance), below are some recommendations
|
||||||
for distributions to grab:</para>
|
for distributions to grab:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1173,7 +1169,7 @@ for distributions to grab:</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Full instructions on this procedure and a little bit more about
|
<para>Full instructions on this procedure and a little bit more about
|
||||||
installation issues in general can be found in the <ulink URL="../handbook/install.html">Handbook entry on installing FreeBSD.</ulink></para>
|
installation issues in general can be found in the <ulink URL="../handbook/install.html">Handbook entry on installing FreeBSD.</ulink></para>
|
||||||
|
@ -1187,42 +1183,42 @@ installation issues in general can be found in the <ulink URL="../handbook/insta
|
||||||
<para>A 3.5 inch (1.44MB) floppy can accomodate 1474560 bytes of data.
|
<para>A 3.5 inch (1.44MB) floppy can accomodate 1474560 bytes of data.
|
||||||
The boot image is exactly 1474560 bytes in size.</para>
|
The boot image is exactly 1474560 bytes in size.</para>
|
||||||
|
|
||||||
<para>Common mistakes when preparing the boot floppy are:
|
<para>Common mistakes when preparing the boot floppy are:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Not downloading the floppy image in <emphasis remap=tt>binary</emphasis> mode when
|
<para>Not downloading the floppy image in <emphasis>binary</emphasis> mode when
|
||||||
using <acronym>FTP</acronym>.
|
using <acronym>FTP</acronym>.</para>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Some FTP clients default their transfer mode to <emphasis remap=tt>ascii</emphasis>
|
|
||||||
|
<para>Some FTP clients default their transfer mode to <emphasis>ascii</emphasis>
|
||||||
and attempt to change any end-of-line characters received to match
|
and attempt to change any end-of-line characters received to match
|
||||||
the conventions used by the client's system.
|
the conventions used by the client's system.
|
||||||
This will almost invariably corrupt the boot image. Check the
|
This will almost invariably corrupt the boot image. Check the
|
||||||
size of the downloaded boot image: if it is not <emphasis>exactly</emphasis>
|
size of the downloaded boot image: if it is not <emphasis>exactly</emphasis>
|
||||||
that on the server, then the download process is suspect.</para>
|
that on the server, then the download process is suspect.</para>
|
||||||
|
|
||||||
<para>To workaround: type <emphasis remap=tt>binary</emphasis> at the FTP command prompt
|
<para>To workaround: type <emphasis>binary</emphasis> at the FTP command prompt
|
||||||
after getting connected to the server and before starting the
|
after getting connected to the server and before starting the
|
||||||
download of the image.</para>
|
download of the image.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Using the DOS <emphasis remap=tt>copy</emphasis> command (or equivalent GUI tool) to
|
<para>Using the DOS <command>copy</command> command (or equivalent GUI tool) to
|
||||||
transfer the boot image to floppy.
|
transfer the boot image to floppy.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>Programs like <emphasis remap=tt>copy</emphasis> will not work as the boot
|
<para>Programs like <command>copy</command> will not work as the boot
|
||||||
image has been created to be booted into directly. The image has
|
image has been created to be booted into directly. The image has
|
||||||
the complete content of the floppy, track for track, and is not
|
the complete content of the floppy, track for track, and is not
|
||||||
meant to be placed on the floppy as a regular file.
|
meant to be placed on the floppy as a regular file.
|
||||||
You have to transfer it to the floppy ``raw'', using the
|
You have to transfer it to the floppy ``raw'', using the
|
||||||
low-level tools (e.g. <emphasis remap=tt>fdimage</emphasis> or <emphasis remap=tt>rawrite</emphasis>)
|
low-level tools (e.g. <command>fdimage</command> or <command>rawrite</command>)
|
||||||
described in the <ulink URL="../handbook/install.html">installation guide to FreeBSD</ulink>.</para>
|
described in the <ulink URL="../handbook/install.html">installation guide to FreeBSD</ulink>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1252,7 +1248,7 @@ graphics card but to run X11R6, a VGA or better video card is needed.</para>
|
||||||
on a 4MB system. Newer versions of FreeBSD, like 2.2, need at least 5MB
|
on a 4MB system. Newer versions of FreeBSD, like 2.2, need at least 5MB
|
||||||
to install on a new system.</para>
|
to install on a new system.</para>
|
||||||
|
|
||||||
<para>All versions of FreeBSD, including 3.0, will RUN in 4MB of ram, they
|
<para>All versions of FreeBSD, including 3.0, will <emphasis>run</emphasis> in 4MB of RAM, they
|
||||||
just can't run the installation program in 4MB. You can add
|
just can't run the installation program in 4MB. You can add
|
||||||
extra memory for the install process, if you like, and then
|
extra memory for the install process, if you like, and then
|
||||||
after the system is up and running, go back to 4MB. Or you could
|
after the system is up and running, go back to 4MB. Or you could
|
||||||
|
@ -1285,10 +1281,10 @@ system was almost unusable though :-))</para>
|
||||||
<para> How can I make my own custom install floppy?
|
<para> How can I make my own custom install floppy?
|
||||||
</para></question><answer>
|
</para></question><answer>
|
||||||
|
|
||||||
<para>Currently there's no way to *just* make a custom install floppy.
|
<para>Currently there's no way to <emphasis>just</emphasis> make a custom install floppy.
|
||||||
You have to cut a whole new release, which will include your install
|
You have to cut a whole new release, which will include your install
|
||||||
floppy. There's some code in <filename>/usr/src/release/floppies/Makefile</filename>
|
floppy. There's some code in <filename>/usr/src/release/floppies/Makefile</filename>
|
||||||
that's supposed to let you *just* make those floppies, but it's not
|
that's supposed to let you <emphasis>just</emphasis> make those floppies, but it's not
|
||||||
really gelled yet.</para>
|
really gelled yet.</para>
|
||||||
|
|
||||||
<para>To make a custom release, follow the instructions <link linkend="custrel">here</link>.</para>
|
<para>To make a custom release, follow the instructions <link linkend="custrel">here</link>.</para>
|
||||||
|
@ -1320,7 +1316,7 @@ the next section.</para>
|
||||||
<para>You can reinstall the boot manager FreeBSD comes with in one of
|
<para>You can reinstall the boot manager FreeBSD comes with in one of
|
||||||
two ways:</para>
|
two ways:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1329,7 +1325,7 @@ distribution and look for <filename>bootinst.exe</filename>. You run it like so
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para><emphasis remap=bf>bootinst.exe boot.bin</emphasis></para>
|
<screen><prompt>...\TOOLS></prompt> <userinput>bootinst.exe boot.bin</userinput></screen>
|
||||||
|
|
||||||
<para></para>
|
<para></para>
|
||||||
|
|
||||||
|
@ -1351,7 +1347,7 @@ installation menu and reboot off the hard disk as normal.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1376,7 +1372,7 @@ you'd do well to try it first before simply giving up.</para>
|
||||||
spontaneously rebooting when you try to boot the install floppy,
|
spontaneously rebooting when you try to boot the install floppy,
|
||||||
here are three questions to ask yourself:-</para>
|
here are three questions to ask yourself:-</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1404,7 +1400,7 @@ shell in the GUI can cause this problem.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>There have also been reports of Netscape causing problems when
|
<para>There have also been reports of Netscape causing problems when
|
||||||
downloading the boot floppy, so it's probably best to use a different
|
downloading the boot floppy, so it's probably best to use a different
|
||||||
|
@ -1431,13 +1427,10 @@ too big.</para>
|
||||||
<para>Get a laplink cable. Make sure both computer have a kernel
|
<para>Get a laplink cable. Make sure both computer have a kernel
|
||||||
with lpt driver support.</para>
|
with lpt driver support.</para>
|
||||||
|
|
||||||
<para>
|
<screen>&prompt.root; <userinput>dmesg | grep lp</userinput>
|
||||||
<literallayout> $ dmesg | grep lp
|
lpt0 at 0x378-0x37f irq 7 on isa
|
||||||
lpt0 at 0x378-0x37f irq 7 on isa
|
lpt0: Interrupt-driven
|
||||||
lpt0: Interrupt-driven port
|
lp0: TCP/IP capable interface</screen>
|
||||||
lp0: TCP/IP capable interface
|
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Plug in the laplink cable into the parallel interface.</para>
|
<para>Plug in the laplink cable into the parallel interface.</para>
|
||||||
|
|
||||||
|
@ -1451,54 +1444,44 @@ IP Address 10.0.0.1 10.0.0.2
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>on max start
|
<para>on max start</para>
|
||||||
<literallayout> # ifconfig lp0 10.0.0.1 10.0.0.2
|
<screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.1 10.0.0.2</userinput></screen>
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>on moritz start</para>
|
<para>on moritz start</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout> # ifconfig lp0 10.0.0.2 10.0.0.1
|
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Thats all! Please read also the manpages
|
<screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.2 10.0.0.1</userinput></screen>
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?lp(4)">lp(4)
|
|
||||||
</ulink> and
|
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?lpt(4)">lpt(4)
|
<para>Thats all! Please read also the manpages
|
||||||
</ulink>.</para>
|
&man.lp.4;
|
||||||
|
and
|
||||||
|
&man.lpt.4;
|
||||||
|
.</para>
|
||||||
|
|
||||||
<para>You should also add the hosts to <filename>/etc/hosts</filename>.</para>
|
<para>You should also add the hosts to <filename>/etc/hosts</filename>.</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout> 127.0.0.1 localhost.my.domain localhost
|
<programlisting>127.0.0.1 localhost.my.domain localhost
|
||||||
10.0.0.1 max.my.domain max
|
10.0.0.1 max.my.domain max
|
||||||
10.0.0.2 moritz.my.domain moritz
|
10.0.0.2 moritz.my.domain</programlisting>
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>To check if it works do:</para>
|
<para>To check if it works do:</para>
|
||||||
|
|
||||||
<para>on max:</para>
|
<para>on max:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout>$ ifconfig lp0
|
|
||||||
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|
||||||
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 </literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<screen>&prompt.root; <userinput>ifconfig lp</userinput>0
|
||||||
<literallayout>$ netstat -r
|
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
|
||||||
|
&prompt.root; <userinput>netstat -r</userinput>
|
||||||
Routing tables
|
Routing tables
|
||||||
|
|
||||||
Internet:
|
Internet:
|
||||||
Destination Gateway Flags Refs Use Netif Expire
|
Destination Gateway Flags Refs Use Netif Expire
|
||||||
moritz max UH 4 127592 lp0</literallayout>
|
moritz max UH 4 127592 lp0
|
||||||
</para>
|
&prompt.root; <userinput>ping -c 4 moritz</userinput>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout>$ ping -c 4 moritz
|
|
||||||
PING moritz (10.0.0.2): 56 data bytes
|
PING moritz (10.0.0.2): 56 data bytes
|
||||||
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
|
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
|
||||||
64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
|
64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
|
||||||
|
@ -1507,8 +1490,8 @@ PING moritz (10.0.0.2): 56 data bytes
|
||||||
|
|
||||||
--- moritz ping statistics ---
|
--- moritz ping statistics ---
|
||||||
4 packets transmitted, 4 packets received, 0% packet loss
|
4 packets transmitted, 4 packets received, 0% packet loss
|
||||||
round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</literallayout>
|
round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1519,29 +1502,119 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</literallayout>
|
||||||
<para>Connect the two computers using a Laplink parallel cable to use
|
<para>Connect the two computers using a Laplink parallel cable to use
|
||||||
this feature:</para>
|
this feature:</para>
|
||||||
|
|
||||||
<para>
|
<table>
|
||||||
<literallayout> +----------------------------------------+
|
<title>Wiring a parallel cable for networking</title>
|
||||||
|A-name A-End B-End Descr. Port/Bit |
|
|
||||||
+----------------------------------------+
|
<tgroup cols="5">
|
||||||
|DATA0 2 15 Data 0/0x01 |
|
<thead>
|
||||||
|-ERROR 15 2 1/0x08 |
|
<row>
|
||||||
+----------------------------------------+
|
<entry>A-name</entry>
|
||||||
|DATA1 3 13 Data 0/0x02 |
|
|
||||||
|+SLCT 13 3 1/0x10 |
|
<entry>A-End</entry>
|
||||||
+----------------------------------------+
|
|
||||||
|DATA2 4 12 Data 0/0x04 |
|
<entry>B-End</entry>
|
||||||
|+PE 12 4 1/0x20 |
|
|
||||||
+----------------------------------------+
|
<entry>Descr.</entry>
|
||||||
|DATA3 5 10 Strobe 0/0x08 |
|
|
||||||
|-ACK 10 5 1/0x40 |
|
<entry>Post/Bit</entry>
|
||||||
+----------------------------------------+
|
</row>
|
||||||
|DATA4 6 11 Data 0/0x10 |
|
</thead>
|
||||||
|BUSY 11 6 1/0x80 |
|
|
||||||
+----------------------------------------+
|
<tbody>
|
||||||
|GND 18-25 18-25 GND - |
|
<row>
|
||||||
+----------------------------------------+
|
<entry><literallayout>DATA0
|
||||||
</literallayout>
|
-ERROR</literallayout></entry>
|
||||||
</para>
|
|
||||||
|
<entry><literallayout>2
|
||||||
|
15</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>15
|
||||||
|
2</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x01
|
||||||
|
1/0x08</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA1
|
||||||
|
+SLCT</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>3
|
||||||
|
13</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>13
|
||||||
|
3</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x02
|
||||||
|
1/0x10</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA2
|
||||||
|
+PE</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>4
|
||||||
|
12</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>12
|
||||||
|
4</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x04
|
||||||
|
1/0x20</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA3
|
||||||
|
-ACK</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>5
|
||||||
|
10</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>10
|
||||||
|
5</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Strobe</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x08
|
||||||
|
1/0x40</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA4
|
||||||
|
BUSY</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>6
|
||||||
|
11</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>11
|
||||||
|
6</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x10
|
||||||
|
1/0x80</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>GND</entry>
|
||||||
|
|
||||||
|
<entry>18-25</entry>
|
||||||
|
|
||||||
|
<entry>18-25</entry>
|
||||||
|
|
||||||
|
<entry>GND</entry>
|
||||||
|
|
||||||
|
<entry>-</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
|
||||||
<para>See also <link linkend="pao">this note</link> on the Mobile Computing page.</para>
|
<para>See also <link linkend="pao">this note</link> on the Mobile Computing page.</para>
|
||||||
|
|
||||||
|
@ -1558,7 +1631,7 @@ C/H/S for convenience. This is how the PC's BIOS works out
|
||||||
which area on a disk to read/write from).</para>
|
which area on a disk to read/write from).</para>
|
||||||
|
|
||||||
<para>This seems to cause a lot of confusion for some reason. First
|
<para>This seems to cause a lot of confusion for some reason. First
|
||||||
of all, the <emphasis remap=tt>physical</emphasis> geometry of a SCSI drive is totally
|
of all, the <emphasis>physical</emphasis> geometry of a SCSI drive is totally
|
||||||
irrelevant, as FreeBSD works in term of disk blocks. In fact, there
|
irrelevant, as FreeBSD works in term of disk blocks. In fact, there
|
||||||
is no such thing as "the" physical geometry, as the sector density
|
is no such thing as "the" physical geometry, as the sector density
|
||||||
varies across the disk - what manufacturers claim is the "true"
|
varies across the disk - what manufacturers claim is the "true"
|
||||||
|
@ -1567,7 +1640,7 @@ results in the least wasted space. For IDE disks, FreeBSD does
|
||||||
work in terms of C/H/S, but all modern drives will convert this
|
work in terms of C/H/S, but all modern drives will convert this
|
||||||
into block references internally as well.</para>
|
into block references internally as well.</para>
|
||||||
|
|
||||||
<para>All that matters is the <emphasis remap=tt>logical</emphasis> geometry - the answer that the
|
<para>All that matters is the <emphasis>logical</emphasis> geometry - the answer that the
|
||||||
BIOS gets when it asks "what is your geometry?" and then uses to access
|
BIOS gets when it asks "what is your geometry?" and then uses to access
|
||||||
the disk. As FreeBSD uses the BIOS when booting, it's very important
|
the disk. As FreeBSD uses the BIOS when booting, it's very important
|
||||||
to get this right. In particular, if you have more than one operating
|
to get this right. In particular, if you have more than one operating
|
||||||
|
@ -1582,7 +1655,7 @@ and 32 sectors/track, where 'N' is the capacity of the disk in
|
||||||
MB. For example, a 2GB disk should pretend to have 2048 cylinders,
|
MB. For example, a 2GB disk should pretend to have 2048 cylinders,
|
||||||
64 heads and 32 sectors/track.</para>
|
64 heads and 32 sectors/track.</para>
|
||||||
|
|
||||||
<para>If it <emphasis remap=tt>is</emphasis> turned on (it's often supplied this way to get around
|
<para>If it <emphasis>is</emphasis> turned on (it's often supplied this way to get around
|
||||||
certain limitations in MSDOS) and the disk capacity is more than 1GB,
|
certain limitations in MSDOS) and the disk capacity is more than 1GB,
|
||||||
use M cylinders, 63 sectors per track (*not* 64), and 255 heads, where
|
use M cylinders, 63 sectors per track (*not* 64), and 255 heads, where
|
||||||
'M' is the disk capacity in MB divided by 7.844238 (!). So our
|
'M' is the disk capacity in MB divided by 7.844238 (!). So our
|
||||||
|
@ -1597,7 +1670,7 @@ the DOS partition in the partition editor if you don't want to keep
|
||||||
it, or leave it around for programming network cards and the like).</para>
|
it, or leave it around for programming network cards and the like).</para>
|
||||||
|
|
||||||
<para>Alternatively, there is a freely available utility distributed with
|
<para>Alternatively, there is a freely available utility distributed with
|
||||||
FreeBSD called ``<filename>pfdisk.exe</filename>'' (located in the <emphasis remap=tt>tools</emphasis>
|
FreeBSD called ``<filename>pfdisk.exe</filename>'' (located in the <filename>tools</filename>
|
||||||
subdirectory on the FreeBSD CDROM or on the various FreeBSD
|
subdirectory on the FreeBSD CDROM or on the various FreeBSD
|
||||||
ftp sites) which can be used to work out what geometry the other
|
ftp sites) which can be used to work out what geometry the other
|
||||||
operating systems on the disk are using. You can then enter this
|
operating systems on the disk are using. You can then enter this
|
||||||
|
@ -1691,8 +1764,7 @@ includes several of the files mentioned here, and the
|
||||||
kernel. There is nothing in the system which requires the
|
kernel. There is nothing in the system which requires the
|
||||||
presence of the sources to operate, however, except for the
|
presence of the sources to operate, however, except for the
|
||||||
kernel-configuration program
|
kernel-configuration program
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?config(8)">config
|
&man.config.8;. With the exception
|
||||||
</ulink>. With the exception
|
|
||||||
of the kernel sources, our build structure is set up so that you
|
of the kernel sources, our build structure is set up so that you
|
||||||
can read-only mount the sources from elsewhere via NFS and still
|
can read-only mount the sources from elsewhere via NFS and still
|
||||||
be able to make new binaries. (Because of the kernel-source
|
be able to make new binaries. (Because of the kernel-source
|
||||||
|
@ -1736,16 +1808,16 @@ systems.</para>
|
||||||
|
|
||||||
<para>If it is not absolutely imperative that you use DES style
|
<para>If it is not absolutely imperative that you use DES style
|
||||||
encryption, you can use FreeBSD's default encryption for even
|
encryption, you can use FreeBSD's default encryption for even
|
||||||
<emphasis remap=bf>better</emphasis> security, and with no export restrictions. FreeBSD
|
<emphasis>better</emphasis> security, and with no export restrictions. FreeBSD
|
||||||
2.0's password default scrambler is now <emphasis remap=bf>MD5</emphasis>-based, and is
|
2.0's password default scrambler is now <emphasis>MD5</emphasis>-based, and is
|
||||||
more CPU-intensive to crack with an automated password cracker
|
more CPU-intensive to crack with an automated password cracker
|
||||||
than DES, and allows longer passwords as well. The only reason
|
than DES, and allows longer passwords as well. The only reason
|
||||||
for not using the <emphasis remap=bf>MD5</emphasis>-based crypt today would be to use the
|
for not using the <emphasis>MD5</emphasis>-based crypt today would be to use the
|
||||||
the same password entries on FreeBSD and non-FreeBSD systems.</para>
|
the same password entries on FreeBSD and non-FreeBSD systems.</para>
|
||||||
|
|
||||||
<para>Since the DES encryption algorithm cannot legally be exported
|
<para>Since the DES encryption algorithm cannot legally be exported
|
||||||
from the US, non-US users should not download this software (as
|
from the US, non-US users should not download this software (as
|
||||||
part of the <emphasis remap=tt>secrdist</emphasis> from US FTP sites.</para>
|
part of the <literal>secrdist</literal> from US FTP sites.</para>
|
||||||
|
|
||||||
<para>There is however a replacement libcrypt available, based on
|
<para>There is however a replacement libcrypt available, based on
|
||||||
sources written in Australia by David Burren. This code is now
|
sources written in Australia by David Burren. This code is now
|
||||||
|
@ -1753,40 +1825,40 @@ available on some non-US FreeBSD mirror sites. Sources for the
|
||||||
unencumbered libcrypt, and binaries of the programs which use it,
|
unencumbered libcrypt, and binaries of the programs which use it,
|
||||||
can be obtained from the following FTP sites:</para>
|
can be obtained from the following FTP sites:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry><term>South Africa</term>
|
|
||||||
<listitem>
|
|
||||||
<para><filename>ftp://ftp.internat.FreeBSD.org/pub/FreeBSD</filename><!-- <br> -->
|
|
||||||
<filename>ftp://storm.sea.uct.ac.za/pub/FreeBSD</filename></para>
|
|
||||||
|
|
||||||
<para></para>
|
<segmentedlist>
|
||||||
|
<seglistitem><seg>South Africa</seg>
|
||||||
|
<seg>
|
||||||
|
<ulink url="ftp://ftp.internat.FreeBSD.org/pub/FreeBSD/">ftp://ftp.internat.FreeBSD.org/pub/FreeBSD/</ulink>,
|
||||||
|
<ulink url="ftp://storm.sea.uct.ac.za/pub/FreeBSD/">ftp://storm.sea.uct.ac.za/pub/FreeBSD/</ulink>
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry><term>Brazil</term>
|
|
||||||
|
|
||||||
<listitem>
|
</seg>
|
||||||
<para><filename>ftp://ftp.iqm.unicamp.br/pub/FreeBSD</filename></para>
|
</seglistitem>
|
||||||
|
|
||||||
<para></para>
|
<seglistitem><seg>Brazil</seg>
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry><term>Finland</term>
|
<seg><ulink url="ftp://ftp.iqm.unicamp.br/pub/FreeBSD/">ftp://ftp.iqm.unicamp.br/pub/FreeBSD/</ulink></seg>
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para><filename>ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt</filename></para>
|
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>The non-US <emphasis remap=tt>securedist</emphasis> can be used as a direct replacement
|
|
||||||
for the encumbered US <emphasis remap=tt>securedist</emphasis>. This <emphasis remap=tt>securedist</emphasis>
|
</seglistitem>
|
||||||
|
|
||||||
|
<seglistitem><seg>Finland</seg>
|
||||||
|
|
||||||
|
<seg>
|
||||||
|
<ulink url="ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt/">ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt/</ulink>
|
||||||
|
|
||||||
|
</seg>
|
||||||
|
</seglistitem>
|
||||||
|
</segmentedlist>
|
||||||
|
|
||||||
|
|
||||||
|
<para>The non-US <emphasis>securedist</emphasis> can be used as a direct replacement
|
||||||
|
for the encumbered US <emphasis>securedist</emphasis>. This <emphasis>securedist</emphasis>
|
||||||
package is installed the same way as the US package (see
|
package is installed the same way as the US package (see
|
||||||
installation notes for details). If you are going to install DES
|
installation notes for details). If you are going to install DES
|
||||||
encryption, you should do so as soon as possible, before
|
encryption, you should do so as soon as possible, before
|
||||||
|
@ -1798,14 +1870,12 @@ which the software is downloaded into severe legal difficulties.</para>
|
||||||
|
|
||||||
<para>A non-US distribution of Kerberos is also being developed, and
|
<para>A non-US distribution of Kerberos is also being developed, and
|
||||||
current versions can generally be obtained by anonymous FTP from
|
current versions can generally be obtained by anonymous FTP from
|
||||||
<filename>braae.ru.ac.za</filename>.</para>
|
<hostid role="fqdn">braae.ru.ac.za</hostid>.</para>
|
||||||
|
|
||||||
<para>There is also a <link linkend="mailing">mailing list</link> for the
|
<para>There is also a <link linkend="mailing">mailing list</link> for the
|
||||||
discussion of non-US encryption software. For more information, send
|
discussion of non-US encryption software. For more information, send
|
||||||
an email message with a single line saying ``<emphasis remap=tt>help</emphasis>'' in the body
|
an email message with a single line saying ``<literal>help</literal>'' in the body
|
||||||
of your message to</para>
|
of your message to <email>majordomo@braae.ru.ac.za</email>.</para>
|
||||||
|
|
||||||
<para><email>majordomo@braae.ru.ac.za</email>.</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1843,11 +1913,11 @@ think is the boot disk, wd1, while it is really wd2, and fails.</para>
|
||||||
"Enter" at the "Booting kernel in 10 seconds; hit
|
"Enter" at the "Booting kernel in 10 seconds; hit
|
||||||
[Enter] to interrupt" prompt. This will drop you into the boot
|
[Enter] to interrupt" prompt. This will drop you into the boot
|
||||||
loader.</para>
|
loader.</para>
|
||||||
<para>Then type set
|
<para>Then type <literal>set
|
||||||
root_disk_unit="<disk_number>". <literal>disk_number</literal>
|
root_disk_unit="<replaceable>disk_number</replaceable>"</literal>. <replaceable>disk_number</replaceable>
|
||||||
will be <emphasis>0</emphasis> if FreeBSD is installed on the master drive
|
will be <literal>0</literal> if FreeBSD is installed on the master drive
|
||||||
on the first IDE controller, <emphasis>1</emphasis> if it is installed
|
on the first IDE controller, <literal>1</literal> if it is installed
|
||||||
on the slave on the first IDE controller, <emphasis>2</emphasis> if it
|
on the slave on the first IDE controller, <literal>2</literal> if it
|
||||||
is installed on the master of the second IDE controller, and
|
is installed on the master of the second IDE controller, and
|
||||||
<emphasis>3</emphasis> if it is installed on the slave of the second
|
<emphasis>3</emphasis> if it is installed on the slave of the second
|
||||||
IDE controller.</para>
|
IDE controller.</para>
|
||||||
|
@ -1855,15 +1925,15 @@ IDE controller.</para>
|
||||||
correctly.</para>
|
correctly.</para>
|
||||||
<para>To make this change permanent (ie so you don't have to do this
|
<para>To make this change permanent (ie so you don't have to do this
|
||||||
everytime you reboot or turn on your FreeBSD machine), put the line
|
everytime you reboot or turn on your FreeBSD machine), put the line
|
||||||
"root_disk_unit="<disk_number>" in
|
<literal>root_disk_unit="<replaceable>disk_number</replaceable>"</literal> in
|
||||||
<filename>/boot/loader.conf.local</filename>.</para>
|
<filename>/boot/loader.conf.local</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>If using FreeBSD 3.2 or earlier, at the Boot: prompt, enter
|
<para>If using FreeBSD 3.2 or earlier, at the Boot: prompt, enter
|
||||||
<emphasis remap=tt>1:wd(2,a)kernel</emphasis> and press Enter. If the system starts, then
|
<literal>1:wd(2,a)kernel</literal> and press Enter. If the system starts, then
|
||||||
run the command
|
run the command
|
||||||
<literallayout>echo "1:wd(2,a)kernel" > /boot.config</literallayout>
|
<literal>echo "1:wd(2,a)kernel" > /boot.config</literal>
|
||||||
|
|
||||||
to make it the default boot string.</para>
|
to make it the default boot string.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -1875,18 +1945,18 @@ hard disks are consecutive.</para>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink URL="../handbook/kernelconfig.html">Rebuild your kernel,</ulink>
|
<para><ulink URL="../handbook/kernelconfig.html">Rebuild your kernel,</ulink>
|
||||||
modify the wd configuration lines to read:
|
modify the wd configuration lines to read:</para>
|
||||||
|
|
||||||
<literallayout>controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
<programlisting>controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||||
disk wd0 at wdc0 drive 0
|
disk wd0 at wdc0 drive 0
|
||||||
# disk wd1 at wdc0 drive 1 # comment out this line
|
# disk wd1 at wdc0 drive 1 # comment out this line
|
||||||
|
|
||||||
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
|
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
|
||||||
disk wd1 at wdc1 drive 0 # change from wd2 to wd1
|
disk wd1 at wdc1 drive 0 # change from wd2 to wd1
|
||||||
disk wd2 at wdc1 drive 1 # change from wd3 to wd2</literallayout>
|
disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting>
|
||||||
|
|
||||||
|
|
||||||
Install the new kernel.
|
<para>Install the new kernel.
|
||||||
If you moved your disks and wish to restore the previous
|
If you moved your disks and wish to restore the previous
|
||||||
configuration, replace the disks in the desired configuration and reboot.
|
configuration, replace the disks in the desired configuration and reboot.
|
||||||
Your system should boot successfully.
|
Your system should boot successfully.
|
||||||
|
@ -1922,6 +1992,87 @@ filesystems with 4 terabytes are possible (and exist).</para>
|
||||||
<para>The maximum size of a single ffs file is approximately 1G blocks
|
<para>The maximum size of a single ffs file is approximately 1G blocks
|
||||||
(4TB) if the block size is 4K.</para>
|
(4TB) if the block size is 4K.</para>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<title>Maximum file sizes</title>
|
||||||
|
|
||||||
|
<tgroup cols="5">
|
||||||
|
<thead>
|
||||||
|
<row>
|
||||||
|
<entry>fs block size</entry>
|
||||||
|
|
||||||
|
<entry>2.2.7-stable</entry>
|
||||||
|
|
||||||
|
<entry>3.0-current</entry>
|
||||||
|
|
||||||
|
<entry>works</entry>
|
||||||
|
|
||||||
|
<entry>should work</entry>
|
||||||
|
</row>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
<row>
|
||||||
|
<entry>4K</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4+t</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>8K</entry>
|
||||||
|
|
||||||
|
<entry>32+G</entry>
|
||||||
|
|
||||||
|
<entry>8T-1</entry>
|
||||||
|
|
||||||
|
<entry>32+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>16K</entry>
|
||||||
|
|
||||||
|
<entry>128+G</entry>
|
||||||
|
|
||||||
|
<entry>16T-1</entry>
|
||||||
|
|
||||||
|
<entry>128+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>32K</entry>
|
||||||
|
|
||||||
|
<entry>512+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
|
||||||
|
<entry>512+G</entry>
|
||||||
|
|
||||||
|
<entry>64T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>64K</entry>
|
||||||
|
|
||||||
|
<entry>2048+G</entry>
|
||||||
|
|
||||||
|
<entry>64T-1</entry>
|
||||||
|
|
||||||
|
<entry>2048+G</entry>
|
||||||
|
|
||||||
|
<entry>128T-1</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
<para>
|
<para>
|
||||||
<literallayout> maxfilesize
|
<literallayout> maxfilesize
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.54 2000/05/07 16:48:51 joe Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.55 2000/05/23 00:44:07 nik Exp $</pubdate>
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries
|
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X. All entries
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
is being used in two ways here, one meaning ``at no cost'',
|
is being used in two ways here, one meaning ``at no cost'',
|
||||||
the other meaning ``you can do whatever you like''. Apart
|
the other meaning ``you can do whatever you like''. Apart
|
||||||
from one or two things you
|
from one or two things you
|
||||||
<emphasis remap=tt>cannot</emphasis> do with the FreeBSD code,
|
<emphasis>cannot</emphasis> do with the FreeBSD code,
|
||||||
for example pretending you wrote it, you really can do
|
for example pretending you wrote it, you really can do
|
||||||
whatever you like with it.</para>
|
whatever you like with it.</para>
|
||||||
</answer>
|
</answer>
|
||||||
|
@ -437,46 +437,42 @@
|
||||||
<para>FreeBSD is also available via CDROM, from the following
|
<para>FreeBSD is also available via CDROM, from the following
|
||||||
place(s):</para>
|
place(s):</para>
|
||||||
|
|
||||||
<address>
|
<address>Walnut Creek CDROM
|
||||||
<otheraddr>Walnut Creek CDROM</otheraddr>
|
<street>4041 Pike Lane, Suite F</street>
|
||||||
<street>4041 Pike Lane, Suite F</street>
|
<city>Concord</city>, <state>CA</state>
|
||||||
<city>Concord</city>, <state>CA</state> <postcode>94520</postcode>
|
<postcode>94520</postcode>
|
||||||
<country>USA</country>
|
<country>USA</country>
|
||||||
|
|
||||||
<phone>Orders: +1 800 786-9907</phone>
|
<phone>Orders: +1 800 786-9907</phone>
|
||||||
<phone>Questions: +1 925 674-0783</phone>
|
<phone>Questions: +1 925 674-0783</phone>
|
||||||
<fax>FAX: +1 925 674-0821</fax>
|
<fax>FAX: +1 925 674-0821</fax>
|
||||||
<otheraddr>email: <ulink URL="mailto:orders@cdrom.com">WC Orders address</ulink></otheraddr>
|
<otheraddr>email: <ulink URL="mailto:orders@cdrom.com">WC Orders address</ulink></otheraddr>
|
||||||
<otheraddr>WWW: <ulink URL="http://www.cdrom.com/">WC Home page</ulink></otheraddr>
|
<otheraddr>WWW: <ulink URL="http://www.cdrom.com/">WC Home page</ulink></otheraddr></address>
|
||||||
</address>
|
|
||||||
|
|
||||||
<para>In Australia, you may find it at:</para>
|
<para>In Australia, you may find it at:</para>
|
||||||
|
|
||||||
<address>
|
<address>Advanced Multimedia Distributors
|
||||||
<otheraddr>Advanced Multimedia Distributors</otheraddr>
|
<street>Factory 1/1 Ovata Drive</street>
|
||||||
<street>Factory 1/1 Ovata Drive</street>
|
<city>Tullamarine, Melbourne</city>
|
||||||
<city>Tullamarine, Melbourne</city>
|
<state>Victoria</state>
|
||||||
<state>Victoria</state>
|
<country>Australia</country>
|
||||||
<country>Australia</country>
|
<phone>Voice: +61 3 9338 6777</phone>
|
||||||
<phone>Voice: +61 3 9338 6777</phone>
|
|
||||||
|
|
||||||
<otheraddr>CDROM Support BBS</otheraddr>
|
<otheraddr>CDROM Support BBS</otheraddr>
|
||||||
<street>17 Irvine St</street>
|
<street>17 Irvine St</street>
|
||||||
<city>Peppermint Grove</city>, <state>WA</state> <postcode>6011</postcode>
|
<city>Peppermint Grove</city>, <state>WA</state>
|
||||||
<phone>Voice: +61 9 385-3793</phone>
|
<postcode>6011</postcode>
|
||||||
<fax>Fax: +61 9 385-2360</fax>
|
<phone>Voice: +61 9 385-3793</phone>
|
||||||
</address>
|
<fax>Fax: +61 9 385-2360</fax></address>
|
||||||
|
|
||||||
<para>And in the UK:</para>
|
<para>And in the UK:</para>
|
||||||
|
|
||||||
<address>
|
<address>The Public Domain & Shareware Library
|
||||||
<otheraddr>The Public Domain & Shareware Library</otheraddr>
|
<street>Winscombe House, Beacon Rd</street>
|
||||||
<street>Winscombe House, Beacon Rd</street>
|
<city>Crowborough</city>
|
||||||
<city>Crowborough</city>
|
<state>Sussex. TN6 1UL</state>
|
||||||
<state>Sussex. TN6 1UL</state>
|
<phone>Voice: +44 1892 663-298</phone>
|
||||||
<phone>Voice: +44 1892 663-298</phone>
|
<fax>Fax: +44 1892 667-473</fax></address>
|
||||||
<fax>Fax: +44 1892 667-473</fax>
|
|
||||||
</address>
|
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -645,9 +641,9 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>A description of these can be found via WWW as:</para>
|
<para>A description of these can be found via WWW as:
|
||||||
|
|
||||||
<para><ulink
|
<ulink
|
||||||
URL="http://gnn.com/gnn/bus/ora/category/bsd.html">4.4BSD
|
URL="http://gnn.com/gnn/bus/ora/category/bsd.html">4.4BSD
|
||||||
books description</ulink>. Due to poor sales, however, these
|
books description</ulink>. Due to poor sales, however, these
|
||||||
manuals may be hard to get a hold of.</para>
|
manuals may be hard to get a hold of.</para>
|
||||||
|
@ -1014,17 +1010,17 @@ File: +DESC (ignored)</screen>
|
||||||
<para>Certainly! There are multiple ways to mirror the Web
|
<para>Certainly! There are multiple ways to mirror the Web
|
||||||
pages.</para>
|
pages.</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Using CVSUP: You can retrieve the formatted files
|
<para>Using CVSUP: You can retrieve the formatted files
|
||||||
using CVSUP from cvsup.FreeBSD.org. Add this line to
|
using CVSUP from cvsup.FreeBSD.org. Add this line to
|
||||||
your cvsup file:
|
your cvsup file:</para>
|
||||||
|
|
||||||
<literallayout>
|
<programlisting>
|
||||||
www release=current hostname=/home base=/usr/local/etc/cvsup
|
www release=current hostname=/home base=/usr/local/etc/cvsup
|
||||||
prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallayout></para>
|
prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1040,7 +1036,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
publishing them. Simply start at
|
publishing them. Simply start at
|
||||||
ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/www.</para>
|
ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/www.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
</answer>
|
</answer>
|
||||||
</qandaentry>
|
</qandaentry>
|
||||||
|
|
||||||
|
@ -1066,7 +1062,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
<para>The following newsgroups contain pertinent discussion for
|
<para>The following newsgroups contain pertinent discussion for
|
||||||
FreeBSD users:</para>
|
FreeBSD users:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1084,11 +1080,11 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
<para><ulink
|
<para><ulink
|
||||||
URL="news:comp.unix.bsd.misc">comp.unix.bsd.misc</ulink></para>
|
URL="news:comp.unix.bsd.misc">comp.unix.bsd.misc</ulink></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>Web resources:</para>
|
<para>Web resources:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1116,7 +1112,7 @@ prefix=/usr/local/www/data/www.FreeBSD.org delete old use-rel-suffix</literallay
|
||||||
URL="http://people.FreeBSD.org/~ahasty/Bt848.html">Bt848</ulink>
|
URL="http://people.FreeBSD.org/~ahasty/Bt848.html">Bt848</ulink>
|
||||||
video capture chip, then follow that link.</para>
|
video capture chip, then follow that link.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist></para>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>The FreeBSD handbook also has a fairly complete <ulink
|
<para>The FreeBSD handbook also has a fairly complete <ulink
|
||||||
URL="../handbook/bibliography.html">bibliography</ulink>
|
URL="../handbook/bibliography.html">bibliography</ulink>
|
||||||
|
@ -1149,7 +1145,7 @@ copied onto floppies by tools like <command>fdimage</command> or
|
||||||
filesystem install, for instance), below are some recommendations
|
filesystem install, for instance), below are some recommendations
|
||||||
for distributions to grab:</para>
|
for distributions to grab:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1173,7 +1169,7 @@ for distributions to grab:</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Full instructions on this procedure and a little bit more about
|
<para>Full instructions on this procedure and a little bit more about
|
||||||
installation issues in general can be found in the <ulink URL="../handbook/install.html">Handbook entry on installing FreeBSD.</ulink></para>
|
installation issues in general can be found in the <ulink URL="../handbook/install.html">Handbook entry on installing FreeBSD.</ulink></para>
|
||||||
|
@ -1187,42 +1183,42 @@ installation issues in general can be found in the <ulink URL="../handbook/insta
|
||||||
<para>A 3.5 inch (1.44MB) floppy can accomodate 1474560 bytes of data.
|
<para>A 3.5 inch (1.44MB) floppy can accomodate 1474560 bytes of data.
|
||||||
The boot image is exactly 1474560 bytes in size.</para>
|
The boot image is exactly 1474560 bytes in size.</para>
|
||||||
|
|
||||||
<para>Common mistakes when preparing the boot floppy are:
|
<para>Common mistakes when preparing the boot floppy are:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Not downloading the floppy image in <emphasis remap=tt>binary</emphasis> mode when
|
<para>Not downloading the floppy image in <emphasis>binary</emphasis> mode when
|
||||||
using <acronym>FTP</acronym>.
|
using <acronym>FTP</acronym>.</para>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Some FTP clients default their transfer mode to <emphasis remap=tt>ascii</emphasis>
|
|
||||||
|
<para>Some FTP clients default their transfer mode to <emphasis>ascii</emphasis>
|
||||||
and attempt to change any end-of-line characters received to match
|
and attempt to change any end-of-line characters received to match
|
||||||
the conventions used by the client's system.
|
the conventions used by the client's system.
|
||||||
This will almost invariably corrupt the boot image. Check the
|
This will almost invariably corrupt the boot image. Check the
|
||||||
size of the downloaded boot image: if it is not <emphasis>exactly</emphasis>
|
size of the downloaded boot image: if it is not <emphasis>exactly</emphasis>
|
||||||
that on the server, then the download process is suspect.</para>
|
that on the server, then the download process is suspect.</para>
|
||||||
|
|
||||||
<para>To workaround: type <emphasis remap=tt>binary</emphasis> at the FTP command prompt
|
<para>To workaround: type <emphasis>binary</emphasis> at the FTP command prompt
|
||||||
after getting connected to the server and before starting the
|
after getting connected to the server and before starting the
|
||||||
download of the image.</para>
|
download of the image.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Using the DOS <emphasis remap=tt>copy</emphasis> command (or equivalent GUI tool) to
|
<para>Using the DOS <command>copy</command> command (or equivalent GUI tool) to
|
||||||
transfer the boot image to floppy.
|
transfer the boot image to floppy.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>Programs like <emphasis remap=tt>copy</emphasis> will not work as the boot
|
<para>Programs like <command>copy</command> will not work as the boot
|
||||||
image has been created to be booted into directly. The image has
|
image has been created to be booted into directly. The image has
|
||||||
the complete content of the floppy, track for track, and is not
|
the complete content of the floppy, track for track, and is not
|
||||||
meant to be placed on the floppy as a regular file.
|
meant to be placed on the floppy as a regular file.
|
||||||
You have to transfer it to the floppy ``raw'', using the
|
You have to transfer it to the floppy ``raw'', using the
|
||||||
low-level tools (e.g. <emphasis remap=tt>fdimage</emphasis> or <emphasis remap=tt>rawrite</emphasis>)
|
low-level tools (e.g. <command>fdimage</command> or <command>rawrite</command>)
|
||||||
described in the <ulink URL="../handbook/install.html">installation guide to FreeBSD</ulink>.</para>
|
described in the <ulink URL="../handbook/install.html">installation guide to FreeBSD</ulink>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1252,7 +1248,7 @@ graphics card but to run X11R6, a VGA or better video card is needed.</para>
|
||||||
on a 4MB system. Newer versions of FreeBSD, like 2.2, need at least 5MB
|
on a 4MB system. Newer versions of FreeBSD, like 2.2, need at least 5MB
|
||||||
to install on a new system.</para>
|
to install on a new system.</para>
|
||||||
|
|
||||||
<para>All versions of FreeBSD, including 3.0, will RUN in 4MB of ram, they
|
<para>All versions of FreeBSD, including 3.0, will <emphasis>run</emphasis> in 4MB of RAM, they
|
||||||
just can't run the installation program in 4MB. You can add
|
just can't run the installation program in 4MB. You can add
|
||||||
extra memory for the install process, if you like, and then
|
extra memory for the install process, if you like, and then
|
||||||
after the system is up and running, go back to 4MB. Or you could
|
after the system is up and running, go back to 4MB. Or you could
|
||||||
|
@ -1285,10 +1281,10 @@ system was almost unusable though :-))</para>
|
||||||
<para> How can I make my own custom install floppy?
|
<para> How can I make my own custom install floppy?
|
||||||
</para></question><answer>
|
</para></question><answer>
|
||||||
|
|
||||||
<para>Currently there's no way to *just* make a custom install floppy.
|
<para>Currently there's no way to <emphasis>just</emphasis> make a custom install floppy.
|
||||||
You have to cut a whole new release, which will include your install
|
You have to cut a whole new release, which will include your install
|
||||||
floppy. There's some code in <filename>/usr/src/release/floppies/Makefile</filename>
|
floppy. There's some code in <filename>/usr/src/release/floppies/Makefile</filename>
|
||||||
that's supposed to let you *just* make those floppies, but it's not
|
that's supposed to let you <emphasis>just</emphasis> make those floppies, but it's not
|
||||||
really gelled yet.</para>
|
really gelled yet.</para>
|
||||||
|
|
||||||
<para>To make a custom release, follow the instructions <link linkend="custrel">here</link>.</para>
|
<para>To make a custom release, follow the instructions <link linkend="custrel">here</link>.</para>
|
||||||
|
@ -1320,7 +1316,7 @@ the next section.</para>
|
||||||
<para>You can reinstall the boot manager FreeBSD comes with in one of
|
<para>You can reinstall the boot manager FreeBSD comes with in one of
|
||||||
two ways:</para>
|
two ways:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1329,7 +1325,7 @@ distribution and look for <filename>bootinst.exe</filename>. You run it like so
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para><emphasis remap=bf>bootinst.exe boot.bin</emphasis></para>
|
<screen><prompt>...\TOOLS></prompt> <userinput>bootinst.exe boot.bin</userinput></screen>
|
||||||
|
|
||||||
<para></para>
|
<para></para>
|
||||||
|
|
||||||
|
@ -1351,7 +1347,7 @@ installation menu and reboot off the hard disk as normal.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1376,7 +1372,7 @@ you'd do well to try it first before simply giving up.</para>
|
||||||
spontaneously rebooting when you try to boot the install floppy,
|
spontaneously rebooting when you try to boot the install floppy,
|
||||||
here are three questions to ask yourself:-</para>
|
here are three questions to ask yourself:-</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -1404,7 +1400,7 @@ shell in the GUI can cause this problem.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>There have also been reports of Netscape causing problems when
|
<para>There have also been reports of Netscape causing problems when
|
||||||
downloading the boot floppy, so it's probably best to use a different
|
downloading the boot floppy, so it's probably best to use a different
|
||||||
|
@ -1431,13 +1427,10 @@ too big.</para>
|
||||||
<para>Get a laplink cable. Make sure both computer have a kernel
|
<para>Get a laplink cable. Make sure both computer have a kernel
|
||||||
with lpt driver support.</para>
|
with lpt driver support.</para>
|
||||||
|
|
||||||
<para>
|
<screen>&prompt.root; <userinput>dmesg | grep lp</userinput>
|
||||||
<literallayout> $ dmesg | grep lp
|
lpt0 at 0x378-0x37f irq 7 on isa
|
||||||
lpt0 at 0x378-0x37f irq 7 on isa
|
lpt0: Interrupt-driven
|
||||||
lpt0: Interrupt-driven port
|
lp0: TCP/IP capable interface</screen>
|
||||||
lp0: TCP/IP capable interface
|
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Plug in the laplink cable into the parallel interface.</para>
|
<para>Plug in the laplink cable into the parallel interface.</para>
|
||||||
|
|
||||||
|
@ -1451,54 +1444,44 @@ IP Address 10.0.0.1 10.0.0.2
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>on max start
|
<para>on max start</para>
|
||||||
<literallayout> # ifconfig lp0 10.0.0.1 10.0.0.2
|
<screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.1 10.0.0.2</userinput></screen>
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>on moritz start</para>
|
<para>on moritz start</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout> # ifconfig lp0 10.0.0.2 10.0.0.1
|
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>Thats all! Please read also the manpages
|
<screen>&prompt.root; <userinput>ifconfig lp0 10.0.0.2 10.0.0.1</userinput></screen>
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?lp(4)">lp(4)
|
|
||||||
</ulink> and
|
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?lpt(4)">lpt(4)
|
<para>Thats all! Please read also the manpages
|
||||||
</ulink>.</para>
|
&man.lp.4;
|
||||||
|
and
|
||||||
|
&man.lpt.4;
|
||||||
|
.</para>
|
||||||
|
|
||||||
<para>You should also add the hosts to <filename>/etc/hosts</filename>.</para>
|
<para>You should also add the hosts to <filename>/etc/hosts</filename>.</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout> 127.0.0.1 localhost.my.domain localhost
|
<programlisting>127.0.0.1 localhost.my.domain localhost
|
||||||
10.0.0.1 max.my.domain max
|
10.0.0.1 max.my.domain max
|
||||||
10.0.0.2 moritz.my.domain moritz
|
10.0.0.2 moritz.my.domain</programlisting>
|
||||||
</literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>To check if it works do:</para>
|
<para>To check if it works do:</para>
|
||||||
|
|
||||||
<para>on max:</para>
|
<para>on max:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout>$ ifconfig lp0
|
|
||||||
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|
||||||
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 </literallayout>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<screen>&prompt.root; <userinput>ifconfig lp</userinput>0
|
||||||
<literallayout>$ netstat -r
|
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||||
|
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000
|
||||||
|
&prompt.root; <userinput>netstat -r</userinput>
|
||||||
Routing tables
|
Routing tables
|
||||||
|
|
||||||
Internet:
|
Internet:
|
||||||
Destination Gateway Flags Refs Use Netif Expire
|
Destination Gateway Flags Refs Use Netif Expire
|
||||||
moritz max UH 4 127592 lp0</literallayout>
|
moritz max UH 4 127592 lp0
|
||||||
</para>
|
&prompt.root; <userinput>ping -c 4 moritz</userinput>
|
||||||
|
|
||||||
<para>
|
|
||||||
<literallayout>$ ping -c 4 moritz
|
|
||||||
PING moritz (10.0.0.2): 56 data bytes
|
PING moritz (10.0.0.2): 56 data bytes
|
||||||
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
|
64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms
|
||||||
64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
|
64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms
|
||||||
|
@ -1507,8 +1490,8 @@ PING moritz (10.0.0.2): 56 data bytes
|
||||||
|
|
||||||
--- moritz ping statistics ---
|
--- moritz ping statistics ---
|
||||||
4 packets transmitted, 4 packets received, 0% packet loss
|
4 packets transmitted, 4 packets received, 0% packet loss
|
||||||
round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</literallayout>
|
round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
|
||||||
</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1519,29 +1502,119 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</literallayout>
|
||||||
<para>Connect the two computers using a Laplink parallel cable to use
|
<para>Connect the two computers using a Laplink parallel cable to use
|
||||||
this feature:</para>
|
this feature:</para>
|
||||||
|
|
||||||
<para>
|
<table>
|
||||||
<literallayout> +----------------------------------------+
|
<title>Wiring a parallel cable for networking</title>
|
||||||
|A-name A-End B-End Descr. Port/Bit |
|
|
||||||
+----------------------------------------+
|
<tgroup cols="5">
|
||||||
|DATA0 2 15 Data 0/0x01 |
|
<thead>
|
||||||
|-ERROR 15 2 1/0x08 |
|
<row>
|
||||||
+----------------------------------------+
|
<entry>A-name</entry>
|
||||||
|DATA1 3 13 Data 0/0x02 |
|
|
||||||
|+SLCT 13 3 1/0x10 |
|
<entry>A-End</entry>
|
||||||
+----------------------------------------+
|
|
||||||
|DATA2 4 12 Data 0/0x04 |
|
<entry>B-End</entry>
|
||||||
|+PE 12 4 1/0x20 |
|
|
||||||
+----------------------------------------+
|
<entry>Descr.</entry>
|
||||||
|DATA3 5 10 Strobe 0/0x08 |
|
|
||||||
|-ACK 10 5 1/0x40 |
|
<entry>Post/Bit</entry>
|
||||||
+----------------------------------------+
|
</row>
|
||||||
|DATA4 6 11 Data 0/0x10 |
|
</thead>
|
||||||
|BUSY 11 6 1/0x80 |
|
|
||||||
+----------------------------------------+
|
<tbody>
|
||||||
|GND 18-25 18-25 GND - |
|
<row>
|
||||||
+----------------------------------------+
|
<entry><literallayout>DATA0
|
||||||
</literallayout>
|
-ERROR</literallayout></entry>
|
||||||
</para>
|
|
||||||
|
<entry><literallayout>2
|
||||||
|
15</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>15
|
||||||
|
2</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x01
|
||||||
|
1/0x08</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA1
|
||||||
|
+SLCT</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>3
|
||||||
|
13</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>13
|
||||||
|
3</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x02
|
||||||
|
1/0x10</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA2
|
||||||
|
+PE</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>4
|
||||||
|
12</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>12
|
||||||
|
4</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x04
|
||||||
|
1/0x20</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA3
|
||||||
|
-ACK</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>5
|
||||||
|
10</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>10
|
||||||
|
5</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Strobe</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x08
|
||||||
|
1/0x40</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry><literallayout>DATA4
|
||||||
|
BUSY</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>6
|
||||||
|
11</literallayout></entry>
|
||||||
|
|
||||||
|
<entry><literallayout>11
|
||||||
|
6</literallayout></entry>
|
||||||
|
|
||||||
|
<entry>Data</entry>
|
||||||
|
|
||||||
|
<entry><literallayout>0/0x10
|
||||||
|
1/0x80</literallayout></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>GND</entry>
|
||||||
|
|
||||||
|
<entry>18-25</entry>
|
||||||
|
|
||||||
|
<entry>18-25</entry>
|
||||||
|
|
||||||
|
<entry>GND</entry>
|
||||||
|
|
||||||
|
<entry>-</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
|
|
||||||
<para>See also <link linkend="pao">this note</link> on the Mobile Computing page.</para>
|
<para>See also <link linkend="pao">this note</link> on the Mobile Computing page.</para>
|
||||||
|
|
||||||
|
@ -1558,7 +1631,7 @@ C/H/S for convenience. This is how the PC's BIOS works out
|
||||||
which area on a disk to read/write from).</para>
|
which area on a disk to read/write from).</para>
|
||||||
|
|
||||||
<para>This seems to cause a lot of confusion for some reason. First
|
<para>This seems to cause a lot of confusion for some reason. First
|
||||||
of all, the <emphasis remap=tt>physical</emphasis> geometry of a SCSI drive is totally
|
of all, the <emphasis>physical</emphasis> geometry of a SCSI drive is totally
|
||||||
irrelevant, as FreeBSD works in term of disk blocks. In fact, there
|
irrelevant, as FreeBSD works in term of disk blocks. In fact, there
|
||||||
is no such thing as "the" physical geometry, as the sector density
|
is no such thing as "the" physical geometry, as the sector density
|
||||||
varies across the disk - what manufacturers claim is the "true"
|
varies across the disk - what manufacturers claim is the "true"
|
||||||
|
@ -1567,7 +1640,7 @@ results in the least wasted space. For IDE disks, FreeBSD does
|
||||||
work in terms of C/H/S, but all modern drives will convert this
|
work in terms of C/H/S, but all modern drives will convert this
|
||||||
into block references internally as well.</para>
|
into block references internally as well.</para>
|
||||||
|
|
||||||
<para>All that matters is the <emphasis remap=tt>logical</emphasis> geometry - the answer that the
|
<para>All that matters is the <emphasis>logical</emphasis> geometry - the answer that the
|
||||||
BIOS gets when it asks "what is your geometry?" and then uses to access
|
BIOS gets when it asks "what is your geometry?" and then uses to access
|
||||||
the disk. As FreeBSD uses the BIOS when booting, it's very important
|
the disk. As FreeBSD uses the BIOS when booting, it's very important
|
||||||
to get this right. In particular, if you have more than one operating
|
to get this right. In particular, if you have more than one operating
|
||||||
|
@ -1582,7 +1655,7 @@ and 32 sectors/track, where 'N' is the capacity of the disk in
|
||||||
MB. For example, a 2GB disk should pretend to have 2048 cylinders,
|
MB. For example, a 2GB disk should pretend to have 2048 cylinders,
|
||||||
64 heads and 32 sectors/track.</para>
|
64 heads and 32 sectors/track.</para>
|
||||||
|
|
||||||
<para>If it <emphasis remap=tt>is</emphasis> turned on (it's often supplied this way to get around
|
<para>If it <emphasis>is</emphasis> turned on (it's often supplied this way to get around
|
||||||
certain limitations in MSDOS) and the disk capacity is more than 1GB,
|
certain limitations in MSDOS) and the disk capacity is more than 1GB,
|
||||||
use M cylinders, 63 sectors per track (*not* 64), and 255 heads, where
|
use M cylinders, 63 sectors per track (*not* 64), and 255 heads, where
|
||||||
'M' is the disk capacity in MB divided by 7.844238 (!). So our
|
'M' is the disk capacity in MB divided by 7.844238 (!). So our
|
||||||
|
@ -1597,7 +1670,7 @@ the DOS partition in the partition editor if you don't want to keep
|
||||||
it, or leave it around for programming network cards and the like).</para>
|
it, or leave it around for programming network cards and the like).</para>
|
||||||
|
|
||||||
<para>Alternatively, there is a freely available utility distributed with
|
<para>Alternatively, there is a freely available utility distributed with
|
||||||
FreeBSD called ``<filename>pfdisk.exe</filename>'' (located in the <emphasis remap=tt>tools</emphasis>
|
FreeBSD called ``<filename>pfdisk.exe</filename>'' (located in the <filename>tools</filename>
|
||||||
subdirectory on the FreeBSD CDROM or on the various FreeBSD
|
subdirectory on the FreeBSD CDROM or on the various FreeBSD
|
||||||
ftp sites) which can be used to work out what geometry the other
|
ftp sites) which can be used to work out what geometry the other
|
||||||
operating systems on the disk are using. You can then enter this
|
operating systems on the disk are using. You can then enter this
|
||||||
|
@ -1691,8 +1764,7 @@ includes several of the files mentioned here, and the
|
||||||
kernel. There is nothing in the system which requires the
|
kernel. There is nothing in the system which requires the
|
||||||
presence of the sources to operate, however, except for the
|
presence of the sources to operate, however, except for the
|
||||||
kernel-configuration program
|
kernel-configuration program
|
||||||
<ulink URL="http://www.FreeBSD.org/cgi/man.cgi?config(8)">config
|
&man.config.8;. With the exception
|
||||||
</ulink>. With the exception
|
|
||||||
of the kernel sources, our build structure is set up so that you
|
of the kernel sources, our build structure is set up so that you
|
||||||
can read-only mount the sources from elsewhere via NFS and still
|
can read-only mount the sources from elsewhere via NFS and still
|
||||||
be able to make new binaries. (Because of the kernel-source
|
be able to make new binaries. (Because of the kernel-source
|
||||||
|
@ -1736,16 +1808,16 @@ systems.</para>
|
||||||
|
|
||||||
<para>If it is not absolutely imperative that you use DES style
|
<para>If it is not absolutely imperative that you use DES style
|
||||||
encryption, you can use FreeBSD's default encryption for even
|
encryption, you can use FreeBSD's default encryption for even
|
||||||
<emphasis remap=bf>better</emphasis> security, and with no export restrictions. FreeBSD
|
<emphasis>better</emphasis> security, and with no export restrictions. FreeBSD
|
||||||
2.0's password default scrambler is now <emphasis remap=bf>MD5</emphasis>-based, and is
|
2.0's password default scrambler is now <emphasis>MD5</emphasis>-based, and is
|
||||||
more CPU-intensive to crack with an automated password cracker
|
more CPU-intensive to crack with an automated password cracker
|
||||||
than DES, and allows longer passwords as well. The only reason
|
than DES, and allows longer passwords as well. The only reason
|
||||||
for not using the <emphasis remap=bf>MD5</emphasis>-based crypt today would be to use the
|
for not using the <emphasis>MD5</emphasis>-based crypt today would be to use the
|
||||||
the same password entries on FreeBSD and non-FreeBSD systems.</para>
|
the same password entries on FreeBSD and non-FreeBSD systems.</para>
|
||||||
|
|
||||||
<para>Since the DES encryption algorithm cannot legally be exported
|
<para>Since the DES encryption algorithm cannot legally be exported
|
||||||
from the US, non-US users should not download this software (as
|
from the US, non-US users should not download this software (as
|
||||||
part of the <emphasis remap=tt>secrdist</emphasis> from US FTP sites.</para>
|
part of the <literal>secrdist</literal> from US FTP sites.</para>
|
||||||
|
|
||||||
<para>There is however a replacement libcrypt available, based on
|
<para>There is however a replacement libcrypt available, based on
|
||||||
sources written in Australia by David Burren. This code is now
|
sources written in Australia by David Burren. This code is now
|
||||||
|
@ -1753,40 +1825,40 @@ available on some non-US FreeBSD mirror sites. Sources for the
|
||||||
unencumbered libcrypt, and binaries of the programs which use it,
|
unencumbered libcrypt, and binaries of the programs which use it,
|
||||||
can be obtained from the following FTP sites:</para>
|
can be obtained from the following FTP sites:</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry><term>South Africa</term>
|
|
||||||
<listitem>
|
|
||||||
<para><filename>ftp://ftp.internat.FreeBSD.org/pub/FreeBSD</filename><!-- <br> -->
|
|
||||||
<filename>ftp://storm.sea.uct.ac.za/pub/FreeBSD</filename></para>
|
|
||||||
|
|
||||||
<para></para>
|
<segmentedlist>
|
||||||
|
<seglistitem><seg>South Africa</seg>
|
||||||
|
<seg>
|
||||||
|
<ulink url="ftp://ftp.internat.FreeBSD.org/pub/FreeBSD/">ftp://ftp.internat.FreeBSD.org/pub/FreeBSD/</ulink>,
|
||||||
|
<ulink url="ftp://storm.sea.uct.ac.za/pub/FreeBSD/">ftp://storm.sea.uct.ac.za/pub/FreeBSD/</ulink>
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry><term>Brazil</term>
|
|
||||||
|
|
||||||
<listitem>
|
</seg>
|
||||||
<para><filename>ftp://ftp.iqm.unicamp.br/pub/FreeBSD</filename></para>
|
</seglistitem>
|
||||||
|
|
||||||
<para></para>
|
<seglistitem><seg>Brazil</seg>
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry><term>Finland</term>
|
<seg><ulink url="ftp://ftp.iqm.unicamp.br/pub/FreeBSD/">ftp://ftp.iqm.unicamp.br/pub/FreeBSD/</ulink></seg>
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para><filename>ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt</filename></para>
|
|
||||||
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>The non-US <emphasis remap=tt>securedist</emphasis> can be used as a direct replacement
|
|
||||||
for the encumbered US <emphasis remap=tt>securedist</emphasis>. This <emphasis remap=tt>securedist</emphasis>
|
</seglistitem>
|
||||||
|
|
||||||
|
<seglistitem><seg>Finland</seg>
|
||||||
|
|
||||||
|
<seg>
|
||||||
|
<ulink url="ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt/">ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt/</ulink>
|
||||||
|
|
||||||
|
</seg>
|
||||||
|
</seglistitem>
|
||||||
|
</segmentedlist>
|
||||||
|
|
||||||
|
|
||||||
|
<para>The non-US <emphasis>securedist</emphasis> can be used as a direct replacement
|
||||||
|
for the encumbered US <emphasis>securedist</emphasis>. This <emphasis>securedist</emphasis>
|
||||||
package is installed the same way as the US package (see
|
package is installed the same way as the US package (see
|
||||||
installation notes for details). If you are going to install DES
|
installation notes for details). If you are going to install DES
|
||||||
encryption, you should do so as soon as possible, before
|
encryption, you should do so as soon as possible, before
|
||||||
|
@ -1798,14 +1870,12 @@ which the software is downloaded into severe legal difficulties.</para>
|
||||||
|
|
||||||
<para>A non-US distribution of Kerberos is also being developed, and
|
<para>A non-US distribution of Kerberos is also being developed, and
|
||||||
current versions can generally be obtained by anonymous FTP from
|
current versions can generally be obtained by anonymous FTP from
|
||||||
<filename>braae.ru.ac.za</filename>.</para>
|
<hostid role="fqdn">braae.ru.ac.za</hostid>.</para>
|
||||||
|
|
||||||
<para>There is also a <link linkend="mailing">mailing list</link> for the
|
<para>There is also a <link linkend="mailing">mailing list</link> for the
|
||||||
discussion of non-US encryption software. For more information, send
|
discussion of non-US encryption software. For more information, send
|
||||||
an email message with a single line saying ``<emphasis remap=tt>help</emphasis>'' in the body
|
an email message with a single line saying ``<literal>help</literal>'' in the body
|
||||||
of your message to</para>
|
of your message to <email>majordomo@braae.ru.ac.za</email>.</para>
|
||||||
|
|
||||||
<para><email>majordomo@braae.ru.ac.za</email>.</para>
|
|
||||||
|
|
||||||
</answer></qandaentry>
|
</answer></qandaentry>
|
||||||
|
|
||||||
|
@ -1843,11 +1913,11 @@ think is the boot disk, wd1, while it is really wd2, and fails.</para>
|
||||||
"Enter" at the "Booting kernel in 10 seconds; hit
|
"Enter" at the "Booting kernel in 10 seconds; hit
|
||||||
[Enter] to interrupt" prompt. This will drop you into the boot
|
[Enter] to interrupt" prompt. This will drop you into the boot
|
||||||
loader.</para>
|
loader.</para>
|
||||||
<para>Then type set
|
<para>Then type <literal>set
|
||||||
root_disk_unit="<disk_number>". <literal>disk_number</literal>
|
root_disk_unit="<replaceable>disk_number</replaceable>"</literal>. <replaceable>disk_number</replaceable>
|
||||||
will be <emphasis>0</emphasis> if FreeBSD is installed on the master drive
|
will be <literal>0</literal> if FreeBSD is installed on the master drive
|
||||||
on the first IDE controller, <emphasis>1</emphasis> if it is installed
|
on the first IDE controller, <literal>1</literal> if it is installed
|
||||||
on the slave on the first IDE controller, <emphasis>2</emphasis> if it
|
on the slave on the first IDE controller, <literal>2</literal> if it
|
||||||
is installed on the master of the second IDE controller, and
|
is installed on the master of the second IDE controller, and
|
||||||
<emphasis>3</emphasis> if it is installed on the slave of the second
|
<emphasis>3</emphasis> if it is installed on the slave of the second
|
||||||
IDE controller.</para>
|
IDE controller.</para>
|
||||||
|
@ -1855,15 +1925,15 @@ IDE controller.</para>
|
||||||
correctly.</para>
|
correctly.</para>
|
||||||
<para>To make this change permanent (ie so you don't have to do this
|
<para>To make this change permanent (ie so you don't have to do this
|
||||||
everytime you reboot or turn on your FreeBSD machine), put the line
|
everytime you reboot or turn on your FreeBSD machine), put the line
|
||||||
"root_disk_unit="<disk_number>" in
|
<literal>root_disk_unit="<replaceable>disk_number</replaceable>"</literal> in
|
||||||
<filename>/boot/loader.conf.local</filename>.</para>
|
<filename>/boot/loader.conf.local</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>If using FreeBSD 3.2 or earlier, at the Boot: prompt, enter
|
<para>If using FreeBSD 3.2 or earlier, at the Boot: prompt, enter
|
||||||
<emphasis remap=tt>1:wd(2,a)kernel</emphasis> and press Enter. If the system starts, then
|
<literal>1:wd(2,a)kernel</literal> and press Enter. If the system starts, then
|
||||||
run the command
|
run the command
|
||||||
<literallayout>echo "1:wd(2,a)kernel" > /boot.config</literallayout>
|
<literal>echo "1:wd(2,a)kernel" > /boot.config</literal>
|
||||||
|
|
||||||
to make it the default boot string.</para>
|
to make it the default boot string.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -1875,18 +1945,18 @@ hard disks are consecutive.</para>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><ulink URL="../handbook/kernelconfig.html">Rebuild your kernel,</ulink>
|
<para><ulink URL="../handbook/kernelconfig.html">Rebuild your kernel,</ulink>
|
||||||
modify the wd configuration lines to read:
|
modify the wd configuration lines to read:</para>
|
||||||
|
|
||||||
<literallayout>controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
<programlisting>controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||||
disk wd0 at wdc0 drive 0
|
disk wd0 at wdc0 drive 0
|
||||||
# disk wd1 at wdc0 drive 1 # comment out this line
|
# disk wd1 at wdc0 drive 1 # comment out this line
|
||||||
|
|
||||||
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
|
controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
|
||||||
disk wd1 at wdc1 drive 0 # change from wd2 to wd1
|
disk wd1 at wdc1 drive 0 # change from wd2 to wd1
|
||||||
disk wd2 at wdc1 drive 1 # change from wd3 to wd2</literallayout>
|
disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting>
|
||||||
|
|
||||||
|
|
||||||
Install the new kernel.
|
<para>Install the new kernel.
|
||||||
If you moved your disks and wish to restore the previous
|
If you moved your disks and wish to restore the previous
|
||||||
configuration, replace the disks in the desired configuration and reboot.
|
configuration, replace the disks in the desired configuration and reboot.
|
||||||
Your system should boot successfully.
|
Your system should boot successfully.
|
||||||
|
@ -1922,6 +1992,87 @@ filesystems with 4 terabytes are possible (and exist).</para>
|
||||||
<para>The maximum size of a single ffs file is approximately 1G blocks
|
<para>The maximum size of a single ffs file is approximately 1G blocks
|
||||||
(4TB) if the block size is 4K.</para>
|
(4TB) if the block size is 4K.</para>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<title>Maximum file sizes</title>
|
||||||
|
|
||||||
|
<tgroup cols="5">
|
||||||
|
<thead>
|
||||||
|
<row>
|
||||||
|
<entry>fs block size</entry>
|
||||||
|
|
||||||
|
<entry>2.2.7-stable</entry>
|
||||||
|
|
||||||
|
<entry>3.0-current</entry>
|
||||||
|
|
||||||
|
<entry>works</entry>
|
||||||
|
|
||||||
|
<entry>should work</entry>
|
||||||
|
</row>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
<row>
|
||||||
|
<entry>4K</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4T-1</entry>
|
||||||
|
|
||||||
|
<entry>4+t</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>8K</entry>
|
||||||
|
|
||||||
|
<entry>32+G</entry>
|
||||||
|
|
||||||
|
<entry>8T-1</entry>
|
||||||
|
|
||||||
|
<entry>32+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>16K</entry>
|
||||||
|
|
||||||
|
<entry>128+G</entry>
|
||||||
|
|
||||||
|
<entry>16T-1</entry>
|
||||||
|
|
||||||
|
<entry>128+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>32K</entry>
|
||||||
|
|
||||||
|
<entry>512+G</entry>
|
||||||
|
|
||||||
|
<entry>32T-1</entry>
|
||||||
|
|
||||||
|
<entry>512+G</entry>
|
||||||
|
|
||||||
|
<entry>64T-1</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>64K</entry>
|
||||||
|
|
||||||
|
<entry>2048+G</entry>
|
||||||
|
|
||||||
|
<entry>64T-1</entry>
|
||||||
|
|
||||||
|
<entry>2048+G</entry>
|
||||||
|
|
||||||
|
<entry>128T-1</entry>
|
||||||
|
</row>
|
||||||
|
</tbody>
|
||||||
|
</tgroup>
|
||||||
|
</table>
|
||||||
<para>
|
<para>
|
||||||
<literallayout> maxfilesize
|
<literallayout> maxfilesize
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
Loading…
Reference in a new issue