WEBVTT

00:01.120 --> 00:05.920
Now that are basically system is up and running we're going to make sure we have proper connectivity

00:05.920 --> 00:10.060
to the local network as well as to the Internet to do that.

00:10.060 --> 00:17.110
We will use GUI tools and terminal commands to validate our systems IP address.

00:17.110 --> 00:21.610
We will demonstrate how to assign a static IP address if necessary.

00:21.610 --> 00:26.770
And then once we know our IP settings are correct we'll ensure we can connect to the Internet to get

00:26.780 --> 00:30.450
Kalli system updates which will cover in the next video.

00:31.770 --> 00:36.720
Let's start off by clicking the little icon in the upper right of our screen that kind of looks like

00:36.720 --> 00:39.560
two cables getting plugged into each other.

00:39.660 --> 00:47.310
Then click wired connected then wired settings followed by clicking the little gear icon.

00:47.310 --> 00:55.180
From here we can see our local IP address subnet mask DNS servers and so on.

00:55.290 --> 01:01.740
We can also get this information from the command line by opening up the terminal and issuing the F

01:01.830 --> 01:08.230
config command which stands for interface configuration.

01:08.450 --> 01:15.910
And again we see the IP address of 1 9 2 0 1 6 8 8 3 3 3.

01:15.920 --> 01:22.340
Now you may find yourself in a situation such as when doing work at a customer site where it is necessary

01:22.340 --> 01:25.640
to assign a static IP address to your Kalli system.

01:25.640 --> 01:27.430
So let's see what that looks like.

01:27.800 --> 01:32.990
Let's go back to the spot where we were configuring network information in the gumi and click on the

01:33.010 --> 01:45.480
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

01:45.480 --> 01:55.330
as set the appropriate subnet mask default gateway then let's click apply.

01:55.370 --> 02:01.280
Now if we wait a few moments and then click the little gear icon again will see that the IP address

02:01.310 --> 02:07.070
is still set at 3 3 and not the new dot 2:59 three that we want.

02:08.020 --> 02:12.800
Let's validate that again in the terminal by issuing our I-F config command.

02:14.140 --> 02:21.120
And it looks like the IP address is indeed still stuck at DOT 3:03.

02:21.130 --> 02:29.490
One thing we can do to force this IP change to take effect is turn the interface off and on in the gooey

02:29.490 --> 02:35.670
it's just a matter of sliding this little toggle switch from right to left to turn the interface off.

02:36.610 --> 02:43.160
Then wait a few seconds and set the position back to ON.

02:43.190 --> 02:50.930
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

02:50.930 --> 02:58.730
system back in the terminal let's run the I-F config command one more time to see the new IP live there

02:58.760 --> 02:59.460
as well.

03:02.480 --> 03:10.040
OK let's clear off our terminal with the clear command and then use the GUI to change our IP back to

03:10.160 --> 03:11.740
THP setting.

03:12.260 --> 03:14.920
So we'll click the IPV for tab again.

03:16.040 --> 03:20.130
Click automatic and click apply.

03:20.360 --> 03:28.480
And now this time let's turn the network interface often on using the command line instead of the gooey.

03:28.480 --> 03:34.630
Now you might have noticed that when we use the have config command by itself we get some extra information

03:34.630 --> 03:39.470
here about an interface called L O L or loopback.

03:39.580 --> 03:45.160
We won't get into the low interface in this course but for our purposes we really don't care about it.

03:45.160 --> 03:52.010
When using the I-F config command we only care about our either NET interface called Eat zero.

03:52.420 --> 04:00.190
So going forward if we just want to see information about eat zero type I f config space ethe zero

04:03.400 --> 04:08.410
from here it looks like our system still has the 1 2 3 IP address.

04:08.500 --> 04:12.580
So we're going to shut off the interface and then enable it again.

04:13.000 --> 04:14.720
First we'll issue the command.

04:14.830 --> 04:21.150
I f config space eats zero space down.

04:21.160 --> 04:26.420
Now you can probably guess what command we need to type to get the interface back up but now is a good

04:26.420 --> 04:32.670
opportunity to take advantage of a Linux feature that will save you some keystrokes.

04:32.710 --> 04:36.810
You can use the up and down arrows to scroll through previous commands.

04:37.090 --> 04:39.750
So all just hit the up arrow once.

04:39.940 --> 04:44.850
Delete the word down and replace it with up and hit enter.

04:47.550 --> 04:55.590
Then I'll hit the up arrow a few times again until I get to our I-F config ethe zero command hit enter

04:56.190 --> 05:02.660
and verify that our system indeed has the old DHP address we had at the beginning of this video

05:05.540 --> 05:08.810
so it looks like all our IP settings are correct.

05:08.830 --> 05:17.440
Let's just open up Firefox try to hit google and do a simple search.

05:17.510 --> 05:22.820
It appears that both are local and Internet connectivity are working as they should.

05:23.090 --> 05:28.130
And so now we're ready to move on in our next video.

05:28.140 --> 05:33.900
We will use Terminal commands to update our Kalli system to the latest and greatest operating system

05:33.900 --> 05:36.550
patches as well as tool updates.
