Changes between Version 137 and Version 138 of NanoBSD


Ignore:
Timestamp:
Mar 3, 2011, 1:04:17 PM (14 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v137 v138  
    1212= Procedure =
    1313
    14 Please note that you can find the supporting files in the subdirectory [source:nanobsd]. Also keep a close look at the ''INFO'' ''WARNING'' ''ERR'' directives as they guide you through some common pitfalls. This guide was originally written for FreeBSD 7.2, this page is still available [wiki:FreeBSD7.2_Guide]. As there are a lot of (positive) changes in the wireless stack, we now prefer the use of FreeBSD 8.0.
    15 
    16 ==  A. Setup a FreeBSD 8.0 host ==
     14Please note that you can find the supporting files in the subdirectory [source:nanobsd]. Also keep a close look at the ''INFO'' ''WARNING'' ''ERR'' directives as they guide you through some common pitfalls. This guide was originally written for FreeBSD 7.2, this page is still available [wiki:FreeBSD7.2_Guide]. As there are a lot of (positive) changes in the wireless stack, we now prefer the use of FreeBSD 8.2.
     15
     16==  A. Setup a FreeBSD 8.2 host ==
    1717----
    1818WARN: Make sure ''/usr'' is '''at least 5GB''' in size building as building images require quite some space [[BR]]
     
    2121Get yourself a fresh i386 freebsd host with ports and subversion installed as follows:
    2222
    23  A.1. Run the basic CD installer of 8.0.
    24 The procedure below has been tested with 8.0-RELEASE (standard developer install - no ports - will fit our needs). Installing FreeBSD is outside the scope of this document, take a look into [http://www.freebsd.org/doc/en/books/handbook/install.html the FreeBSD handbook Chapter 2 Installing FreeBSD] if you do not know the details.
     23 A.1. Run the basic CD installer of 8.2.
     24The procedure below has been tested with 8.2-RELEASE (standard developer install - no ports -, e.g. with default partitioning will fit our needs). Installing FreeBSD is outside the scope of this document, take a look into [http://www.freebsd.org/doc/en/books/handbook/install.html the FreeBSD handbook Chapter 2 Installing FreeBSD] if you do not know the details.
    2525
    2626 Please do mind that all commands below need to be executed as root, because of the many mounts and unmounts done in various phases.
     
    4848 Edit the shell configuration file .cshrc:
    4949 {{{
    50  $ cat <<EOF >> $HOME/.cshrc
    51 # check whether ftp is set to passive mode, to avoid potential firewall issues:
    52 setenv FTP_PASSIVE_MODE YES
     50# ensure ftp is set to passive mode, to avoid potential firewall issues:
     51$ echo 'setenv FTP_PASSIVE_MODE YES' >> /root/.cshrc
    5352
    5453# set a default password for the images that you will produce
    55 setenv CFG_ROOT_PASSWORD [default password]
     54$ echo 'setenv CFG_ROOT_PASSWORD [default password]' >> /root/.cshrc
    5655 
    5756# define your nanobsd (svn) working directory:
    58 # NOTE: All command at later stages will refer to this so you better get it right!
    59 setenv R /root/nanobsd
    60 EOF
     57# NOTE: All commands at later stages will refer to this so you better get it right!
     58$ echo 'setenv R /root/nanobsd' >> /root/.cshrc
     59
    6160}}}
    6261 Next load your file (or login again):
    63  {{{
    64  $ source $HOME/.cshrc
    65  }}}
     62
     63 $ source /root/.cshrc
     64
    6665
    6766 A.5. install subversion .