Solaris 10 10/09 Installation Guide: Network-Based Installations

ProcedureTo Perform a WAN Boot Installation With Local CD Media

If your client's OBP does not support WAN boot, you can install with a Solaris Software - 1 CD inserted in the client's CD-ROM drive. When you use a local CD, the client retrieves the wanboot program from the local media, rather than from the WAN boot server.

This procedure assumes that you are using HTTPS in your WAN installation. If you are performing an insecure installation, do not display or install the client keys.

Follow these steps to perform a WAN boot installation from a local CD.

  1. Assume the same user role as the web server user on the WAN boot server.

  2. Display the key value for each client key.

    # wanbootutil keygen -d -c -o net=net-ip,cid=client-ID,type=key-type

    The network IP address for the client you are installing.


    The ID of the client you are installing. The client ID can be a user-defined ID or the DHCP client ID.


    The key type you are installing on the client. Valid key types are 3des, aes, or sha1.

    The hexadecimal value for the key is displayed.

  3. Repeat the previous step for each type of client key you are installing.

  4. On the client system, insert the Solaris Software - 1 CD in the CD-ROM drive.

  5. Power on the client system.

  6. Boot the client from the CD.

    ok boot cdrom -o prompt -F wanboot - install

    Instructs the OBP to boot from the local CD-ROM

    -o prompt

    Instructs the wanboot program to prompt the user to enter client configuration information

    -F wanboot

    Instructs the OBP to load the wanboot program from the CD-ROM

    - install

    Instructs the client to perform a WAN boot installation

    The client's OBP loads the wanboot program from the Solaris Software - 1 CD. The wanboot program boots the system, and the boot> prompt is displayed.

  7. Type the encryption key value.

    boot> 3des=key-value

    Specifies the hexadecimal string of the 3DES key that is displayed in step Step 2.

    If you use an AES encryption key, use the following format for this command.

    boot> aes=key-value
  8. Type the hashing key value.

    boot> sha1=key-value

    Specifies the hexadecimal string that represents the hashing key value that is displayed in step Step 2.

  9. Set the network interface variables.

    boot> variable=value[,variable=value*]

    Type the following variable and value pairs at the boot> prompt.


    Specifies the IP address of the client.


    Specifies the IP address of the network router.


    Specifies the subnet mask value.


    Specifies the host name of the client.

    (Optional) http-proxy=proxy-ip:port

    Specifies the IP address and port number of the network's proxy server.


    Specifies the URL of the wanboot-cgi program on the web server.

    Note –

    The URL value for thebootserver variable must not be an HTTPS URL. The URL must start with http://.

    You can enter these variables in the following ways.

    • Type one variable and value pair at the boot> prompt, then press the Return key.

      boot> host-ip=client-IP
      boot> subnet-mask=mask-value
    • Type all the variable and value pairs on one boot> prompt line, then press the Return key. Type commas to separate each variable and value pair.

      boot> host-ip=client-IP,subnet-mask=mask-value,
  10. Type the following command to continue the boot process.

    boot> go

    The client installs over the WAN. If the WAN boot programs do not find all the necessary installation information, the wanboot program prompts to provide the missing information. Type the additional information at the prompt.

Example 13–7 Installing With Local CD Media

In the following example, the wanboot program on a local CD prompts you to set the network interface variables for the client during the installation.

Display the key values on the WAN boot server.

# wanbootutil keygen -d -c -o net=,cid=010003BA152A42,type=sha1
# wanbootutil keygen -d -c -o net=,cid=010003BA152A42,type=3des

The previous example uses the following information.


Specifies the IP address of the client's subnet


Specifies the client's ID


Specifies the value of the client's HMAC SHA1 hashing key


Specifies the value of the client's 3DES encryption key

If you use an AES encryption key in your installation, change type=3des to type=aes to display the encryption key value.

Boot and install the client.

ok boot cdrom -o prompt -F wanboot - install
Resetting ...

Sun Blade 100 (UltraSPARC-IIe), No Keyboard
Copyright 1998-2003 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.x.build_28, 512 MB memory installed, Serial #50335475.
Ethernet address 0:3:ba:e:f3:75, Host ID: 83000ef3.

Rebooting with command: boot cdrom -F wanboot - install                            
Boot device: /pci@1f,0/network@c,1  File and args: -o prompt

boot> 3des=9ebc7a57f240e97c9b9401e9d3ae9b292943d3c143d07f04

boot> sha1=b482aaab82cb8d5631e16d51478c90079cc1d463

boot> host-ip=

boot> subnet-mask=

boot> router-ip=

boot> hostname=myclient
boot> client-id=010003BA152A42

boot> bootserver=

boot> go

The previous commands perform the following tasks.

See Also

For more information about how to display key values, see wanbootutil(1M).

For more information about how to set network boot arguments, see set(1).

For more information about how to boot a system, see boot(1M).