Difference between revisions of "Pegasos"

From Earlham CS Department
Jump to navigation Jump to search
(Netbooting: add boot command info)
Line 4: Line 4:
 
setenv boot-device eth:dhcp,0.0.0.0,,0.0.0.0
 
setenv boot-device eth:dhcp,0.0.0.0,,0.0.0.0
 
</pre>
 
</pre>
(The double comma indicates an empty boot file name--it is supplised by the DHCP server.)  Now to boot, simply type <code>boot</code> and hit return.
+
(The double comma indicates an empty boot file name--it is supplised by the DHCP server.) <code>eth</code> is an alias for the 100Mbit ethernet device and <code>geth</code> is an alias for the Gigabit device. Now to boot, simply type <code>boot</code> and hit return.
  
 
This can be saved in the firmware by editing the nvramrc script.  To begin editing, type <code>nvedit</code> and add the above command to the end of the list (change 'eth' to the devalias of whatever ethernet device you wish to use).  When finished, hit control-C to exit the editor.  Then, type <code>nvstore</code> to save your changes.
 
This can be saved in the firmware by editing the nvramrc script.  To begin editing, type <code>nvedit</code> and add the above command to the end of the list (change 'eth' to the devalias of whatever ethernet device you wish to use).  When finished, hit control-C to exit the editor.  Then, type <code>nvstore</code> to save your changes.
 +
 +
nvedit commands:
 +
* control-e - end of line
 +
* control-n - next line
 +
* control-f - forward
 +
* control-b - back
 +
* control-c - exit

Revision as of 10:30, 3 April 2006

Netbooting

The Open Desktop Workstations (ODWs) use SmartFirmware. The SmartFirmware user manual has a good netbooting tutorial. The DHCP support in the firmware is slightly buggy and requires inserting a client and server IP of 0.0.0.0 in the boot-device string, like so:

setenv boot-device eth:dhcp,0.0.0.0,,0.0.0.0

(The double comma indicates an empty boot file name--it is supplised by the DHCP server.) eth is an alias for the 100Mbit ethernet device and geth is an alias for the Gigabit device. Now to boot, simply type boot and hit return.

This can be saved in the firmware by editing the nvramrc script. To begin editing, type nvedit and add the above command to the end of the list (change 'eth' to the devalias of whatever ethernet device you wish to use). When finished, hit control-C to exit the editor. Then, type nvstore to save your changes.

nvedit commands:

  • control-e - end of line
  • control-n - next line
  • control-f - forward
  • control-b - back
  • control-c - exit