|
Lines 46-52
Link Here
|
| 46 |
&tm-attrib.ibm; |
46 |
&tm-attrib.ibm; |
| 47 |
&tm-attrib.ieee; |
47 |
&tm-attrib.ieee; |
| 48 |
&tm-attrib.intel; |
48 |
&tm-attrib.intel; |
| 49 |
&tm-attrib.iomega; |
|
|
| 50 |
&tm-attrib.linux; |
49 |
&tm-attrib.linux; |
| 51 |
&tm-attrib.microsoft; |
50 |
&tm-attrib.microsoft; |
| 52 |
&tm-attrib.mips; |
51 |
&tm-attrib.mips; |
|
Lines 65-71
Link Here
|
| 65 |
<para>This is the FAQ for &os; versions |
64 |
<para>This is the FAQ for &os; versions |
| 66 |
6.<replaceable>X</replaceable>, 7.<replaceable>X</replaceable> |
65 |
6.<replaceable>X</replaceable>, 7.<replaceable>X</replaceable> |
| 67 |
and 8.<replaceable>X</replaceable>. All entries are assumed to be |
66 |
and 8.<replaceable>X</replaceable>. All entries are assumed to be |
| 68 |
relevant to &os; 6.<replaceable>X</replaceable> and later, |
67 |
relevant to &os; 7.<replaceable>X</replaceable> and later, |
| 69 |
unless otherwise noted. If you are interested in helping with |
68 |
unless otherwise noted. If you are interested in helping with |
| 70 |
this project, send email to the &a.doc;. The latest version of |
69 |
this project, send email to the &a.doc;. The latest version of |
| 71 |
this document is always available from the <ulink |
70 |
this document is always available from the <ulink |
|
Lines 84-91
Link Here
|
| 84 |
<title>Introduction</title> |
83 |
<title>Introduction</title> |
| 85 |
|
84 |
|
| 86 |
<para>Welcome to the &os; |
85 |
<para>Welcome to the &os; |
| 87 |
6.<replaceable>X</replaceable>-, 7.<replaceable>X</replaceable>- and |
86 |
7.<replaceable>X</replaceable>-, 8.<replaceable>X</replaceable>- and |
| 88 |
8.<replaceable>X</replaceable> FAQ!</para> |
87 |
9.<replaceable>X</replaceable> FAQ!</para> |
| 89 |
|
88 |
|
| 90 |
<para>As is usual with Usenet FAQs, this document aims to cover the |
89 |
<para>As is usual with Usenet FAQs, this document aims to cover the |
| 91 |
most frequently asked questions concerning the &os; operating |
90 |
most frequently asked questions concerning the &os; operating |
|
Lines 1141-1247
Link Here
|
| 1141 |
<title>Installation</title> |
1140 |
<title>Installation</title> |
| 1142 |
|
1141 |
|
| 1143 |
<qandaset> |
1142 |
<qandaset> |
| 1144 |
<qandaentry> |
|
|
| 1145 |
<question id="floppy-download"> |
| 1146 |
<para>Which file do I download to get &os;?</para> |
| 1147 |
</question> |
| 1148 |
|
| 1149 |
<answer> |
| 1150 |
<para>You need three floppy images: |
| 1151 |
<filename>floppies/boot.flp</filename>, |
| 1152 |
<filename>floppies/kern1.flp</filename>, and |
| 1153 |
<filename>floppies/kern2.flp</filename>. These images need |
| 1154 |
to be copied onto floppies by tools like |
| 1155 |
<command>fdimage</command> or &man.dd.1;.</para> |
| 1156 |
|
| 1157 |
<para>If you need to download the distributions yourself (for |
| 1158 |
a DOS file system install, for instance), below are some |
| 1159 |
recommendations for distributions to grab:</para> |
| 1160 |
|
| 1161 |
<itemizedlist> |
| 1162 |
<listitem> |
| 1163 |
<para>base/</para> |
| 1164 |
</listitem> |
| 1165 |
|
| 1166 |
<listitem> |
| 1167 |
<para>manpages/</para> |
| 1168 |
</listitem> |
| 1169 |
|
| 1170 |
<listitem> |
| 1171 |
<para>compat*/</para> |
| 1172 |
</listitem> |
| 1173 |
|
| 1174 |
<listitem> |
| 1175 |
<para>doc/</para> |
| 1176 |
</listitem> |
| 1177 |
|
| 1178 |
<listitem> |
| 1179 |
<para>src/ssys.*</para> |
| 1180 |
</listitem> |
| 1181 |
</itemizedlist> |
| 1182 |
|
| 1183 |
<para>Full instructions on this procedure and a little bit |
| 1184 |
more about installation issues in general can be found in |
| 1185 |
the <ulink |
| 1186 |
url="&url.books.handbook;/install.html">Handbook entry on installing &os;</ulink>. |
| 1187 |
</para> |
| 1188 |
</answer> |
| 1189 |
</qandaentry> |
| 1190 |
|
| 1191 |
<qandaentry> |
| 1192 |
<question id="floppy-image-too-large"> |
| 1193 |
<para>What do I do if the floppy images does not fit on a |
| 1194 |
single floppy?</para> |
| 1195 |
</question> |
| 1196 |
|
| 1197 |
<answer> |
| 1198 |
<para>A 3.5 inch (1.44 MB) floppy can accommodate |
| 1199 |
1,474,560 bytes of data. The boot image is exactly |
| 1200 |
1,474,560 bytes in size.</para> |
| 1201 |
|
| 1202 |
<para>Common mistakes when preparing the boot floppy |
| 1203 |
are:</para> |
| 1204 |
|
| 1205 |
<itemizedlist> |
| 1206 |
<listitem> |
| 1207 |
<para>Not downloading the floppy image in |
| 1208 |
<emphasis>binary</emphasis> mode when using |
| 1209 |
<acronym>FTP</acronym>.</para> |
| 1210 |
|
| 1211 |
<para>Some FTP clients default their transfer mode to |
| 1212 |
<emphasis>ascii</emphasis> and attempt to change any |
| 1213 |
end-of-line characters received to match the conventions |
| 1214 |
used by the client's system. This will almost |
| 1215 |
invariably corrupt the boot image. Check the size of |
| 1216 |
the downloaded boot image: if it is not |
| 1217 |
<emphasis>exactly</emphasis> that on the server, then |
| 1218 |
the download process is suspect.</para> |
| 1219 |
|
| 1220 |
<para>To workaround: type <emphasis>binary</emphasis> at |
| 1221 |
the FTP command prompt after getting connected to the |
| 1222 |
server and before starting the download of the |
| 1223 |
image.</para> |
| 1224 |
</listitem> |
| 1225 |
|
| 1226 |
<listitem> |
| 1227 |
<para>Using the DOS <command>copy</command> command (or |
| 1228 |
equivalent GUI tool) to transfer the boot image to |
| 1229 |
floppy.</para> |
| 1230 |
|
| 1231 |
<para>Programs like <command>copy</command> will not work |
| 1232 |
as the boot image has been created to be booted into |
| 1233 |
directly. The image has the complete content of the |
| 1234 |
floppy, track for track, and is not meant to be placed |
| 1235 |
on the floppy as a regular file. You have to transfer |
| 1236 |
it to the floppy <quote>raw</quote>, using the low-level |
| 1237 |
tools (e.g. <command>fdimage</command> or |
| 1238 |
<command>rawrite</command>) described in the <ulink |
| 1239 |
url="&url.books.handbook;/install.html">installation guide to &os;</ulink>. |
| 1240 |
</para> |
| 1241 |
</listitem> |
| 1242 |
</itemizedlist> |
| 1243 |
</answer> |
| 1244 |
</qandaentry> |
| 1245 |
|
1143 |
|
| 1246 |
<qandaentry> |
1144 |
<qandaentry> |
| 1247 |
<question id="install-instructions-location"> |
1145 |
<question id="install-instructions-location"> |
|
Lines 1585-1599
Link Here
|
| 1585 |
at least once!)</para> |
1483 |
at least once!)</para> |
| 1586 |
</listitem> |
1484 |
</listitem> |
| 1587 |
|
1485 |
|
| 1588 |
<listitem> |
|
|
| 1589 |
<para>If you are using &windows; 95 or |
| 1590 |
&windows; 98 did you run <command>fdimage</command> |
| 1591 |
or <command>rawrite</command> in pure DOS mode? These |
| 1592 |
operating systems can interfere with programs that write |
| 1593 |
directly to hardware, which the disk creation program |
| 1594 |
does; even running it inside a DOS shell in the GUI can |
| 1595 |
cause this problem.</para> |
| 1596 |
</listitem> |
| 1597 |
</orderedlist> |
1486 |
</orderedlist> |
| 1598 |
|
1487 |
|
| 1599 |
<para>There have also been reports of &netscape; causing |
1488 |
<para>There have also been reports of &netscape; causing |
|
Lines 1829-1855
Link Here
|
| 1829 |
</qandaentry> |
1718 |
</qandaentry> |
| 1830 |
|
1719 |
|
| 1831 |
<qandaentry> |
1720 |
<qandaentry> |
| 1832 |
<question id="need-kernel"> |
|
|
| 1833 |
<para>Do I need to build a kernel?</para> |
| 1834 |
</question> |
| 1835 |
|
| 1836 |
<answer> |
| 1837 |
<para>Building a new kernel was originally pretty much a |
| 1838 |
required step in a &os; installation, but more recent releases |
| 1839 |
have benefited from the introduction of much friendlier |
| 1840 |
kernel configuration methods. It is very easy to configure |
| 1841 |
the kernel's configuration by much more flexible |
| 1842 |
<quote>hints</quote> which can be set at the loader |
| 1843 |
prompt.</para> |
| 1844 |
|
| 1845 |
<para>It may still be worthwhile building a new kernel |
| 1846 |
containing just the drivers that you need, just to save a |
| 1847 |
bit of RAM, but it is no longer necessary for most |
| 1848 |
systems.</para> |
| 1849 |
</answer> |
| 1850 |
</qandaentry> |
| 1851 |
|
| 1852 |
<qandaentry> |
| 1853 |
<question id="password-encryption"> |
1721 |
<question id="password-encryption"> |
| 1854 |
<para>Should I use DES, Blowfish, or MD5 passwords and how do |
1722 |
<para>Should I use DES, Blowfish, or MD5 passwords and how do |
| 1855 |
I specify which form my users receive?</para> |
1723 |
I specify which form my users receive?</para> |
|
Lines 1876-1896
Link Here
|
| 1876 |
</qandaentry> |
1744 |
</qandaentry> |
| 1877 |
|
1745 |
|
| 1878 |
<qandaentry> |
1746 |
<qandaentry> |
| 1879 |
<question id="boot-floppy-hangs"> |
|
|
| 1880 |
<para>Why does the boot floppy start, but hang at the |
| 1881 |
<literal>Probing Devices...</literal> screen?</para> |
| 1882 |
</question> |
| 1883 |
|
| 1884 |
<answer> |
| 1885 |
<para>If you have a IDE &iomegazip; or &jaz; drive installed, |
| 1886 |
remove it and try again. The boot floppy can get confused by |
| 1887 |
the drives. After the system is installed you can reconnect |
| 1888 |
the drive. Hopefully this will be fixed in a later |
| 1889 |
release.</para> |
| 1890 |
</answer> |
| 1891 |
</qandaentry> |
| 1892 |
|
| 1893 |
<qandaentry> |
| 1894 |
<question id="panic-on-install-reboot"> |
1747 |
<question id="panic-on-install-reboot"> |
| 1895 |
<para>Why do I get a <errorname>panic: can't mount |
1748 |
<para>Why do I get a <errorname>panic: can't mount |
| 1896 |
root</errorname> error when rebooting the system after |
1749 |
root</errorname> error when rebooting the system after |
|
Lines 3228-3309
Link Here
|
| 3228 |
</qandaentry> |
3081 |
</qandaentry> |
| 3229 |
|
3082 |
|
| 3230 |
<qandaentry> |
3083 |
<qandaentry> |
| 3231 |
<question id="reallybigram"> |
|
|
| 3232 |
<para>Why does &os; only use 64 MB of RAM when my system |
| 3233 |
has 128 MB of RAM installed?</para> |
| 3234 |
</question> |
| 3235 |
|
| 3236 |
<answer> |
| 3237 |
<para>Due to the manner in which &os; gets the memory size |
| 3238 |
from the BIOS, it can only detect 16 bits worth of |
| 3239 |
Kbytes in size (65535 Kbytes = 64 MB) (or less... |
| 3240 |
some BIOSes peg the memory size to 16 MB). If you have |
| 3241 |
more than 64 MB, &os; will attempt to detect it; |
| 3242 |
however, the attempt may fail.</para> |
| 3243 |
|
| 3244 |
<para>To work around this problem, you need to use the kernel |
| 3245 |
option specified below. There is a way to get complete |
| 3246 |
memory information from the BIOS, but we do not have room in |
| 3247 |
the bootblocks to do it. Someday when lack of room in the |
| 3248 |
bootblocks is fixed, we will use the extended BIOS functions |
| 3249 |
to get the full memory information... but for now we are |
| 3250 |
stuck with the kernel option.</para> |
| 3251 |
|
| 3252 |
<programlisting>options MAXMEM=<replaceable>n</replaceable></programlisting> |
| 3253 |
|
| 3254 |
<para>Where <replaceable>n</replaceable> is your memory in |
| 3255 |
Kilobytes. For a 128 MB machine, you would want to use |
| 3256 |
<literal>131072</literal>.</para> |
| 3257 |
</answer> |
| 3258 |
</qandaentry> |
| 3259 |
|
| 3260 |
<qandaentry> |
| 3261 |
<question id="kmem-map-too-small"> |
| 3262 |
<para>My system has more than 1 GB of RAM, and I'm |
| 3263 |
getting panics with <errorname>kmem_map too small</errorname> |
| 3264 |
messages. What is wrong?</para> |
| 3265 |
</question> |
| 3266 |
|
| 3267 |
<answer> |
| 3268 |
<para>Normally, &os; determines a number of kernel parameters, |
| 3269 |
such as as the maximum number of files that can be open |
| 3270 |
concurrently, from the amount of memory installed in the |
| 3271 |
system. On systems with one gigabyte of RAM or more, this |
| 3272 |
<quote>auto sizing</quote> mechanism may choose values that |
| 3273 |
are too high: while starting up, the kernel allocates |
| 3274 |
various tables and other structures that fill up most of the |
| 3275 |
available kernel memory. Later on, while the system is |
| 3276 |
running, the kernel has no more space left for dynamic |
| 3277 |
memory allocations, and panics.</para> |
| 3278 |
|
| 3279 |
<para>Compile your own kernel, and add the |
| 3280 |
<option>VM_KMEM_SIZE_MAX</option> to your kernel |
| 3281 |
configuration file, increasing the maximum size to |
| 3282 |
400 MB (<option>options |
| 3283 |
VM_KMEM_SIZE_MAX=419430400</option>). 400 MB appears |
| 3284 |
to be sufficient for machines with up to 6 GB of |
| 3285 |
memory.</para> |
| 3286 |
</answer> |
| 3287 |
</qandaentry> |
| 3288 |
|
| 3289 |
<qandaentry> |
| 3290 |
<question id="panic-kmemmap-too-small"> |
| 3291 |
<para>My system does not have 1 GB of RAM, and &os; still |
| 3292 |
panics with <errorname>kmem_map too |
| 3293 |
small</errorname>!</para> |
| 3294 |
</question> |
| 3295 |
|
| 3296 |
<answer> |
| 3297 |
<para>The panic indicates that the system ran out of virtual |
| 3298 |
memory for network buffers (specifically, mbuf clusters). |
| 3299 |
You can increase the amount of VM available for mbuf |
| 3300 |
clusters by following the instructions in the <ulink |
| 3301 |
url="&url.books.handbook;/configtuning-kernel-limits.html#NMBCLUSTERS">Network Limits</ulink> |
| 3302 |
section of the Handbook.</para> |
| 3303 |
</answer> |
| 3304 |
</qandaentry> |
| 3305 |
|
| 3306 |
<qandaentry> |
| 3307 |
<question id="proc-table-full"> |
3084 |
<question id="proc-table-full"> |
| 3308 |
<para>Why do I get the error <errorname>kernel: proc: table is |
3085 |
<para>Why do I get the error <errorname>kernel: proc: table is |
| 3309 |
full</errorname>?</para> |
3086 |
full</errorname>?</para> |
|
Lines 3314-3325
Link Here
|
| 3314 |
processes to exist at one time. The number is based on the |
3091 |
processes to exist at one time. The number is based on the |
| 3315 |
<varname>kern.maxusers</varname> &man.sysctl.8; variable. |
3092 |
<varname>kern.maxusers</varname> &man.sysctl.8; variable. |
| 3316 |
<varname>kern.maxusers</varname> also affects various other |
3093 |
<varname>kern.maxusers</varname> also affects various other |
| 3317 |
in-kernel limits, such as network buffers (see <link |
3094 |
in-kernel limits, such as network buffers. If your machine |
| 3318 |
linkend="panic-kmemmap-too-small">this</link> earlier |
3095 |
is heavily loaded, you probably want to increase |
| 3319 |
question). If your machine is heavily loaded, you probably |
3096 |
<varname>kern.maxusers</varname>. This will increase these |
| 3320 |
want to increase <varname>kern.maxusers</varname>. This |
3097 |
other system limits in addition to the maximum number |
| 3321 |
will increase these other system limits in addition to the |
3098 |
of processes.</para> |
| 3322 |
maximum number of processes.</para> |
|
|
| 3323 |
|
3099 |
|
| 3324 |
<para>To adjust your <varname>kern.maxusers</varname> value, |
3100 |
<para>To adjust your <varname>kern.maxusers</varname> value, |
| 3325 |
see the <ulink |
3101 |
see the <ulink |
|
Lines 4279-4293
Link Here
|
| 4279 |
locations:</para> |
4055 |
locations:</para> |
| 4280 |
|
4056 |
|
| 4281 |
<variablelist> |
4057 |
<variablelist> |
| 4282 |
<varlistentry> |
|
|
| 4283 |
<term>for 6.<replaceable>X</replaceable>-RELEASE/6-STABLE</term> |
| 4284 |
|
| 4285 |
<listitem> |
| 4286 |
<para><ulink |
| 4287 |
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6-stable/">ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6-stable</ulink> |
| 4288 |
</para> |
| 4289 |
</listitem> |
| 4290 |
</varlistentry> |
| 4291 |
|
4058 |
|
| 4292 |
<varlistentry> |
4059 |
<varlistentry> |
| 4293 |
<term>for 7.<replaceable>X</replaceable>-RELEASE/7-STABLE</term> |
4060 |
<term>for 7.<replaceable>X</replaceable>-RELEASE/7-STABLE</term> |
|
Lines 5477-5554
Link Here
|
| 5477 |
</qandaentry> |
5244 |
</qandaentry> |
| 5478 |
|
5245 |
|
| 5479 |
<qandaentry> |
5246 |
<qandaentry> |
| 5480 |
<question id="removable-drives"> |
|
|
| 5481 |
<para>I have a new removable drive, how do I use it?</para> |
| 5482 |
</question> |
| 5483 |
|
| 5484 |
<answer> |
| 5485 |
<para>Whether it is a removable drive like a &iomegazip; or an |
| 5486 |
EZ drive (or even a floppy, if you want to use it that way), |
| 5487 |
or a new hard disk, once it is installed and recognized by |
| 5488 |
the system, and you have your cartridge/floppy/whatever |
| 5489 |
slotted in, things are pretty much the same for all |
| 5490 |
devices.</para> |
| 5491 |
|
| 5492 |
<para>(this section is based on <ulink |
| 5493 |
url="http://www.vmunix.com/mark/FreeBSD/ZIP-FAQ.html">Mark Mayo's ZIP FAQ</ulink>) |
| 5494 |
</para> |
| 5495 |
|
| 5496 |
<para>If it is a ZIP drive or a floppy, you have already got a |
| 5497 |
DOS file system on it, you can use a command like this:</para> |
| 5498 |
|
| 5499 |
<screen>&prompt.root; <userinput>mount -t msdosfs /dev/fd0c /floppy</userinput></screen> |
| 5500 |
|
| 5501 |
<para>if it is a floppy, or this:</para> |
| 5502 |
|
| 5503 |
<screen>&prompt.root; <userinput>mount -t msdosfs /dev/da2s4 /zip</userinput></screen> |
| 5504 |
|
| 5505 |
<para>for a ZIP disk with the factory configuration.</para> |
| 5506 |
|
| 5507 |
<para>For other disks, see how they are laid out using |
| 5508 |
&man.fdisk.8; or &man.sysinstall.8;.</para> |
| 5509 |
|
| 5510 |
<para>The rest of the examples will be for a ZIP drive on |
| 5511 |
<devicename>da2</devicename>, the third SCSI disk.</para> |
| 5512 |
|
| 5513 |
<para>Unless it is a floppy, or a removable you plan on |
| 5514 |
sharing with other people, it is probably a better idea to |
| 5515 |
stick a BSD file system on it. You will get long filename |
| 5516 |
support, at least a 2X improvement in performance, and a lot |
| 5517 |
more stability. First, you need to redo the DOS-level |
| 5518 |
partitions/file systems. You can either use &man.fdisk.8; |
| 5519 |
or &man.sysinstall.8;, or for a small drive that you do not |
| 5520 |
want to bother with multiple operating system support on, |
| 5521 |
just blow away the whole FAT partition table (slices) and |
| 5522 |
just use the BSD partitioning:</para> |
| 5523 |
|
| 5524 |
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/rda2 count=2</userinput> |
| 5525 |
&prompt.root; <userinput>disklabel -Brw da2 auto</userinput></screen> |
| 5526 |
|
| 5527 |
<para>You can use &man.disklabel.8; or &man.sysinstall.8; to |
| 5528 |
create multiple BSD partitions. You will certainly want to |
| 5529 |
do this if you are adding swap space on a fixed disk, but it |
| 5530 |
is probably irrelevant on a removable drive like a |
| 5531 |
ZIP.</para> |
| 5532 |
|
| 5533 |
<para>Finally, create a new file system, this one is on our |
| 5534 |
ZIP drive using the whole disk:</para> |
| 5535 |
|
| 5536 |
<screen>&prompt.root; <userinput>newfs /dev/rda2c</userinput></screen> |
| 5537 |
|
| 5538 |
<para>and mount it:</para> |
| 5539 |
|
| 5540 |
<screen>&prompt.root; <userinput>mount /dev/da2c /zip</userinput></screen> |
| 5541 |
|
| 5542 |
<para>and it is probably a good idea to add a line like this |
| 5543 |
to <filename>/etc/fstab</filename> (see &man.fstab.5;) so |
| 5544 |
you can just type <command>mount /zip</command> in the |
| 5545 |
future:</para> |
| 5546 |
|
| 5547 |
<programlisting>/dev/da2c /zip ffs rw,noauto 0 0</programlisting> |
| 5548 |
</answer> |
| 5549 |
</qandaentry> |
| 5550 |
|
| 5551 |
<qandaentry> |
| 5552 |
<question id="mount-cd-superblock"> |
5247 |
<question id="mount-cd-superblock"> |
| 5553 |
<para>Why do I get <errorname>Incorrect super |
5248 |
<para>Why do I get <errorname>Incorrect super |
| 5554 |
block</errorname> when mounting a CD-ROM?</para> |
5249 |
block</errorname> when mounting a CD-ROM?</para> |
|
Lines 6841-6862
Link Here
|
| 6841 |
</qandaentry> |
6536 |
</qandaentry> |
| 6842 |
|
6537 |
|
| 6843 |
<qandaentry> |
6538 |
<qandaentry> |
| 6844 |
<question id="why-choose-xorg"> |
|
|
| 6845 |
<para>Why did &os; choose to go with the &xorg; ports by |
| 6846 |
default?</para> |
| 6847 |
</question> |
| 6848 |
|
| 6849 |
<answer> |
| 6850 |
<para>The &xorg; developers claimed that their goal is to |
| 6851 |
release more often and incorporate new features more |
| 6852 |
quickly. If they are able to do so, this will be very |
| 6853 |
attractive. Also, their software still uses the traditional |
| 6854 |
X license, while &xfree86; is using their modified |
| 6855 |
one.</para> |
| 6856 |
</answer> |
| 6857 |
</qandaentry> |
| 6858 |
|
| 6859 |
<qandaentry> |
| 6860 |
<question id="running-X"> |
6539 |
<question id="running-X"> |
| 6861 |
<para>I want to run X, how do I go about it?</para> |
6540 |
<para>I want to run X, how do I go about it?</para> |
| 6862 |
</question> |
6541 |
</question> |
|
Lines 9533-9610
Link Here
|
| 9533 |
</answer> |
9212 |
</answer> |
| 9534 |
</qandaentry> |
9213 |
</qandaentry> |
| 9535 |
|
9214 |
|
| 9536 |
<qandaentry id=PPPoEwithNAT> |
|
|
| 9537 |
<question id="macos-win98-pppoe-freeze"> |
| 9538 |
<para>Why do &macos; and &windows; 98 connections freeze |
| 9539 |
when running PPPoE on the gateway?</para> |
| 9540 |
</question> |
| 9541 |
|
| 9542 |
<answer> |
| 9543 |
<para>Thanks to Michael Wozniak |
| 9544 |
<email>mwozniak@netcom.ca</email> for figuring this out and |
| 9545 |
Dan Flemming <email>danflemming@mac.com</email> for the Mac |
| 9546 |
solution:</para> |
| 9547 |
|
| 9548 |
<para>This is due to what is called a <quote>Black |
| 9549 |
Hole</quote> router. &macos; and &windows; 98 (and maybe |
| 9550 |
other µsoft; OSs) send TCP packets with a requested |
| 9551 |
segment size too big to fit into a PPPoE frame (MTU is |
| 9552 |
<literal>1500</literal> by default for Ethernet) |
| 9553 |
<emphasis>and</emphasis> have the <quote>do not |
| 9554 |
fragment</quote> bit set (default of TCP) and the Telco |
| 9555 |
router is not sending ICMP <quote>must fragment</quote> back |
| 9556 |
to the WWW site you are trying to load. (Alternatively, the |
| 9557 |
router is sending the ICMP packet correctly, but the |
| 9558 |
firewall at the WWW site is dropping it.) When the www |
| 9559 |
server is sending you frames that do not fit into the PPPoE |
| 9560 |
pipe the Telco router drops them on the floor and your page |
| 9561 |
does not load (some pages/graphics do as they are smaller |
| 9562 |
than a MSS). This seems to be the default of most Telco |
| 9563 |
PPPoE configurations.</para> |
| 9564 |
|
| 9565 |
<para>One fix is to use <application>regedit</application> on |
| 9566 |
your 95/98 system to add the following registry entry:</para> |
| 9567 |
|
| 9568 |
<programlisting>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000\MaxMTU</programlisting> |
| 9569 |
|
| 9570 |
<para>It should be a string with a value |
| 9571 |
<literal>1436</literal>, as some ADSL routers are reported |
| 9572 |
to be unable to deal with packets larger than this. This |
| 9573 |
registry key has been changed to |
| 9574 |
<literal>Tcpip\Parameters\Interfaces\<replaceable>ID for |
| 9575 |
adapter</replaceable>\MTU</literal> in &windows; 2000 |
| 9576 |
and becomes a <literal>DWORD</literal>.</para> |
| 9577 |
|
| 9578 |
<para>Refer to the Microsoft Knowledge Base documents <ulink |
| 9579 |
url="http://support.microsoft.com/support/kb/articles/Q158/4/74.asp">Q158474 - Windows TCPIP Registry Entries</ulink> |
| 9580 |
and <ulink |
| 9581 |
url="http://support.microsoft.com/support/kb/articles/Q120/6/42.asp">Q120642 - TCPIP & NBT Configuration Parameters for &windowsnt;</ulink> |
| 9582 |
for more information on changing &windows; MTU to work with |
| 9583 |
a NAT router.</para> |
| 9584 |
|
| 9585 |
<para>Another regedit possibility under &windows; 2000 to |
| 9586 |
set the <literal>Tcpip\Parameters\Interfaces\<replaceable>ID |
| 9587 |
for adapter</replaceable>\EnablePMTUBHDetect</literal> |
| 9588 |
<literal>DWORD</literal> to <literal>1</literal> as |
| 9589 |
mentioned in the Microsoft document 120642 mentioned |
| 9590 |
above.</para> |
| 9591 |
|
| 9592 |
<para>Unfortunately, &macos; does not provide an interface for |
| 9593 |
changing TCP/IP settings. However, there are several commercial |
| 9594 |
programs available that will allow users to customize TCP/IP |
| 9595 |
settings. &macos; NAT users should search for their MTU |
| 9596 |
settings and enter <literal>1450</literal> instead of |
| 9597 |
<literal>1500</literal>.</para> |
| 9598 |
|
| 9599 |
<para>The &man.ppp.8; has an <command>enable |
| 9600 |
tcpmssfixup</command> command that will automatically adjust |
| 9601 |
the MSS to an appropriate value. This facility is enabled |
| 9602 |
by default. If you are stuck with an older version of |
| 9603 |
&man.ppp.8;, you may want to look at the <filename |
| 9604 |
role="package">net/tcpmssd</filename> port.</para> |
| 9605 |
</answer> |
| 9606 |
</qandaentry> |
| 9607 |
|
| 9608 |
<qandaentry> |
9215 |
<qandaentry> |
| 9609 |
<question id="desperation"> |
9216 |
<question id="desperation"> |
| 9610 |
<para>None of this helps — I am desperate! What can I |
9217 |
<para>None of this helps — I am desperate! What can I |
|
Lines 10570-10576
Link Here
|
| 10570 |
somewhere?</quote></emphasis></para> |
10177 |
somewhere?</quote></emphasis></para> |
| 10571 |
|
10178 |
|
| 10572 |
<para><emphasis>And then I was enlightened |
10179 |
<para><emphasis>And then I was enlightened |
| 10573 |
:-)</emphasis></para> |
10180 |
:-)</emphasis></para> |
|
|
10181 |
|
| 10182 |
<para>1 to remove the documentation that has been outdated |
| 10183 |
five minutes later</para> |
| 10574 |
|
10184 |
|
| 10575 |
<para><emphasis>&a.tabthorpe;</emphasis> says: <quote>None, |
10185 |
<para><emphasis>&a.tabthorpe;</emphasis> says: <quote>None, |
| 10576 |
<emphasis>real</emphasis> &os; hackers are not afraid of the |
10186 |
<emphasis>real</emphasis> &os; hackers are not afraid of the |
|
Lines 10803-10826
Link Here
|
| 10803 |
</qandaentry> |
10413 |
</qandaentry> |
| 10804 |
|
10414 |
|
| 10805 |
<qandaentry> |
10415 |
<qandaentry> |
| 10806 |
<question id="split-1392k"> |
|
|
| 10807 |
<para>How did you split the distribution into 1392 KB |
| 10808 |
files?</para> |
| 10809 |
</question> |
| 10810 |
|
| 10811 |
<answer> |
| 10812 |
<para>Newer BSD based systems have a <option>-b</option> |
| 10813 |
option to &man.split.1; that allows them to split files on |
| 10814 |
arbitrary byte boundaries.</para> |
| 10815 |
|
| 10816 |
<para>Here is an example from |
| 10817 |
<filename>/usr/src/release/Makefile</filename>.</para> |
| 10818 |
|
| 10819 |
<programlisting>ZIPNSPLIT= gzip --no-name -9 -c | split -b 1392k -</programlisting> |
| 10820 |
</answer> |
| 10821 |
</qandaentry> |
| 10822 |
|
| 10823 |
<qandaentry> |
| 10824 |
<question id="submitting-kernel-extensions"> |
10416 |
<question id="submitting-kernel-extensions"> |
| 10825 |
<para>I have written a kernel extension, who do I send it |
10417 |
<para>I have written a kernel extension, who do I send it |
| 10826 |
to?</para> |
10418 |
to?</para> |
|
Lines 10924-10943
Link Here
|
| 10924 |
</qandaentry> |
10516 |
</qandaentry> |
| 10925 |
|
10517 |
|
| 10926 |
<qandaentry> |
10518 |
<qandaentry> |
| 10927 |
<question id="major-numbers"> |
|
|
| 10928 |
<para>Can you assign a major number for a device driver I have |
| 10929 |
written?</para> |
| 10930 |
</question> |
| 10931 |
|
| 10932 |
<answer> |
| 10933 |
<para>&os; releases after February 2003 has a facility for |
| 10934 |
dynamically and automatically allocating major numbers for |
| 10935 |
device drivers at runtime (see &man.devfs.5;), so there is |
| 10936 |
no need for this.</para> |
| 10937 |
</answer> |
| 10938 |
</qandaentry> |
| 10939 |
|
| 10940 |
<qandaentry> |
| 10941 |
<question id="alternate-directory-layout"> |
10519 |
<question id="alternate-directory-layout"> |
| 10942 |
<para>What about alternative layout policies for |
10520 |
<para>What about alternative layout policies for |
| 10943 |
directories?</para> |
10521 |
directories?</para> |