Objectives 1.0 Hardware and System Configuration Flashcards

1
Q

Describe the boot process

A

The Linux Boot process can be split into three main steps:

1) The BIOS or UEFI starts a bootloader program from the Master Boot Record, which is usually the Linux GRUB Legacy or GRUB2 program.
2) The bootloader program loads the Linux kernel into memory, which in turn looks for the init program to run.
3) The init program starts individual application programs and starts either the command-line terminals or the graphical desktop manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is GRUB?

A

GRUB stands for Grand Unified Bootloader

GRUB stores files in /boot/grub folder and uses the menu.lst or grub.conf configuration file to define commands used at boot time

difficult to modify

boot menu usually displays on boot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is GRUB2?

A

Stored in /boot/grub

Uses grub.cfg

Customizable in /etc/default/grub

can boot iso, usb, UUID, device

grub2 has a hidden boot menu (press shift)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

lsmod

A

show a list of statuses of modules in Linux Kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

insmod

A

inserts module by path only
no dependencies
fail with no explanation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

modprobe

A
inserts module just by name
includes dependencies 
needs map
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

modinfo

A

shows information about a linux kernel module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

dmesg

A

print or control the kernel ring buffer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

rmmod

A

removes a module from the linux kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

depmod

A

List modules dependencies and map files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where are Linux Network Configuration files stored on Redhat?

A

/etc/sysconfig/network-scripts directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where are Linux Network Configuration files stored on openSUSE?

A

/etc/sysconfig/network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where are Linux Network Configuration files stored on Debian based?

A

/etc/network/interfaces file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

route

A

show / manipulates IP routing table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

host

A

host is a simple DNS lookup utility. It is normally used to convert names to ip addresses and vice versa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ping

A

sends ICMP requests to network hosts. It works with both IPv4 and IPv6. Can be enforced by specifying -4 or -6

17
Q

dig

A

dig is a DNS tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name. Use dig to troubleshoot DNS problems

18
Q

nslookup

A

nslookup is a program to query internet domain name servers. Has two modes: interactive and non-interactive

19
Q

ip

A

shows/manipulates routing, devices, policy and routing tunnels

20
Q

ethtool

A

query or control network driver and hardware settings

21
Q

/etc/hosts

A

Before a DNS is queried it comes to this file

22
Q

What is load balancing?

A

Network traffic is shared between two or more network interfaces

23
Q

What is aggregation?

A

Two or more network interfaces are combined to create one larger network pipe

24
Q

Active/passing

A

One network interface is live while the other is used as a backup for fault tolerance

25
Q

Describe the command-line utilities required to configure and manipulate Ethernet network interfaces

A

To set the IP and netmask addresses on an Ethernet interface, you use the ifconfig or ip command. To set the default router (or gateway) for a network, you use the route command. Some Linux distributions that have Network Manager installed can use the nmtui or nmcli command, which can configure all three values.

26
Q

Explain how to configure basic access to a wireless network

A

Linux uses the iwlist command to list all wireless access points detected by the wireless network card. You can configure the settings required to connect to a specific wireless network using the iwconfig command. At a minimum, you’ll need to configure the access point SSID value and most likely specify the encryption key value to connect to the access point.

27
Q

Describe how to manipulate the routing table on a Linux system

A

The route command displays the existing router table used by the Linux system. You can add a new route by using the add option or remove an existing route by using the del option. You can specify the default router (gateway) used by the network by adding the default keyword to the command

28
Q

Summarize the tools you would need to analyze the status of network devices

A

The ifconfig and ip commands display the current status of all network interfaces on the system. You can also use the netstat or ss commands to display statistics for all listening network ports

29
Q

Describe how Linux initializes the network interfaces

A

Debian-based Linux systems use the /etc/network/interfaces file to configure the IP address, netmask, and default router. Red Hat–based Linux systems use files in the /etc/sysconfig/network-scripts folder. The ifcfg-emp0s3 file contains the IP address and netmask settings, while the network file contains the default router settings. These files are examined at bootup to determine the network interface configuration. Newer versions of Ubuntu use the Netplan tool, which stores the network configuration in the /etc/netplan folder

30
Q

Explain how to test network connectivity

A

The ping and ping6 commands allow you to send ICMP messages to remote hosts and display the response received

31
Q

Describe one graphical tool used to configure network settings in Linux

A

The Network Manager tool provides a graphical interface for changing settings on the network interfaces. The Network Manager appears as an icon in the desktop system tray area. If your Linux system uses a wireless network card, the icon appears as a radio signal, while for wired network connections it appears as a mini-network. When you click the icon, it shows the current network status, and for wireless interfaces, it shows a list of the access points detected. When you open the Network Manager interface, it allows you to either set static IP address information or configure the network to use a DHCP server to dynamically set the network configuration