Lab 3 Linux - nrubera/SYS-255-03-Tech-Journal GitHub Wiki

In the lab for this week I configured and cabled in my DHCP box running on CentOS (Linux). I first had to configure my addresses in the box to make it fully connect to my network. To do this I first had to type in the command "nmtui" to get the GUI for editing IP addresses up. Once I had that screen up I pressed "Edit Connection" and then selected my Ethernet. Then you just plug in the IPs you need to by navigating with arrow keys and tab.

image

I also made my own user for the box so I don't have to use the root user. Once all the addresses were setup, I tested the connection by pinging Google.com, my pfSense firewall , and my domain controller.

image

I then added the DHCP box into the DNS zone on my domain controller to allow me to ping the DHCP box by name rather than just IP.

image

image

Using the ssh command in Powershell allowed me to remotely access my DHCP box on my network, I was also able to send commands to it from the remote access point.

Useful Commands for Linux

History: "history | -n (num)" is used to list an x amount of recent commands run on the machine

Ls: "ls -1" is used to list files and directories on the machine

History D: "history -d (line)" is used to delete a specific line(s) in the bash history

History C: "history -c" is used to delete the entire bash history