(Page 6 of 7 in this chapter)
su
pkgadd -d devicename agaccessdevicename is the name of the floppy disk drive from which you are installing. For example, if you are installing from your first floppy disk drive, at your shell's command prompt enter:
pkgadd -d /dev/rdsk/f03h agaccess
Installation of <agaccess> was successful.
a. Open a Terminal window.b. Acquire root privileges by entering the following at your shell's command prompt:
su c. Enter the root password when prompted.For the Bourne and Korn shells, a sample PATH environment parameter assignment after your editing might look like:d. With your text editor, open the shell script file executed by the root user's login shell as part of the login sequence. If the root user's shell is the Bourne or Korn shell, you should edit the /.profile file. If the root user's shell is the C shell, you should edit the /.login file.
e. Append the following to the PATH environment parameter assignment:
/opt/nms/bin
PATH=$PATH:/opt/nms/bin
setenv PATH "$PATH":/opt/nms/bin f. Append the following to the LD_LIBRARY_PATH environment parameter assignment:
/opt/nms/lib For the Bourne and Korn shells, a sample LD_LIBRARY_PATH environment parameter assignment after your editing might look like
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/nms/lib
setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":/opt/nms/lib g. Save the modified shell script file and exit your text editor.
agmon -cThe
-c command line option instructs agmon to check the interrupt and I/O address hardware settings of the AG boards for conflicts with other devices configured in your system and to add the AG device drivers to your UNIX system configuration.After the check for hardware conflicts has been completed, agmon displays the following message:
AG device drivers are not part of your kernel configuration.
y.After the device drivers have been added to the kernel configuration, agmon asks you to confirm that you want to rebuild the kernel.
b. Enter
y. If loading is successful, agmon exits.
boot command failed : Invalid Argument
/etc/conf/bin/idbuild -B
agmon -rThe -r command line option instructs agmon to remove the AG device drivers from your system's configuration.
agmon displays the following message:
Removing all AG device drivers.
Removing AG device drivers ...
AG device drivers removed from kernel configuration.
A kernel rebuild and system reboot is required.
Do you wish to rebuild the kernel now? (y/n)
a. With your text editor, open the shell script file executed by the root user's login shell as part of the login sequence. If the root user's shell is the Bourne or Korn shell, you should edit the /.profile file. If the root user's shell is the C shell, you should edit the /.login file.b. Contract the PATH environment parameter by removing the following from its assignment:
/opt/nms/bin c. Save the modified shell script file and exit your text editor.
pkgrm agaccesspkgrm displays the following prompt:
The following package is currently installed:
Removal of <agaccess> was successful.
exitShut down and reboot your system.
(Page 6 of 7 in this chapter)