Linux Administration/System Architecture/Hardware Settings

From Wikiversity
Jump to navigation Jump to search

This lesson covers configuring hardware settings of the of CompTIA Linux+ certification

Objectives and Skills[edit | edit source]

Objectives and skills for the hardware settings portion of Linux+ certification include:[1]

  • Determine and configure hardware settings
    • Enable and disable integrated peripherals
    • Configure systems with or without external peripherals, such as keyboards
    • Differentiate between the various types of mass storage devices
    • Know the differences between coldplug and hotplug devices
    • Determine hardware resources for devices
    • Tools and utilities to list various hardware information (e.g., Isusb, lspci)
    • Tools and utilities to manipulate USB devices
    • Conceptual understanding of sysfs, udev, dbus
    • The following is a partial list of the used files, terms and utilities:

Readings[edit | edit source]

  1. Wikipedia: BIOS
  2. Wikipedia: Unified Extensible Firmware Interface
  3. Wikipedia: Data storage
  4. Wikipedia: Hot swapping
  5. Wikipedia: sysfs
  6. Wikipedia: procfs
  7. Wikipedia: devfs
  8. Wikipedia: modprobe
  9. Wikipedia: lsmod
  10. Wikipedia: lspci

Multimedia[edit | edit source]

  1. YouTube: Configuring Integrated Peripherals
  2. YouTube: Configuring Linux Systems Without a Keyboard
  3. YouTube: Linux Mass Storage Devices
  4. YouTube: Linux Coldplug and Hotplug Devices
  5. YouTube: Linux Hardware Resources
  6. YouTube: Linux Device Drivers

Activities[edit | edit source]

  1. Complete the tutorial IBM: Learn Linux, 101: Configure hardware settings
  2. Use BIOS or UEFI settings to disable an integrated peripheral device. Verify the device is no longer functional. Use the same settings to re-enable the device. Verify the device is now working.
  3. Research methods for configuring headless systems over a network.
  4. Identify differences between floppy disks, hard disks, CD/DVD drives, tape drives, and USB storage devices.
  5. Create a list of typical hotplug and coldplug devices.
  6. Compare output from df and du and identify the differences between the commands.
  7. Compare output from lscpu, lsmod, lspci, and lsusb and identify the differences between each command.
  8. Use modprope to remove and re-add a module. For example:
    • Use lsmod to list installed modules.
    • Use modprobe -r msdos to remove the msdos file system module.
    • Use lsmod to list installed modules and verify that msdos was removed.
    • Use modprobe msdos to add the msdos file system module.
    • Use lsmod to list installed modules and verify that msdos was restored.

Lesson Summary[edit | edit source]

  • /proc is a virtual filesystem that contains runtime process information (e.g. system memory, devices mounted, hardware configuration, etc).[4]
  • /proc/cpuinfo contains information about the processor, such as its type, make, model, and performance.[5]
  • /proc/interrupts contains which interrupts are in use, and how many of each there have been.[6]
  • /proc/modules contains which Kernel modules currently loaded.[7]
  • /proc/pci contains deprecated information on the PCI bus.[8]
  • cat is a standard Unix utility that reads files sequentially, writing them to standard output. The name is derived from its function to concatenate files.[9]
  • df reports the amount of available disk space being used by file systems.[10]
  • df -h prints sizes in human-readable format.[11]
  • du, abbreviated from disk usage, is a standard Unix program used to estimate file space usage—space used under a particular directory or files on a file system.[12]
  • lscpu displays information about the CPU architecture.[13]
  • lsdev shows installed hardware.[14]
  • lsmod is an alias for cat /proc/modules.[15]
  • lspci is an alias for cat /proc/pci.[16]
  • lsusb lists all USB (Universal Serial Bus) buses and the devices hooked up to them.[17]
  • modprobe adds and removes modules from the Linux kernel.[18]
  • modprobe [modulename] adds a module to the Linux kernel.[19]
  • sysfs is a pseudo file system provided by the Linux kernel that exports information about various kernel subsystems, hardware devices, and associated device drivers from the kernel's device model to user space through virtual files.[20]
  • udev is a device manager for the Linux kernel.[21]

Key Terms[edit | edit source]

coldplug
Components which require the computer system to be powered down to add or remove them.[22]
hardware compatibility list (HCL)
A list of computer hardware (typically including many types of peripheral devices) that is compatible with a particular operating system or device management software.[23]
headless
A computer system or device that has been configured to operate without a monitor.[24]
hotplug
Components which may be added or removed without shutting down the system.[25]
streaming

References[edit | edit source]