[BACK]Return to 31.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/31.html, Revision 1.40

1.39      bentley     1: <!doctype html>
                      2: <html lang=en id=release>
                      3: <meta charset=utf-8>
                      4:
1.20      deraadt     5: <title>OpenBSD 3.1</title>
1.6       miod        6: <meta name="description" content="OpenBSD 3.1">
1.31      tb          7: <meta name="viewport" content="width=device-width, initial-scale=1">
                      8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.34      tb          9: <link rel="canonical" href="https://www.openbsd.org/31.html">
1.39      bentley    10: <style>
                     11: #sourcecode h3 {
                     12:        color: var(--red);
                     13: }
                     14:
                     15: #sourcecode p {
                     16:        margin-left: 2.75em;
                     17: }
                     18:
                     19: #sourcecode blockquote {
                     20:        margin-left: 4.5em;
                     21: }
                     22: </style>
1.1       deraadt    23:
1.39      bentley    24: <h2 id=OpenBSD>
1.13      jufi       25: <a href="index.html">
1.39      bentley    26: <i>Open</i><b>BSD</b></a>
                     27: 3.1
1.31      tb         28: </h2>
1.1       deraadt    29:
1.39      bentley    30: <table>
                     31: <tr>
                     32: <td>
1.20      deraadt    33: <a href=images/Systemagic.jpg>
1.39      bentley    34: <img width="255" height="323" src="images/Systemagic.jpg" alt="Systemagic"></a>
                     35: <td>
1.11      jsyn       36: Released May 19, 2002<br>
1.1       deraadt    37: Copyright 1997-2002, Theo de Raadt.<br>
1.39      bentley    38: <cite class=isbn>ISBN 0-9683637-9-2</cite>
1.16      deraadt    39: <br>
1.28      deraadt    40: 3.1 Song: <a href="lyrics.html#31">"Systemagic"</a>
1.38      deraadt    41: <br>
                     42: <br>
1.1       deraadt    43: <ul>
1.6       miod       44: <li>See the information on <a href="ftp.html">The FTP page</a> for
1.1       deraadt    45:        a list of mirror machines.
1.39      bentley    46: <li>Go to the <code class=reldir>pub/OpenBSD/3.1/</code> directory on
1.1       deraadt    47:        one of the mirror sites.
1.14      deraadt    48: <li>Have a look at <a href="errata31.html">The 3.1 Errata page</a> for a list
1.1       deraadt    49:        of bugs and workarounds.
1.6       miod       50: <li>See a <a href="plus31.html">detailed log of changes</a> between the
1.1       deraadt    51:        3.0 and 3.1 releases.
                     52: </ul>
1.32      tb         53: <p>
1.31      tb         54: All applicable copyrights and credits are in the src.tar.gz,
                     55: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
                     56: files fetched via ports.tar.gz.
1.39      bentley    57: </table>
1.1       deraadt    58:
1.31      tb         59: <hr>
1.39      bentley    60:
                     61: <section id=new>
                     62: <h3>What's New</h3>
                     63:
1.1       deraadt    64: <p>
1.31      tb         65: This is a partial list of new features and systems included in OpenBSD 3.1.
1.6       miod       66: For a comprehensive list, see the <a href="plus31.html">changelog</a> leading
1.1       deraadt    67: to 3.1.
                     68: <p>
                     69:
                     70: <ul>
1.35      tb         71: <li><a href="https://www.OpenSSH.com">OpenSSH</a> (supporting both the
1.1       deraadt    72: SSH1 and SSH2 protocols) is now at version 3.2. Secure file transfers are
1.7       miod       73: encouraged using the greatly enhanced SFTP subsystem which comes both with
1.1       deraadt    74: an SFTP server and client.
                     75: <p>
                     76:
1.5       miod       77: <li>As usual, improvements to the documentation, notably the man pages and
                     78: the Web FAQ. A larger part of the website is now available in several
                     79: languages.
1.1       deraadt    80: <p>
                     81:
                     82: <li>More complete collection and better tested set of "ports".
                     83: <p>
                     84:
                     85: <li>Over 1000 pre-built and tested packages.
                     86: <p>
                     87:
1.5       miod       88: <li>Greatly improved hardware support in the
                     89: <a href="sparc64.html">OpenBSD/sparc64</a> port, and the addition of X11
                     90: support.
1.1       deraadt    91: <p>
                     92:
1.5       miod       93: <li>Numerous performance improvements to the <a
                     94: href="macppc.html">OpenBSD/macppc</a> port, as well as accelerated X11 servers
                     95: for some models.
                     96: <p>
                     97:
                     98: <li>A lot of enhancements to our new packet filter, <a
1.39      bentley    99: href="https://man.openbsd.org/pf.4">pf</a>,
1.7       miod      100: including performance improvements, as well as the ability to filter other
                    101: protocols than the usual tcp, udp and icmp, such as esp.
                    102: <p>
                    103:
                    104: <li>An utility to achieve per-user pf rules changes, typically intended for
                    105: gateways, <a
1.39      bentley   106: href="https://man.openbsd.org/authpf.8">authpf</a>.
1.7       miod      107: <p>
                    108:
1.10      tdeval    109: <li>The in-kernel software <a
1.39      bentley   110: href="https://man.openbsd.org/raid.4">raid</a>
1.10      tdeval    111: (RAIDframe) can now automatically detect and configure its raid devices at boot.
                    112: Taking advantage of this, the system can have its root partition directly
                    113: mounted from an auto-detected raid partition.
                    114: <p>
                    115:
1.7       miod      116: <li>Wavelan bridging is now possible on Prism-II based cards.
1.1       deraadt   117: <p>
                    118:
                    119: <li>The system includes the following major components from outside suppliers:
                    120: <p>
                    121: <ul>
1.40    ! deraadt   122: <li>XFree86 4.2.0 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
        !           123: <li>gcc 2.95.3 (+ patches)
        !           124: <li>perl 5.6.1 (+ patches)
        !           125: <li>Apache 1.3.24, mod_ssl 2.8.8, OpenSSL 0.9.6b (+ patches), DSO support
        !           126: <li>groff 1.15
        !           127: <li>sendmail 8.12.2
        !           128: <li>lynx 2.8.2rel.1 with HTTPS support added
        !           129: <li>sudo 1.6.5p2
        !           130: <li>ncurses 5.2
        !           131: <li>Latest KAME IPv6
        !           132: <li>KTH Kerberos 1.0.8
        !           133: <li>Heimdal 0.4e (+ patches)
        !           134: <li>OpenSSH 3.2
1.1       deraadt   135: </ul>
                    136: <p>
                    137:
                    138: <li>Many improvements for security and reliability (look for the red
1.6       miod      139: print in the <a href="plus31.html">complete changelog</a>).
1.1       deraadt   140: </ul>
1.39      bentley   141: </section>
1.1       deraadt   142:
                    143: <hr>
1.39      bentley   144:
                    145: <section id=install>
                    146: <h3>How to install</h3>
                    147:
1.1       deraadt   148: <p>
                    149: Following this are the instructions which you would have on a piece of
                    150: paper if you had purchased a CDROM set instead of doing an alternate
                    151: form of install.  The instructions for doing an ftp (or other style
                    152: of) install are very similar; the CDROM instructions are left intact
                    153: so that you can see how much easier it would have been if you had
                    154: purchased a CDROM instead.
                    155: <p>
                    156:
                    157: <hr>
                    158: Please refer to the following files on the three CDROMs for extensive
                    159: details on how to install OpenBSD 3.1 on your machine:
                    160: <p>
                    161: <ul>
1.40    ! deraadt   162: <li>   CD1:3.1/i386/INSTALL.i386
        !           163: <li>   CD1:3.1/alpha/INSTALL.alpha
1.39      bentley   164: </ul>
                    165: <ul>
1.40    ! deraadt   166: <li>   CD2:3.1/macppc/INSTALL.macppc
        !           167: <li>   CD2:3.1/vax/INSTALL.vax
1.39      bentley   168: </ul>
                    169: <ul>
1.40    ! deraadt   170: <li>   CD3:3.1/sparc/INSTALL.sparc
        !           171: <li>   CD3:3.1/sparc64/INSTALL.sparc64
1.39      bentley   172: </ul>
1.1       deraadt   173: Only available via FTP:<br>
1.39      bentley   174: <ul>
1.40    ! deraadt   175: <li>   CD4:3.1/mvme68k/INSTALL.mvme68k
        !           176: <li>   CD4:3.1/amiga/INSTALL.amiga
        !           177: <li>   CD4:3.1/mac68k/INSTALL.mac68k
        !           178: <li>   CD4:3.1/hp300/INSTALL.hp300
1.1       deraadt   179: </ul>
                    180: <hr>
                    181:
1.39      bentley   182: <section id=quickinstall>
                    183:
1.1       deraadt   184: <p>
                    185: Quick installer information for people familiar with OpenBSD, and the
                    186: use of the "disklabel -E" command.  If you are at all confused when
                    187: installing OpenBSD, read the relevant INSTALL.* file as listed above!
                    188:
1.39      bentley   189: <h3>OpenBSD/i386:</h3>
                    190:
1.1       deraadt   191: <p>
                    192: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386 release is on CD1. If your BIOS does not support booting from CD, you will need to create a boot floppy to install from. To create a boot floppy write <i>CD1:3.1/i386/floppy31.fs</i> to a floppy and boot via the floppy drive.
                    193:
                    194: <p>
                    195: Use <i>CD1:3.1/i386/floppyB31.fs</i> instead for greater scsi controller
                    196: support, or <i>CD1:3.1/i386/floppyC31.fs</i> for better laptop support.
                    197:
                    198: <p>
                    199: If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
                    200:
                    201: <p>
1.39      bentley   202: To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located at <i>CD:/3.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS, use the <a href="https://man.openbsd.org/dd.1">dd(1)</a> utility. The following is an example usage of <a href="https://man.openbsd.org/dd.1">dd(1)</a>, where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or &quot;rfd0a&quot;.
1.1       deraadt   203:
1.39      bentley   204: <blockquote><pre>
1.1       deraadt   205: # <strong>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</strong>
1.39      bentley   206: </pre></blockquote>
1.1       deraadt   207:
                    208: <p>
1.33      tj        209: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or your install will most likely fail. For more information on creating a boot floppy and installing OpenBSD/i386 please refer to <a href="faq/faq4.html#4.1">this page</a>.
1.39      bentley   210:
                    211: <h3>OpenBSD/alpha:</h3>
1.1       deraadt   212:
                    213: <p>
                    214: At the SRM prompt, enter <i>boot -fi 3.1/alpha/bsd.rd dka6</i> where <i>dka6</i>
                    215: is the short name for the CDROM drive (you can check with <i>show dev</i>).
                    216:
                    217: <p>If you can't boot from CDROM, write <i>CD1:3.1/alpha/floppy31.fs</i> or
                    218: <i>CD1:3.1/alpha/floppyB31.fs</i> (depending on your machine) to a diskette and
                    219: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
                    220:
                    221: <p>
                    222: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
                    223:
1.39      bentley   224: <h3>OpenBSD/macppc:</h3>
1.1       deraadt   225:
                    226: <p>
                    227: Put the CD2 in your CDROM drive and poweron your machine while holding down the
                    228: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
                    229:
                    230: <p>
                    231: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                    232: /3.1/macppc/bsd.rd</i>
1.39      bentley   233:
                    234: <h3>OpenBSD/hp300:</h3>
1.1       deraadt   235:
                    236: <p>
                    237: Put the CD4 in your CDROM drive and press the spacebar during the poweron
                    238: self-test. Enter the boot choice that corresponds to <i>SYS_CDBOOT</i>.
                    239:
                    240: <p>
                    241: Alternatively, you can boot over the network by following the instructions in
                    242: INSTALL.hp300.
                    243:
1.39      bentley   244: <h3>OpenBSD/amiga:</h3>
                    245:
1.1       deraadt   246: <p>
                    247: Create BSD partitions according to INSTALL.amiga's preparation section.
                    248: Mount the CD4 under AmigaOS as device CD0: Next, execute the following
                    249: CLI command: "CD0:3.1/amiga/utils/loadbsd CD0:3.1/amiga/bsd.rd".
                    250:
1.39      bentley   251: <h3>OpenBSD/mac68k:</h3>
                    252:
1.1       deraadt   253: <p>
                    254: Boot MacOS as normal and partition your disk with the appropriate A/UX
                    255: configurations.  Then, extract the Macside utilities from
                    256: CD4:3.1/mac68k/utils onto your hard disk.  Run Mkfs to create your
                    257: filesystems on the A/UX partitions you just made.  Then, use the
                    258: BSD/Mac68k Installer to copy all the sets in CD4:3.1/mac68k/ onto your
                    259: partitions.  Finally, you will be ready to configure the BSD/Mac68k
                    260: Booter with the location of your kernel and boot the system.
1.39      bentley   261:
                    262: <h3>OpenBSD/mvme68k:</h3>
1.1       deraadt   263:
                    264: <p>
                    265: You can create a bootable installation tape or boot over the network.<br>
                    266: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
                    267: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
                    268: for more details.
1.39      bentley   269:
                    270: <h3>OpenBSD/vax:</h3>
1.1       deraadt   271:
                    272: <p>
                    273: Boot over the network via mopbooting as described in INSTALL.vax.
                    274:
1.39      bentley   275: <h3>OpenBSD/sparc:</h3>
                    276:
1.1       deraadt   277: <p>
                    278: The 3.1 release of OpenBSD/sparc is located on CD3. To boot off of this CD you can use one of the two commands listed below, depending on the version of your ROM.
                    279:
1.39      bentley   280: <blockquote><pre>
                    281: > <kbd>boot cdrom 3.1/sparc/bsd.rd</kbd>
1.1       deraadt   282: or
1.39      bentley   283: > <kbd>b sd(0,6,0)3.1/sparc/bsd.rd</kbd>
                    284: </pre></blockquote>
1.1       deraadt   285:
                    286: <p>
1.33      tj        287: If your sparc does not have a CD drive, you can alternatively boot from floppy. To do so you need to write &quot;CD3:3.1/sparc/floppy31.fs&quot; to a floppy. For more information see <a href="faq/faq4.html#4.1">this page</a>. To boot from the floppy use one of the two commands listed below, depending on the version of your ROM.
1.1       deraadt   288:
1.39      bentley   289: <blockquote><pre>
                    290: > <kbd>boot floppy</kbd>
1.1       deraadt   291: or
                    292: > <strong>boot fd()</strong>
1.39      bentley   293: </pre></blockquote>
1.1       deraadt   294:
                    295: <p>
                    296: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
                    297:
                    298: <p>
                    299: If your sparc doesn't have a floppy drive nor a CD drive, you can either
                    300: setup a bootable tape, or install via network, as told in the
                    301: INSTALL.sparc file.
                    302:
1.39      bentley   303: <h3>OpenBSD/sparc64:</h3>
                    304:
1.1       deraadt   305: <p>
                    306: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
                    307:
                    308: <p>
                    309: If this doesn't work, or if you don't have a CDROM drive, you can write
                    310: <i>CD3:3.1/sparc64/floppy31.fs</i> to a floppy and boot it with <i>boot
                    311: floppy</i>.<br>
                    312: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
                    313:
                    314: <p>
                    315: You can also write <i>CD3:3.1/sparc64/miniroot31.fs</i> to the swap partition on
                    316: the disk and boot with <i>boot disk:b</i>.
                    317:
                    318: <p>
                    319: If nothing works, you can boot over the network as described in INSTALL.sparc64
                    320:
1.39      bentley   321: </section>
                    322:
                    323: <section id=sourcecode>
                    324: <h3>Notes about the source code:</h3>
                    325:
1.1       deraadt   326: <p>
                    327: src.tar.gz contains a source archive starting at /usr/src.  This file
                    328: contains everything you need except for the kernel sources, which are
                    329: in a separate archive.  To extract:
1.39      bentley   330:
                    331: <blockquote><pre>
                    332: # <kbd>mkdir -p /usr/src</kbd>
                    333: # <kbd>cd /usr/src</kbd>
                    334: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
                    335: </pre></blockquote>
                    336:
1.1       deraadt   337: <p>
                    338: srcsys.tar.gz contains a source archive starting at /usr/src/sys.
                    339: This file contains all the kernel sources you need to rebuild kernels.
                    340: To extract:
1.39      bentley   341:
                    342: <blockquote><pre>
                    343: # <kbd>mkdir -p /usr/src/sys</kbd>
                    344: # <kbd>cd /usr/src</kbd>
                    345: # <kbd>tar xvfz /tmp/srcsys.tar.gz</kbd>
                    346: </pre></blockquote>
                    347:
1.1       deraadt   348: <p>
                    349: Both of these trees are a regular CVS checkout.  Using these trees it
                    350: is possible to get a head-start on using the anoncvs servers as
                    351: described at <a href=anoncvs.html>http://www.OpenBSD.org/anoncvs.html</a>.
                    352: Using these files
                    353: results in a much faster initial CVS update than you could expect from
                    354: a fresh checkout of the full OpenBSD source tree.
1.39      bentley   355:
                    356: </section>
                    357: </section>
                    358:
1.1       deraadt   359: <hr>
1.39      bentley   360:
                    361: <section id=ports>
                    362: <h3>Ports Tree</h3>
1.1       deraadt   363: <p>
                    364: A ports tree archive is also provided.  To extract:
                    365: <p>
1.39      bentley   366: <blockquote><pre>
                    367: # <kbd>cd /usr</kbd>
                    368: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
                    369: # <kbd>cd ports</kbd>
                    370: </pre></blockquote>
1.1       deraadt   371: <p>
                    372: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
1.18      jasper    373: read <a href="faq/faq15.html">http://www.OpenBSD.org/faq/faq15.html</a>
1.1       deraadt   374: if you know nothing about ports
                    375: at this point.  This text is not a manual of how to use ports.
                    376: Rather, it is a set of notes meant to kickstart the user on the
                    377: OpenBSD ports system.
                    378: <p>
                    379: Certainly, the OpenBSD ports system is not complete.  It is doubtful it
                    380: will ever be. However, it is growing very fast and getting more stable.
                    381: Almost all ports provided with this release should build without problems
1.3       miod      382: on most architectures (over 1500 packages build on i386, for instance).
1.1       deraadt   383: <p>
1.31      tb        384: The <i>ports/</i> directory represents a CVS (see the manpage for
1.39      bentley   385: <a href="https://man.openbsd.org/cvs.1">
1.31      tb        386: cvs(1)</a> if
                    387: you aren't familiar with CVS) checkout of our ports.  As with our complete
1.1       deraadt   388: source tree, our ports tree is available via anoncvs.  So, in
                    389: order to keep current with it, you must make the <i>ports/</i> tree
                    390: available on a read-write medium and update the tree with a command
                    391: like:
                    392: <p>
1.39      bentley   393: <blockquote><pre>
1.17      deraadt   394: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_1</strong>
1.39      bentley   395: </pre></blockquote>
1.1       deraadt   396: <p>
                    397: [Of course, you must replace the local directory and server name here
                    398: with the location of your ports collection and a nearby anoncvs
                    399: server.]
                    400: <p>
                    401: Note that most ports are available as packages through ftp. Updated
                    402: packages for the 3.1 release will be made available if problems arise.
                    403: <p>
                    404: If you're interested in seeing a port added, would like to help out, or just
                    405: would like to know more, the mailing list ports@openbsd.org is a good
                    406: place to know.
1.39      bentley   407: </section>