Now that are basically system is up and running we're going to make sure we have proper connectivity
to the local network as well as to the Internet to do that.
We will use GUI tools and terminal commands to validate our systems IP address.
We will demonstrate how to assign a static IP address if necessary.
And then once we know our IP settings are correct we'll ensure we can connect to the Internet to get
Kalli system updates which will cover in the next video.
Let's start off by clicking the little icon in the upper right of our screen that kind of looks like
two cables getting plugged into each other.
Then click wired connected then wired settings followed by clicking the little gear icon.
From here we can see our local IP address subnet mask DNS servers and so on.
We can also get this information from the command line by opening up the terminal and issuing the F
config command which stands for interface configuration.
And again we see the IP address of 1 9 2 0 1 6 8 8 3 3 3.
Now you may find yourself in a situation such as when doing work at a customer site where it is necessary
to assign a static IP address to your Kalli system.
So let's see what that looks like.
Let's go back to the spot where we were configuring network information in the gumi and click on the
IP V for tab then click manual and I'm going to set a static IP address of 1 9 2 1 6 8 3 1 2 3 as well
as set the appropriate subnet mask default gateway then let's click apply.
Now if we wait a few moments and then click the little gear icon again will see that the IP address
is still set at 3 3 and not the new dot 2:59 three that we want.
Let's validate that again in the terminal by issuing our I-F config command.
And it looks like the IP address is indeed still stuck at DOT 3:03.
One thing we can do to force this IP change to take effect is turn the interface off and on in the gooey
it's just a matter of sliding this little toggle switch from right to left to turn the interface off.
Then wait a few seconds and set the position back to ON.
And now if we click the gear icon again we can see that the new IP address of 1 to 3 is live on our
system back in the terminal let's run the I-F config command one more time to see the new IP live there
as well.
OK let's clear off our terminal with the clear command and then use the GUI to change our IP back to
THP setting.
So we'll click the IPV for tab again.
Click automatic and click apply.
And now this time let's turn the network interface often on using the command line instead of the gooey.
Now you might have noticed that when we use the have config command by itself we get some extra information
here about an interface called L O L or loopback.
We won't get into the low interface in this course but for our purposes we really don't care about it.
When using the I-F config command we only care about our either NET interface called Eat zero.
So going forward if we just want to see information about eat zero type I f config space ethe zero
from here it looks like our system still has the 1 2 3 IP address.
So we're going to shut off the interface and then enable it again.
First we'll issue the command.
I f config space eats zero space down.
Now you can probably guess what command we need to type to get the interface back up but now is a good
opportunity to take advantage of a Linux feature that will save you some keystrokes.
You can use the up and down arrows to scroll through previous commands.
So all just hit the up arrow once.
Delete the word down and replace it with up and hit enter.
Then I'll hit the up arrow a few times again until I get to our I-F config ethe zero command hit enter
and verify that our system indeed has the old DHP address we had at the beginning of this video
so it looks like all our IP settings are correct.
Let's just open up Firefox try to hit google and do a simple search.
It appears that both are local and Internet connectivity are working as they should.
And so now we're ready to move on in our next video.
We will use Terminal commands to update our Kalli system to the latest and greatest operating system
patches as well as tool updates.