Changes between Version 137 and Version 138 of NanoBSD
- Timestamp:
- Mar 3, 2011, 1:04:17 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NanoBSD
v137 v138 12 12 = Procedure = 13 13 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. 0host ==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.2. 15 16 == A. Setup a FreeBSD 8.2 host == 17 17 ---- 18 18 WARN: Make sure ''/usr'' is '''at least 5GB''' in size building as building images require quite some space [[BR]] … … 21 21 Get yourself a fresh i386 freebsd host with ports and subversion installed as follows: 22 22 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. 24 The 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. 25 25 26 26 Please do mind that all commands below need to be executed as root, because of the many mounts and unmounts done in various phases. … … 48 48 Edit the shell configuration file .cshrc: 49 49 {{{ 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 53 52 54 53 # 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 56 55 57 56 # 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 61 60 }}} 62 61 Next load your file (or login again): 63 {{{ 64 $ source $HOME/.cshrc65 }}} 62 63 $ source /root/.cshrc 64 66 65 67 66 A.5. install subversion .