Changes between Version 118 and Version 119 of NanoBSD


Ignore:
Timestamp:
Feb 22, 2010, 12:15:31 PM (16 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v118 v119  
    1414Please note that you can find the supporting files in the subdirectory [source:nanobsd]. Also keep a close look at the ''INFO'' ''WARN'' ''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.
    1515
    16 ==  A. Setup a FreeBSD host ==
     16==  A. Setup a FreeBSD 8.0 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 7.2.
    24 The procedure below has been tested with 7.2-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.
    25 
    26  Please do mind that all commands below need to be executed as root, due to the many mounts and unmounts done in various phases.
     23 A.1. Run the basic CD installer of 8.0.
     24The 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.
     25
     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.
    2727
    2828 Internet connection is required.
     
    8181 {{{
    8282 $
    83  $ svn checkout http://svn.wirelessleiden.nl/svn/projects/iris/nanobsd $R
     83 $ svn checkout http://svn.wirelessleiden.nl/svn/code/iris/trunk/nanobsd $R
    8484 $ cd $R
    8585 }}}
     
    101101 If you like a simple password, substitute the {{{ `dd if=/dev/random bs=10k count=10 | & tr -cd '[a-zA-Z0-9]' | cut -c -15` }}} with your password.
    102102
    103  B.4 Apply kernel patch for pcmcia LAN cards and USB-LAN adapter
    104 
    105  If you want to be able to use pcmcia LAN cards, like the Xircom RealPort2 Cardbus Ethernet10/100 R2BE-100, you have to apply the patch to the cardbus driver before compiling the kernel:
    106  {{{
    107  cd /usr/src/sys/dev/cardbus
    108  patch < /root/nanobsd/misc/patches/cardbus_cis.c.patch
    109  }}}
     103 B.4 Apply kernel patch for Davicom USB-LAN adapter
    110104
    111105 For use of a Davicom DM9601 USB network controler you have to patch usbdevs and the if_udav driver:
     
    113107 cd /usr/src/sys/dev/usb/
    114108 patch < /root/nanobsd/misc/patches/usbdevs.patch
     109 cd /usr/src/sys/dev/usb/net/
    115110 patch < /root/nanobsd/misc/patches/if_udav.c.patch
    116111 }}}
     
    140135 }}}
    141136
    142 The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. First make sure that the configuration file is up to date by clicking the 'update' button on [http://wlconfig.wirelessleiden.nl/freebsd/iris/ http://wlconfig.wirelessleiden.nl/freebsd/iris/] Pick your situation!
     137The script is connecting to the [http://svn.wirelessleiden.nl/svn/node-config/genesis/nodes/ Wireless Leiden 'genesis' database]. First make sure that the configuration file is up to date by clicking the 'update' button on [http://wlconfig.wirelessleiden.nl/freebsd/iris-8.0/ http://wlconfig.wirelessleiden.nl/freebsd/iris-8.0/] Pick your situation!
    143138
    144139You can inspect the image bij mounting as memory disk: