Changes between Version 203 and Version 204 of NanoBSD
- Timestamp:
- Dec 29, 2013, 10:45:55 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NanoBSD
v203 v204 175 175 }}} 176 176 177 Editing can also be done using the image script: 178 {{{$R/tools/image edit 179 }}} 177 180 178 181 C.2. Write the correct image to CF (media based on SLC and not MLC flash seem to perform much better). … … 183 186 184 187 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 }}} 192 or the command line: 193 {{{ 194 $ dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.full of=/dev/da0 187 195 }}} 188 196 (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 … … 191 199 a. '''Existing image''': Put partial image on slice (slice 2) (attach a card reader/writer with the CF disk containing the existing image) 192 200 {{{ 193 $ dd bs=64k if=/usr/obj/nanobsd.wleiden .iris.trunk/_.disk.image of=/dev/da0s2201 $ dd bs=64k if=/usr/obj/nanobsd.wleiden-hybrid/_.disk.image of=/dev/da0s2 194 202 }}} 195 203 … … 197 205 198 206 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 201 214 }}} 202 215 … … 230 243 (for a /24 subnet use -m 24) 231 244 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 **** 235 248 Customized captive portal page can be added as /cfg/local/captive/include.htm 236 249 The default captive portal page is defined at the end of /usr/local/www/wlportal/index.cgi … … 270 283 a. ONLY different configuration 271 284 {{{ 272 $ /root/nanobsd/tools/config-image.sh 273 }}} 285 $ $R/tools/image config [for node] 286 }}} 287 274 288 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. 275 289 Mount the image as memory disk: