Changes between Version 203 and Version 204 of NanoBSD


Ignore:
Timestamp:
Dec 29, 2013, 10:45:55 PM (12 years ago)
Author:
huub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v203 v204  
    175175}}}
    176176
     177Editing can also be done using the image script:
     178{{{$R/tools/image edit
     179}}}
    177180
    178181C.2. Write the correct image to CF (media based on SLC and not MLC flash seem to perform much better).
     
    183186
    184187    a. '''New image''': Put full image on compact flash disk (attach a card reader/writer with a CF disk of minimum 1 GB)
    185     {{{
    186     $ dd bs=64k if=/usr/obj/nanobsd.wleiden.iris.trunk/_.disk.full of=/dev/da0
     188    Use the script
     189    {{{
     190    $R/tools/write-image.sh
     191    }}}
     192or the command line:
     193    {{{
     194    $ dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.full of=/dev/da0
    187195    }}}
    188196    (assuming {{{/dev/da0}}} is your compact flash entry; this takes about 15 minutes, check progress by typing Ctrl-T; you may wish to check afterwards with fdisk whether there
     
    191199    a. '''Existing image''': Put partial image on slice (slice 2) (attach a card reader/writer with the CF disk containing the existing image)
    192200    {{{
    193     $ dd bs=64k if=/usr/obj/nanobsd.wleiden.iris.trunk/_.disk.image of=/dev/da0s2
     201    $ dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.image of=/dev/da0s2
    194202    }}}
    195203
     
    197205
    198206    For remotely updating an existing configuration use:
    199     {{{
    200     dd if=/usr/obj/nanobsd.wleiden.iris.trunk/_.disk.image bs=10k | ssh root@172.x.y.z /tools/updatep2
     207    the image script
     208    {{{
     209    $R/tools/image deploy on <node> [and reboot]
     210    }}}
     211    or manually:
     212    {{{
     213    dd if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.image bs=10k | ssh root@172.x.y.z /tools/updatep2
    201214    }}}
    202215 
     
    230243(for a /24 subnet use -m 24)
    231244
    232   Note. For an 'iLeiden'-type node you have to add also the -z flag (pointing to iLeiden internet gateway ip-addresses, separated by comma's and no spaces) here.
    233 
    234  D.3
     245  Note. For an 'iLeiden'-type node you have to add also the -z flag (pointing to iLeiden internet gateway ip-addresses, separated by comma's and no spaces) here. This is now automagically done in the config step.
     246
     247 D.3 *** now obsolete ****
    235248Customized captive portal page can be added as /cfg/local/captive/include.htm
    236249The default captive portal page is defined at the end of /usr/local/www/wlportal/index.cgi
     
    270283    a. ONLY different configuration
    271284    {{{
    272     $ /root/nanobsd/tools/config-image.sh
    273     }}}
     285    $ $R/tools/image config [for node]
     286    }}}
     287
    274288 4. Upgrading from 7.2 to 8.2 is tricky because the interface configuration statements have changed. You have to update the config file on slice 3 as well in this case.
    275289    Mount the image as memory disk: