Commit | Line | Data |
---|---|---|
9be3e9fc | 1 | |
097d4e7a GW |
2 | FreeBSD |
3 | Frequently Asked Questions | |
4 | For Version 1.1 and above | |
0a2f90df | 5 | |
097d4e7a | 6 | Please mail all suggestions and additions to <FreeBSD-FAQ@freefall.cdrom.com> |
9be3e9fc GCI |
7 | |
8 | ||
2a8b0a95 | 9 | Revision: $Id: FreeBSD.FAQ,v 1.32 1994/06/11 18:00:34 gclarkii Exp $ |
4f3d904a GCI |
10 | |
11 | All entries marked <CURRENT> are for FreeBSD-current. All other entries | |
0a2f90df | 12 | are for both version 1.1 and current. |
9be3e9fc GCI |
13 | |
14 | ||
15 | Table of Contents | |
16 | ----------------- | |
17 | ||
58b988d7 GW |
18 | 0 Preface |
19 | 1 Installation | |
20 | 2 Hardware Compatibility | |
21 | 3 Commercial applications | |
22 | 4 User Applications | |
097d4e7a | 23 | 5 Miscellaneous Questions |
58b988d7 | 24 | 6 Kernel Configuration |
097d4e7a | 25 | 7 System Administration |
58b988d7 GW |
26 | 8 Networking |
27 | 9 Serial Communications | |
9be3e9fc GCI |
28 | |
29 | ||
097d4e7a | 30 | \f |
58b988d7 GW |
31 | 0 Preface |
32 | --------- | |
9be3e9fc GCI |
33 | |
34 | Welcome to the FreeBSD 1.1 FAQ! This document tries to answer some of | |
097d4e7a GW |
35 | the most frequently asked questions about FreeBSD 1.1 (or later, |
36 | unless specifically indicated). If there's something you're having | |
37 | trouble with and you just don't see it here, then please send mail to: | |
9be3e9fc | 38 | |
097d4e7a | 39 | <FreeBSD-questions@freefall.cdrom.com> |
9be3e9fc GCI |
40 | |
41 | ||
097d4e7a GW |
42 | Some of the instructions here will also refer to auxiliary utilities |
43 | in the /usr/src/contrib/FAQ directory. CDROM purchasers and net folks | |
44 | who've grabbed the FreeBSD 1.1 `srcdist' will have these files. If | |
45 | you don't have the source distribution, then you can either grab the | |
46 | whole thing from: | |
9be3e9fc | 47 | |
097d4e7a | 48 | FreeBSD.cdrom.com:pub/FreeBSD/FreeBSD-1.1 |
9be3e9fc | 49 | |
097d4e7a GW |
50 | Or you can grab only those files you're interested in straight out of |
51 | the FreeBSD-current distribution in: | |
9be3e9fc | 52 | |
097d4e7a | 53 | FreeBSD.cdrom.com:pub/FreeBSD/FreeBSD-current/src |
9be3e9fc | 54 | |
097d4e7a | 55 | 0.1: What is FreeBSD? |
9be3e9fc GCI |
56 | |
57 | FreeBSD is a UN*X type operating system based on William Jolitz's port | |
097d4e7a GW |
58 | of U.C. Berkeley's Networking Release 2 to the i386, 386BSD. It is no |
59 | longer correct to say that FreeBSD is only 386BSD with the patchkit | |
60 | applied! There have been many additions and bug fixes made throughout | |
61 | the entire system, some of the highlights of which are: | |
32e6aeb0 JH |
62 | |
63 | More robust and extensive PC device support | |
097d4e7a | 64 | System V-style IPC, messaging and semaphores |
32e6aeb0 JH |
65 | Shared Libraries |
66 | Much improved virtual memory code | |
67 | Better console driver support | |
68 | Network booting (diskless) support | |
69 | /proc filesystem | |
70 | Yellow Pages support | |
71 | `LDT' support for WINE (primitive but developing Windows emulation) | |
72 | Too many additional utilities and applications to mention | |
73 | ||
9be3e9fc | 74 | |
097d4e7a GW |
75 | 0.2: My friends told me that FreeBSD was illegal and I shouldn't use it. |
76 | Is this really true? | |
008edb68 | 77 | |
097d4e7a GW |
78 | FreeBSD versions up to and including 1.1 have included code from |
79 | Berkeley's Net/2 distribution. UNIX Systems Laboratories (now Novell) | |
80 | sued Berkeley claiming that Net/2 included some code that belonged to | |
81 | USL. In February of 1994, USL and Berkeley announced a settlement in | |
82 | which neither side admitted to doing anything wrong, but UCB agreed to | |
83 | stop distributing the disputed software. | |
008edb68 GW |
84 | |
85 | Since Berkeley will no longer defend this code, we have been requested | |
097d4e7a GW |
86 | to stop distributing it, and will be integrating all the improvements |
87 | we have made in the VM system and i386-specific code into Berkeley's | |
0a2f90df | 88 | 4.4-Lite distribution; the result will form the basis of FreeBSD 2.0. |
097d4e7a GW |
89 | We expect the integration to take place over a period of three to six |
90 | months, during which time we will have to stop work on 1.1 and | |
a4140fea JH |
91 | concentrate all our efforts on the merge, and we expect to make more |
92 | information available on the status of the merge effort as the situation | |
93 | progresses. | |
94 | ||
95 | However, to answer the question, "No. FreeBSD is not illegal." We | |
96 | have been allowed by USL to distribute 1.1 as the last Net/2 derived | |
97 | version, after which we have committed to move to 4.4 as previously | |
98 | stated. | |
097d4e7a GW |
99 | |
100 | We expect to make more information available on the status of the | |
101 | merge effort as the situation progresses. | |
102 | ||
103 | 0.3: What are the FreeBSD mailing lists, and how can I get on them? | |
104 | ||
105 | The following mailing lists are provided for FreeBSD users and | |
106 | developers. For more information, send to | |
107 | <majordomo@freefall.cdrom.com> and include a single line saying | |
108 | ``help'' in the body of your message. | |
109 | ||
4f3d904a | 110 | FreeBSD-announce: For announcements about or on FreeBSD. |
097d4e7a GW |
111 | FreeBSD-hackers: Useful for persons wishing to work on the internals. |
112 | FreeBSD-questions: General questions on FreeBSD. | |
113 | FreeBSD-bugs: Where bugs should be sent. | |
114 | FreeBSD-commit: This list carries the commit messages for freefall. Useful | |
9be3e9fc | 115 | for tracking ongoing work. |
097d4e7a GW |
116 | FreeBSD-SCSI: Mailing list for SCSI developers. |
117 | FreeBSD-current: This list is for persons wishing to run FreeBSD-current | |
118 | and carries announcements and discussions on current. | |
9be3e9fc GCI |
119 | |
120 | Please see also the FreeBSD mailing list FAQ in: | |
32e6aeb0 | 121 | |
097d4e7a | 122 | /usr/src/contrib/FAQ/OTHER-FAQS/FreeBSD.mailing-list.FAQ |
9be3e9fc | 123 | |
097d4e7a | 124 | 0.4: What are the various FreeBSD news groups? |
9be3e9fc | 125 | |
097d4e7a GW |
126 | While there are no groups currently dedicated to FreeBSD, you may find |
127 | the following groups useful. | |
9be3e9fc GCI |
128 | |
129 | comp.os.386bsd.announce: For announcements | |
6fa35152 | 130 | comp.os.386bsd.apps: For applications |
9be3e9fc GCI |
131 | comp.os.386bsd.questions: For questions |
132 | comp.os.386bsd.development: For working on the internals | |
133 | comp.os.386bsd.bugs: About bugs | |
134 | comp.os.386bsd.misc: For items that don't fit anywhere else | |
135 | ||
32e6aeb0 | 136 | NOTE: These groups cover all the *BSDs (FreeBSD, NetBSD, 386BSD). |
9be3e9fc GCI |
137 | |
138 | ||
097d4e7a | 139 | \f |
58b988d7 GW |
140 | 1 Installation |
141 | -------------- | |
9be3e9fc | 142 | |
097d4e7a GW |
143 | 1.1: I just installed my system and rebooted. Now I can't find the |
144 | extract or configure programs, where did they go? | |
9be3e9fc | 145 | |
28d2f186 | 146 | These two commands are just shell functions defined in /.profile. To |
097d4e7a | 147 | get these back, boot FreeBSD with a `-s' at the boot prompt. |
9be3e9fc GCI |
148 | |
149 | ||
7fa46f7a JH |
150 | 1.2: I want to install FreeBSD onto a SCSI disk that has more than |
151 | 1024 cylinders. How do I do it? | |
9be3e9fc | 152 | |
097d4e7a GW |
153 | This depends. If you don't have DOS (or another operating system) on |
154 | the system, you can just keep the drive in native mode and simply make | |
155 | sure that your root partition is below 1024 so the BIOS can boot the | |
156 | kernel from it. It you also have DOS/some other OS on the drive then | |
157 | your best bet is to find out what parameters that it thinks you have | |
158 | before installing FreeBSD. When FreeBSD's installation procedure | |
159 | prompts you for these values, you should then enter them rather than | |
160 | simply going with the defaults. | |
9be3e9fc | 161 | |
097d4e7a GW |
162 | There is a freely available utility distributed with FreeBSD called |
163 | `pfdisk' (located in the tools/ subdirectory) which can be used for | |
164 | this purpose. | |
9be3e9fc GCI |
165 | |
166 | ||
097d4e7a | 167 | 1.3: When I boot FreeBSD it says ``Missing Operating System''. |
9be3e9fc | 168 | |
097d4e7a GW |
169 | See question 1.2. This is classically a case of FreeBSD and DOS or |
170 | some other OS conflicting over their ideas of disk geometry. You will | |
171 | have to reinstall FreeBSD, but obeying the instructions given above | |
172 | will almost always get you going. | |
9be3e9fc GCI |
173 | |
174 | ||
097d4e7a GW |
175 | 1.4: I have an IDE drive with lots of bad blocks on it and FreeBSD doesn't |
176 | seem to install properly. | |
9be3e9fc | 177 | |
097d4e7a GW |
178 | FreeBSD's bad block (bad144) handling is still not 100% (to put it |
179 | charitably) and it must unfortunately be said that if you've got an | |
180 | IDE or ESDI drive with lots of bad blocks, then FreeBSD is probably | |
181 | not for you! That said, it does work on thousands of IDE based | |
182 | systems, so you'd do well to try it first before simply giving up. | |
9be3e9fc | 183 | |
28d2f186 GW |
184 | IDE drives are *supposed* to come with built-in bad-block remapping; |
185 | if you have documentation for your drive, you may want to see if this | |
186 | feature has been disabled on your drive. However, ESDI, RLL, and | |
187 | ST-506 drives normally do not do this. | |
188 | ||
4f3d904a GCI |
189 | <CURRENT> |
190 | FreeBSD-current has better bad block handling due to improvments made | |
191 | to the wd driver. | |
9be3e9fc | 192 | |
097d4e7a | 193 | 1.5: I have 32MB of memory, should I expect any special problems? |
9be3e9fc | 194 | |
28d2f186 GW |
195 | If you have an IDE controller, no. Likewise, if you have a full EISA |
196 | system with EISA disk controller or a working local bus controller | |
197 | (read further) you'll have no problems. If you have an ISA system, or | |
198 | an EISA system with an ISA disk controller then you will most | |
199 | certainly have problems with the upper 16MB of memory due to the ISA | |
200 | 24 bit DMA limitation (which ISA cards in EISA systems will also | |
201 | exhibit). If you have a local bus disk controller, then you should be | |
202 | OK, UNLESS it's a Buslogic Bt445S with a revision less than `D' (BIOS | |
4f3d904a GCI |
203 | 3.36 or earlier). |
204 | ||
205 | <CURRENT> | |
0a2f90df | 206 | FreeBSD-current (and the upcoming FreeBSD 1.1.5) have bounce-buffer |
28d2f186 GW |
207 | support that make all of the above scenarios work with a full 32MB of |
208 | memory or more. You are therefore advised to simply pull 16MB of | |
209 | memory out, install, and then see about upgrading to FreeBSD-current | |
0a2f90df | 210 | or FreeBSD 1.1.5 (when it comes out) so that you can put it back. |
9be3e9fc GCI |
211 | |
212 | ||
097d4e7a | 213 | 1.6: Do I need to install the complete sources? |
58b988d7 GW |
214 | |
215 | In general, no. However, we would strongly recommend that you | |
216 | install, at a minimum, the `base' source kit, which includes several | |
217 | of the files mentioned here, and the `sys' (kernel) source kit, which | |
218 | includes sources for the kernel. There is nothing in the system which | |
219 | requires the presence of the sources to operate, however, except for | |
220 | the kernel-configuration program config(8). With the exception of the | |
221 | kernel sources, our build structure is set up so that you can | |
222 | read-only mount the sources from elsewhere via NFS and still be able | |
223 | to make new binaries. (Because of the kernel-source restriction, we | |
224 | recommend that you not mount this on /usr/src directly, but rather in | |
225 | some other location with appropriate symbolic links to duplicate the | |
226 | top-level structure of the source tree.) | |
227 | ||
228 | Having the sources on-line and knowing how to build a system with them | |
229 | will make it much easier for you to upgrade to future releases of | |
230 | FreeBSD. | |
231 | ||
097d4e7a GW |
232 | 1.7: DES encryption software can not be exported from the United |
233 | States. If I live outside the US, how can I encrypt passwords? | |
875be44f GR |
234 | |
235 | Since the DES encryption algorithm, which is used by passwd(1) and | |
236 | friends to encrypt passwords cannot legally be exported from the US, | |
097d4e7a | 237 | non-US users should not download this software from US FTP sites. |
875be44f GR |
238 | |
239 | There is however a replacement libcrypt available, based on sources | |
240 | written in Australia by David Burren. This code is now available on | |
097d4e7a GW |
241 | some non-US FreeBSD mirror sites. Sources for the unencumbered |
242 | libcrypt, and binaries of the programs which use it, can be obtained | |
243 | from the following FTP sites: | |
7fa46f7a | 244 | |
097d4e7a GW |
245 | South Africa: braae.ru.ac.za:/pub/FreeBSD/securedist/ |
246 | owl.und.ac.za (currently uncertain) | |
247 | Iceland: ftp.veda.is:/pub/crypt/FreeBSD/ | |
875be44f GR |
248 | |
249 | The non-US securedist can be used as a direct replacement for the | |
250 | encumbered US securedist. This securedist package is installed the | |
097d4e7a GW |
251 | same way as the US package (see installation notes for details). If |
252 | you are going to install DES encryption, you should do so as soon as | |
253 | possible, before installing other software. | |
875be44f GR |
254 | |
255 | Non-US users should please not download any encryption software from | |
256 | the USA. This can get the maintainers of the sites from which the | |
257 | software is downloaded into severe legal difficulties. | |
258 | ||
259 | A non-US distribution of Kerberos is also being developed, and current | |
097d4e7a GW |
260 | versions can generally be obtained by anonymous FTP from |
261 | braae.ru.ac.za. | |
875be44f GR |
262 | |
263 | There is also a mailing list for the discussion of non-US encryption | |
7fa46f7a | 264 | software. For more information, send an email message with a single |
097d4e7a GW |
265 | line saying ``help'' in the body of your message to |
266 | <majordomo@braae.ru.ac.za>. | |
875be44f | 267 | |
3370122e JH |
268 | 1.8 HELP! My keyboard locked up during the install! |
269 | ||
270 | Some keyboard controllers are not a friend to FreeBSD. Among these are | |
271 | those on certain models of Gateway, IBM and AST machines. The most frequent | |
272 | symptom encountered in such cases is that the keyboard refuses to respond | |
273 | to input when at the `kcopy>' prompt in the second phase of bootstrapping | |
274 | FreeBSD. Fortunately, there is a work-around that may get you all the | |
275 | way home. Reset the machine and boot the kcopy floppy again, but this | |
276 | time, as the kernel is booting, tap periodically on the num-lock key | |
277 | until the kcopy prompt appears. Your keyboard should respond properly. | |
278 | ||
279 | Once your system is on the hard disk the problem generally goes away. | |
280 | Some folks for whom the problem persists even after this stage find | |
281 | relief in switching to the SYSCONS console driver (see /sys/i386/conf/SYSCONS), | |
282 | which is in any case far more featureful than pccons and a recommended | |
283 | upgrade. | |
284 | ||
875be44f | 285 | |
097d4e7a | 286 | \f |
58b988d7 GW |
287 | 2 Hardware compatibility |
288 | ------------------------ | |
9be3e9fc | 289 | |
097d4e7a | 290 | 2.1: What kind of hard drives does FreeBSD run on? |
9be3e9fc | 291 | |
28d2f186 GW |
292 | FreeBSD supports ST-506 (sometimes called ``MFM''), RLL, and ESDI |
293 | drives, which are usually connected to WD-1002, WD-1003, or WD-1006 | |
875be44f GR |
294 | controllers (although clones should also work). FreeBSD also supports |
295 | IDE and SCSI hard drives. | |
9be3e9fc | 296 | |
097d4e7a | 297 | 2.2: What SCSI controllers are supported? |
9be3e9fc GCI |
298 | |
299 | FreeBSD supports the following SCSI controllers: | |
300 | ||
28d2f186 | 301 | Adaptec AH-1542 Series <ISA> |
9be3e9fc | 302 | AH-1742 Series <EISA> |
58b988d7 | 303 | Buslogic BT-445 Series <VLB> (but see section 1.5) |
9be3e9fc GCI |
304 | BT-545 Series <ISA> |
305 | BT-742 Series <EISA> | |
245b6898 | 306 | BT-747 Series <EISA> |
5666e8b7 GCI |
307 | Future Domain TMC-950 Series <ISA> (See below) |
308 | Seagate ST-01/02 Series <ISA> (See below) | |
9be3e9fc | 309 | UltraStor UH-14f Series <ISA> |
4a219cbb | 310 | UH-34f Series <EISA/VLB> |
9be3e9fc | 311 | |
097d4e7a | 312 | There is supposed to be a UltraStor 24f driver floating around, but |
5666e8b7 | 313 | we're not sure where (could someone please point us at it?). |
9be3e9fc | 314 | |
5666e8b7 GCI |
315 | The Seagate and Future Domain SCSI cards are supported through contributed |
316 | code. Please see the installation notes in: | |
317 | /usr/src/contrib/FAQ/programs/SCSI/st01fd950/README.seagate | |
8aaa11da GCI |
318 | for instructions on how to install these drivers. There maybe some |
319 | problems with these drivers. | |
9be3e9fc | 320 | |
097d4e7a | 321 | 2.3: What CD-ROM drives are supported by FreeBSD? |
9be3e9fc | 322 | |
097d4e7a GW |
323 | Any SCSI drive connected to a supported controller. Mitsumi |
324 | LU002(8bit), LU005(16bit) and FX001D(16bit 2x Speed). | |
9be3e9fc | 325 | |
28d2f186 GW |
326 | FreeBSD does NOT support drives connected to a Sound Blaster or |
327 | non-SCSI SONY or Panasonic drives. A general rule of thumb when | |
328 | selecting a CDROM drive for FreeBSD use is to buy a very standard SCSI | |
329 | model; they cost more, but deliver very solid performance in return. | |
330 | Do not be fooled by very cheap drives that, in turn, deliver VERY LOW | |
331 | performance! As always, you get what you pay for. | |
332 | ||
333 | The Mitsumi driver is known to be extremely slow compared to SCSI | |
334 | drives. | |
9be3e9fc GCI |
335 | |
336 | ||
097d4e7a | 337 | 2.4: What multi-port serial cards are supported by FreeBSD? |
9be3e9fc | 338 | |
a04ba5f8 | 339 | AST/4 and BOCA 4/8/16 port cards. Some unnamed clone cards have also |
097d4e7a GW |
340 | been known to work, especially those that claim to be AST compatible. |
341 | Check the sio(4) man page to get more information on configuring such | |
342 | cards. | |
9be3e9fc GCI |
343 | |
344 | ||
097d4e7a | 345 | 2.5: Does FreeBSD support the AHA-2742 SCSI adapter from Adaptec? |
9be3e9fc | 346 | |
097d4e7a GW |
347 | No, FreeBSD does not. This is due to Adaptec's unwillingness to |
348 | supply programming information under other than non-disclosure. This | |
349 | is unfortunate, but there's nothing we can do about it. | |
9be3e9fc GCI |
350 | |
351 | ||
097d4e7a GW |
352 | 2.6: I have a Mumbleco bus mouse. Is it supported and if so, how do I set |
353 | it up for XFree86? | |
9be3e9fc | 354 | |
28d2f186 GW |
355 | FreeBSD supports the Logitech and ATI Inport bus mice. You need to |
356 | add the following line to the kernel config file and recompile for the | |
357 | Logitech and ATI mice: | |
9be3e9fc | 358 | |
097d4e7a | 359 | device mse0 at isa? port 0x23c tty irq6 vector mseintr |
9be3e9fc GCI |
360 | |
361 | ||
097d4e7a GW |
362 | 2.7: I have a PS/2 mouse (`keyboard' mouse) [Alternatively: I have a |
363 | laptop with a track-ball mouse]. How do I use it? | |
9be3e9fc | 364 | |
097d4e7a GW |
365 | For the PS/2 mouse you need to look in |
366 | /usr/src/contrib/FAQ/programs/psm, which is John Solhed's port of the | |
367 | Linux PS/2 mouse driver. | |
9be3e9fc | 368 | |
097d4e7a GW |
369 | Follow the directions in the package. You will also need to change |
370 | your Xconfig file to point to the mouse. | |
9be3e9fc GCI |
371 | |
372 | ||
097d4e7a | 373 | 2.8: What types of tape drives are supported under FreeBSD? |
9be3e9fc | 374 | |
097d4e7a GW |
375 | FreeBSD supports SCSI, QIC-02 and QIC-40/80 (Floppy based) tape |
376 | drives. This includes 8-mm (aka Exabyte) and DAT drives. | |
9be3e9fc GCI |
377 | |
378 | ||
097d4e7a | 379 | 2.9: What sound cards are supported by FreeBSD? |
9be3e9fc | 380 | |
097d4e7a GW |
381 | FreeBSD supports the SoundBlaster, SoundBlaster Pro, Pro Audio |
382 | Spectrum 16, AdLib and Gravis UltraSound sound cards. There is also | |
383 | limited support for MPU-401 and compatible MIDI cards. The | |
384 | SoundBlaster 16 and SoundBlaster 16 ASP cards are not yet supported. | |
385 | NOTE: This is only for sound! This driver does not support CD-ROMs, | |
386 | SCSI or joysticks on these cards. | |
9be3e9fc GCI |
387 | |
388 | ||
097d4e7a | 389 | 2.10: What network cards does FreeBSD support? |
9be3e9fc GCI |
390 | |
391 | There is support for the following cards: | |
9be3e9fc | 392 | |
28d2f186 | 393 | `ed' driver: |
097d4e7a | 394 | NE2000 and 1000 |
a04ba5f8 | 395 | WD/SMC 8003, 8013 and Elite Ultra (8216) |
097d4e7a GW |
396 | 3Com 3c503 |
397 | And clones of the above | |
28d2f186 GW |
398 | |
399 | `ie' driver: | |
097d4e7a | 400 | AT&T EN100/StarLAN 10 |
28d2f186 | 401 | |
9a5e2769 | 402 | `is' driver: |
097d4e7a GW |
403 | Isolan AT 4141-0 |
404 | Isolink 4110 | |
28d2f186 GW |
405 | |
406 | `ep' driver: | |
097d4e7a | 407 | 3com 3c509 (*) |
28d2f186 GW |
408 | |
409 | ||
410 | (*)The `ep' driver is known to have some problems; see the | |
411 | /usr/src/KNOWNBUGS file for more details. | |
9be3e9fc GCI |
412 | |
413 | ||
097d4e7a GW |
414 | 2.11: I have a 386/486sx/486SLC machine without a math co-processor. |
415 | Will this cause me any problems? | |
d73430f6 JH |
416 | |
417 | Generally no, but there are circumstances where you will take a hit, | |
418 | either in performance or accuracy of the math emulation code (see | |
097d4e7a GW |
419 | section 4.1). In particular, drawing arcs in X will be VERY slow. It |
420 | is highly recommended that you lay out the $50 or so for a math | |
421 | co-processor; it's well worth it. NOTE: Some math co-processors are | |
422 | better than others. It pains us to say it, but nobody ever got fired | |
423 | for buying Intel. Unless you're sure it works with FreeBSD, beware of | |
424 | clones. | |
d73430f6 | 425 | |
0a2f90df GCI |
426 | 2.12: I am about to buy a new machine to run FreeBSD on and |
427 | want an idea of what other people are running. Is there list | |
428 | of other systems anywhere? | |
429 | ||
5666e8b7 | 430 | Yes. Please look at the file FAQ/OTHER-FAQS/Systems.FAQ. This file |
0a2f90df GCI |
431 | is a listing of hardware that people are running in their machines. |
432 | Please note, this is a raw listing of equipment that other users | |
433 | have sent in. | |
434 | ||
d73430f6 | 435 | |
097d4e7a | 436 | \f |
58b988d7 GW |
437 | 3 Commercial Applications |
438 | ------------------------- | |
9be3e9fc | 439 | |
28d2f186 GW |
440 | Note: This section is still very sparse, though we're hoping, of |
441 | course, that companies will add to it! :) The FreeBSD group has no | |
442 | financial interest in any of the companies listed here but simply | |
443 | lists them as a public service (and feels that commercial interest in | |
444 | FreeBSD can have very positive effects on FreeBSD's long-term | |
445 | viability). We encourage commercial software vendors to send their | |
446 | entries here for inclusion. | |
9be3e9fc GCI |
447 | |
448 | ||
097d4e7a | 449 | 3.1: Where can I get Motif for FreeBSD? |
9be3e9fc | 450 | |
32e6aeb0 | 451 | Sequoia International provides commercial quality Motif 1.2.3 |
097d4e7a GW |
452 | development kits for FreeBSD 1.1 (with full shared library support) |
453 | under the product name of `SWiM'. Due to licensing restrictions from | |
454 | the OSF, and the fact that Sequoia needs to make a living, these are | |
455 | NOT FREE, but nonetheless quite reasonably priced in comparison to | |
456 | many other commercial Motif distributions. Send electronic mail to | |
457 | <info@seq.com> for further information. | |
9be3e9fc | 458 | |
097d4e7a | 459 | 3.2: What about other commercial quality development systems for FreeBSD? |
9be3e9fc | 460 | |
38b6cb21 | 461 | ParcPlace Systems, Inc., who currently provides their excellent |
097d4e7a GW |
462 | `Object Interface & Object Builder' GUI development environment free |
463 | of charge to Linux users, is considering the the FreeBSD platform and | |
464 | will make their intentions known fairly shortly. | |
9be3e9fc GCI |
465 | |
466 | ||
097d4e7a | 467 | \f |
58b988d7 GW |
468 | 4 User Applications |
469 | ------------------- | |
9be3e9fc | 470 | |
097d4e7a | 471 | 4.1: I want to run X, how do I go about it? |
9be3e9fc | 472 | |
097d4e7a GW |
473 | First, get the XFree86 distribution of X11R5 from XFree86.cdrom.com. |
474 | The version you want for FreeBSD 1.1 and later is XFree86 2.1. Follow | |
475 | the instructions for installation carefully. You may then wish to read | |
476 | the documentation for the ConfigXF86 tool, which assists you in | |
477 | configuring XFree86 for your particular graphics card/mouse/etc. | |
9be3e9fc GCI |
478 | |
479 | ||
097d4e7a GW |
480 | 4.1: I've been trying to run ghostscript on a 386 (or 486sx) with no |
481 | math co-processor and I keep getting errors. What's up? | |
9be3e9fc | 482 | |
097d4e7a GW |
483 | The problem here is due to the current FreeBSD math-emulator. You |
484 | need to pick up the sources to an alternate emulation package, which | |
485 | you may find in: | |
80df965c | 486 | |
28d7fa3d | 487 | /usr/src/contrib/FAQ/programs/fpu-emu |
9be3e9fc | 488 | |
80df965c JH |
489 | Follow the instructions supplied. |
490 | ||
097d4e7a GW |
491 | This is a port of an older Linux math-emulator. At some point, |
492 | FreeBSD's default math emulator will be good enough that you can | |
493 | forget about having to do this. | |
9be3e9fc | 494 | |
4f3d904a GCI |
495 | <CURRENT> |
496 | For current you may add the following to your kernel config file and | |
497 | it will be compiled in. | |
498 | options GPL_MATH_EMULATE | |
a04ba5f8 | 499 | NOTE: You will need to remove the MATH_EMULATE option when you do this. |
9be3e9fc | 500 | |
097d4e7a GW |
501 | 4.2: If I want something like seyon, term, Kermit, emacs or any one of |
502 | hundreds of popular freeware utilities, is there a good place to | |
503 | search through first? | |
9be3e9fc | 504 | |
097d4e7a GW |
505 | Yes, the FreeBSD `ports collection' was put together for just that |
506 | purpose. It contains some of the most often requested languages, | |
507 | editors, mail and news reading programs, network software and many | |
508 | many megabytes of other types of useful goodies. CDROM people will | |
509 | probably have the ports collection already in /usr/ports, other folks | |
510 | can get at the latest snapshot of the entire collection in: | |
9be3e9fc | 511 | |
097d4e7a | 512 | FreeBSD.cdrom.com:pub/FreeBSD/FreeBSD-current/ports |
9be3e9fc | 513 | |
097d4e7a GW |
514 | Note that this FTP server permits getting entire directories as one |
515 | (optionally gzipped or compressed) tar file. Read the FTP welcome | |
516 | banner carefully for details. | |
9be3e9fc GCI |
517 | |
518 | ||
097d4e7a GW |
519 | 4.3: I want all this neat software, but I haven't got the space or |
520 | CPU power to compile it all myself. Is there any way of getting | |
521 | binaries? | |
9be3e9fc | 522 | |
28d2f186 | 523 | Yes. We support the concept of a `package', which is essentially a |
097d4e7a GW |
524 | gzipped binary distribution with a little extra intelligence embedded |
525 | in it for doing any custom installation work required. Packages can | |
526 | also be installed or deinstalled again easily without having to know | |
527 | the gory details. CDROM people will have a packages/ directory on | |
528 | their CD, others can get the currently available packages from: | |
9be3e9fc | 529 | |
097d4e7a | 530 | FreeBSD.cdrom.com:pub/FreeBSD/packages-1.1 |
9be3e9fc GCI |
531 | |
532 | Note that all ports may not be available as packages, and that new | |
533 | packages are constantly being added. It is always a good idea to | |
097d4e7a GW |
534 | check periodically to see which packages are available. A README file |
535 | in the packages directory provides more details on the care and | |
536 | feeding of the package software, so no explicit details will be given | |
537 | here. | |
9be3e9fc | 538 | |
0a2f90df GCI |
539 | 4.4: I'm trying to get Perl to work properly, but I keep getting |
540 | errors about dbm failures when I test it. How can I fix this? | |
541 | ||
542 | The problem here is that the tests are written for an older version of | |
543 | the dbm code. There is nothing wrong with perl and the errors can | |
544 | be ignored. | |
545 | ||
7fa46f7a | 546 | |
097d4e7a | 547 | \f |
1f060cdf | 548 | 5 Miscellaneous Questions |
58b988d7 | 549 | ---------------- |
9be3e9fc | 550 | |
097d4e7a GW |
551 | 5.1: I've heard of something called FreeBSD-current. How do I run it, and |
552 | where can I get more information? | |
9be3e9fc | 553 | |
097d4e7a GW |
554 | Read the file /usr/src/contrib/FAQ/OTHER-FAQS/FreeBSD.current.policy, |
555 | it will tell you all you need to know. | |
9be3e9fc GCI |
556 | |
557 | ||
097d4e7a | 558 | 5.2: What is this thing called `sup', and how do I use it? |
9be3e9fc GCI |
559 | |
560 | SUP stands for Software Update Protocol, and was developed by CMU for | |
097d4e7a GW |
561 | keeping their development trees in sync. We use it to keep remote |
562 | sites in sync with our central development sources. | |
9be3e9fc GCI |
563 | |
564 | To use it, you need to have direct internet connectivity (not just | |
565 | mail or news). First, pick up the sup_bin.tgz package from: | |
566 | ||
097d4e7a | 567 | FreeBSD.cdrom.com:pub/FreeBSD/packages |
9be3e9fc GCI |
568 | |
569 | Second, read the file /usr/src/contrib/FAQ/OTHER-FAQS/FreeBSD.sup.faq. | |
570 | ||
571 | This file describes how to setup sup on your machine. You may also | |
28d2f186 | 572 | want to look at /usr/src/contrib/FAQ/OTHER-FAQS/FreeBSD.*.supfile, |
9be3e9fc GCI |
573 | which are a set of supfiles for supping from freefall.cdrom.com |
574 | ||
575 | ||
097d4e7a GW |
576 | 5.3: How do I create customized installation disks that I can give |
577 | out to other people at my site? | |
58b988d7 GW |
578 | |
579 | The entire process of creating installation disks and source and | |
580 | binary archives is automated by various targets in | |
581 | /usr/src/etc/Makefile. The information there should be enough to get | |
582 | you started. | |
9be3e9fc | 583 | |
097d4e7a GW |
584 | 5.4: How do I re-build my system without clobbering the existing |
585 | installed binaries? | |
58b988d7 GW |
586 | |
587 | If you define the environment variable DESTDIR while running `make | |
588 | world' or `make install', the newly-created binaries will be deposited | |
589 | in a directory tree identical to the installed one, rooted at | |
590 | ${DESTDIR}. Some random combination of shared libraries modifications | |
591 | and program rebuilds can cause this to fail in `make world', however. | |
592 | ||
593 | ||
1f060cdf GW |
594 | 5.5: When my system booted, it told me that ``(bus speed defaulted)''. |
595 | What does that mean? | |
596 | ||
597 | The Adaptec 1542 SCSI host adapters allow the user to configure their | |
598 | bus access speed in software. Previous versions of the 1542 driver tried | |
599 | to determine the fastest usable speed and set the adapter to that. We | |
600 | found that this breaks some users' systems, so you now have to define | |
601 | the ``TUNE_1542''' kernel configuration option in order to have this | |
602 | take place. Using it on those systems where it works may make your | |
603 | disks run faster, but on those systems where it doesn't, your data could | |
604 | be corrupted. | |
605 | ||
0a2f90df GCI |
606 | 5.6: I would like to track changes to current and do not have net access. |
607 | Is there any way besides downloading the whole tree? | |
ac84735e GCI |
608 | |
609 | Yes, Poul-Henning has set up a source tracking list. Please email | |
610 | majordomo@ref.tfs.com with a body of "get ctm-src-cur README" for | |
611 | futher information. | |
612 | ||
0a2f90df GCI |
613 | 5.7: How do I split up large binary files into smaller 240k files |
614 | like the distribution does? | |
615 | ||
616 | Newer BSD based systems have a "-b" option to split that allows them to | |
617 | split files on arbitary byte bondaries. | |
618 | ||
619 | Here is an example from /usr/src/Makefile. | |
620 | bin-tarball: | |
621 | (cd ${DISTDIR}; \ | |
622 | tar cf - . \ | |
623 | gzip --no-name -9 -c | \ | |
624 | split -b 240640 - \ | |
625 | ${RELEASEDIR}/tarballs/bindist/bin_tgz.) | |
626 | ||
627 | 5.8: I'm running Syscons and every morning my console locks up. What | |
628 | is going on here? | |
629 | ||
630 | This sounds like the "kill -1 syslogd" problem. Make sure that the | |
631 | following is correct on your system. | |
632 | 1. The attributes of the following nodes are correct. | |
633 | /dev/console | |
634 | crw------- 1 root 0, 0 May 23 15:32 /dev/console | |
635 | /dev/ttyv0 | |
636 | crw------- 1 root 12, 0 May 23 15:32 /dev/ttyv0 | |
637 | The part you are concerned with are the major and minor device numbers. | |
638 | ||
639 | 2. Make sure that getty is running on ttyv0 and NOT console. | |
640 | ||
641 | 3. If /dev/vga exists that it is a symlink to /dev/ttyv0. | |
642 | ||
2a8b0a95 GCI |
643 | 5.9: I've had a couple of system panics and would like to be able |
644 | browse the system dumps. The normal kernel is stripped and | |
645 | I don't want to run a bloated kernel. What can I do? | |
646 | ||
647 | Please retrieve the file FAQ/OTHER-FAQS/FreeBSD.kdebug.FAQ. This | |
648 | file covers the instructions for looking at system dumps. | |
ac84735e | 649 | |
097d4e7a | 650 | \f |
58b988d7 GW |
651 | 6 Kernel Configuration |
652 | ---------------------- | |
653 | ||
654 | 6.1: When I compile a kernel with multi-port serial code, it tells me | |
097d4e7a GW |
655 | that only the first port is probed and the rest skipped due to |
656 | interrupt conflicts. How do I fix this? | |
9be3e9fc | 657 | |
097d4e7a GW |
658 | The problem here is that FreeBSD has code built-in to keep the kernel |
659 | from getting trashed due to hardware or software conflicts. The way | |
660 | to fix this is to leave out the IRQ settings on other ports besides | |
661 | the first. Here is a example: | |
9be3e9fc GCI |
662 | |
663 | # | |
664 | # Multiport high-speed serial line - 16550 UARTS | |
665 | # | |
666 | device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr | |
667 | device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr | |
668 | device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr | |
669 | device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr | |
670 | ||
9be3e9fc | 671 | |
58b988d7 | 672 | 6.2: FreeBSD is supposed to come with support for QIC-40/80 drives but |
7fa46f7a | 673 | when I look, I can't find it. |
9be3e9fc | 674 | |
097d4e7a GW |
675 | You need to uncomment the following line in the generic config file |
676 | (or add it to your config file) and recompile. | |
9be3e9fc GCI |
677 | |
678 | controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr | |
679 | disk fd0 at fdc0 drive 0 | |
680 | disk fd1 at fdc0 drive 1 | |
681 | #tape ft0 at fdc0 drive 2 | |
682 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
683 | ||
0a4e9713 JH |
684 | You will have a device called /dev/ft0, which you can write to through |
685 | a special program to manage it called `ft' - see the man page on ft for | |
686 | further details. Versions previous to -current also had some trouble dealing | |
687 | wiht bad tape media; if you have trouble where ft seems to go back and forth | |
688 | over the same spot, try grabbing the latest version of ft from /usr/src/sbin/ft | |
689 | in current and try that. | |
690 | ||
9be3e9fc | 691 | |
58b988d7 | 692 | 6.3: Does FreeBSD support IPC primitives like those in System V? |
9be3e9fc | 693 | |
097d4e7a GW |
694 | Yes, FreeBSD supports System V-style IPC. This includes shared |
695 | memory, messages and semaphores. You need to add the following lines | |
696 | to your kernel config to enable them. | |
9be3e9fc GCI |
697 | |
698 | options SYSVSHM | |
699 | options "SHMMAXPGS=64" # 256Kb of sharable memory | |
700 | options SYSVSEM # enable for semaphores | |
701 | options SYSVMSG # enable for messaging | |
702 | ||
703 | Recompile and install. | |
704 | ||
705 | ||
097d4e7a | 706 | 6.4: Are there any utilities that make configuring a kernel easier? |
4a219cbb | 707 | |
097d4e7a GW |
708 | Well, yes and no. Look in /sys/i386/doc/options.doc (/sys/doc on post |
709 | 1.1 systems) for a list of kernel options you can set, and what they | |
710 | do. For a friendlier front-end to the process, see | |
711 | /usr/src/contrib/configit | |
4a219cbb JH |
712 | |
713 | ||
097d4e7a | 714 | 6.5: Will FreeBSD ever support other architectures? |
58b988d7 GW |
715 | |
716 | Several different groups have expressed interest in working on | |
717 | multi-architecture support for FreeBSD. If you are interested in | |
718 | doing so, please contact the developers at | |
719 | <FreeBSD-hackers@freefall.cdrom.com> for more information on our | |
720 | strategy for porting. | |
721 | ||
58b988d7 | 722 | |
097d4e7a GW |
723 | 6.6: I just wrote a device driver for a Foobar Systems, Inc. |
724 | Integrated Adaptive Gronkulator card. How do I get the | |
725 | appropriate major numbers assigned? | |
726 | ||
727 | This depends on whether or not you plan on making the driver publicly | |
728 | available. If you do, then please send us a copy of the driver source | |
729 | code, plus the appropriate modifications to files.i386, a sample | |
730 | configuration file entry, and the appropriate MAKEDEV code to create | |
731 | any special files your device uses. If you do not, or are unable to | |
732 | because of licensing restrictions, then character major number 32 and | |
733 | block major number 8 have been reserved specifically for this purpose; | |
734 | please use them. In any case, we'd appreciate hearing about your | |
735 | driver on <FreeBSD-hackers@freefall.cdrom.com>. | |
9be3e9fc | 736 | |
0a2f90df GCI |
737 | 6.7: I'm wanting to switch console drivers to Syscons. I changed my |
738 | kernel config file to run Syscons, but when I reboot the system | |
739 | locks up! How do I fix it? | |
740 | ||
741 | There are four things that need to be done to properly install syscons | |
742 | on a system. | |
743 | 1. Add the following line to your kernel config file while deleting the | |
744 | line for pccons. | |
745 | device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr | |
746 | (Note the changed vector 'scintr'. It is a common error to change the | |
747 | device name but NOT the vector. | |
748 | ||
749 | 2. Add the following option to your config file. | |
750 | options "NCONS=6" # Change to reflect the number of consoles | |
751 | ||
752 | 3. Modify /etc/ttys to enable gettys on ttyv0 - ttyv??. Here is an | |
753 | example line. | |
754 | ttyv0 "/usr/libexec/getty Pc" Pc3 on secure | |
755 | Please make sure that you have disabled the getty on /dev/console. | |
756 | ||
757 | 4. Create the device nodes in /dev. This is done useing the MAKEDEV | |
758 | script located in that directory. Here is a command line that will create | |
759 | 6 virtual consoles. | |
760 | MAKEDEV vty6 | |
761 | If /dev/vga exists, it should now be a symlink to /dev/ttyv0. | |
762 | ||
763 | NOTE: If you are going to be running X, you will need an unused vty that | |
764 | has no getty running on it. | |
765 | ||
9be3e9fc | 766 | |
097d4e7a | 767 | \f |
58b988d7 GW |
768 | 7 System Administration |
769 | ----------------------- | |
770 | ||
097d4e7a GW |
771 | 7.1: How do I add a user easily? I read the man page and am more confused |
772 | than ever! [Alternatively: I didn't read the man page, I never read | |
773 | man pages! :-) ] | |
9be3e9fc | 774 | |
097d4e7a GW |
775 | Look at Gary Clark's Perl package ``AddIt'', which may be found in |
776 | /usr/src/contrib/adduser. This is a first attempt at solving the | |
777 | problem and may be replaced with a more complex but capable solution | |
778 | later. | |
9be3e9fc GCI |
779 | |
780 | ||
58b988d7 | 781 | 7.2: I'm trying to use my printer and keep running into problems. I tried |
7fa46f7a | 782 | looking at /etc/printcap, but it's close to useless. Any ideas? |
9be3e9fc GCI |
783 | |
784 | Yes, you can pick up Andreas Klemm's apsfilter package from: | |
785 | ||
58b988d7 | 786 | ftp.germany.eu.net:pub/comp/i386/Linux/Local.EUnet/People/akl/apsfilter-1.11.gz |
9be3e9fc | 787 | |
4a219cbb JH |
788 | This is a complete package for printing text, PS and DVI files. It |
789 | requires ghostscript and dvips. | |
80df965c | 790 | |
58b988d7 GW |
791 | If you are looking for a simple printcap just for PS and text files, |
792 | try picking up the printcap01 sources in: | |
80df965c | 793 | |
28d7fa3d | 794 | /usr/src/contrib/FAQ/programs/printcap01 |
9be3e9fc | 795 | |
097d4e7a GW |
796 | NOTE: We're looking for printcap entries for all printers. If you |
797 | have one, or a filter for one, please send it or mail us a pointer to | |
798 | <FreeBSD-FAQ@freefall.cdrom.com>. Thanks! | |
9be3e9fc GCI |
799 | |
800 | ||
58b988d7 GW |
801 | 8 Networking |
802 | ------------ | |
9be3e9fc | 803 | |
097d4e7a GW |
804 | 8.1: Where can I get information booting FreeBSD `diskless', that is |
805 | booting and running a FreeBSD box from a server rather than having | |
806 | a local disk? | |
9be3e9fc | 807 | |
80df965c | 808 | Please read /sys/i386/netboot/netboot.doc. |
9be3e9fc GCI |
809 | |
810 | ||
097d4e7a GW |
811 | 8.2: I've heard that you can use a FreeBSD box as a dedicated network |
812 | router - is there any easy support for this? | |
9be3e9fc | 813 | |
28d2f186 GW |
814 | Internet standards and good engineering practice prohibit us from |
815 | providing packet forwarding by default in FreeBSD. You can enable | |
816 | this support by adding `options GATEWAY' to your kernel configuration | |
817 | file and recompiling. In most cases, you will also need to run a | |
818 | routing process to tell other systems on your network about your | |
819 | router; FreeBSD comes with the standard BSD routing daemon routed(8), | |
820 | or for more complex situations you may want to try GateD (available by | |
097d4e7a | 821 | FTP from gated.Cornell.edu). |
28d2f186 GW |
822 | |
823 | It is our duty to warn you that, even when FreeBSD is configured in | |
824 | this way, it does not completely comply with the Internet standard | |
825 | requirements for routers; however, it comes close enough for ordinary | |
826 | usage. | |
827 | ||
828 | There is a standard `router floppy' that you can boot on a FreeBSD | |
80df965c JH |
829 | machine to configure it as a network router. Please look in: |
830 | ||
097d4e7a | 831 | freefall.cdrom.com:pub/incoming/freertr |
80df965c | 832 | |
58b988d7 | 833 | and follow the instructions. |
9be3e9fc GCI |
834 | |
835 | ||
097d4e7a | 836 | 8.3: Does FreeBSD support SLIP and PPP? |
9be3e9fc | 837 | |
097d4e7a GW |
838 | Yes. See the man pages for slattach(8) and/or pppd(8) if you're using |
839 | FreeBSD to connect to another site. If you're using FreeBSD as a | |
840 | server for other machines, look at the man page for sliplogin(8). | |
da91f7c7 GCI |
841 | You may also want to take a look at the slip FAQ in: |
842 | FAQ/OTHER-FAQS/FreeBSD.slip.dialup.faq | |
9be3e9fc | 843 | |
097d4e7a | 844 | 8.4: How do I set up NTP? |
28d2f186 GW |
845 | |
846 | NTP configuration is so complex and widely variable from site to site | |
847 | that it would be impossible to make a blanket statement here. Your | |
848 | best bet is to ask whoever's in charge of NTP at your site or network | |
849 | provider; chances are that they are running a similar version of NTP | |
850 | to the one that we provide, and they can probably provide you with the | |
851 | right configuration files to get things going. | |
852 | ||
853 | If you can't find anyone in charge, you should examine the files in | |
854 | /usr/src/contrib/xntpd/doc and see if they help any. If not, you | |
855 | could ask on the comp.protocols.time.ntp newsgroup, or the | |
097d4e7a | 856 | <ntp@ni.umd.edu> mailing-list. |
28d2f186 | 857 | |
097d4e7a GW |
858 | 8.5: How do I get my network set up? I don't see how to make my |
859 | /dev/ed0 device! | |
28d2f186 | 860 | |
58b988d7 | 861 | In the Berkeley networking framework, network interfaces are only |
097d4e7a | 862 | directly accessible by kernel code. Please see the /etc/netstart file |
58b988d7 GW |
863 | and the manual pages for the various network programs mentioned there |
864 | for more information. If this leaves you totally confused, then you | |
865 | should pick up a book describing network administration on another | |
866 | BSD-related operating system; with few significant exceptions, | |
867 | administering networking on FreeBSD is basically the same as on SunOS | |
868 | 4.0 or Ultrix. | |
869 | ||
097d4e7a | 870 | 8.6: How do I get my 3C503 to use the other network port? |
58b988d7 GW |
871 | |
872 | Use `ifconfig ed0' to see whether the ALTPHYS flag is set, and then | |
873 | use either `ifconfig ed0 altphys' if it was off, or `ifconfig ed0 | |
874 | -altphys' if it was on. | |
875 | ||
eb79c9e8 JH |
876 | 8.7: I'm having problems with NFS to/from FreeBSD and my Wuffotronics |
877 | Workstation / generic NFS appliance, where should I look first? | |
878 | ||
879 | Certain PC network cards are better than others (to put it mildly) and | |
8685886c | 880 | can sometimes cause problems with network intensive applications like |
eb79c9e8 JH |
881 | NFS. See /usr/src/contrib/FAQ/OTHER-FAQS/NFS for more information on this |
882 | topic. | |
883 | ||
8685886c JH |
884 | 8.8: I want to enable IP multicast support on my FreeBSD box, how do I do it? |
885 | [Alternatively: What the heck IS multicasting and what applications | |
a95d9ef5 JH |
886 | make use of it?] |
887 | ||
888 | First off, to you'll need to rebuild a kernel with multicast support in it. | |
889 | This requires that you have the sources to at least the kernel and the config | |
890 | utility. See /usr/src/sys/i386/conf/LINT for its comments on multicast; you'll | |
891 | need to set the MROUTING and MULTICAST options as shown there. | |
892 | ||
893 | If you are running a 1.1 system you may then find that things like rlogin and | |
894 | ftpd are whining to syslog about failures in setsockopt(). Don't worry as | |
895 | this is a harmless side-effect of putting FreeBSD into "compliance mode" | |
896 | with BSD/386 and NetBSD for certain network operations, necessary because many | |
897 | tools like `vat' (see below) are only distribted in binary form for BSDI | |
898 | systems and we wouldn't otherwise be able to run them. If you have the full | |
899 | source dist, you may get rid of these warnings by doing a `make world'. Users | |
900 | of FreeBSD 1.1.5 will not experience these problems as the binaries there have | |
901 | already been compiled this way by default. | |
8685886c JH |
902 | |
903 | Further reading/exploration for those interested in multicast: | |
904 | ||
905 | Product Description Where | |
906 | --------------- ----------------------- --------------------------------------- | |
907 | faq.txt Mbone FAQ ftp.isi.edu:/mbone/faq.txt | |
908 | imm/immserv IMage Multicast ftp.hawaii.edu:/paccom/imm.src.tar.Z | |
909 | for jpg/gif images. | |
910 | nv Network Video. ftp.parc.xerox.com: | |
911 | /pub/net-reseach/exp/nv3.3alpha.tar.Z | |
912 | vat LBL Visual Audio Tool. ftp.ee.lbl.gov: | |
913 | /conferencing/vat/i386-vat.tar.Z | |
914 | wb LBL White Board. ftp.ee.lbl.gov: | |
915 | /conferencing/wb/i386-wb.tar.Z | |
916 | mmcc MultiMedia Conference ftp.isi.edu: | |
917 | Control program /confctrl/mmcc/mmcc-intel.tar.Z | |
918 | rtpqual Tools for testing the ftp.psc.edu:/pub/net_tools/rtpqual.c | |
919 | quality of RTP packets. | |
920 | vat_nv_record Recording tools for vat ftp.sics.se:archive/vat_nv_record.tar.Z | |
921 | and nv. | |
922 | ||
923 | [Many thanks to Jim Lowe for providing multicast support for FreeBSD, and this | |
924 | information] | |
925 | ||
58b988d7 GW |
926 | |
927 | 9 Serial Communications | |
928 | ----------------------- | |
9be3e9fc | 929 | |
097d4e7a | 930 | 9.1: When I do a set line in Kermit it locks up, what's the problem? |
9be3e9fc GCI |
931 | |
932 | The problem here is that FreeBSD thinks it's talking to a incoming | |
933 | modem connection, and is waiting for carrier to come up on it before | |
934 | completing the open. To disable modem control, do an: | |
935 | ||
097d4e7a | 936 | stty -f /dev/ttyXX clocal |
9be3e9fc GCI |
937 | |
938 | (Where `ttyXX' is the tty port you're using). If you use a given port | |
939 | only for outgoing connections, you may wish to put this command in | |
097d4e7a GW |
940 | your /etc/rc.local to avoid having to do it every time you reboot your |
941 | system. | |
9be3e9fc GCI |
942 | |
943 | ||
097d4e7a GW |
944 | NOTE: Anyone wishing to submit a FAQ entry on how to get tip and cu working |
945 | would have it much appreciated! We all use Kermit over here! :-) | |
9be3e9fc GCI |
946 | |
947 | ----------------------------------------------------------------------------- | |
097d4e7a GW |
948 | If you see a problem with this FAQ, or wish to submit an entry, please |
949 | mail us at <FreeBSD-FAQ@freefall.cdrom.com>. We appreciate your | |
950 | feedback, and cannot make this a better FAQ without your help! | |
9be3e9fc GCI |
951 | |
952 | ||
953 | FreeBSD Core Team | |
954 | ||
955 | ----------------------------------------------------------------------------- | |
956 | ||
097d4e7a | 957 | ACKNOWLEDGMENTS: |
9be3e9fc | 958 | |
097d4e7a | 959 | Gary Clark II - Our head FreeBSD FAQ maintenance man |
9be3e9fc | 960 | Jordan Hubbard - Janitorial services (I don't do windows) |
097d4e7a | 961 | Garrett Wollman - Networking and formatting |
0b834f39 | 962 | Robert Oliver, Jr. - Ideas and dumb questions (That made me think) |
245b6898 | 963 | Ollivier Robert - Invaluable feedback and contributions |
9be3e9fc GCI |
964 | The FreeBSD Team - Kvetching, moaning, submitting data |
965 | ||
966 | And to any others we've forgotten, apologies and heartfelt thanks! | |
967 |