From owner-svn-doc-projects@FreeBSD.ORG Mon May 6 11:53:22 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id EB86FEBB;
Mon, 6 May 2013 11:53:22 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id DCDA7EB3;
Mon, 6 May 2013 11:53:22 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r46BrMS9069788;
Mon, 6 May 2013 11:53:22 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r46BrMX7069787;
Mon, 6 May 2013 11:53:22 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305061153.r46BrMX7069787@svn.freebsd.org>
From: Dru Lavigne
Date: Mon, 6 May 2013 11:53:22 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41554 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/install
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 06 May 2013 11:53:23 -0000
Author: dru
Date: Mon May 6 11:53:22 2013
New Revision: 41554
URL: http://svnweb.freebsd.org/changeset/doc/41554
Log:
First pass to cleanup this chapter:
- &os; and "you"
- dir tags and some (not all) acronyms
- fixes broken URLs, grammos, typos, outdated info
- removes 3.13.5 which assumes a boot floppy
- removes references to deprecated utilities partition magic,
xcopy, fdimage, doublespace
- removes unrecommended tip in Q&A
- removes 3.13.3 as floppies were covered earlier for pc98
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/install/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/install/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/install/chapter.xml Mon May 6 11:34:28 2013 (r41553)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/install/chapter.xml Mon May 6 11:53:22 2013 (r41554)
@@ -27,39 +27,40 @@
- Installing &os; 8.X and Earlier
+ Installing &os; 8.XSynopsisinstallation
- FreeBSD is provided with a text-based, easy to use installation
+ &os; provides a text-based, easy to use installation
program. &os; 9.0-RELEASE and later use the installation program
- known as bsdinstall, with releases prior
- to 9.0-RELEASE using sysinstall for
- installation. This chapter describes the use of sysinstall
- to install &os;. The use of bsdinstall
+ known as &man.bsdinstall.8;
+ while &os; 8.X uses
+ &man.sysinstall.8;. This chapter describes
+ how to use &man.sysinstall.8;.
+ The use of &man.bsdinstall.8;
is covered in .After reading this chapter, you will know:
- How to create the FreeBSD installation disks.
+ How to create the &os; installation media.
- How FreeBSD refers to, and subdivides, your hard disks.
+ How &os; refers to and subdivides hard disks.
- How to start sysinstall.
+ How to start &man.sysinstall.8;.
- The questions sysinstall will ask
- you, what they mean, and how to answer them.
+ The questions &man.sysinstall.8; asks,
+ what they mean, and how to answer them.
@@ -68,19 +69,18 @@
Read the supported hardware list that shipped with the version
- of FreeBSD you are installing, and verify that your hardware is
+ of &os; to install, and verify that the system's hardware is
supported.In general, these installation instructions are written
- for &i386; (PC compatible) architecture
- computers. Where applicable, instructions specific to other
- platforms will be listed. Although this
- guide is kept as up to date as possible, you may find minor
- differences between the installer and what is shown here. It is
- suggested that you use this chapter as a general guide rather
+ for the &i386; and &os;/&arch.amd64; architectures.
+ Where applicable, instructions specific to other
+ platforms will be listed. There may be minor
+ differences between the installer and what is shown here.
+ This chapter should be used as a general guide rather
than a literal installation manual.
@@ -96,23 +96,24 @@
&os; version and the hardware architecture.A summary of this information is given in the following sections.
- Depending on the method you choose to install &os;, you may
- also need a floppy drive, a supported CDROM drive, and in some
- case a network adapter. This will be covered by the .
+ Depending on the method chosen to install &os;,
+ a floppy drive, CDROM drive, or
+ network adapter may be needed. Instructions on how to
+ prepare the installation media can be found in
+ .
&os;/&arch.i386; and &os;/&arch.pc98;Both &os;/&arch.i386; and &os;/&arch.pc98; require a 486 or
- better processor and at least 24 MB of RAM. You will
- need at least 150 MB of free hard drive space for the
+ better processor, at least 24 MB of RAM, and at
+ least 150 MB of free hard drive space for the
most minimal installation.
- In case of old configurations, most of time, getting
- more RAM and more hard drive space is more important than
- getting a faster processor.
+ In the case of older hardware, installing more RAM and
+ more hard drive space is often more important than
+ a faster processor.
@@ -122,33 +123,32 @@
There are two classes of processors capable of running
&os;/&arch.amd64;. The first are AMD64 processors,
including the &amd.athlon;64,
- &amd.athlon;64-FX, &amd.opteron; or better
+ &amd.athlon;64-FX, and &amd.opteron; or better
processors.
- The second class of processors that can use
- &os;/&arch.amd64; includes those using the &intel; EM64T
+ The second class of processors
+ includes those using the &intel; EM64T
architecture. Examples of these processors include the
&intel; &core; 2 Duo, Quad, Extreme processor
families, and the &intel; &xeon; 3000, 5000, and 7000
sequences of processors.
- If you have a machine based on an nVidia nForce3
- Pro-150, you must use the BIOS setup to
- disable the IO APIC. If you do not have an option to do
- this, you will likely have to disable ACPI instead. There
- are bugs in the Pro-150 chipset that we have not found a
- workaround for yet.
+ If the machine is based on an nVidia nForce3
+ Pro-150, the BIOS setup must be used to
+ disable the IO APIC. If this option does not exist,
+ disable ACPI instead as there
+ are bugs in the Pro-150 chipset.&os;/&arch.sparc64;
- To install &os;/&arch.sparc64;, you will need a supported
+ To install &os;/&arch.sparc64;, use a supported
platform (see ).
- You will need a dedicated disk for &os;/&arch.sparc64;. It
- is not possible to share a disk with another operating
+ A dedicated disk is needed for &os;/&arch.sparc64; as
+ it is not possible to share a disk with another operating
system at this time.
@@ -159,14 +159,14 @@
A list of supported hardware is provided with each &os;
release in the &os; Hardware Notes. This document can usually
be found in a file named HARDWARE.TXT, in
- the top-level directory of a CDROM or FTP distribution or in
- sysinstall's documentation menu.
- It lists, for a given architecture, what hardware devices are
+ the top-level directory of a CDROM or FTP distribution, or in
+ &man.sysinstall.8;'s documentation menu.
+ It lists, for a given architecture, which hardware devices are
known to be supported by each release of &os;. Copies of the
supported hardware list for various releases and architectures
can also be found on the Release
- Information page of the &os; Web site.
+ Information page of the &os; website.
@@ -174,28 +174,35 @@
Pre-installation Tasks
- Inventory Your Computer
+ Inventory the Computer
- Before installing &os; you should attempt to inventory the
- components in your computer. The &os; installation routines will
- show you the components (hard disks, network cards, CDROM drives, and
- so forth) with their model number and manufacturer. &os; will also
+ Before installing &os; it is recommended to inventory the
+ components in the computer. The &os; installation routines
+ will show components such as hard disks, network cards,
+ and CDROM drives with their model number and manufacturer.
+ &os; will also
attempt to determine the correct configuration for these devices,
- which includes information about IRQ and IO port usage. Due to the
- vagaries of PC hardware this process is not always completely
- successful, and you may need to correct &os;'s determination of
- your configuration.
-
- If you already have another operating system installed, such as
- &windows; or Linux, it is a good idea to use the facilities provided
- by those operating systems to see how your hardware is already
- configured. If you are not sure what settings an expansion
- card is using, you may find it printed on the card itself. Popular IRQ
- numbers are 3, 5, and 7, and IO port addresses are normally written as
- hexadecimal numbers, such as 0x330.
+ including information about IRQ and I/O port usage. Due
+ to the
+ vagaries of computer hardware, this process is not always
+ completely
+ successful, and &os; may need some manual
+ configuration.
- We recommend you print or write down this information before
- installing &os;. It may help to use a table, like this:
+ If another operating system is already installed,
+ use the facilities provided
+ by that operating systems to view the hardware configuration.
+ If the settings of an expansion
+ card are not obvious, check if they are printed on the
+ card itself. Popular IRQ
+ numbers are 3, 5, and 7, and I/O port addresses are normally
+ written as
+ hexadecimal numbers, such as 0x330.
+
+ It is recommended to print or write down this information
+ before
+ installing &os;. It may help to use a table, as seen in this
+ example:
- Once the inventory of the components in your computer is
- done, you have to check if they match the hardware
- requirements of the &os; release you want to install.
+ Once the inventory of the components in the computer is
+ complete, check if it matches the hardware
+ requirements of the &os; release to install.
- Backup Your Data
+ Make a Backup
- If the computer you will be installing &os; on contains
- valuable data, then ensure you have it backed up, and that you have
- tested the backups before installing &os;. The &os;
- installation routine will prompt you before writing any
- data to your disk, but once that process has started it cannot be
+ If the computer contains
+ valuable data, ensure it is backed up, and that the backup
+ has been
+ tested before installing &os;. The &os;
+ installer will prompt before writing any
+ data to disk, but once that process has started, it cannot be
undone.Decide Where to Install &os;
- If you want &os; to use your entire hard disk, then there is nothing
- more to concern yourself with at this point — you can skip this
+ If &os; is to be installed on the entire hard disk,
+ skip this
section.
- However, if you need &os; to co-exist with other operating
- systems then you need to have a rough understanding of how data is
- laid out on the disk, and how this affects you.
+ However, if &os; will co-exist with other operating
+ systems, a rough understanding of how data is
+ laid out on the disk is useful.Disk Layouts for &os;/&arch.i386;
- A PC disk can be divided into discrete chunks. These chunks are
- called partitions. Since
- &os; internally also has partitions, the naming
- can become confusing very quickly, therefore these
- disk chunks are referred to as disk slices or simply slices
- in &os; itself. For example, the &os; utility
- fdisk which operates on the PC disk partitions,
+ A PC disk can be divided into discrete chunks known as
+ partitions. Since
+ &os; also has partitions, naming
+ can quickly become confusing. Therefore, these
+ disk chunks are referred to as slices
+ in &os;. For example, the &os; version of
+ &man.fdisk.8;
refers to slices instead of partitions. By design, the PC only
supports four partitions per disk. These partitions are called
primary partitions. To work around this
@@ -335,74 +343,71 @@
a number used to identify the type of data on the partition. &os;
partitions have the partition ID of 165.
- In general, each operating system that you use will identify
- partitions in a particular way. For example, &ms-dos;, and its
- descendants, like &windows;, assign each primary and logical partition a
+ In general, each operating system will identify
+ partitions in a particular way. For example,
+ &windows;, assigns each primary and logical partition a
drive letter, starting with
C:.
- &os; must be installed into a primary partition. &os; can
- keep all its data, including any files that you create, on this one
- partition. However, if you have multiple disks, then you can create a
- &os; partition on all, or some, of them. When you install &os;,
- you must have one partition available. This might be a blank
- partition that you have prepared, or it might be an existing partition
- that contains data that you no longer care about.
-
- If you are already using all the partitions on all your disks, then
- you will have to free one of them for &os; using the tools
- provided by the other operating systems you use (e.g.,
- fdisk on &ms-dos; or &windows;).
-
- If you have a spare partition then you can use that. However, you
- may need to shrink one or more of your existing partitions
- first.
+ &os; must be installed into a primary partition. If
+ there are multiple disks, a &os;
+ partition can be created
+ on all, or some, of them. When &os; is installed, at least
+ one partition must be available. This might be a blank
+ partition or it might be an existing partition whose
+ data can be overwritten.
+
+ If all the partitions on all the disks are in use,
+ free one of them for &os; using the tools
+ provided by an existing operating system, such as &windows;
+ fdisk.
+
+ If there is a spare partition, use that. If it is too
+ small,
+ shrink one or more existing partitions to create more
+ available space.A minimal installation of &os; takes as little as 100 MB
of disk
space. However, that is a very minimal install,
- leaving almost no space for your own files. A more realistic minimum
+ leaving almost no space for files. A more realistic minimum
is 250 MB without a graphical environment, and 350 MB or
- more if you
- want a graphical user interface. If you intend to install a lot of
- third-party software as well, then you will need more space.
-
- You can use a commercial tool such as &partitionmagic;,
- or a free tool such as GParted,
- to resize your partitions and make space for
- &os;. Both
- &partitionmagic; and
- GParted are known to work on
- NTFS. GParted
- is available on a number of Live CD Linux distributions, such as
- SystemRescueCD.
-
- Problems have been reported resizing µsoft; Vista
- partitions. Having a Vista installation CDROM handy when
- attempting such an operation is recommended. As with all
- such disk maintenance tasks, a current set of backups is
- also strongly advised.
+ more for
+ a graphical user interface. If other
+ third-party software will be installed,
+ even more space is needed.
+
+ Use a tool such as GParted
+ to resize the partitions and make space for
+ &os;. When resizing µsoft; partitions, having a
+ &windows; installation disc handy is recommended. As with all
+ disk maintenance tasks, a current set of backups is also
+ strongly advised.
- Incorrect use of these tools can delete the data on your disk.
- Be sure that you have recent, working backups before using
- them.
+ Incorrect use of a shrinking tool can delete the data
+ on the disk.
+ Always have a recent, working backup before using this
+ type of tool.Using an Existing Partition Unchanged
- Suppose that you have a computer with a single 4 GB disk
+ Consider a computer with a single 4 GB disk
that
- already has a version of &windows; installed, and you have split the
- disk into two drive letters, C: and
+ already has a version of &windows; installed, where the
+ disk has been split into two drive letters,
+ C: and
D:, each of which is 2 GB in size.
- You have 1 GB of data on C:, and
+ There is 1 GB of data on C:,
+ and
0.5 GB of data on
D:.
- This means that your disk has two partitions on it, one per
- drive letter. You can copy all your existing data from
+ This disk has two partitions, one per
+ drive letter. Copy all existing data from
D: to C:, which
will free up the second partition, ready for &os;.
@@ -410,25 +415,28 @@
Shrinking an Existing Partition
- Suppose that you have a computer with a single 4 GB disk
- that already has a version of &windows; installed. When you installed
- &windows; you created one large partition, giving you a
- C: drive that is 4 GB in size. You are
- currently using 1.5 GB of space, and want &os; to have 2 GB
+ Consider a computer with a single 4 GB disk
+ that already has a version of &windows; installed. When
+ &windows; was installed, it created one large partition,
+ a
+ C: drive that is 4 GB in size.
+ Currently, 1.5 GB of space is used, and &os; should
+ have 2 GB
of space.
- In order to install &os; you will need to either:
+ In order to install &os;, either:
- Backup your &windows; data, and then reinstall &windows;,
+ Backup the &windows; data and then reinstall
+ &windows;,
asking for a 2 GB partition at install time.
- Use one of the tools such as &partitionmagic;,
- described above, to shrink your &windows;
- partition.
+ Use a tool
+ to shrink the &windows;
+ partition.
@@ -437,21 +445,24 @@
- Collect Your Network Configuration Details
+ Collect the Network Configuration Details
- If you intend to connect to a network as part of your &os;
- installation (for example, if you will be installing from an FTP
+ Before
+ installing from an FTP
site or an
- NFS server), then you need to know your network configuration. You
- will be prompted for this information during the installation so that
- &os; can connect to the network to complete the install.
+ NFS server, make note of the network
+ configuration. The
+ installer
+ will prompt for this information so that
+ it can connect to the network to complete the
+ installation.Connecting to an Ethernet Network or Cable/DSL Modem
- If you connect to an Ethernet network, or you have an Internet
- connection using an Ethernet adapter via cable or DSL, then you will
- need the following information:
+ If using an Ethernet network or an Internet
+ connection using an Ethernet adapter via cable or DSL, the
+ following information is needed:
@@ -475,32 +486,35 @@
- If you do not know this information, then ask your system
- administrator or service provider. They may say that this
- information is assigned automatically, using
- DHCP. If so, make a note of this.
+ If this information is unknown, ask the system
+ administrator or service provider. Make note if this
+ information is assigned automatically using
+ DHCP.Connecting Using a Modem
- If you dial up to an ISP using a regular modem then you can
- still install &os; over the Internet, it will just take a very
+ If using a dialup modem,
+ &os; can still be installed over the Internet, it will just
+ take a very
long time.You will need to know:
- The phone number to dial for your ISP
+ The phone number to dial the Internet Service
+ Provider (ISP)
- The COM: port your modem is connected to
+ The COM: port the modem is connected to
- The username and password for your ISP account
+ The username and password for the
+ ISP account
@@ -508,28 +522,30 @@
Check for &os; Errata
- Although the &os; project strives to ensure that each release
+ Although the &os; Project strives to ensure that each
+ release
of &os; is as stable as possible, bugs do occasionally creep into
- the process. On very rare occasions those bugs affect the
+ the process. On rare occasions those bugs affect the
installation process. As these problems are discovered and fixed, they
are noted in the &os; Errata,
- which is found on the &os; web site. You
- should check the errata before installing to make sure that there are
- no late-breaking problems which you should be aware of.
+ which is found on the &os; website.
+ Check the errata before installing to make sure that there are
+ no late-breaking problems to be aware of.
- Information about all the releases, including the errata for each
+ Information about all releases, including the errata for
+ each
release, can be found on the
release
information section of the
&os; web site.
+ url="&url.base;/index.html">&os; website.Obtain the &os; Installation Files
- The &os; installation process can install &os; from files
+ The &os; installer can install &os; from files
located in any of the following places:
@@ -548,11 +564,7 @@
- A SCSI or QIC tape
-
-
-
- Floppy disks
+ Floppy disks (&os;/&arch.pc98; only)
@@ -560,8 +572,8 @@
Network
- An FTP site, going through a firewall, or using an HTTP proxy,
- as necessary
+ An FTP site through a firewall or using an HTTP
+ proxy
@@ -573,14 +585,14 @@
- If you have purchased &os; on CD or DVD then you already have
- everything you need, and should proceed to the next section
- ().
+ If installing from a purchased &os; CD/DVD,
+ skip ahead to
+ .
- If you have not obtained the &os; installation files you should
+ To obtain the &os; installation files,
skip ahead to which explains how
- to prepare to install &os; from any of the above. After reading
- that section, you should come back here, and read on to
+ to prepare the installation media. After reading
+ that section, come back here and read on to
.
@@ -588,18 +600,19 @@
Prepare the Boot MediaThe &os; installation process is started by booting the
- computer into the &os; installer—it is not a program you run
+ computer into the &os; installer. It is not a program that
+ can be run
within another operating system. The computer normally boots
using the operating system installed on the hard disk, but it
can also be configured to boot from a CDROM or from a USB
disk.
- If you have &os; on CDROM or DVD (either one you purchased
- or you prepared yourself), and your computer allows you to boot from
- the CDROM or DVD (typically a BIOS option called Boot
- Order or similar), then you can skip this section. The
- &os; CDROM and DVD images are bootable and can be used to install
+ If installing from a CD/DVD to a
+ computer whose BIOS supports booting from
+ the CD/DVD, skip this section. The
+ &os; CD/DVD images are bootable and can be used to
+ install
&os; without any other special preparation.
@@ -611,36 +624,38 @@
Acquire the Memory Stick ImageMemory stick images for
- &os; 8.X and earlier can be downloaded from
+ &os; 8.X can be downloaded
+ from
the ISO-IMAGES/
directory at
ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/arch/ISO-IMAGES/version/&os;-version-RELEASE-arch-memstick.img.
Replace arch and
version with the
- architecture and the version number which you want to
- install, respectively. For example, the memory stick
+ architecture and the version number to
+ install. For example, the memory stick
images for &os;/&arch.i386; &rel2.current;-RELEASE are
available from .A different directory path is used for
- &os; 9.0-RELEASE and later versions. Details of
- download and installation of &os; 9.0-RELEASE and
- later is covered in .
+ &os; 9.0-RELEASE and later versions. How to
+ download and install
+ &os; 9.X
+ is covered in .
The memory stick image has a .img
extension. The ISO-IMAGES/ directory
- contains a number of different images, and the one you
- will need to use will depend on the version of &os; you
- are installing, and in some cases, the hardware you are
- installing to.
+ contains a number of different images and the one to
+ use depends on the version of &os; and the
+ type of media supported by the hardware being installed
+ to.
Before proceeding, back up the
- data you currently have on your USB stick, as this
+ data on the USB stick, as this
procedure will erase it.
@@ -653,29 +668,32 @@
The example below
- lists /dev/da0 as the
- target device where the image will be written. Be very careful
- that you have the correct device as the output target, or you
- may destroy your existing data.
+ uses /dev/da0
+ as the
+ target device where the image will be written. Be
+ very careful
+ to use the correct device as the output target, as
+ the data on that device will be destroyed.
Writing the Image with &man.dd.1;The .img file
- is not a regular file you copy to the
+ is not a regular file that can
+ just be copied to the
memory stick. It is an image of the complete contents of the
- disk. This means that you cannot simply
- copy files from one disk to another. Instead, you must use
- &man.dd.1; to write the image directly to the disk:
+ disk. This means that
+ &man.dd.1; must be used to write the image directly to
+ the disk:
&prompt.root; dd if=&os;-&rel2.current;-RELEASE-&arch.i386;-memstick.img of=/dev/da0 bs=64kIf an
Operation not permitted
error is displayed, make certain that the target device
- is not in use, mounted, or being automounted by some
- well-intentioned utility program. Then try
+ is not in use, mounted, or being automounted by
+ another program. Then try
again.
@@ -684,8 +702,10 @@
Using &windows; To Write the Image
- Make sure you use the correct drive letter as the output
- target, or you may overwrite and destroy existing data.
+ Make sure to use the correct drive letter as the
+ output
+ target, as this command will overwrite and destroy
+ any existing data on the specified device.
@@ -740,29 +760,32 @@
kern*.
- Your FTP program must use binary mode
- to download these disk images. Some web browsers have been
- known to use text (or
- ASCII) mode, which will be apparent if you
- cannot boot from the disks.
+ The FTP program must use binary
+ mode
+ to download these disk images. Some web browsers
+ use text or
+ ASCII mode, which will be apparent
+ if
+ the disks are not bootable.Prepare the Floppy Disks
- Prepare one floppy disk per image file you had to
- download. It is imperative that these disks are free from
- defects. The easiest way to test this is to format the disks
- for yourself. Do not trust pre-formatted floppies. The format
+ Prepare one floppy disk per downloaded image file.
+ It is imperative that these disks are free from
+ defects. The easiest way to test this is to reformat the
+ disks.
+ Do not trust pre-formatted floppies. The format
utility in &windows; will not tell about the presence of
bad blocks, it simply marks them as bad
- and ignores them. It is advised that you use brand new
- floppies if choosing this installation route.
+ and ignores them. It is advised to use brand new
+ floppies.
- If you try to install &os; and the installation
- program crashes, freezes, or otherwise misbehaves, one of
+ If the installer
+ crashes, freezes, or otherwise misbehaves, one of
the first things to suspect is the floppies. Write
the floppy image files to new disks and try
again.
@@ -773,47 +796,44 @@
Write the Image Files to the Floppy DisksThe .flp files are
- not regular files you copy to the disk.
+ not regular files that can be copied
+ to the disk.
They are images of the complete contents of the
- disk. This means that you cannot simply
- copy files from one disk to another.
- Instead, you must use specific tools to write the
+ disk.
+ Specific tools must be used to write the
images directly to the disk.DOS
- If you are creating the floppies on a computer running
- &ms-dos; / &windows;, then we provide a tool to do
- this called fdimage.
-
- If you are using the floppies from the CDROM, and your
- CDROM is the E: drive, then you would
- run this:
+ &os; provides a tool called
+ rawrite for creating the floppies on a
+ computer running
+ &windows;. This tool can be downloaded from
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/pc98/
+ version-RELEASE/tools/
+ on the &os; FTP site. Download this tool, insert a
+ floppy, then specify the filename to write to the floppy
+ drive:
- E:\>tools\fdimage floppies\boot.flp A:
+ C:\>rawrite boot.flp A:Repeat this command for each .flp
file, replacing the floppy disk each time, being sure to label
- the disks with the name of the file that you copied to them.
- Adjust the command line as necessary, depending on where you have
- placed the .flp files. If you do not have
- the CDROM, then fdimage can be downloaded from
- the tools
- directory on the &os; FTP site.
-
- If you are writing the floppies on a &unix; system (such as
- another &os; system) you can use the &man.dd.1; command to
- write the image files directly to disk. On &os;, you would
+ the disks with the name of the file.
+ Adjust the command line as necessary, depending on where
+ the .flp files are located.
+
+ When writing the floppies on a &unix;-like system,
+ such as
+ another &os; system, use &man.dd.1; to
+ write the image files directly to disk. On &os;,
run:&prompt.root; dd if=boot.flp of=/dev/fd0On &os;, /dev/fd0 refers to the
- first floppy disk (the A: drive).
- /dev/fd1 would be the
- B: drive, and so on. Other &unix;
+ first floppy disk. Other &unix;
variants might have different names for the floppy disk
- devices, and you will need to check the documentation for the
+ device, so check the documentation for the
system as necessary.
@@ -826,8 +846,9 @@
Starting the Installation
- By default, the installation will not make any changes to your
- disk(s) until you see the following message:
+ By default, the installer will not make any changes to
+ the
+ disk(s) until after the following message:Last Chance: Are you SURE you want continue the installation?
@@ -836,10 +857,12 @@ STRONGLY ENCOURAGE YOU TO MAKE PROPER BA
We can take no responsibility for lost disk contents!
- The install can be exited at any time prior to the final
- warning without changing the contents of the hard drive. If you are
- concerned that you have configured something incorrectly you can just
- turn the computer off before this point, and no damage will be
+ The install can be exited at any time prior to this final
+ warning without changing the contents of the hard drive. If
+ there is a
+ concern that something is configured incorrectly,
+ turn the computer off before this point, and no damage
+ will be
done.
@@ -851,10 +874,6 @@ We can take no responsibility for lost d
- Start with your computer turned off.
-
-
- Turn on the computer. As it starts it should display an
option to enter the system set up menu, or BIOS, commonly reached
by keys like F2, F10,
@@ -863,9 +882,10 @@ We can take no responsibility for lost d
AltS
. Use whichever keystroke is indicated on screen. In
- some cases your computer may display a graphic while it starts.
+ some cases the computer may display a graphic while it
+ starts.
Typically, pressing Esc will dismiss the graphic
- and allow you to see the necessary messages.
+ and display the boot messages.
@@ -875,11 +895,10 @@ We can take no responsibility for lost d
Floppy, CDROM,
First Hard Disk, and so on.
- If you are booting from the CDROM then make sure that
- the CDROM is selected. If you are booting from a USB disk or
- a floppy disk then
- make sure that is selected instead. In case of doubt, you
- should consult the manual that came with your computer, and/or its
+ If booting from the CD/DVD, make sure that
+ the CDROM drive is selected. If booting from a USB disk,
+ make sure that it is selected instead. When in doubt,
+ consult the manual that came with the computer or its
motherboard.Make the change, then save and exit. The computer should now
@@ -887,12 +906,13 @@ We can take no responsibility for lost d
- If you prepared a bootable USB stick, as described in
- , then plug in your USB
+ If using a prepared a bootable USB
+ stick, as described in
+ , plug in the USB
stick before turning on the computer.
- If you are booting from CDROM, then you will need to turn on
- the computer, and insert the CDROM at the first
+ If booting from CD/DVD, turn on
+ the computer, and insert the CD/DVD at the first
opportunity.
@@ -904,32 +924,33 @@ We can take no responsibility for lost d
installer.
- If your computer starts up as normal and loads your existing
+ If the computer starts up as normal and loads the
+ existing
operating system, then either:The disks were not inserted early enough in the boot
- process. Leave them in, and try restarting your
+ process. Leave them in, and try restarting the
computer.
- The BIOS changes earlier did not work correctly. You
- should redo that step until you get the right option.
+ The BIOS changes did not work correctly.
+ Redo that step until the right option is
+ selected.
- Your particular BIOS does not support booting from
+ That particular BIOS does not support booting from
the desired media.
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
From owner-svn-doc-projects@FreeBSD.ORG Tue May 7 10:02:49 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
by hub.freebsd.org (Postfix) with ESMTP id 4EC442E1;
Tue, 7 May 2013 10:02:49 +0000 (UTC)
(envelope-from gabor@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 4137DD30;
Tue, 7 May 2013 10:02:49 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r47A2nbW041707;
Tue, 7 May 2013 10:02:49 GMT (envelope-from gabor@svn.freebsd.org)
Received: (from gabor@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r47A2nBT041706;
Tue, 7 May 2013 10:02:49 GMT (envelope-from gabor@svn.freebsd.org)
Message-Id: <201305071002.r47A2nBT041706@svn.freebsd.org>
From: Gabor Kovesdan
Date: Tue, 7 May 2013 10:02:49 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41558 - projects/xml-tools/share/mk
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 07 May 2013 10:02:49 -0000
Author: gabor
Date: Tue May 7 10:02:48 2013
New Revision: 41558
URL: http://svnweb.freebsd.org/changeset/doc/41558
Log:
- Work around overflowing images
Modified:
projects/xml-tools/share/mk/doc.docbook.mk
Modified: projects/xml-tools/share/mk/doc.docbook.mk
==============================================================================
--- projects/xml-tools/share/mk/doc.docbook.mk Tue May 7 06:28:47 2013 (r41557)
+++ projects/xml-tools/share/mk/doc.docbook.mk Tue May 7 10:02:48 2013 (r41558)
@@ -453,6 +453,9 @@ ${DOC}.tex: ${SRCS} ${LOCAL_IMAGES_EPS}
${DOC}.parsed.xml
${JADE} -V tex-backend ${PRINTOPTS} \
${JADEOPTS} -t tex -o ${.TARGET} ${XMLDECL} ${DOC}.parsed.xml
+ ${SED} -i '' -e 's|{1}\\def\\ScaleY%|{0.5}\\def\\ScaleY%|g' \
+ -e 's|{1}\\def\\EntitySystemId%|{0.5}\\def\\EntitySystemId%|g' \
+ ${.TARGET}
.if !target(${DOC}.dvi)
${DOC}.dvi: ${DOC}.tex ${LOCAL_IMAGES_EPS}
From owner-svn-doc-projects@FreeBSD.ORG Tue May 7 10:20:26 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id 66588646;
Tue, 7 May 2013 10:20:26 +0000 (UTC)
(envelope-from gabor@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 56D15DED;
Tue, 7 May 2013 10:20:26 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r47AKQBu047136;
Tue, 7 May 2013 10:20:26 GMT (envelope-from gabor@svn.freebsd.org)
Received: (from gabor@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r47AKKSx047093;
Tue, 7 May 2013 10:20:20 GMT (envelope-from gabor@svn.freebsd.org)
Message-Id: <201305071020.r47AKKSx047093@svn.freebsd.org>
From: Gabor Kovesdan
Date: Tue, 7 May 2013 10:20:20 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41559 - in projects/xml-tools: de_DE.ISO8859-1/share/xml
en_US.ISO8859-1/articles en_US.ISO8859-1/articles/committers-guide
en_US.ISO8859-1/articles/cvsup-advanced en_US.ISO8859-1/arti...
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 07 May 2013 10:20:26 -0000
Author: gabor
Date: Tue May 7 10:20:20 2013
New Revision: 41559
URL: http://svnweb.freebsd.org/changeset/doc/41559
Log:
- MFH
Deleted:
projects/xml-tools/en_US.ISO8859-1/articles/cvsup-advanced/
projects/xml-tools/fr_FR.ISO8859-1/articles/cvsup-advanced/
projects/xml-tools/ru_RU.KOI8-R/articles/cvsup-advanced/
Modified:
projects/xml-tools/de_DE.ISO8859-1/share/xml/news.xml
projects/xml-tools/en_US.ISO8859-1/articles/Makefile
projects/xml-tools/en_US.ISO8859-1/articles/committers-guide/article.xml
projects/xml-tools/en_US.ISO8859-1/articles/p4-primer/article.xml
projects/xml-tools/en_US.ISO8859-1/articles/portbuild/article.xml
projects/xml-tools/en_US.ISO8859-1/books/developers-handbook/testing/chapter.xml
projects/xml-tools/en_US.ISO8859-1/books/faq/book.xml
projects/xml-tools/en_US.ISO8859-1/books/handbook/geom/chapter.xml
projects/xml-tools/en_US.ISO8859-1/books/handbook/mirrors/chapter.xml
projects/xml-tools/en_US.ISO8859-1/books/handbook/printing/chapter.xml
projects/xml-tools/en_US.ISO8859-1/books/porters-handbook/book.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/cgi/man.cgi
projects/xml-tools/en_US.ISO8859-1/htdocs/cgi/monthly.cgi
projects/xml-tools/en_US.ISO8859-1/htdocs/community/mailinglists.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/java/index.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/java/news.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/news/2012-compromise.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/releases/index.xml
projects/xml-tools/en_US.ISO8859-1/htdocs/security/reporting.xml
projects/xml-tools/en_US.ISO8859-1/share/xml/mailing-lists.ent
projects/xml-tools/fr_FR.ISO8859-1/articles/Makefile
projects/xml-tools/ja_JP.eucJP/htdocs/releases/index.xml
projects/xml-tools/ja_JP.eucJP/htdocs/security/reporting.xml (contents, props changed)
projects/xml-tools/ja_JP.eucJP/share/xml/news.xml
projects/xml-tools/mn_MN.UTF-8/books/handbook/geom/chapter.xml
projects/xml-tools/ru_RU.KOI8-R/articles/Makefile
projects/xml-tools/share/pgpkeys/itetcu.key
projects/xml-tools/share/xml/events2013.xml
Directory Properties:
projects/xml-tools/ (props changed)
projects/xml-tools/de_DE.ISO8859-1/ (props changed)
projects/xml-tools/en_US.ISO8859-1/ (props changed)
projects/xml-tools/fr_FR.ISO8859-1/ (props changed)
projects/xml-tools/ja_JP.eucJP/ (props changed)
projects/xml-tools/mn_MN.UTF-8/ (props changed)
projects/xml-tools/ru_RU.KOI8-R/ (props changed)
projects/xml-tools/share/ (props changed)
Modified: projects/xml-tools/de_DE.ISO8859-1/share/xml/news.xml
==============================================================================
--- projects/xml-tools/de_DE.ISO8859-1/share/xml/news.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/de_DE.ISO8859-1/share/xml/news.xml Tue May 7 10:20:20 2013 (r41559)
@@ -4,7 +4,7 @@
\n$contents";
+ $contents = "\n$contents";
if (!$errors)
{
Modified: projects/xml-tools/en_US.ISO8859-1/htdocs/community/mailinglists.xml
==============================================================================
--- projects/xml-tools/en_US.ISO8859-1/htdocs/community/mailinglists.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/en_US.ISO8859-1/htdocs/community/mailinglists.xml Tue May 7 10:20:20 2013 (r41559)
@@ -58,9 +58,9 @@
or WWW.
Modified: projects/xml-tools/en_US.ISO8859-1/htdocs/java/news.xml
==============================================================================
--- projects/xml-tools/en_US.ISO8859-1/htdocs/java/news.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/en_US.ISO8859-1/htdocs/java/news.xml Tue May 7 10:20:20 2013 (r41559)
@@ -280,7 +280,7 @@
1.6 and JRE 1.6. For more details, see the
Foundation newsletter and the download
+ href="http://www.freebsdfoundation.org/java">download
page.
@@ -473,7 +473,7 @@
1.5 and JRE 1.5. For more details, see the press
release and download
+ href="http://www.freebsdfoundation.org/java">download
page.
Modified: projects/xml-tools/en_US.ISO8859-1/htdocs/news/2012-compromise.xml
==============================================================================
--- projects/xml-tools/en_US.ISO8859-1/htdocs/news/2012-compromise.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/en_US.ISO8859-1/htdocs/news/2012-compromise.xml Tue May 7 10:20:20 2013 (r41559)
@@ -62,6 +62,7 @@
Port managers and cluster administrators have completed the
+ restoration of binary package building in the last few weeks.
+ This has brought us back the continuous updates for the old-style
+ binary packages on the 8.x and 9.x -STABLE branches. Note that,
+ as beneficial consequences, Release Candidate builds for the 8.4
+ release cycle can now include binary packages on the install
+ media, and the Project was able to add the missing binary packages
+ retroactively for 9.1-RELEASE on i386 and amd64 platforms.
+
+
Port managers are currently working on introducing new-style (as
+ known as pkgng) binary packages in the coming months,
+ please check the
+ &os; ports announcements list for further gradual status
+ updates.
+
+
This is planned to be the last status update to this page. An
+ official announcement will be sent to the
+ &os; announcements mailing list with the further details
+ soon.
Port managers have successfully restored some of the Project's
@@ -85,12 +110,6 @@
preparations required for providing binary packages for the
upcoming 8.4 and further releases.
-
Unless there are any other major changes, this is planned to be
- the last status update to this page. An email will be sent to
- the
- FreeBSD announcements mailing list when the package build
- infrastructure is online and packages are once again available.
Redports underwent a full security audit, and as a result could
Modified: projects/xml-tools/en_US.ISO8859-1/htdocs/releases/index.xml
==============================================================================
--- projects/xml-tools/en_US.ISO8859-1/htdocs/releases/index.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/en_US.ISO8859-1/htdocs/releases/index.xml Tue May 7 10:20:20 2013 (r41559)
@@ -97,7 +97,7 @@
Modified: projects/xml-tools/ja_JP.eucJP/htdocs/security/reporting.xml
==============================================================================
Binary file (source and/or target). No diff available.
Modified: projects/xml-tools/ja_JP.eucJP/share/xml/news.xml
==============================================================================
--- projects/xml-tools/ja_JP.eucJP/share/xml/news.xml Tue May 7 10:02:48 2013 (r41558)
+++ projects/xml-tools/ja_JP.eucJP/share/xml/news.xml Tue May 7 10:20:20 2013 (r41559)
@@ -20,7 +20,7 @@
the contents of will be preferred over
.
$FreeBSD$
- Original revision: r41495
+ Original revision: r41524
-->
@@ -34,6 +34,23 @@
4
+ 29
+
+
+ ¿· &os; Foundation ¥Æ¥¯¥Ë¥«¥ë¥¹¥¿¥Ã¥Õ: Edward
+ Tomasz Napierała
+
+
The &os; Foundation ¤Ï¡¢
+ Edward Tomasz Napierała ¤¬Æó¿ÍÌܤΥƥ¯¥Ë¥«¥ë¥¹¥¿¥Ã¥Õ¤Ë²Ã¤ï¤Ã¤¿¤³¤È¤ò¤ªÃΤ餻¤·¤Þ¤¹¡£
+ ¤³¤ì¤Ï¡¢2013 ǯ¤Ë Foundation
+ ¤¬·Ñ³¤·¤Æ¹Ô¤Ã¤Æ¤¤¤ë¥¹¥¿¥Ã¥Õ¤Ø¤ÎÅê»ñ¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£
PPP shells
@@ -803,8 +778,7 @@ exec /usr/sbin/ppp -direct $IDENT
PPP Shells for
- Static-IP
- Users
+ Static-IP Users
PPP shells
@@ -858,8 +832,8 @@ ttyu1:
/etc/ttys create an entry similar
to the one for ttyu0: above. Each
line should get a unique IP address
- from the pool of
- IP addresses for dynamic users.
+ from the pool of IP addresses for
+ dynamic users.
@@ -883,10 +857,9 @@ mary:
The file /etc/ppp/ppp.linkup
should also contain routing information for each static
IP user if required. The line below
- would add a route
- for the 203.14.101.0/24
- network via the client's PPP
- link.
+ would add a route for the 203.14.101.0/24 network via
+ the client's PPP link.
fred:
add 203.14.101.0 netmask 255.255.255.0 HISADDR
@@ -916,13 +889,12 @@ mary:
By default the comms/mgetty+sendfax port
comes with the AUTO_PPP option enabled
- allowing &man.getty.8; to detect the LCP
- phase of PPP connections and
- automatically spawn off a &man.ppp.8; shell.
- However, since the default login/password sequence does
- not occur it is necessary to authenticate users using
- either PAP or
- CHAP.
+ allowing &man.getty.8; to detect the LCP phase of
+ PPP connections and automatically
+ spawn off a &man.ppp.8; shell. However, since the default
+ login/password sequence does not occur it is necessary
+ to authenticate users using either PAP
+ or CHAP.
This section assumes the user has successfully
compiled, and installed the enable passwdauthTo assign some users a static IP,
- specify the IP
- address as the third argument in
- /etc/ppp/ppp.secret. See
+ specify the IP address as the third
+ argument in /etc/ppp/ppp.secret.
+ See
/usr/share/examples/ppp/ppp.secret.sample
for examples.
@@ -1027,18 +999,15 @@ set nbns 203.14.100.5
Some ISPs set their system up so
that the authentication part of the connection is done
using either the PAP or
- CHAP
- authentication mechanism. If
+ CHAP authentication mechanism. If
this is the case, the ISP will not give
a login: during connection, but will
start talking PPP
immediately.While PAP is less secure than
- CHAP,
- security is not
- normally an issue as the clear text passwords are
- transmitted down a
+ CHAP, security is not normally an
+ issue as the clear text passwords are transmitted down a
serial line only. There is not much room for crackers
to eavesdrop.
@@ -1057,8 +1026,8 @@ set nbns 203.14.100.5
This line specifies the
- PAP/CHAP user name.
- Insert the correct value for
+ PAP/CHAP user name. Insert the
+ correct value for
MyUserName.
@@ -1069,9 +1038,8 @@ set nbns 203.14.100.5
passwordThis line specifies the
- PAP/CHAP
- password.
- Insert the correct value for
+ PAP/CHAP password. Insert the
+ correct value for
MyPassword. An
additional line can be added, such as:
@@ -1083,9 +1051,7 @@ set nbns 203.14.100.5
to make it obvious that this is the intention,
but PAP and
- CHAP
- are both accepted
- by
+ CHAP are both accepted by
default.
@@ -1098,8 +1064,7 @@ set nbns 203.14.100.5
require a login into the server when using
PAP or
CHAP. Therefore, disable the
- set
- login string.
+ set login string.
@@ -1109,10 +1074,10 @@ set nbns 203.14.100.5
Changing the &man.ppp.8; Configuration
on the Fly
- It is possible to talk to &man.ppp.8;
- while it is running in the background, but only
- if a suitable diagnostic port has been set up. To do
- this, add the following line to the configuration:
+ It is possible to talk to &man.ppp.8; while it is
+ running in the background, but only if a suitable
+ diagnostic port has been set up. To do this, add the
+ following line to the configuration:set server /var/run/ppp-tun%d DiagnosticPassword 0177
@@ -1169,8 +1134,8 @@ nat port tcp 10.0.0.2:http httpPPPconfiguration
- Now that &man.ppp.8; is configured, there are
- a few more things to edit in
+ Now that &man.ppp.8; is configured, there are a few
+ more things to edit in
/etc/rc.conf.Working from the top down in this file, make sure the
@@ -1179,9 +1144,8 @@ nat port tcp 10.0.0.2:http httphostname="foo.example.com"
If the ISP has supplied a static
- IP
- address and name, it is recommended to use this name as the
- host name.
+ IP address and name, it is recommended
+ to use this name as the host name.Look for the network_interfaces
variable. To configure the system to dial the
@@ -1218,31 +1182,30 @@ ifconfig_tun0=
routed
- It is important that the &man.routed.8;
- daemon is not started, as &man.routed.8; tends
- to delete the default routing table entries created by
- &man.ppp.8;.
+ It is important that the &man.routed.8; daemon is not
+ started, as &man.routed.8; tends to delete the default
+ routing table entries created by &man.ppp.8;.It is probably a good idea to ensure that the
sendmail_flags line does not include
- ; otherwise,
- &man.sendmail.8; will attempt to do a network
- lookup every now and then, possibly causing the machine
- to dial out. Try this command instead:
+ ; otherwise, &man.sendmail.8; will
+ attempt to do a network lookup every now and then, possibly
+ causing the machine to dial out. Try this command
+ instead:
sendmail_flags="-bd"Sendmail
- The downside is that &man.sendmail.8; must be
- forced to re-examine the mail queue whenever the
+ The downside is that &man.sendmail.8; must be forced
+ to re-examine the mail queue whenever the
PPP link is up by typing:&prompt.root; /usr/sbin/sendmail -q
- To automatically use !bg
- in ppp.linkup:
+ To automatically use !bg in
+ ppp.linkup:1 provider:
2 delete ALL
@@ -1264,8 +1227,8 @@ ifconfig_tun0=and then dial provider to start the
PPP session, or, to configure
- &man.ppp.8; to establish sessions automatically
- when there is outbound traffic and there is no existing
+ &man.ppp.8; to establish sessions automatically when there
+ is outbound traffic and there is no existing
start_if.tun0 script, type:&prompt.root; ppp -auto provider
@@ -1324,8 +1287,7 @@ ifconfig_tun0=
- Ensure that the
- Ensure that the tunN
device file is available in the /dev directory.
@@ -1384,12 +1346,11 @@ ifconfig_tun0=
using PPP over a modem connection. Some
ISPs present the
ssword prompt, and others will present
- password; if the &man.ppp.8;
- script is not written accordingly, the login attempt will
- fail. The most common way to debug &man.ppp.8;
- connections is by connecting manually. The following
- information walks through a manual connection step by
- step.
+ password; if the &man.ppp.8; script is not
+ written accordingly, the login attempt will fail. The most
+ common way to debug &man.ppp.8; connections is by connecting
+ manually. The following information walks through a manual
+ connection step by step.
Check the Device Nodes
@@ -1401,9 +1362,8 @@ ifconfig_tun0=
The uart device is already
included in the GENERIC kernel, so no
- additional steps are necessary in this case. Just
- check the &man.dmesg.8; output for the modem
- device with:
+ additional steps are necessary in this case. Just check the
+ &man.dmesg.8; output for the modem device with:
&prompt.root; dmesg | grep uart
@@ -1420,19 +1380,18 @@ ifconfig_tun0=
Connecting ManuallyConnecting to the Internet by manually controlling
- &man.ppp.8; is quick, easy, and a great way to
- debug a connection or just get information on how the
+ &man.ppp.8; is quick, easy, and a great way to debug a
+ connection or just get information on how the
ISP treats &man.ppp.8; client
connections. The following examples use
example as the hostname of the
- machine running &man.ppp.8;. To start
- &man.ppp.8;:
+ machine running &man.ppp.8;. To start &man.ppp.8;:
&prompt.root; pppThis sets the modem device to
cuau1:
-
+
ppp ON example> set device /dev/cuau1This sets the connection speed to 115,200
@@ -1440,16 +1399,15 @@ ifconfig_tun0=
ppp ON example> set speed 115200
- This tells &man.ppp.8; to configure the
- resolver and add the nameserver lines to
- /etc/resolv.conf. If
- &man.ppp.8; cannot determine the hostname, it can
- manually be set later.
+ This tells &man.ppp.8; to configure the resolver and add
+ the nameserver lines to
+ /etc/resolv.conf. If &man.ppp.8; cannot
+ determine the hostname, it can manually be set later.ppp ON example> enable dns
- Switch to terminal mode to
- manually control the modem.
+ Switch to terminal mode to manually
+ control the modem.ppp ON example> term
@@ -1460,16 +1418,15 @@ type '~h' for help
OK
atdt123456789
- Use &man.at.1; to initialize the modem,
- then type atdt and the number for the
+ Use &man.at.1; to initialize the modem, then type
+ atdt and the number for the
ISP to begin the dial in process.CONNECTThis message confirms the connection. If there are
any connection problems, unrelated to hardware, this is the
- time to
- attempt to resolve them.
+ time to attempt to resolve them.ISP Login:myusername
@@ -1479,25 +1436,23 @@ OK
ISP Pass:mypassword
- At this password prompt,
- enter the password that was provided by the
- ISP. Just like logging into
- &os;, the password will not echo.
+ At this password prompt, enter the password that was
+ provided by the ISP. Just like logging
+ into &os;, the password will not echo.Shell or PPP:pppDepending on the ISP, this prompt
may never appear. If it does, it provides a choice to
- use a shell on the provider or to start
- &man.ppp.8;. This example chooses
- to use &man.ppp.8; in order to create an Internet
- connection.
+ use a shell on the provider or to start &man.ppp.8;. This
+ example chooses to use &man.ppp.8; in order to create an
+ Internet connection.Ppp ON example>
- In this example, the first
- has been capitalized. This indicates a successful
- connection to the ISP.
+ In this example, the first has been
+ capitalized. This indicates a successful connection to the
+ ISP.PPp ON example>
@@ -1508,15 +1463,14 @@ OK
PPP ON example>
- This indicates an IP
- address has been assigned and the
- connection has successfully completed.
+ This indicates an IP address has been
+ assigned and the connection has successfully completed.PPP ON example>add default HISADDRThis adds a default route which is needed for successful
- communication. Until this is added, the only
- established connection is with the peer. If this fails due to
+ communication. Until this is added, the only established
+ connection is with the peer. If this fails due to
existing routes, put a bang character
(!) in front of the .
Alternatively, set this before making the actual connection
@@ -1529,8 +1483,8 @@ OK
z. If
PPP instead returns to
ppp, the connection has been lost. An
- uppercase P indicates a
- connection to the ISP and a lowercase
+ uppercase P indicates a connection to the
+ ISP and a lowercase
p indicates that the connection has been
lost. &man.ppp.8; only has these 2 states.
@@ -1541,12 +1495,12 @@ OK
turn hardware flow CTS/RTS to off with
. This can occur when
connected to some PPP capable
- terminal servers as &man.ppp.8; hangs
- when it tries to write data to the communication link and
- then waits for a Clear To Send (CTS)
- signal which may never come. When using this option,
- include , which may be required
- to defeat hardware which is dependent on passing certain
+ terminal servers as &man.ppp.8; hangs when it tries to
+ write data to the communication link and then waits for a
+ Clear To Send (CTS) signal which may
+ never come. When using this option, include
+ , which may be required to
+ defeat hardware which is dependent on passing certain
characters from end to end, such as XON/XOFF. See
&man.ppp.8; for more information on how this option is
used.
@@ -1558,20 +1512,19 @@ OK
ISPs. This option may be needed for
the Compuserve ISP.
- &man.ppp.8; may not return to the
- command mode, which is usually a negotiation error where
- the ISP is waiting for your side to start
+ &man.ppp.8; may not return to the command mode, which
+ is usually a negotiation error where the
+ ISP is waiting for your side to start
negotiating. At this point, using ~p
- will force &man.ppp.8; to start
- sending the configuration information.
+ will force &man.ppp.8; to start sending the configuration
+ information.If a login prompt never appears, try using
PAP or CHAP
authentication instead of the &unix; style in the example
above. To use PAP or
CHAP, add the following options to
- &man.ppp.8; before going into terminal
- mode:
+ &man.ppp.8; before going into terminal mode:
ppp ON example> set authname myusername
@@ -1605,8 +1558,8 @@ nameserver y.y.y.yIP address of the
ISP's DNS servers.
- To configure &man.syslog.3; to log
- &man.ppp.8; connections, add:
+ To configure &man.syslog.3; to log &man.ppp.8;
+ connections, add:!ppp
*.* /var/log/ppp.log
@@ -1726,34 +1679,33 @@ ppp_profile="name_of_service_provider"
PPPoE configuration entry in
ppp.conf as the provider part of
set device, as described in &man.ppp.8;.
- It should look like
- this:
+ It should look like this:
set device PPPoE:xl1:ISPDo not forget to change xl1
to the proper device for the Ethernet card.
+
Do not forget to change ISP
to the profile found above.For additional information, see Cheaper
- Broadband with &os; on
- DSL.
+ url="http://renaud.waldura.com/doc/freebsd/pppoe/">Cheaper
+ Broadband with &os; on
+ DSL.
PPPoE with a &tm.3com;
HomeConnect
- ADSL
- Modem Dual Link
+ ADSL Modem Dual Link
This modem does not follow RFC
2516.
- Instead, different packet type codes have been
- used for the Ethernet frames. Please complain to 3Com if you think it
should comply with the PPPoE
specification.
@@ -1773,8 +1725,7 @@ ppp_profile="name_of_service_provider"
it is not possible to talk to a normal
PPPoE client or server and a &tm.3com;
HomeConnect
- ADSL
- modem at the same time.
+ ADSL modem at the same time.
@@ -1807,9 +1758,9 @@ ppp_profile="name_of_service_provider"
properly. It is possible to automate this process in &os;
so that this transfer takes place whenever the device is
plugged into a USB port. The following information can be
- added to /etc/usbd.conf to
- enable this automatic firmware transfer. This file must be
- edited as the root user.
+ added to /etc/usbd.conf to enable this
+ automatic firmware transfer. This file must be edited as
+ the root user.
device "Alcatel SpeedTouch USB"
devname "ugen[0-9]+"
@@ -1823,9 +1774,8 @@ ppp_profile="name_of_service_provider"
usbd_enable="YES"
- It is also possible to set up
- &man.ppp.8; to dial up at startup. To do
- this add the following lines to
+ It is also possible to set up &man.ppp.8; to dial up at
+ startup. To do this add the following lines to
/etc/rc.conf:ppp_enable="YES"
@@ -1843,19 +1793,14 @@ ppp_profile="adsl"mpd can be used to connect to a
variety of services, in particular passwd
- services.
- mpd can be installed from the
- net/mpd5 package or port.
- Many
- ADSL modems require a
- PPTP tunnel between the
- modem and computer. One such modem is the Alcatel
- &speedtouch;
- Home.
+ services. mpd can be installed
+ from the net/mpd5 package
+ or port. Many ADSL modems require a
+ PPTP tunnel between the modem and computer.
+ One such modem is the Alcatel &speedtouch; Home.The installation of the port places a set of well
- commented, sample
- configuration files in /usr/local/etc/mpd5/. Copy
mpd.conf.sample, removing the
.sample extension, and edit it to suit the
@@ -1863,8 +1808,7 @@ ppp_profile="adsl"
guide in HTML format is installed to /usr/local/share/doc/mpd5/.
- After saving the edits,
- initialize the connection as
+ After saving the edits, initialize the connection as
root:&prompt.root; service mpd5 start
@@ -1909,8 +1853,7 @@ ng0: flags=88d1<UP,POINTOPOINT,RUNNIN
The username of the account with the
- DSL
- provider.
+ DSL provider.
@@ -1932,15 +1875,14 @@ ng0: flags=88d1<UP,POINTOPOINT,RUNNIN
This will open a tunnel for a PPP
session to the DSL router. Ethernet
- DSL modems have a
- preconfigured LAN IP
- address to connect to.
- In the case of
- the Alcatel &speedtouch; Home, this address is 10.0.0.138. The router
- documentation should indicate which address the device
- uses. To open the tunnel and start a PPP
- session execute the following command:
+ DSL modems have a preconfigured
+ LAN IP address to
+ connect to. In the case of the Alcatel &speedtouch; Home,
+ this address is 10.0.0.138.
+ The router documentation should indicate which address the
+ device uses. To open the tunnel and start a
+ PPP session execute the following
+ command:
&prompt.root; pptp addressadsl
@@ -1953,10 +1895,10 @@ ng0: flags=88d1<UP,POINTOPOINT,RUNNIN
A tun virtual tunnel device
will be created for interaction between the
- pptp and
- &man.ppp.8; processes. Once the prompt is
- returned, or the pptp process has
- confirmed a connection, examine the tunnel:
+ pptp and &man.ppp.8; processes.
+ Once the prompt is returned, or the
+ pptp process has confirmed a
+ connection, examine the tunnel:
&prompt.user; ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
@@ -1964,10 +1906,10 @@ tun0: flags=8051<UP,POINTOPOINT,RUNNI
Opened by PID 918If unable to connect, check the router configuration,
- which is usually accessible via
- &man.telnet.1; or a web browser. Examine
- the output of pptp and the contents of
- /var/log/ppp.log for clues.
+ which is usually accessible via &man.telnet.1; or a web
+ browser. Examine the output of pptp and
+ the contents of /var/log/ppp.log for
+ clues.
From owner-svn-doc-projects@FreeBSD.ORG Thu May 9 20:54:52 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
by hub.freebsd.org (Postfix) with ESMTP id 39F61157;
Thu, 9 May 2013 20:54:52 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 2945F147;
Thu, 9 May 2013 20:54:52 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r49Ksq7P036208;
Thu, 9 May 2013 20:54:52 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r49Ksq3D036207;
Thu, 9 May 2013 20:54:52 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305092054.r49Ksq3D036207@svn.freebsd.org>
From: Dru Lavigne
Date: Thu, 9 May 2013 20:54:52 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41583 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 09 May 2013 20:54:52 -0000
Author: dru
Date: Thu May 9 20:54:51 2013
New Revision: 41583
URL: http://svnweb.freebsd.org/changeset/doc/41583
Log:
White space fix only. Translators can ignore.
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml Thu May 9 20:51:46 2013 (r41582)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml Thu May 9 20:54:51 2013 (r41583)
@@ -16,9 +16,9 @@
The process of starting a computer and loading the operating
system is referred to as the bootstrap process,
- or simply booting. &os;'s boot process
- provides a great deal of flexibility in customizing what happens
- when the system starts, including the ability to select from
+ or simply booting. &os;'s boot process provides
+ a great deal of flexibility in customizing what happens when
+ the system starts, including the ability to select from
different operating systems installed on the same computer,
different versions of the same operating system, or a different
installed kernel.
@@ -81,18 +81,15 @@
On x86 hardware the Basic Input/Output System
- (BIOS) is
- responsible for loading the operating system. To do this, the
- BIOS looks on the hard disk for the Master
- Boot Record (MBR),
- which must be located on a specific place on the disk. The
- BIOS
- has enough knowledge to load and run the MBR,
- and assumes that
- the MBR can then carry out the rest of the
- tasks involved in
- loading the operating system, possibly with the help of the
- BIOS.
+ (BIOS) is responsible for loading the
+ operating system. To do this, the BIOS
+ looks on the hard disk for the Master Boot Record
+ (MBR), which must be located on a specific
+ place on the disk. The BIOS has enough
+ knowledge to load and run the MBR, and
+ assumes that the MBR can then carry out the
+ rest of the tasks involved in loading the operating system,
+ possibly with the help of the BIOS.
Master Boot Record
MBR)
@@ -102,14 +99,13 @@
Boot LoaderThe code within the MBR is usually
- referred to as a
- boot manager, especially when it interacts
- with the user. In this case, the boot manager usually has more
- code in the first track of the disk or
- within the file system of some operating systems. A boot
- manager is sometimes also
- called a boot loader, but &os; uses that
- term for a later stage of booting. Popular boot managers
+ referred to as a boot manager, especially
+ when it interacts with the user. In this case, the boot
+ manager usually has more code in the first
+ track of the disk or within the file
+ system of some operating systems. A boot manager is sometimes
+ also called a boot loader, but &os; uses
+ that term for a later stage of booting. Popular boot managers
include boot0, also called
Boot Easy, the standard &os; boot
manager, Grub,
@@ -119,14 +115,12 @@
MBR.If only one operating system is installed, a standard PC
- MBR
- will suffice. This MBR searches for the
- first bootable (active)
+ MBR will suffice. This
+ MBR searches for the first bootable (active)
slice on the disk, and then runs the code on that slice to load
the remainder of the operating system. By default, the
- MBR
- installed by &man.fdisk.8; is such an MBR and
- is based on
+ MBR installed by &man.fdisk.8; is such an
+ MBR and is based on
/boot/mbr.If multiple operating systems are present, a different boot
@@ -136,15 +130,14 @@
The remainder of the &os; bootstrap system is divided
into three stages. The first stage is run by the
- MBR, which
- knows just enough to get the computer into a specific state and
- run the second stage. The second stage can do a little bit
- more, before running the third stage. The third stage finishes
- the task of loading the operating system. The work is split
- into three stages because PC standards put limits on the size of
- the programs that can be run at stages one and two. Chaining
- the tasks together allows &os; to provide a more flexible
- loader.
+ MBR, which knows just enough to get the
+ computer into a specific state and run the second stage. The
+ second stage can do a little bit more, before running the
+ third stage. The third stage finishes the task of loading the
+ operating system. The work is split into three stages because
+ PC standards put limits on the size of the programs that can
+ be run at stages one and two. Chaining the tasks together
+ allows &os; to provide a more flexible loader.kernel&man.init.8;
@@ -171,9 +164,8 @@
(MBR)
The code in the MBR or boot manager is
- sometimes referred
- to as stage zero of the boot process.
- This section discusses two boot managers:
+ sometimes referred to as stage zero of
+ the boot process. This section discusses two boot managers:
boot0 and
LILO.
@@ -182,8 +174,7 @@
Manager:
The MBR installed by &os;'s installer
- or
- &man.boot0cfg.8; is based on
+ or &man.boot0cfg.8; is based on
/boot/boot0. The size and capability
of boot0 is restricted to 446
bytes due to the slice table and 0x55AA
@@ -204,24 +195,21 @@ Default: F2
Other operating systems, in particular &windows;, will
overwrite an existing MBR if they are
- installed after &os;.
- If this happens, or to replace the existing
- MBR
- with the &os; MBR, use the following
- command:
+ installed after &os;. If this happens, or to replace the
+ existing MBR with the &os;
+ MBR, use the following command:&prompt.root; fdisk -B -b /boot/boot0 devicewhere device is the boot disk,
such as ad0 for the first
- IDE disk,
- ad2 for the first
- IDE disk on a
- second IDE controller, or
+ IDE disk, ad2
+ for the first IDE disk on a second
+ IDE controller, or
da0
for the first SCSI disk. To create a
- custom configuration of
- the MBR, refer to &man.boot0cfg.8;.
+ custom configuration of the MBR, refer to
+ &man.boot0cfg.8;.
The LILO Boot Manager:
@@ -279,9 +267,9 @@ label=FreeBSD
can provide a simple interface to choose the kernel or loader
to run.
- However, &man.loader.8; is much more
- sophisticated and provides a boot configuration which is run
- by boot2.
+ However, &man.loader.8; is much more sophisticated and
+ provides a boot configuration which is run by
+ boot2.boot2 Screenshot
@@ -581,10 +569,10 @@ boot:
first is the default legacy virtual console command line
environment. After the system finishes booting, a console
login prompt is presented. The second environment is the
- graphical environment as described in
- . Refer to that chapter for
- more information on how to install and configure a graphical
- display manager and a graphical login manager.
+ graphical environment as described in .
+ Refer to that chapter for more information on how to install
+ and configure a graphical display manager and a graphical
+ login manager.
Splash Screen Function
@@ -690,8 +678,8 @@ bitmap_name="/boot/splash.b
or
bluewave.pcx.
- Other interesting
- loader.conf options include:
+ Other interesting loader.conf
+ options include:
@@ -736,8 +724,8 @@ bitmap_name="/boot/splash.b
Once the kernel is loaded by either the default loader
() or by boot2 (), which bypasses the loader,
- it examines any boot flags and adjusts its behavior as
+ linkend="boot-boot1"/>), which bypasses the loader, it
+ examines any boot flags and adjusts its behavior as
necessary.
@@ -923,9 +911,8 @@ bitmap_name="/boot/splash.b
systems available on the system are consistent. If they are
not, and &man.fsck.8; cannot fix the inconsistencies of a UFS
file system, &man.init.8; drops the system into single-user
- mode () so
- that the system administrator can resolve the problem
- directly.
+ mode () so that the system
+ administrator can resolve the problem directly.
@@ -935,10 +922,9 @@ bitmap_name="/boot/splash.b
consoleThis mode can be reached through the automatic reboot
- sequence (),
- the user booting with , or by setting
- the boot_single variable in
- &man.loader.8;.
+ sequence (), the user booting
+ with , or by setting the boot_
+ single variable in &man.loader.8;.
It can also be reached by calling &man.shutdown.8; from
multi-user mode () without
@@ -978,9 +964,9 @@ console none
If &man.init.8; finds the file systems to be in order, or
once the user has finished their commands in single-user
- mode (), the
- system enters multi-user mode, in which it starts the
- resource configuration of the system.
+ mode (), the system enters
+ multi-user mode, in which it starts the resource configuration
+ of the system.Resource Configuration (rc)
From owner-svn-doc-projects@FreeBSD.ORG Thu May 9 20:56:49 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
by hub.freebsd.org (Postfix) with ESMTP id 535711BC;
Thu, 9 May 2013 20:56:49 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 43D9015D;
Thu, 9 May 2013 20:56:49 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r49KunSo036667;
Thu, 9 May 2013 20:56:49 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r49KuncN036666;
Thu, 9 May 2013 20:56:49 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305092056.r49KuncN036666@svn.freebsd.org>
From: Dru Lavigne
Date: Thu, 9 May 2013 20:56:49 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41584 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/basics
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 09 May 2013 20:56:49 -0000
Author: dru
Date: Thu May 9 20:56:48 2013
New Revision: 41584
URL: http://svnweb.freebsd.org/changeset/doc/41584
Log:
White space fix only. Translators can ignore.
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/basics/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/basics/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/basics/chapter.xml Thu May 9 20:54:51 2013 (r41583)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/basics/chapter.xml Thu May 9 20:56:48 2013 (r41584)
@@ -87,8 +87,8 @@
&os; can be used in various ways. One of them is typing
commands to a text terminal. A lot of the flexibility and power
- of a &unix; operating system is readily available
- when using &os; this way. This section describes what
+ of a &unix; operating system is readily available when using
+ &os; this way. This section describes what
terminals and consoles are, and
how to use them in &os;.
@@ -146,14 +146,14 @@ login:
Type the username that was configured during system
installation, as described in , and
- press Enter. Then enter the password
- associated with the username and press Enter.
- The password is not echoed for security
+ linkend="bsdinstall-addusers"/>, and press
+ Enter. Then enter the password associated
+ with the username and press Enter. The
+ password is not echoed for security
reasons.
- Once the correct password is input, the message of
- the day (MOTD) will be displayed followed
+ Once the correct password is input, the message of the
+ day (MOTD) will be displayed followed
by a command prompt (a #,
$, or % character). You
are now logged into the &os; console and ready to try the
@@ -229,10 +229,10 @@ ttyv8 "/usr/X11R6/bin/xdm -nodaemon"
Single User Mode ConsoleA detailed description of single user mode
- can be found in .
- There is only one console when &os; is in single user mode as
- no other virtual consoles are available in this mode. The
- settings for single user mode are found in this section of
+ can be found in . There is
+ only one console when &os; is in single user mode as no other
+ virtual consoles are available in this mode. The settings
+ for single user mode are found in this section of
/etc/ttys:# name getty type status comments
@@ -250,12 +250,11 @@ console none
without prompting for a password.Be careful when changing this setting to
- insecure. If
- the root password is forgotten, booting
- into
- single user mode is still possible, but may be difficult for
- someone who is not comfortable with the &os; booting
- process.
+ insecure. If the
+ root password is forgotten, booting
+ into single user mode is still possible, but may be
+ difficult for someone who is not comfortable with the &os;
+ booting process.
@@ -419,10 +418,10 @@ total 530
write, and execute permissions. The executable bit for a
directory has a slightly different meaning than that of files.
When a directory is marked executable, it means it is possible
- to change into that directory using
- &man.cd.1;. This also means that it is
- possible to access the files within that directory, subject to
- the permissions on the files themselves.
+ to change into that directory using &man.cd.1;. This also
+ means that it is possible to access the files within that
+ directory, subject to the permissions on the files
+ themselves.
In order to perform a directory listing, the read permission
must be set on the directory. In order to delete a file that
@@ -583,10 +582,9 @@ total 530
In addition to file permissions, &os; supports the use of
file flags. These flags add an additional
- level of security and control over files, but not
- directories. With file flags, even
- root can be prevented from removing or
- altering files.
+ level of security and control over files, but not directories.
+ With file flags, even root can be
+ prevented from removing or altering files.File flags are modified using &man.chflags.1;. For
example, to enable the system undeletable flag on the file
@@ -675,8 +673,8 @@ total 530
To view this in real time, open two terminals. On
- one, type passwd as a normal
- user. While it waits for a new password, check the process
+ one, type passwd as a normal user.
+ While it waits for a new password, check the process
table and look at the user information for
&man.passwd.1;:
@@ -692,9 +690,9 @@ Old Password:
trhodes 5232 0.0 0.2 3420 1608 0 R+ 2:10AM 0:00.00 grep passwd
root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd
- Although &man.passwd.1; is run
- as a normal user, it is using the effective
- UID of root.
+ Although &man.passwd.1; is run as a normal user, it is
+ using the effective UID of
+ root.The setgid permission performs the
same function as the setuid permission;
@@ -704,8 +702,7 @@ root 5211 0.0 0.2 3620 1724 2
user who started the process.To set the setgid permission on a
- file, provide &man.chmod.1; with a leading two
- (2):
+ file, provide &man.chmod.1; with a leading two (2):&prompt.root; chmod 2755 sgidexample.sh
@@ -960,26 +957,26 @@ root 5211 0.0 0.2 3620 1724 2
/usr/local/Local executables and libraries. Also used as
- the default destination for the &os; ports
- framework. Within
- /usr/local, the
+ the default destination for the &os; ports framework.
+ Within /usr/local, the
general layout sketched out by &man.hier.7; for
/usr should be
used. Exceptions are the man directory, which is
- directly under
- /usr/local
- rather than under
- /usr/local/share,
- and the ports documentation is in
- share/doc/port.
+ directly under /usr/local
+ rather than under /usr/local/share,
+ and the ports documentation is in share/doc/port.
/usr/obj/Architecture-specific target tree produced by
- building the
- /usr/src
+ building the /usr/src
tree.
@@ -1044,8 +1041,8 @@ root 5211 0.0 0.2 3620 1724 2
/var/tmp/Temporary files which are usually preserved
- across a system reboot, unless
- /var is a
+ across a system reboot, unless /var is a
memory-based file system.
@@ -1071,42 +1068,40 @@ root 5211 0.0 0.2 3620 1724 2
Files are stored in directories. A directory may contain no
files, or it may contain many hundreds of files. A directory
- can also contain other directories, allowing a
- hierarchy of directories within one another in order to organize
+ can also contain other directories, allowing a hierarchy of
+ directories within one another in order to organize
data.Files and directories are referenced by giving the file or
directory name, followed by a forward slash,
/, followed by any other directory names that
- are necessary. For example, if the directory
- foo contains a directory
+ are necessary. For example, if the directory foo contains a directory
bar which contains the
file readme.txt, the full name, or
path, to the file is
foo/bar/readme.txt. Note that this is
- different from &windows; which uses
- \ to separate file and directory
- names. &os; does not use drive letters, or other drive names in
- the path. For example, one would not type
- c:/foo/bar/readme.txt on &os;.
+ different from &windows; which uses \ to
+ separate file and directory names. &os; does not use drive
+ letters, or other drive names in the path. For example, one
+ would not type c:/foo/bar/readme.txt on
+ &os;.
Directories and files are stored in a file system. Each
file system contains exactly one directory at the very top
level, called the root directory for that
- file system. This root directory can contain other
- directories. One file system is designated the
- root file system or /.
- Every other file system is mounted under
- the root file system. No matter how many disks are on the
- &os; system, every directory appears to be part of the same
- disk.
-
- Consider three file systems, called
- A, B, and
- C. Each file system has one root directory,
- which contains two other directories, called
- A1, A2 (and likewise
- B1, B2 and
+ file system. This root directory can contain other directories.
+ One file system is designated the root file
+ system or /. Every other file
+ system is mounted under the root file
+ system. No matter how many disks are on the &os; system, every
+ directory appears to be part of the same disk.
+
+ Consider three file systems, called A,
+ B, and C. Each file
+ system has one root directory, which contains two other
+ directories, called A1, A2
+ (and likewise B1, B2 and
C1, C2).Call A the root file system. If
@@ -1130,11 +1125,11 @@ root 5211 0.0 0.2 3620 1724 2
A file system must be mounted on to a directory in another
- file system. When mounting file system
- B on to the directory A1,
- the root directory of B replaces
- A1, and the directories in
- B appear accordingly:
+ file system. When mounting file system B
+ on to the directory A1, the root directory
+ of B replaces A1, and
+ the directories in B appear
+ accordingly:
@@ -1156,10 +1151,9 @@ root 5211 0.0 0.2 3620 1724 2
Any files that are in the B1 or
B2 directories can be reached with the path
- /A1/B1 or
- /A1/B2 as
- necessary. Any files that were in
- /A1 have
+ /A1/B1 or /A1/B2 as necessary. Any files
+ that were in /A1 have
been temporarily hidden. They will reappear if
B is unmounted from
A.
@@ -1187,9 +1181,8 @@ root 5211 0.0 0.2 3620 1724 2
and the paths would be
- /A2/B1 and
- /A2/B2
- respectively.
+ /A2/B1 and /A2/B2 respectively.
File systems can be mounted on top of one another.
Continuing the last example, the C file
@@ -1264,9 +1257,9 @@ root 5211 0.0 0.2 3620 1724 2
mount options. For example, the root
file system can be mounted read-only, making it impossible
for users to inadvertently delete or edit a critical file.
- Separating user-writable file systems, such as
- /home, from other
- file systems allows them to be mounted
+ Separating user-writable file systems, such as /home, from other file
+ systems allows them to be mounted
nosuid. This option prevents the
suid/guid bits
on executables stored on the file system from taking effect,
@@ -1283,10 +1276,9 @@ root 5211 0.0 0.2 3620 1724 2
- &os;'s file systems are robust if
- power is lost. However, a power loss at a critical point
- could
- still damage the structure of the file system. By splitting
+ &os;'s file systems are robust if power is lost.
+ However, a power loss at a critical point could still
+ damage the structure of the file system. By splitting
data over multiple file systems it is more likely that the
system will still come up, making it easier to restore from
backup as necessary.
@@ -1379,10 +1371,10 @@ root 5211 0.0 0.2 3620 1724 2
Each partition-that-contains-a-file-system is stored in what
- &os; calls a slice. Slice is
- &os;'s term for what the common call partitions, and again,
- this is because of &os;'s &unix; background. Slices are
- numbered, starting at 1, through to 4.
+ &os; calls a slice. Slice is &os;'s
+ term for what the common call partitions, and again, this is
+ because of &os;'s &unix; background. Slices are numbered,
+ starting at 1, through to 4.slicespartitions
@@ -1403,17 +1395,18 @@ root 5211 0.0 0.2 3620 1724 2
partitions, which are represented as
letters from a to h. This
letter is appended to the device name, so
- da0a is the a partition on
- the first da drive, which is dangerously
- dedicated. ad1s3e is
- the fifth partition in the third slice of the second IDE disk
- drive.
+ da0a is the
+ a partition on the first
+ da drive, which is dangerously
+ dedicated. ad1s3e
+ is the fifth partition in the third slice of the second IDE
+ disk drive.
Finally, each disk on the system is identified. A disk name
starts with a code that indicates the type of disk, and then a
number, indicating which disk it is. Unlike slices, disk
- numbering starts at 0. Common codes are
- listed in .
+ numbering starts at 0. Common codes are listed in .
When referring to a partition, include the disk name,
s, the slice number, and then the partition
@@ -1567,12 +1560,11 @@ root 5211 0.0 0.2 3620 1724 2
The file system is best visualized as a tree,
rooted, as it were, at /.
- /dev,
- /usr, and the
- other directories in the root directory are branches, which may
- have their own branches, such as
- /usr/local, and so
- on.
+ /dev, /usr, and the other directories
+ in the root directory are branches, which may have their own
+ branches, such as /usr/local, and so on.root file systemThere are various reasons to house some of these
@@ -1582,15 +1574,13 @@ root 5211 0.0 0.2 3620 1724 2
spool/, and various types
of temporary files, and as such, may get filled up. Filling up
the root file system is not a good idea, so splitting /var from
- / is often
- favorable.
+ class="directory">/var from / is often favorable.
Another common reason to contain certain directory trees on
other file systems is if they are to be housed on separate
physical disks, or are separate virtual disks, such as Network
- File System mounts, described in
- ,
+ File System mounts, described in ,
or CDROM drives.
@@ -1641,8 +1631,8 @@ root 5211 0.0 0.2 3620 1724 2
options
- Either for read-write
- file systems, or for read-only file
+ Either for read-write file
+ systems, or for read-only file
systems, followed by any other options that may be
needed. A common option is for
file systems not normally mounted during the boot
@@ -1845,28 +1835,27 @@ root 5211 0.0 0.2 3620 1724 2
processes that are run by &os;.Each process is uniquely identified by a number called a
- process ID
- (PID). Similar to files, each process
- has one owner and group, and the owner and group permissions are
- used to determine which files and devices the process can open.
- Most processes also have a parent process that started them.
- For example, the shell is a process, and any command started in
- the shell is a process which has the shell as its parent
- process. The exception is a special process called
- &man.init.8; which is always the first process to start at boot
- time and which always has a PID of 1.
+ process ID (PID).
+ Similar to files, each process has one owner and group, and
+ the owner and group permissions are used to determine which
+ files and devices the process can open. Most processes also
+ have a parent process that started them. For example, the
+ shell is a process, and any command started in the shell is a
+ process which has the shell as its parent process. The
+ exception is a special process called &man.init.8; which is
+ always the first process to start at boot time and which always
+ has a PID of 1.To see the processes on the system, use &man.ps.1; and
&man.top.1;. To display a static list of the currently running
processes, their PIDs, how much memory they
- are using, and the
- command they were started with, use &man.ps.1;. To
- display all the running processes and update the display every
- few seconds in order to interactively see what the computer
- is doing, use &man.top.1;.
+ are using, and the command they were started with, use
+ &man.ps.1;. To display all the running processes and update
+ the display every few seconds in order to interactively see
+ what the computer is doing, use &man.top.1;.
- By default, &man.ps.1; only shows the commands
- that are running and owned by the user. For example:
+ By default, &man.ps.1; only shows the commands that are
+ running and owned by the user. For example:&prompt.user; ps
PID TT STAT TIME COMMAND
@@ -1888,16 +1877,15 @@ root 5211 0.0 0.2 3620 1724 2
The output from &man.ps.1; is organized into a number of
columns. The PID column displays the process
ID. PIDs are assigned starting at 1, go up
- to 99999, then wrap
- around back to the beginning. However, a PID
- is not reassigned
- if it is already in use. The TT column shows
- the tty the program is running on and STAT
- shows the program's state. TIME is the
- amount of time the program has been running on the CPU. This is
- usually not the elapsed time since the program was started, as
- most programs spend a lot of time waiting for things to happen
- before they need to spend time on the CPU. Finally,
+ to 99999, then wrap around back to the beginning. However, a
+ PID is not reassigned if it is already in
+ use. The TT column shows the tty the program
+ is running on and STAT shows the program's
+ state. TIME is the amount of time the
+ program has been running on the CPU. This is usually not the
+ elapsed time since the program was started, as most programs
+ spend a lot of time waiting for things to happen before they
+ need to spend time on the CPU. Finally,
COMMAND is the command that was used to start
the program.
@@ -1933,26 +1921,24 @@ Swap: 256M Total, 38M Used, 217M Free, 1
The output is split into two sections. The header (the
first five lines) shows the PID of the last
- process to run, the
- system load averages (which are a measure of how busy the system
- is), the system uptime (time since the last reboot) and the
- current time. The other figures in the header relate to how
- many processes are running (47 in this case), how much memory
- and swap space has been used, and how much time the system is
- spending in different CPU states.
+ process to run, the system load averages (which are a measure
+ of how busy the system is), the system uptime (time since the
+ last reboot) and the current time. The other figures in the
+ header relate to how many processes are running (47 in this
+ case), how much memory and swap space has been used, and how
+ much time the system is spending in different CPU states.
Below the header is a series of columns containing similar
information to the output from &man.ps.1;, such as the
- PID,
- username, amount of CPU time, and the command that started the
- process. By default, &man.top.1; also displays the amount of
- memory space taken by the process. This is split into two
- columns: one for total size and one for resident size. Total
- size is how much memory the application has needed and the
- resident size is how much it is actually using at the moment.
- In this example, mutt has
- required almost 8 MB of RAM, but is currently only using
- 5 MB.
+ PID, username, amount of CPU time, and the
+ command that started the process. By default, &man.top.1; also
+ displays the amount of memory space taken by the process.
+ This is split into two columns: one for total size and one for
+ resident size. Total size is how much memory the application
+ has needed and the resident size is how much it is actually
+ using at the moment. In this example,
+ mutt has required almost 8 MB
+ of RAM, but is currently only using 5 MB.
&man.top.1; automatically updates the display every two
seconds. A different interval can be specified with
@@ -1980,13 +1966,12 @@ Swap: 256M Total, 38M Used, 217M Free, 1
There is a convention to name programs that normally run as
daemons with a trailing d.
BIND is the Berkeley Internet Name
- Domain, but the actual program that executes is
- &man.named.8;. The Apache
- web server program is httpd and the
- line printer spooling daemon is &man.lpd.8;. This is
- only a naming convention. For example, the main mail daemon for
- the Sendmail application is
- &man.sendmail.8;, and not
+ Domain, but the actual program that executes is &man.named.8;.
+ The Apache web server program is
+ httpd and the line printer spooling daemon
+ is &man.lpd.8;. This is only a naming convention. For example,
+ the main mail daemon for the Sendmail
+ application is &man.sendmail.8;, and not
maild.One way to communicate with a daemon, or any running
@@ -2050,16 +2035,14 @@ Swap: 256M Total, 38M Used, 217M Free, 1
This example shows how to send a signal to &man.inetd.8;.
The &man.inetd.8; configuration file is
- /etc/inetd.conf, and
- &man.inetd.8; will re-read this configuration file
- when it is sent a SIGHUP.
+ /etc/inetd.conf, and &man.inetd.8; will
+ re-read this configuration file when it is sent a
+ SIGHUP.Find the PID of the process to send
- the signal
- to using &man.pgrep.1;. In this example, the
- PID for
- &man.inetd.8; is 198:
+ the signal to using &man.pgrep.1;. In this example, the
+ PID for &man.inetd.8; is 198:&prompt.user; pgrep -l inetd
198 inetd -wW
@@ -2080,10 +2063,9 @@ Swap: 256M Total, 38M Used, 217M Free, 1
process not owned by that user, the message
kill: PID: Operation
not permitted will be displayed. Mistyping
- the PID will either
- send the signal to the wrong process, which could have
- negative results, or will send the signal to a
- PID that is
+ the PID will either send the signal to
+ the wrong process, which could have negative results, or
+ will send the signal to a PID that is
not currently in use, resulting in the error
kill: PID: No such
process.
@@ -2111,9 +2093,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
Killing a random process on the system can be a bad idea.
In particular, &man.init.8;, PID 1, is
- special. Running
- /bin/kill -s KILL 1 is a quick, and
- unrecommended, way to shutdown the system.
+ special. Running /bin/kill -s KILL 1 is
+ a quick, and unrecommended, way to shutdown the system.
Always double check the arguments to
&man.kill.1; before pressing
Return.
@@ -2131,11 +2112,10 @@ Swap: 256M Total, 38M Used, 217M Free, 1
them. Many shells provide built in functions to help with
everyday tasks such as file management, file globbing, command
line editing, command macros, and environment variables. &os;
- comes with several shells, including the
- Bourne shell (&man.sh.1;) and the extended C shell
- (&man.tcsh.1;).
- Other shells are available from the &os; Ports Collection, such
- as zsh and bash.
+ comes with several shells, including the Bourne shell
+ (&man.sh.1;) and the extended C shell (&man.tcsh.1;). Other
+ shells are available from the &os; Ports Collection, such as
+ zsh and bash.
The shell that is used is really a matter of taste. A C
programmer might feel more comfortable with a C-like shell such
@@ -2275,13 +2255,12 @@ Swap: 256M Total, 38M Used, 217M Free, 1
Shells treat special characters, known as meta-characters,
as special representations of data. The most common
- meta-character is *, which
- represents any number of characters in a filename.
- Meta-characters can be used to perform filename globbing. For
- example, echo * is equivalent to
- &man.ls.1; because the shell takes all the files that
- match * and &man.echo.1; lists
- them on the command line.
+ meta-character is *, which represents any
+ number of characters in a filename. Meta-characters can be
+ used to perform filename globbing. For example, echo
+ * is equivalent to &man.ls.1; because the shell
+ takes all the files that match * and
+ &man.echo.1; lists them on the command line.To prevent the shell from interpreting a special character,
escape it from the shell by starting it with a backslash
@@ -2297,9 +2276,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
to use chsh. Running this command will
open the editor that is configured in the
EDITOR environment variable, which by default
- is set to &man.vi.1;. Change
- the Shell: line to the full path of the
- new shell.
+ is set to &man.vi.1;. Change the Shell: line
+ to the full path of the new shell.
Alternately, use chsh -s which will set
the specified shell without opening an editor. For example,
@@ -2310,10 +2288,9 @@ Swap: 256M Total, 38M Used, 217M Free, 1
The new shell must be present in
/etc/shells. If the shell was
- installed from the &os; Ports
- Collection as described in , it
- should be automatically added to
- this file. If it is missing, add it using this
+ installed from the &os; Ports Collection as described in
+ , it should be automatically added
+ to this file. If it is missing, add it using this
command, replacing the path with the path of the
shell:
@@ -2343,9 +2320,9 @@ Swap: 256M Total, 38M Used, 217M Free, 1
&man.ee.1;
- A simple editor to learn is &man.ee.1;,
- which stands for easy editor. To start this editor, type
- ee filename where
+ A simple editor to learn is &man.ee.1;, which stands for
+ easy editor. To start this editor, type ee
+ filename where
filename is the name of the file to
be edited. Once inside the editor, all of the commands for
manipulating the editor's functions are listed at the top of the
@@ -2353,10 +2330,9 @@ Swap: 256M Total, 38M Used, 217M Free, 1
Ctrl, so ^e expands to
Ctrle.
- To leave &man.ee.1;, press
- Esc, then choose the leave
- editor option from the main menu. The editor will
- prompt to save any changes if the file has been
+ To leave &man.ee.1;, press Esc, then choose
+ the leave editor option from the main menu.
+ The editor will prompt to save any changes if the file has been
modified.
@@ -2375,9 +2351,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
&os; also comes with more powerful text editors, such as
- &man.vi.1;, as part of the base system.
- Other editors, like editors/emacs and
+ &man.vi.1;, as part of the base system. Other editors, like
+ editors/emacs and
editors/vim, are part of the
&os; Ports Collection. These editors offer more functionality
at the expense of being a more complicated to learn. Learning a
@@ -2407,8 +2382,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
keyboard.Most devices in a &os; must be accessed through special
- files called device nodes, which are located in
- /dev.
+ files called device nodes, which are located in /dev.Creating Device Nodes
@@ -2482,8 +2457,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
the &man.a.out.5; format, a technology tried and proven through
many generations of BSD releases, until the beginning of the 3.X
branch. Though it was possible to build and run native
- ELF binaries and kernels on a &os;
- system for some time before that, &os; initially resisted the
+ ELF binaries and kernels on a &os; system
+ for some time before that, &os; initially resisted the
push to switch to ELF as the
default format. Why? When Linux made its painful transition to
ELF, it was due to their inflexible
@@ -2543,9 +2518,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
programs rewrote them and added simpler support for building
cross compilers and plugging in different formats. Those who
wanted to build cross compilers targeting &os; were out of luck
- since the older sources that &os; had for
- &man.as.1; and &man.ld.1;
- were not up to the task. The new GNU tools chain
+ since the older sources that &os; had for &man.as.1; and
+ &man.ld.1; were not up to the task. The new GNU tools chain
(binutils) supports cross
compiling, ELF, shared libraries, and C++
extensions. In addition, many vendors release
@@ -2583,8 +2557,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
&prompt.user; man commandwhere command is the name of
- the command to learn about. For example, to learn
- more about &man.ls.1;, type:
+ the command to learn about. For example, to learn more about
+ &man.ls.1;, type:&prompt.user; man ls
@@ -2632,18 +2606,16 @@ Swap: 256M Total, 38M Used, 217M Free, 1
In some cases, the same topic may appear in more than one
section of the online manual. For example, there is a
&man.chmod.1; user command and a
- chmod() system call. To tell
- &man.man.1; which section to display, specify the
- section number:
+ chmod() system call. To tell &man.man.1;
+ which section to display, specify the section number:
&prompt.user; man 1 chmodThis will display the manual page for the user command
- &man.chmod.1;. References to a particular section
- of the online manual are traditionally placed in parenthesis
- in written documentation, so &man.chmod.1; refers to the
- user command and &man.chmod.2; refers
- to the system call.
+ &man.chmod.1;. References to a particular section of the
+ online manual are traditionally placed in parenthesis in
+ written documentation, so &man.chmod.1; refers to the user
+ command and &man.chmod.2; refers to the system call.
If the command name is unknown, use man
-k to search for keywords in the command
@@ -2655,8 +2627,8 @@ Swap: 256M Total, 38M Used, 217M Free, 1
keyword mail in their descriptions. This is
equivalent to using &man.apropos.1;.
- To determine what the commands in
- /usr/bin do,
+ To determine what the commands in /usr/bin do,
type:&prompt.user; cd /usr/bin
From owner-svn-doc-projects@FreeBSD.ORG Thu May 9 20:59:53 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
[IPv6:2001:1900:2254:206a::19:1])
by hub.freebsd.org (Postfix) with ESMTP id 533F339F;
Thu, 9 May 2013 20:59:53 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 4467317F;
Thu, 9 May 2013 20:59:53 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r49KxrWr037202;
Thu, 9 May 2013 20:59:53 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r49KxrW3037201;
Thu, 9 May 2013 20:59:53 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305092059.r49KxrW3037201@svn.freebsd.org>
From: Dru Lavigne
Date: Thu, 9 May 2013 20:59:53 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41585 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Thu, 09 May 2013 20:59:53 -0000
Author: dru
Date: Thu May 9 20:59:52 2013
New Revision: 41585
URL: http://svnweb.freebsd.org/changeset/doc/41585
Log:
This patch addresses the following:
- fixes command/application tags with entities
- fixes redundancy
A subsequent patch will fix outstanding white space
issues.
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Thu May 9 20:56:48 2013 (r41584)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Thu May 9 20:59:52 2013 (r41585)
@@ -249,7 +249,7 @@ requirements. -->
audit_warn - A customizable shell
- script used by auditd to generate
+ script used by &man.auditd.8; to generate
warning messages in exceptional situations, such as when
space for audit records is running low or when the audit
trail file has been rotated.
@@ -460,9 +460,8 @@ requirements. -->
The audit_control File
- The audit_control file specifies a
- number of defaults for the audit subsystem. Viewing the
- contents of this file, we see the following:
+ A number of defaults for the audit subsystem are
+ specified in audit_control:dir:/var/audit
flags:lo
@@ -471,7 +470,7 @@ naflags:lo
policy:cnt
filesz:0
- The option is used to set one or
+ The entry is used to set one or
more directories where audit logs will be stored. If more
than one directory entry appears, they will be used in order
as they fill. It is common to configure audit so that audit
@@ -484,17 +483,17 @@ filesz:0
example above, successful and failed login and logout events
are audited for all users.
- The option defines the minimum
+ The entry defines the minimum
percentage of free space for the file system where the audit
trail is stored. When this threshold is exceeded, a warning
will be generated. The above example sets the minimum free
space to twenty percent.
- The option specifies audit
+ The specifies audit
classes to be audited for non-attributed events, such as the
login process and system daemons.
- The option specifies a
+ The entry specifies a
comma-separated list of policy flags controlling various
aspects of audit behavior. The default
cnt flag indicates that the system should
@@ -504,7 +503,7 @@ filesz:0
to the &man.execve.2; system call to be audited as part of
command execution.
- The option specifies the maximum
+ The entry specifies the maximum
size in bytes to allow an audit trail file to grow to before
automatically terminating and rotating the trail file. The
default, 0, disables automatic log rotation. If the
@@ -516,9 +515,9 @@ filesz:0
The audit_user File
- The audit_user file permits the
- administrator to specify further audit requirements for
- specific users. Each line configures auditing for a user
+ The administrator can specify further audit requirements
+ for specific users in audit_user.
+ Each line configures auditing for a user
via two fields: the first is the
alwaysaudit field, which specifies a set
of events that should always be audited for the user, and
@@ -527,14 +526,14 @@ filesz:0
the user.The following example audit_user
- file audits login/logout events and successful command
- execution for the root user, and audits
- file creation and successful command execution for the
- www user. If used with the example
- audit_control file above, the
+ audits login/logout events and successful command
+ execution for root, and audits
+ file creation and successful command execution for
+ www. If used with the above example
+ audit_control, the
lo entry for root is
redundant, and login/logout events will also be audited for
- the www user.
+ www.root:lo,+ex:no
www:fc,+ex:no
@@ -553,12 +552,13 @@ www:fc,+ex:no
&man.praudit.1; command converts trail files to a simple text
format; the &man.auditreduce.1; command may be used to reduce
the audit trail file for analysis, archiving, or printing
- purposes. auditreduce supports a variety
- of selection parameters, including event type, event class,
+ purposes. A variety of selection
+ parameters are supported by &man.auditreduce.1;,
+ including event type, event class,
user, date or time of the event, and the file path or object
acted on.
- For example, the praudit utility will
+ For example, &man.praudit.1; will
dump the entire contents of a specified audit log in plain
text:
@@ -569,7 +569,7 @@ www:fc,+ex:no
the audit log to dump.Audit trails consist of a series of audit records made up
- of tokens, which praudit prints
+ of tokens, which &man.praudit.1; prints
sequentially one per line. Each token is of a specific type,
such as header holding an audit record
header, or path holding a file path from a
@@ -605,9 +605,10 @@ trailer,133
successful execution, and the trailer
concludes the record.
- praudit also supports
- an XML output format, which can be selected using the
- argument.
+ XML output format is also supported by
+ &man.praudit.1;,
+ and can be selected using
+ .
@@ -619,10 +620,9 @@ trailer,133
&prompt.root; auditreduce -u trhodes /var/audit/AUDITFILE | praudit
- This will select all audit records produced for the user
- trhodes stored in the
- AUDITFILE
- file.
+ This will select all audit records produced for
+ trhodes stored in
+ AUDITFILE.
@@ -674,7 +674,7 @@ trailer,133
SSH session, then a continuous stream of audit events will
be generated at a high rate, as each event being printed
will generate another event. It is advisable to run
- praudit on an audit pipe device from
+ &man.praudit.1; on an audit pipe device from
sessions without fine-grained I/O auditing in order to avoid
this happening.
@@ -685,10 +685,10 @@ trailer,133
Audit trails are written to only by the kernel, and
managed only by the audit daemon,
- auditd. Administrators should not
+ &man.auditd.8;. Administrators should not
attempt to use &man.newsyslog.conf.5; or other tools to
directly rotate audit logs. Instead, the
- audit management tool may be used to shut
+ &man.audit.8; management tool may be used to shut
down auditing, reconfigure the audit system, and perform log
rotation. The following command causes the audit daemon to
create a new audit log and signal the kernel to switch to
@@ -699,7 +699,7 @@ trailer,133
&prompt.root; audit -n
- If the auditd daemon is not
+ If &man.auditd.8; is not
currently running, this command will fail and an error
message will be produced.
@@ -714,7 +714,7 @@ trailer,133
new /etc/crontab.Automatic rotation of the audit trail file based on file
- size is possible via the option in
+ size is possible using in
&man.audit.control.5;, and is described in the configuration
files section of this chapter.
From owner-svn-doc-projects@FreeBSD.ORG Fri May 10 11:55:41 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id 56132F6D;
Fri, 10 May 2013 11:55:41 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 47926341;
Fri, 10 May 2013 11:55:41 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4ABtfZG053743;
Fri, 10 May 2013 11:55:41 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4ABtfO6053742;
Fri, 10 May 2013 11:55:41 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305101155.r4ABtfO6053742@svn.freebsd.org>
From: Dru Lavigne
Date: Fri, 10 May 2013 11:55:41 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41589 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Fri, 10 May 2013 11:55:41 -0000
Author: dru
Date: Fri May 10 11:55:40 2013
New Revision: 41589
URL: http://svnweb.freebsd.org/changeset/doc/41589
Log:
White space fix only. Translators can ignore.
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Fri May 10 11:40:22 2013 (r41588)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Fri May 10 11:55:40 2013 (r41589)
@@ -60,8 +60,8 @@ requirements. -->
- How to configure Event Auditing on &os; for users
- and processes.
+ How to configure Event Auditing on &os; for users and
+ processes.
@@ -85,8 +85,8 @@ requirements. -->
- Have some familiarity with security and how it
- pertains to &os; ().
+ Have some familiarity with security and how it pertains
+ to &os; ().
@@ -104,9 +104,9 @@ requirements. -->
Administrators should take into account disk space
requirements associated with high volume audit configurations.
For example, it may be desirable to dedicate a file system to
- the /var/audit tree so that other file
- systems are not affected if the audit file system becomes
- full.
+ the /var/audit tree
+ so that other file systems are not affected if the audit file
+ system becomes full.
@@ -133,9 +133,9 @@ requirements. -->
class: Event classes are named sets
of related events, and are used in selection expressions.
- Commonly used classes of events include
- file creation (fc), exec (ex)
- and login_logout (lo).
+ Commonly used classes of events include file
+ creation (fc), exec (ex) and
+ login_logout (lo).
@@ -199,8 +199,8 @@ requirements. -->
options AUDITRebuild and reinstall
- the kernel via the normal process explained in
- .
+ the kernel via the normal process explained in .
Once an audit-enabled kernel is built, installed, and the
system has been rebooted, enable the audit daemon by adding the
@@ -249,10 +249,10 @@ requirements. -->
audit_warn - A customizable shell
- script used by &man.auditd.8; to generate
- warning messages in exceptional situations, such as when
- space for audit records is running low or when the audit
- trail file has been rotated.
+ script used by &man.auditd.8; to generate warning messages
+ in exceptional situations, such as when space for audit
+ records is running low or when the audit trail file has
+ been rotated.
@@ -400,8 +400,8 @@ requirements. -->
These audit event classes may be customized by modifying
- the audit_class and
- audit_event configuration files.
+ the audit_class and audit_
+ event configuration files.
Each audit class in the list is combined with a prefix
indicating whether successful/failed operations are matched,
@@ -451,11 +451,10 @@ requirements. -->
Configuration FilesIn most cases, administrators will need to modify only two
- files when configuring the audit system:
- audit_control and
- audit_user. The first controls
- system-wide audit properties and policies; the second may be
- used to fine-tune auditing by user.
+ files when configuring the audit system: audit_
+ control and audit_user.
+ The first controls system-wide audit properties and policies;
+ the second may be used to fine-tune auditing by user.The audit_control File
@@ -489,9 +488,9 @@ filesz:0
will be generated. The above example sets the minimum free
space to twenty percent.
- The specifies audit
- classes to be audited for non-attributed events, such as the
- login process and system daemons.
+ The specifies audit classes
+ to be audited for non-attributed events, such as the login
+ process and system daemons.The entry specifies a
comma-separated list of policy flags controlling various
@@ -517,13 +516,12 @@ filesz:0
The administrator can specify further audit requirements
for specific users in audit_user.
- Each line configures auditing for a user
- via two fields: the first is the
- alwaysaudit field, which specifies a set
- of events that should always be audited for the user, and
- the second is the neveraudit field, which
- specifies a set of events that should never be audited for
- the user.
+ Each line configures auditing for a user via two fields:
+ the first is the alwaysaudit field,
+ which specifies a set of events that should always be
+ audited for the user, and the second is the
+ neveraudit field, which specifies a set
+ of events that should never be audited for the user.The following example audit_user
audits login/logout events and successful command
@@ -552,15 +550,13 @@ www:fc,+ex:no
&man.praudit.1; command converts trail files to a simple text
format; the &man.auditreduce.1; command may be used to reduce
the audit trail file for analysis, archiving, or printing
- purposes. A variety of selection
- parameters are supported by &man.auditreduce.1;,
- including event type, event class,
+ purposes. A variety of selection parameters are supported by
+ &man.auditreduce.1;, including event type, event class,
user, date or time of the event, and the file path or object
acted on.
- For example, &man.praudit.1; will
- dump the entire contents of a specified audit log in plain
- text:
+ For example, &man.praudit.1; will dump the entire
+ contents of a specified audit log in plain text:&prompt.root; praudit /var/audit/AUDITFILE
@@ -569,11 +565,11 @@ www:fc,+ex:no
the audit log to dump.
Audit trails consist of a series of audit records made up
- of tokens, which &man.praudit.1; prints
- sequentially one per line. Each token is of a specific type,
- such as header holding an audit record
- header, or path holding a file path from a
- name lookup. The following is an example of an
+ of tokens, which &man.praudit.1; prints sequentially one per
+ line. Each token is of a specific type, such as
+ header holding an audit record header, or
+ path holding a file path from a name
+ lookup. The following is an example of an
execve event:header,133,10,execve(2),0,Mon Sep 25 15:58:03 2006, + 384 msec
@@ -606,8 +602,7 @@ trailer,133
concludes the record.
XML output format is also supported by
- &man.praudit.1;,
- and can be selected using
+ &man.praudit.1;, and can be selected using
.
@@ -629,10 +624,10 @@ trailer,133
Delegating Audit Review RightsMembers of the audit group are
- given permission to read audit trails in
- /var/audit; by default, this group is
- empty, so only the root user may read
- audit trails. Users may be added to the
+ given permission to read audit trails in /var/audit; by default, this
+ group is empty, so only the root user
+ may read audit trails. Users may be added to the
audit group in order to delegate audit
review rights to the user. As the ability to track audit log
contents provides significant insight into the behavior of
@@ -674,9 +669,9 @@ trailer,133
SSH session, then a continuous stream of audit events will
be generated at a high rate, as each event being printed
will generate another event. It is advisable to run
- &man.praudit.1; on an audit pipe device from
- sessions without fine-grained I/O auditing in order to avoid
- this happening.
+ &man.praudit.1; on an audit pipe device from sessions
+ without fine-grained I/O auditing in order to avoid this
+ happening.
@@ -684,24 +679,23 @@ trailer,133
Rotating Audit Trail FilesAudit trails are written to only by the kernel, and
- managed only by the audit daemon,
- &man.auditd.8;. Administrators should not
- attempt to use &man.newsyslog.conf.5; or other tools to
- directly rotate audit logs. Instead, the
- &man.audit.8; management tool may be used to shut
- down auditing, reconfigure the audit system, and perform log
- rotation. The following command causes the audit daemon to
- create a new audit log and signal the kernel to switch to
- using the new log. The old log will be terminated and
- renamed, at which point it may then be manipulated by the
- administrator.
+ managed only by the audit daemon, &man.auditd.8;.
+ Administrators should not attempt to use
+ &man.newsyslog.conf.5; or other tools to directly rotate
+ audit logs. Instead, the &man.audit.8; management tool may
+ be used to shut down auditing, reconfigure the audit system,
+ and perform log rotation. The following command causes the
+ audit daemon to create a new audit log and signal the kernel
+ to switch to using the new log. The old log will be
+ terminated and renamed, at which point it may then be
+ manipulated by the administrator.
&prompt.root; audit -n
- If &man.auditd.8; is not
- currently running, this command will fail and an error
- message will be produced.
+ If &man.auditd.8; is not currently running, this
+ command will fail and an error message will be
+ produced.Adding the following line to
@@ -710,8 +704,8 @@ trailer,133
0 */12 * * * root /usr/sbin/audit -n
- The change will take effect once you have saved the
- new /etc/crontab.
+ The change will take effect once you have saved the new
+ /etc/crontab.Automatic rotation of the audit trail file based on file
size is possible using in
From owner-svn-doc-projects@FreeBSD.ORG Fri May 10 12:13:42 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id E9FB15C6;
Fri, 10 May 2013 12:13:42 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id DC42060F;
Fri, 10 May 2013 12:13:42 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4ACDg08060832;
Fri, 10 May 2013 12:13:42 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4ACDgGF060831;
Fri, 10 May 2013 12:13:42 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305101213.r4ACDgGF060831@svn.freebsd.org>
From: Dru Lavigne
Date: Fri, 10 May 2013 12:13:42 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41590 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Fri, 10 May 2013 12:13:43 -0000
Author: dru
Date: Fri May 10 12:13:42 2013
New Revision: 41590
URL: http://svnweb.freebsd.org/changeset/doc/41590
Log:
Fix grammo.
Submitted by: bjk
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml Fri May 10 11:55:40 2013 (r41589)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/boot/chapter.xml Fri May 10 12:13:42 2013 (r41590)
@@ -84,7 +84,7 @@
(BIOS) is responsible for loading the
operating system. To do this, the BIOS
looks on the hard disk for the Master Boot Record
- (MBR), which must be located on a specific
+ (MBR), which must be located in a specific
place on the disk. The BIOS has enough
knowledge to load and run the MBR, and
assumes that the MBR can then carry out the
From owner-svn-doc-projects@FreeBSD.ORG Fri May 10 14:00:18 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id 75569E73;
Fri, 10 May 2013 14:00:18 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id 66CADB15;
Fri, 10 May 2013 14:00:18 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4AE0I6s097270;
Fri, 10 May 2013 14:00:18 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4AE0INV097269;
Fri, 10 May 2013 14:00:18 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305101400.r4AE0INV097269@svn.freebsd.org>
From: Dru Lavigne
Date: Fri, 10 May 2013 14:00:18 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41591 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/advanced-networking
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Fri, 10 May 2013 14:00:18 -0000
Author: dru
Date: Fri May 10 14:00:18 2013
New Revision: 41591
URL: http://svnweb.freebsd.org/changeset/doc/41591
Log:
First pass through first 1/2 of a huge chapter. Subsequent patches
to follow. This patch addresses the following:
- &os;, e.g., you
- most acronyms
- grammar fixes and general tightening
- fixes command/app tags which should be entities
Approved by: bcr (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Fri May 10 12:13:42 2013 (r41590)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Fri May 10 14:00:18 2013 (r41591)
@@ -11,7 +11,7 @@
Synopsis
- This chapter will cover a number of advanced networking
+ This chapter covers a number of advanced networking
topics.After reading this chapter, you will know:
@@ -27,7 +27,7 @@
- How to make FreeBSD act as a bridge.
+ How to make &os; act as a bridge.
@@ -36,8 +36,9 @@
- How to set up network PXE booting with an NFS root file
- system.
+ How to set up network PXE booting
+ with an
+ NFS root filesystem.
@@ -45,16 +46,17 @@
- How to set up IPv6 on a FreeBSD machine.
+ How to set up IPv6 on a &os; machine.
- How to configure ATM.
+ How to configure ATM.
- How to enable and utilize the features of CARP, the
- Common Address Redundancy Protocol in &os;
+ How to enable and utilize the features of the
+ Common Address Redundancy Protocol
+ (CARP) in &os;.
@@ -71,7 +73,7 @@
- Know how to configure and install a new FreeBSD kernel
+ Know how to configure and install a new &os; kernel
().
@@ -105,22 +107,21 @@
one to the other. This is called
routing. A route is a
defined pair of addresses: a destination and a
- gateway. The pair indicates that if you are
+ gateway. The pair indicates that when
trying to get to this destination,
communicate through this gateway. There
are three types of destinations: individual hosts, subnets, and
default. The default route is
- used if none of the other routes apply. We will talk a little
- bit more about default routes later on. There are also three
+ used if none of the other routes apply. There are also three
types of gateways: individual hosts, interfaces (also called
- links), and Ethernet hardware addresses (MAC
- addresses).
+ links), and Ethernet hardware
+ (MAC) addresses.An Example
- To illustrate different aspects of routing, we will use
- the following example from netstat:
+ This example &man.netstat.1; output illustrates several
+ aspects of routing:&prompt.user; netstat -r
Routing tables
@@ -138,9 +139,9 @@ host2.example.com link#1 UC
224 link#1 UC 0 0default route
- The first two lines specify the default route (which we
- will cover in the
- next section)
+ The first two lines specify the default route,
+ described in more detail in
+ ,
and the localhost route.loopback device
@@ -149,66 +150,65 @@ host2.example.com link#1 UC
localhost is lo0,
also known as the loopback device. This says to keep all
traffic for this destination internal, rather than sending it
- out over the LAN, since it will only end up back where it
- started.
+ out over the network.EthernetMAC address
- The next thing that stands out are the addresses beginning
- with 0:e0:. These are Ethernet
- hardware addresses, which are also known as MAC addresses.
- FreeBSD will automatically identify any hosts
- (test0 in the example) on the local Ethernet
- and add a route for that host, directly to it over the
- Ethernet interface, ed0. There is
- also a timeout (Expire column) associated
- with this type of route, which is used if we fail to hear from
- the host in a specific amount of time. When this happens, the
+ The addresses beginning
+ with 0:e0: are Ethernet
+ hardware addresses, also known as MAC
+ addresses.
+ &os; will automatically identify any hosts,
+ test0 in the example, on the local Ethernet
+ and add a route for that host over the
+ Ethernet interface, ed0. This type
+ of route has a timeout, seen in the Expire
+ column, which is used if
+ the host does not respond in a specific amount of time. When
+ this happens, the
route to this host will be automatically deleted. These hosts
- are identified using a mechanism known as RIP (Routing
- Information Protocol), which figures out routes to local hosts
+ are identified using the Routing
+ Information Protocol (RIP), which
+ calculates routes to local hosts
based upon a shortest path determination.subnet
- FreeBSD will also add subnet routes for the local subnet
- (10.20.30.255 is the broadcast
+ &os; will add subnet routes for the local subnet.
+ 10.20.30.255 is the broadcast
address for the subnet
- 10.20.30, and
+ 10.20.30 and
example.com is the domain
- name associated with that subnet). The designation
+ name associated with that subnet. The designation
link#1 refers to the first Ethernet card in
- the machine. You will notice no additional interface is
- specified for those.
+ the machine.
- Both of these groups (local network hosts and local
- subnets) have their routes automatically configured by a
- daemon called routed. If this is
- not run, then only routes which are statically defined (i.e.,
- entered explicitly) will exist.
-
- The host1 line refers to our host,
- which it knows by Ethernet address. Since we are the sending
- host, FreeBSD knows to use the loopback interface
- (lo0) rather than sending it out over
+ Local network hosts and local
+ subnets have their routes automatically configured by a
+ daemon called &man.routed.8;. If it is
+ not running, only routes which are statically defined
+ by the administrator will exist.
+
+ The host1 line refers to the host
+ by its Ethernet address. Since it is the sending
+ host, &os; knows to use the loopback interface
+ (lo0) rather than
the Ethernet interface.
- The two host2 lines are an example of
- what happens when we use an &man.ifconfig.8; alias (see the
- section on Ethernet for reasons why we would do this). The
+ The two host2 lines represent aliases
+ which were created using &man.ifconfig.8;. The
=> symbol after the
- lo0 interface says that not only are
- we using the loopback (since this address also refers to the
- local host), but specifically it is an alias. Such routes
+ lo0 interface says that an alias
+ has been set in addition to the loopback address. Such routes
only show up on the host that supports the alias; all other
- hosts on the local network will simply have a
+ hosts on the local network will have a
link#1 line for such routes.The final line (destination subnet
- 224) deals with multicasting,
- which will be covered in another section.
+ 224) deals with
+ multicasting.Finally, various attributes of each route can be seen in
the Flags column. Below is a short table
@@ -247,7 +247,7 @@ host2.example.com link#1 UC
CClone: Generates a new route based upon this
- route for machines we connect to. This type of route
+ route for machines to connect to. This type of route
is normally used for local networks.
@@ -276,25 +276,24 @@ host2.example.com link#1 UC
When the local system needs to make a connection to a
remote host, it checks the routing table to determine if a
known path exists. If the remote host falls into a subnet
- that we know how to reach (Cloned routes), then the system
- checks to see if it can connect along that interface.
+ that it knows how to reach, the system
+ checks to see if it can connect using that interface.If all known paths fail, the system has one last option:
the default route. This route is a special
type of gateway route (usually the only one present in the
system), and is always marked with a c in
the flags field. For hosts on a local area network, this
- gateway is set to whatever machine has a direct connection to
- the outside world (whether via PPP link, DSL, cable modem, T1,
- or another network interface).
+ gateway is set to the system which has a direct connection to
+ the Internet.
- If you are configuring the default route for a machine
+ The default route for a machine
which itself is functioning as the gateway to the outside
- world, then the default route will be the gateway machine at
- your Internet Service Provider's (ISP) site.
+ world, will be the gateway machine at
+ the Internet Service Provider (ISP).
- Let us look at an example of default routes. This is a
- common configuration:
+ This example is a
+ common configuration for a default route:
@@ -308,13 +307,15 @@ host2.example.com link#1 UC
The hosts Local1 and
- Local2 are at your site.
- Local1 is connected to an ISP via a dial up
- PPP connection. This PPP server computer is connected through
+ Local2 are on the local network.
+ Local1 is connected to an
+ ISP using a
+ PPP connection. This
+ PPP server is connected through
a local area network to another gateway computer through an
- external interface to the ISPs Internet feed.
+ external interface to the ISP.
- The default routes for each of your machines will
+ The default routes for each machine will
be:
@@ -343,25 +344,31 @@ host2.example.com link#1 UC
- A common question is Why (or how) would we set
- the T1-GW to be the default gateway for
- Local1, rather than the ISP server it is
+ A common question is Why is
+ T1-GW configured as the default gateway for
+ Local1, rather than the
+ ISP server it is
connected to?.
- Remember, since the PPP interface is using an address on
- the ISP's local network for your side of the connection,
- routes for any other machines on the ISP's local network will
- be automatically generated. Hence, you will already know how
+ Since the PPP interface is using an
+ address on
+ the ISP's local network for the local side
+ of the connection,
+ routes for any other machines on the ISP's
+ local network will
+ be automatically generated. The system already knows how
to reach the T1-GW machine, so there is no
- need for the intermediate step of sending traffic to the ISP
+ need for the intermediate step of sending traffic to the
+ ISP's
server.It is common to use the address
X.X.X.1 as the gateway address
- for your local network. So (using the same example), if your
- local class-C address space was
- 10.20.30 and your ISP was using
- 10.9.9 then the default routes
+ for the local network. So, if the
+ local class C address space is
+ 10.20.30 and the
+ ISP is using
+ 10.9.9, the default routes
would be:
@@ -387,19 +394,19 @@ host2.example.com link#1 UC
The default route can be easily defined in
- /etc/rc.conf. In our example, on
- the Local2 machine, we added the following
- line in /etc/rc.conf:
+ /etc/rc.conf. In this example, on
+ Local2, add the following
+ line to /etc/rc.conf:defaultrouter="10.20.30.1"
- It is also possible to do it directly from the command
- line with the &man.route.8; command:
+ It is also possible to add the route directly using
+ &man.route.8;:&prompt.root; route add default 10.20.30.1For more information on manual manipulation of network
- routing tables, consult the &man.route.8; manual page.
+ routing tables, refer to &man.route.8;.
@@ -407,32 +414,28 @@ host2.example.com link#1 UC
dual homed hosts
- There is one other type of configuration that we should
- cover, and that is a host that sits on two different networks.
- Technically, any machine functioning as a gateway (in the
- example above, using a PPP connection) counts as a dual-homed
- host. But the term is really only used to refer to a machine
- that sits on two local-area networks.
-
- In one case, the machine has two Ethernet cards, each
- having an address on the separate subnets. Alternately, the
- machine may only have one Ethernet card, and be using
+ A a dual-homed system
+ is a host which resides on two different networks.
+
+ The dual-homed machine might have two Ethernet cards, each
+ having an address on a separate subnet. Alternately, the
+ machine can have one Ethernet card and uses
&man.ifconfig.8; aliasing. The former is used if two
- physically separate Ethernet networks are in use, the latter
+ physically separate Ethernet networks are in use and the
+ latter
if there is one physical network segment, but two logically
separate subnets.Either way, routing tables are set up so that each subnet
knows that this machine is the defined gateway (inbound route)
to the other subnet. This configuration, with the machine
- acting as a router between the two subnets, is often used when
- we need to implement packet filtering or firewall security in
+ acting as a router between the two subnets, is often used
+ to implement packet filtering or firewall security in
either or both directions.
- If you want this machine to actually forward packets
- between the two interfaces, you need to tell FreeBSD to enable
- this ability. See the next section for more details on how
- to do this.
+ For this machine to forward packets
+ between the two interfaces, &os; must be configured as a
+ router, as demonstrated in the next section.
@@ -440,10 +443,10 @@ host2.example.com link#1 UC
router
- A network router is simply a system that forwards packets
+ A network router is a system that forwards packets
from one interface to another. Internet standards and good
- engineering practice prevent the FreeBSD Project from enabling
- this by default in FreeBSD. You can enable this feature by
+ engineering practice prevent the &os; Project from enabling
+ this by default in &os;. This feature can be enabled by
changing the following variable to YES in
&man.rc.conf.5;:
@@ -451,23 +454,21 @@ host2.example.com link#1 UC
This option will set the &man.sysctl.8; variable
net.inet.ip.forwarding to
- 1. If you should need to stop routing
- temporarily, you can reset this to 0
- temporarily.
+ 1. To stop routing,
+ reset this to 0.BGPRIPOSPF
- Your new router will need routes to know where to send the
- traffic. If your network is simple enough you can use static
- routes. FreeBSD also comes with the standard BSD routing
- daemon &man.routed.8;, which speaks RIP (both version 1 and
- version 2) and IRDP. Support for BGP v4, OSPF v2, and other
+ The new router will need routes to know where to send the
+ traffic. If the network is simple enough, static
+ routes can be used. &os; comes with the standard BSD routing
+ daemon &man.routed.8;, which speaks RIP
+ versions 1 and 2, and IRDP. Support for
+ BGPv4, OSPFv2, and other
sophisticated routing protocols is available with the
- net/zebra package.
- Commercial products such as &gated;
- are also available for more complex network routing
- solutions.
+ net/zebra package or
+ port.
@@ -486,7 +487,7 @@ host2.example.com link#1 UC
Manual Configuration
- Let us assume we have a network as follows:
+ Consider the following network:
@@ -520,21 +521,18 @@ host2.example.com link#1 UC
- In this scenario, RouterA is our &os;
+ In this scenario, RouterA is a &os;
machine that is acting as a router to the rest of the
Internet. It has a default route set to
10.0.0.1 which allows it to
- connect with the outside world. We will assume that
- RouterB is already configured properly and
- knows how to get wherever it needs to go. (This is simple
- in this picture. Just add a default route on
- RouterB using
+ connect with the outside world. RouterB is
+ already configured properly as it
+ uses
192.168.1.1 as the
- gateway.)
+ gateway.
- If we look at the routing table for
- RouterA we would see something like the
- following:
+ The routing table on
+ RouterA looks something like this:&prompt.user; netstat -nr
Routing tables
@@ -546,12 +544,12 @@ default 10.0.0.1 UG
10.0.0.0/24 link#1 UC 0 0 xl0
192.168.1.0/24 link#2 UC 0 0 xl1
- With the current routing table RouterA
- will not be able to reach our Internal Net 2. It does not
+ With the current routing table, RouterA
+ cannot reach Internal Net 2 as it does not
have a route for
- 192.168.2.0/24. One way to
- alleviate this is to manually add the route. The following
- command would add the Internal Net 2 network to
+ 192.168.2.0/24. The
+ following
+ command adds the Internal Net 2 network to
RouterA's routing table using
192.168.1.2 as the next
hop:
@@ -566,10 +564,10 @@ default 10.0.0.1 UG
Persistent Configuration
- The above example is perfect for configuring a static
- route on a running system. However, one problem is that the
- routing information will not persist if you reboot your &os;
- machine. Additional static routes can be
+ The above example configures a static
+ route on a running system. However, the
+ routing information will not persist if the &os; system
+ reboots. Persistent static routes can be
entered in /etc/rc.conf:# Add Internal Net 2 as a static route
@@ -577,28 +575,25 @@ static_routes="internalnet2"
route_internalnet2="-net 192.168.2.0/24 192.168.1.2"The static_routes configuration
- variable is a list of strings separated by a space. Each
- string references to a route name. In our above example we
- only have one string in static_routes.
- This string is internalnet2. We
- then add a configuration variable called
+ variable is a list of strings separated by a space, where
+ each
+ string references a route name. This example
+ only has one string in static_routes,
+ internalnet2. The variable
route_internalnet2
- where we put all of the configuration parameters we would
- give to the &man.route.8; command. For our example above we
- would have used the command:
+ contains all of the configuration parameters
+ to &man.route.8;. This example is equivalent
+ to the command:&prompt.root; route add -net 192.168.2.0/24 192.168.1.2
- so we need "-net 192.168.2.0/24
- 192.168.1.2".
-
- As said above, we can have more than one string in
- static_routes. This allows us to create
- multiple static routes. The following lines shows an
+ Using more than one string in
+ static_routes creates
+ multiple static routes. The following shows an
example of adding static routes for the
192.168.0.0/24 and
- 192.168.1.0/24 networks on an
- imaginary router:
+ 192.168.1.0/24
+ networks:static_routes="net1 net2"
route_net1="-net 192.168.0.0/24 192.168.0.1"
@@ -609,36 +604,26 @@ route_net2="-net 192.168.1.0/24 192.168.
Routing Propagation
- routing propagation
- We have already talked about how we define our routes to
- the outside world, but not about how the outside world finds
- us.
-
- We already know that routing tables can be set up so that
- all traffic for a particular address space (in our examples, a
- class-C subnet) can be sent to a particular host on that
- network, which will forward the packets inbound.
-
- When you get an address space assigned to your site, your
- service provider will set up their routing tables so that all
- traffic for your subnet will be sent down your PPP link to
- your site. But how do sites across the country know to send
- to your ISP?
+ When an address space is assigned to a network, the
+ service provider configures their routing tables so that all
+ traffic for the network will be sent to the link for the
+ site. But how do external sites know to send their packets
+ to the network's ISP?
- There is a system (much like the distributed DNS
- information) that keeps track of all assigned address-spaces,
+ There is a system
+ that keeps track of all assigned address spaces
and defines their point of connection to the Internet
- Backbone. The Backbone are the main trunk
- lines that carry Internet traffic across the country, and
+ backbone, or the main trunk
+ lines that carry Internet traffic across the country and
around the world. Each backbone machine has a copy of a
master set of tables, which direct traffic for a particular
network to a specific backbone carrier, and from there down
the chain of service providers until it reaches your
network.
- It is the task of your service provider to advertise to
- the backbone sites that they are the point of connection (and
- thus the path inward) for your site. This is known as route
+ It is the task of the service provider to advertise to
+ the backbone sites that they are the point of connection, and
+ thus the path inward, for a site. This is known as route
propagation.
@@ -646,23 +631,22 @@ route_net2="-net 192.168.1.0/24 192.168.
Troubleshooting
- traceroute
+ &man.traceroute.8;
- Sometimes, there is a problem with routing propagation,
- and some sites are unable to connect to you. Perhaps the most
+ Sometimes, there is a problem with routing propagation
+ and some sites are unable to connect. Perhaps the most
useful command for trying to figure out where routing is
- breaking down is the &man.traceroute.8; command. It is
- equally useful if you cannot seem to make a connection to a
- remote machine (i.e., &man.ping.8; fails).
+ breaking down is &man.traceroute.8;. It is
+ useful when &man.ping.8; fails.
- The &man.traceroute.8; command is run with the name of the
- remote host you are trying to connect to. It will show the
+ When using &man.traceroute.8;, include the name of the
+ remote host to connect to. The output will show the
gateway hosts along the path of the attempt, eventually either
reaching the target host, or terminating because of a lack of
connection.
- For more information, see the manual page for
+ For more information, refer to
&man.traceroute.8;.
@@ -676,19 +660,20 @@ route_net2="-net 192.168.1.0/24 192.168.
kernel optionsMROUTING
- FreeBSD supports both multicast applications and multicast
- routing natively. Multicast applications do not require any
- special configuration of FreeBSD; applications will generally
+ &os; natively supports both multicast applications and
+ multicast
+ routing. Multicast applications do not require any
+ special configuration of &os;; as applications will generally
run out of the box. Multicast routing
- requires that support be compiled into the kernel:
+ requires that support be compiled into a custom kernel:options MROUTING
- In addition, the multicast routing daemon, &man.mrouted.8;
+ The multicast routing daemon, &man.mrouted.8;,
must be configured to set up tunnels and
DVMRP via
/etc/mrouted.conf. More details on
- multicast configuration may be found in the manual page for
+ multicast configuration may be found in
&man.mrouted.8;.
@@ -735,38 +720,46 @@ route_net2="-net 192.168.1.0/24 192.168.
Most wireless networks are based on the &ieee; 802.11
standards. A basic wireless network consists of multiple
stations communicating with radios that broadcast in either
- the 2.4GHz or 5GHz band (though this varies according to the
+ the 2.4GHz or 5GHz band, though this varies according to the
locale and is also changing to enable communication in the
- 2.3GHz and 4.9GHz ranges).
+ 2.3GHz and 4.9GHz ranges.
- 802.11 networks are organized in two ways: in
- infrastructure mode one station acts as a
- master with all the other stations associating to it; the
- network is known as a BSS and the master station is termed an
- access point (AP). In a BSS all communication passes through
- the AP; even when one station wants to communicate with
- another wireless station messages must go through the AP. In
- the second form of network there is no master and stations
- communicate directly. This form of network is termed an IBSS
+ 802.11 networks are organized in two ways. In
+ infrastructure mode, one station acts as
+ a
+ master with all the other stations associating to it, the
+ network is known as a BSS, and the master
+ station is termed an
+ access point (AP). In a
+ BSS, all communication passes through
+ the AP; even when one station wants to
+ communicate with
+ another wireless station, messages must go through the
+ AP. In
+ the second form of network, there is no master and stations
+ communicate directly. This form of network is termed an
+ IBSS
and is commonly known as an
ad-hoc network.802.11 networks were first deployed in the 2.4GHz band
using protocols defined by the &ieee; 802.11 and 802.11b
standard. These specifications include the operating
- frequencies, MAC layer characteristics including framing and
- transmission rates (communication can be done at various
- rates). Later the 802.11a standard defined operation in the
- 5GHz band, including different signalling mechanisms and
- higher transmission rates. Still later the 802.11g standard
- was defined to enable use of 802.11a signalling and
+ frequencies and the MAC layer
+ characteristics, including framing and
+ transmission rates, as communication can occur at various
+ rates. Later, the 802.11a standard defined operation in the
+ 5GHz band, including different signaling mechanisms and
+ higher transmission rates. Still later, the 802.11g standard
+ defined the use of 802.11a signaling and
transmission mechanisms in the 2.4GHz band in such a way as to
be backwards compatible with 802.11b networks.
- Separate from the underlying transmission techniques
+ Separate from the underlying transmission techniques,
802.11 networks have a variety of security mechanisms. The
original 802.11 specifications defined a simple security
- protocol called WEP. This protocol uses a fixed pre-shared key
+ protocol called WEP. This protocol uses a
+ fixed pre-shared key
and the RC4 cryptographic cipher to encode data transmitted on
a network. Stations must all agree on the fixed key in order
to communicate. This scheme was shown to be easily broken and
@@ -774,43 +767,57 @@ route_net2="-net 192.168.1.0/24 192.168.
joining networks. Current security practice is given by the
&ieee; 802.11i specification that defines new cryptographic
ciphers and an additional protocol to authenticate stations to
- an access point and exchange keys for doing data
- communication. Further, cryptographic keys are periodically
- refreshed and there are mechanisms for detecting intrusion
- attempts (and for countering intrusion attempts). Another
+ an access point and exchange keys for data
+ communication. Cryptographic keys are periodically
+ refreshed and there are mechanisms for detecting
+ and countering intrusion attempts. Another
security protocol specification commonly used in wireless
- networks is termed WPA. This was a precursor to 802.11i
- defined by an industry group as an interim measure while
- waiting for 802.11i to be ratified. WPA specifies a subset of
+ networks is termed WPA, which was a
+ precursor to 802.11i. WPA
+ specifies a subset of
the requirements found in 802.11i and is designed for
- implementation on legacy hardware. Specifically WPA requires
- only the TKIP cipher that is derived from the original WEP
- cipher. 802.11i permits use of TKIP but also requires support
- for a stronger cipher, AES-CCM, for encrypting data. (The AES
- cipher was not required in WPA because it was deemed too
+ implementation on legacy hardware. Specifically,
+ WPA requires
+ only the TKIP cipher that is derived from
+ the original WEP
+ cipher. 802.11i permits use of TKIP but
+ also requires support
+ for a stronger cipher, AES-CCM, for encrypting data. The
+ AES
+ cipher was not required in WPA because it
+ was deemed too
computationally costly to be implemented on legacy
- hardware.)
+ hardware.
- Other than the above protocol standards the other
- important standard to be aware of is 802.11e. This defines
- protocols for deploying multi-media applications such as
- streaming video and voice over IP (VoIP) in an 802.11 network.
+ The other
+ standard to be aware of is 802.11e. It defines
+ protocols for deploying multimedia applications, such as
+ streaming video and voice over IP (VoIP),
+ in
+ an 802.11 network.
Like 802.11i, 802.11e also has a precursor specification
- termed WME (later renamed WMM) that has been defined by an
+ termed WME (later renamed
+ WMM) that has been defined by an
industry group as a subset of 802.11e that can be deployed now
- to enable multi-media applications while waiting for the final
+ to enable multimedia applications while waiting for the final
ratification of 802.11e. The most important thing to know
- about 802.11e and WME/WMM is that it enables prioritized
- traffic use of a wireless network through Quality of Service
- (QoS) protocols and enhanced media access protocols. Proper
- implementation of these protocols enable high speed bursting
+ about 802.11e and
+ WME/WMM is that it
+ enables prioritized
+ traffic over a wireless network through Quality of Service
+ (QoS) protocols and enhanced media access
+ protocols. Proper
+ implementation of these protocols enables high speed bursting
of data and prioritized traffic flow.&os; supports networks that operate
- using 802.11a, 802.11b, and 802.11g. The WPA and 802.11i
+ using 802.11a, 802.11b, and 802.11g. The
+ WPA and 802.11i
security protocols are likewise supported (in conjunction with
- any of 11a, 11b, and 11g) and QoS and traffic prioritization
- required by the WME/WMM protocols are supported for a limited
+ any of 11a, 11b, and 11g) and QoS and
+ traffic prioritization
+ required by the WME/WMM
+ protocols are supported for a limited
set of wireless devices.
@@ -820,63 +827,66 @@ route_net2="-net 192.168.1.0/24 192.168.
Kernel Configuration
- To use wireless networking, you need a wireless
- networking card and to configure the kernel with the
- appropriate wireless networking support. The latter is
- separated into multiple modules so that you only need to
- configure the software you are actually going to use.
-
- The first thing you need is a wireless device. The most
- commonly used devices are those that use parts made by
- Atheros. These devices are supported by the &man.ath.4;
- driver and require the following line to be added to
+ To use wireless networking, a wireless
+ networking card is needed and the kernel needs to be
+ configured with the
+ appropriate wireless networking support. The kernel is
+ separated into multiple modules so that only the required
+ support needs to be
+ configured.
+
+ The most
+ commonly used wireless devices are those that use parts made
+ by
+ Atheros. These devices are supported by &man.ath.4;
+ and require the following line to be added to
/boot/loader.conf:if_ath_load="YES"The Atheros driver is split up into three separate
- pieces: the proper driver (&man.ath.4;), the hardware
+ pieces: the driver (&man.ath.4;), the hardware
support layer that handles chip-specific functions
- (&man.ath.hal.4;), and an algorithm for selecting which of
- several possible rates for transmitting frames
- (ath_rate_sample here). When this support is loaded as
- kernel modules, these dependencies are automatically handled
- for you. If, instead of an Atheros device, you had another
- device you would select the module for that device;
- e.g.:
+ (&man.ath.hal.4;), and an algorithm for selecting the
+ rate for transmitting frames.
+ When this support is loaded as
+ kernel modules, any dependencies are automatically handled.
+ To load support for a different type of wireless device,
+ specify the module for that device. This example is for
+ devices based on the Intersil Prism parts (&man.wi.4;)
+ driver:if_wi_load="YES"
- for devices based on the Intersil Prism parts
- (&man.wi.4; driver).
-
- In the rest of this document, we will use an
- &man.ath.4; device, the device name in the examples must
- be changed according to your configuration. A list of
+ The examples in this section use an
+ &man.ath.4; device and the device name in the examples
+ must
+ be changed according to the configuration. A list of
available wireless drivers and supported adapters can be
- found in the &os; Hardware Notes. Copies of these notes
- for various releases and architectures are available on
+ found in the &os; Hardware Notes, available on
the Release
- Information page of the &os; Web site. If a
- native &os; driver for your wireless device does not
- exist, it may be possible to directly use the &windows;
+ Information page of the &os; website. If a
+ native &os; driver for the wireless device does not
+ exist, it may be possible to use the &windows;
driver with the help of the
NDIS driver
wrapper.
- With that, you will need the modules that implement
- cryptographic support for the security protocols you intend
- to use. These are intended to be dynamically loaded on
- demand by the &man.wlan.4; module but for now they must be
+ In addition, the modules that implement
+ cryptographic support for the security protocols
+ to use must be loaded. These are intended to be dynamically
+ loaded on
+ demand by the &man.wlan.4; module, but for now they must be
manually configured. The following modules are available:
- &man.wlan.wep.4;, &man.wlan.ccmp.4; and &man.wlan.tkip.4;.
- Both &man.wlan.ccmp.4; and &man.wlan.tkip.4; drivers are
- only needed if you intend to use the WPA and/or 802.11i
- security protocols. If your network does not use
- encryption, you will not need &man.wlan.wep.4; support. To
+ &man.wlan.wep.4;, &man.wlan.ccmp.4;, and &man.wlan.tkip.4;.
+ The &man.wlan.ccmp.4; and &man.wlan.tkip.4; drivers are
+ only needed when using the WPA or
+ 802.11i
+ security protocols. If the network does not use
+ encryption, &man.wlan.wep.4; support is not needed. To
load these modules at boot time, add the following lines to
/boot/loader.conf:
@@ -884,17 +894,18 @@ route_net2="-net 192.168.1.0/24 192.168.
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
- With this information in the system bootstrap
- configuration file (i.e.,
- /boot/loader.conf), you have to reboot
- your &os; box. If you do not want to reboot your machine
- for the moment, you can load the modules by hand using
+ Once this information has been added to
+ /boot/loader.conf, reboot
+ the &os; box. Alternately,
+ load the modules by hand using
&man.kldload.8;.
- If you do not want to use modules, it is possible to
+ For users who do not want to use modules, it is
+ possible to
compile these drivers into the kernel by adding the
- following lines to your kernel configuration file:
+ following lines to a custom kernel configuration
+ file:device wlan # 802.11 support
device wlan_wep # 802.11 WEP support
@@ -907,12 +918,13 @@ options AH_SUPPORT_AR5416 # enable AR541
device ath_rate_sample # SampleRate tx rate control for athWith this information in the kernel configuration
- file, recompile the kernel and reboot your &os;
+ file, recompile the kernel and reboot the &os;
machine.
- When the system is up, we could find some information
- about the wireless device in the boot messages, like
+ Information
+ about the wireless device should appear in the boot
+ messages, like
this:ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus1
@@ -924,11 +936,12 @@ ath0: AR2413 mac 7.9 RF2413 phy 4.5
Infrastructure Mode
- The infrastructure mode or BSS mode is the mode that is
+ Infrastructure (BSS) mode is the
+ mode that is
typically used. In this mode, a number of wireless access
points are connected to a wired network. Each wireless
- network has its own name, this name is called the SSID of the
- network. Wireless clients connect to the wireless access
+ network has its own name, called the SSID.
+ Wireless clients connect to the wireless access
points.
@@ -937,12 +950,12 @@ ath0: AR2413 mac 7.9 RF2413 phy 4.5
How to Find Access Points
- To scan for networks, use the
- ifconfig command. This request may
- take a few moments to complete as it requires that the
- system switches to each available wireless frequency and
- probes for available access points. Only the super-user
- can initiate such a scan:
+ To scan for available networks, use
+ &man.ifconfig.8;. This request may
+ take a few moments to complete as it requires the
+ system to switch to each available wireless frequency and
+ probe for available access points. Only the superuser
+ can initiate a scan:&prompt.root; ifconfig wlan0 create wlandev ath0
&prompt.root; ifconfig wlan0 up scan
@@ -951,15 +964,17 @@ dlinkap 00:13:46:49:41:76 11
freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA
- You must mark the interface
- before you can scan. Subsequent scan requests do not
- require you to mark the interface up again.
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
From owner-svn-doc-projects@FreeBSD.ORG Fri May 10 16:53:27 2013
Return-Path:
Delivered-To: svn-doc-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
by hub.freebsd.org (Postfix) with ESMTP id DE0C5FEE;
Fri, 10 May 2013 16:53:27 +0000 (UTC) (envelope-from dru@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
by mx1.freebsd.org (Postfix) with ESMTP id D07668F7;
Fri, 10 May 2013 16:53:27 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4AGrRWE061376;
Fri, 10 May 2013 16:53:27 GMT (envelope-from dru@svn.freebsd.org)
Received: (from dru@localhost)
by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4AGrRw6061375;
Fri, 10 May 2013 16:53:27 GMT (envelope-from dru@svn.freebsd.org)
Message-Id: <201305101653.r4AGrRw6061375@svn.freebsd.org>
From: Dru Lavigne
Date: Fri, 10 May 2013 16:53:27 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org
Subject: svn commit: r41592 -
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit
X-SVN-Group: doc-projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-projects@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: SVN commit messages for doc projects trees
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Fri, 10 May 2013 16:53:27 -0000
Author: dru
Date: Fri May 10 16:53:27 2013
New Revision: 41592
URL: http://svnweb.freebsd.org/changeset/doc/41592
Log:
Fix grammo.
Submitted by: bjk
Approved by: gjb (mentor)
Modified:
projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
Modified: projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml
==============================================================================
--- projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Fri May 10 14:00:18 2013 (r41591)
+++ projects/ISBN_1-57176-407-0/en_US.ISO8859-1/books/handbook/audit/chapter.xml Fri May 10 16:53:27 2013 (r41592)
@@ -488,7 +488,7 @@ filesz:0
will be generated. The above example sets the minimum free
space to twenty percent.
- The specifies audit classes
+ The entry specifies audit classes
to be audited for non-attributed events, such as the login
process and system daemons.