names for the packages are hpnicfwupg-<version>.i386.rpm for Linux 32 and hpnicfwupg- <version>.x86_64.rpm for Linux 64. The instructions below describe the x32 version.

1.Before the RPM package is installed, check for the existence of a previous version by issuing the rpm -q hpnicfwupg command.

2.If a previous version is found, remove it using the rpm -e hpnicfwupg command.

3.Install the RPM package using the hpnicfwupg–<version>.rpmcommand.

4.Launch the adapter interface by entering ifup ethx or ifconfig ethx up.

5.Launch the upgrade utility in interactive mode by entering hpnicfwupg.

6.Before the upgrade is attempted, a copy of the firmware image is saved. If the firmware upgrade fails due to an unrecoverable error, you can restore your original firmware interactively by entering

/usr/sbin/hpnicfwupg -p.

If errors have occurred, use the hpnicfwupg utility to restore the server adapter firmware from a backup copy.

Command line syntax

Use the following command line syntax.

To

Use command

 

 

Verify previous version of hpnicfwupg

# rpm -q hpnicfwupg

package exists

 

 

 

Remove an old version of hpnicfwupg

# rpm –e hpnicfwupg

package

 

 

 

Install the RPM package

# rpm -ivh hpnicfwupg-<version>.rpm

 

 

Launch the firmware upgrade utility

# user/sbin/hpnicfwupg

 

 

Restore original firmware if errors

# /usr/sbin/hpnicfwupg -p

occur

 

 

 

Uninstall the RPM package

# rpm -e hpnicfwupg

 

 

Command line arguments

 

The upgrade utility recognizes the following command line arguments.

Command line

Description

argument

 

 

 

–y

Yes. Executes the utility with no user interaction. Default

 

action is implied for all prompts. Messages are

 

displayed to the screen and to the log. If –y is used with

 

–s, the behavior is the same as if –s had been specified.

 

 

–s

Silent. Executes the utility silently with no user

 

interaction. Default action is implied for all prompts.

 

Messages are logged but are not displayed on the

 

screen. If the –y option is used with –s, –y is ignored.

 

 

–f

Force. Forces the firmware upgrade even if the

 

firmware installed on the system is newer than the

 

firmware in the RPM. This option is only valid with –s or

 

–y. If neither are specified, the option is ignored.

 

 

Firmware upgrade utility 57

Page 57
Image 57
HP 441877-00B manual Usr/sbin/hpnicfwupg -p, Action is implied for all prompts. Messages are