Linux Administration/System Architecture/Hardware Settings
Appearance
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]- Wikipedia: BIOS
- Wikipedia: Unified Extensible Firmware Interface
- Wikipedia: Data storage
- Wikipedia: Hot swapping
- Wikipedia: sysfs
- Wikipedia: procfs
- Wikipedia: devfs
- Wikipedia: modprobe
- Wikipedia: lsmod
- Wikipedia: lspci
Multimedia
[edit | edit source]- YouTube: Configuring Integrated Peripherals
- YouTube: Configuring Linux Systems Without a Keyboard
- YouTube: Linux Mass Storage Devices
- YouTube: Linux Coldplug and Hotplug Devices
- YouTube: Linux Hardware Resources
- YouTube: Linux Device Drivers
Activities
[edit | edit source]- Complete the tutorial IBM: Learn Linux, 101: Configure hardware settings
- 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.
- Research methods for configuring headless systems over a network.
- Identify differences between floppy disks, hard disks, CD/DVD drives, tape drives, and USB storage devices.
- Create a list of typical hotplug and coldplug devices.
- Compare output from
df
anddu
and identify the differences between the commands. - Compare output from
lscpu
,lsmod
,lspci
, andlsusb
and identify the differences between each command. - 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.
- Use
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]- ↑ CompTIA: Linux+ Certification Exam Objectives - Exam LX0-103
- ↑ http://manpages.ubuntu.com/manpages/disco/man8/hwinfo.8.html
- ↑ https://linux.die.net/man/1/lshw
- ↑ TLDP: /proc
- ↑ TLDP: /proc
- ↑ TLDP: /proc
- ↑ TLDP: /proc
- ↑ TLDP: /proc
- ↑ Wikipedia: cat (Unix)
- ↑ Computer Hope: Linux df command
- ↑ Computer Hope: Linux df command
- ↑ Wikipedia: du (Unix)
- ↑ Die.net: lscpu
- ↑ TLDP: System and Administrative Commands
- ↑ TLDP: /proc
- ↑ TLDP: /proc
- ↑ TLDP: System and Administrative Commands
- ↑ Computer Hope: modprobe
- ↑ Computer Hope: modprobe
- ↑ Wikipedia: sysfs
- ↑ Wikipedia: udev
- ↑ Wikipedia: Hot swapping
- ↑ Wikipedia: Hardware compatibility list
- ↑ Wikipedia: Headless computer
- ↑ Wikipedia: Hot swapping