Configuring HP-UX For Peripherals
Chapter 1 31
Getting Started
Configuring HP-UX for any Peripheral (A Summary)
Configuring HP-UX for any Peripheral (A
Summary)
Prepare by gathering information required for the successful
configuration of the peripheral. Considerations vary and are discussed in
each peripheral-specific chapter. For example:
• Have you prepared the physical location for the peripheral device?
• To what interface are you connecting the peripheral?
• What device drivers are required by the peripheral device?
In virtually all cases, the System Administration Manager (SAM)
provides the simplest interface for configuring HP-UX for any standard
peripheral device. If you must use the command line interface instead of
SAM, the following procedure will familiarize you with the task.
Step 1. Determine the device drivers needed for your peripheral device and
interface by consulting the tables in the chapter devoted to that class of
peripheral device. If any necessary static device driver is absent from the
kernel, you will need to rebuild the kernel to include it.
Here is how to rebuild the kernel:
a. Change directory to the build environment (/stand/build). There,
execute a system preparation script, system_prep. system_prep
writes a system file based on your current kernel in the current
directory. (That is, it creates /stand/build/system.) The -v provides
verbose explanation as the script executes.
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
b. Modify the /stand/build/system file to add the absent driver(s) by
invoking the kmsystem command. The -c Y specifies that
driver-name is to be configured into the system.
/usr/sbin/kmsystem -S /stand/build/system -c Y
driver-name
NOTE To avoid introducing format errors, do not edit the HP-UX system
description files directly. Instead, use the commands kmsystem and
kmtune. These commands are new for Release 11.0; consult kmsystem