Netra j 2.0 Administrator's Guide

Managing the JavaOS Checksum

Each time you receive a new copy of JavaOS, you can configure the DHCP server to deliver the new copy to JavaStation computers by following the first set of instructions below. To disable JavaOS updating on the JavaStation computers, follow the second set of instructions.

To Configure the DHCP Server for a New JavaOS
  1. Determine the checksum.

    The checksum is contained in the first four bytes of the last 12 bytes of the JavaOS binary file. To determine the checksum, type:


    % tail -4c /export/root/javaos/JSIIep/javaos | od -xv \
    	| nawk '{print $2 $3}'
    14eb02a1 

  2. Use dhtadm to add the new checksum to the DHCP configuration.

    The command to add a new checksum is:


    % dhtadm -M -m SUNW.JSIIep -e JOSchksm=0x
    checksum 
    

For example,


% dhtadm -M -m SUNW.JSIIep -e JOSchksm=0x14eb02a1 

At boot up, each JavaStation will update its flash memory with the new JavaOS and then reboot using the new JavaOS.

To Disable JavaOS Updating
  1. Set the checksum to zero:


    % dhtadm -M -m SUNW.JSIIep -e JOSchksm=0
    

    or delete the checksum entirely from the DHCP configuration by typing:


    % dhtadm -M -m SUNW.JSIIep -e JOSchksm= 
    

    Note that there is nothing after the equal sign.