All right, we got our hacking machine running and ready to use.
Before we get to explaining all of the stuff you see on the screen, first we need to make sure our
machine is working properly.
So we'll just go through a few checks.
The first check that we want to do, is it your machine in full screen mode?
Now, in the previous tutorial, I showed you what you can do to get it in full screen mode and all
you need to do is minimize the screen and maximize it once again in case it already wasn't in full screen
mode.
And that is because the earliest versions of Linux automatically set your machine to be in full screen
mode without installing any additional tools for that.
Usually this trick should work.
And if it didn't work and your machine is still not in full screen mode, then we need to install something
called virtual box guest additions.
And I would advise all of you to do it even if you already have a full screen mode machine, because
guest additions will not only help us with getting our machine to be full screen, but they will also
make our machine run smoother and better.
In previous versions of Linux, we always had to install virtual box guest additions to get the full
screen mode.
So let's see how we can do that in the newest version as well.
First, we need to do this, we need to go up here and fix devices that navigate down to the insert
guest edition CD image and click on that.
They should get important and in just a few seconds, we should see a disk icon on our desktop.
If we double click it, it will open a folder where we will see a bunch of files and other directories.
Don't worry, we don't need to know what each of these files are or what the data only think we need
to remember is the path to where these files are.
And up here, we can see that these files are located at slash media slash drum zero.
So let us go this if we write quick, Kopi.
Now comes the fun part, we have to open something called terminal.
And terminal is something that people use for the entire course, it is the most important tool you
need to master as a hacker.
But for now, just follow what they do and people explain things as we go to open a terminal right quick
on your desktop and click on Open Terminal here.
It will open this window where we can execute our commands.
And once again, since terminal is an important tool that you must master and learn from scratch, we
will cover it in the next section in greater detail.
For now, we just want to install a virtual box guest additions.
The first thing that we want to do is we want to navigate to that path that we Cupitt.
And to do that, using a terminal, we must use a command called.
This CD command stands for changing the rectories, and you can see that we are currently on the desktop
directory, which says right here to change the directory, we type the CD command and then we paste
the path.
Where we want to go, so change directory slash, media slash CD-ROM, press enter and you will see
that in the next line, we will be changing directories, the desired folder.
Now to list all the files inside of this directory, we need to type another command, which is called
L.
S.
What this command stands for is simply just listing the contents of the current directory so you can
just remember us to be assured command for list.
If I press here, enter.
We will see a bunch of the files that are located in the current directory.
These files are actually the files that we saw once we opened this virtual box guest editions.
You can see these are the same files.
Right now, we are just there inside the terminal.
And out of all of these files now, we must run one of them.
Can you guess which one?
We know that we can run the files, since those are for Windows systems and we are on a Linux system,
but we can, however, run this one called virtual box Linux editions deltron run.
If you guessed that one, congrats, this is the one that run.
To run it, we can use a command that says S.H. Virtual Box.
Linux editions that run.
And this is just a way for us to actually run this file, which we are also going to explain once we
get to explaining, terminaling, greater details for known if we press enter.
Hmmm, this program must be ran with administrative privileges aborting.
For now, don't think about this, and just from the following comment, pseudo S.H., virtual box Linux
additions that run.
If we press enter here, you should get a prompt like this asking you for your password.
Then type in your password and keep in mind that even while you're typing, you will not be able to
see anything appear right here, which doesn't mean that you're not typing.
You are typing.
Just it doesn't show anything inside of the terminal.
Once you typed in the password, click, enter.
And it will ask us, do we want to continue with the installation we want to specify right here.
Yes.
And it will start the process of installing virtual box guest edition's.
Now, you will notice that this entire process will be performed automatically.
We do not need to do anything anymore.
This will install on its own.
And don't worry if there is a part of this entire process that you did not understand.
We will discuss all of these commands and tools later on.
This installation right here will take a minute or two, so let's just wait for that finish.
OK, so it is finished and we can see right here that it tells us running kernel modules will not be
replaced until the system is restarted.
What this simply means is that this installation will not have any effect until we reboot or restart
our machine.
So there are two ways that we can do it.
You can either go in right corner right here, click on this and click on Restart.
Or you can do it in the cool way using a terminal, so if I can sit here and go back to my terminal
and type the command reboot.
It will say comment not found, and if you get these messages, well, what we want to do, we want
to type pseudo and then once again reboot, press, enter, and this will restart our machine for us
with just one command that would in terminal.
Now we're ready to perform the second check and the second check would be Internet connection, so we
want to see whether we can access the Internet and check that we're going to use our terminal once again
and we will try to ping Google.
So let us open up our terminal.
We already know how to do that.
Right.
Click and then open terminal here.
And if we receive response back from Google, that means we can access the Internet.
So let's check it out.
Typing Google dot com.
And here it is, we're getting responses back great, we can access the Internet to stop this, we must
press control.
See, as we can see right here, 21 packets transmitted, 21 received and zero percent packet loss.
But even though we can access the Internet, I want to point one thing out.
If we go to settings of our virtual machine and we select the virtual machine, navigate the settings
and from the settings navigate to network settings.
We will notice that we are attached to net and what net is is a network address translation.
This means that the IP address the Tower Linux machine has will be given to us by the tool box.
So if I go to my clinics and in the terminal type pseudo, I have config press, enter, enter my password.
Here we will see that we got the IP address of 10 zero to that 15 and this is the IP address given to
us by the tool box.
Since this can present us a problem later on, we want our IP address to be received from our DHP or
from our router.
And before I show you how to do that, I want to point out why this could present a problem.
Well, this IP address right here does not belong to the IP range or my local area network.
If I go to my Windows machine and open up command prompt to check out the IP address on my physical
machine.
I can type right here, I.P. config.
And I will see right here that the IP address that my physical machine has starts with one to that 168,
that one, and this is not the same IP range.
It starts with tendency or the two.
So I want to change this, to start as my physical machine with one to that 168, that one to do that,
my clinics must receive the IP address from my router.
And for all of you Mac users, you can also type in I've config in your terminal on your Mac, basically
you can check the IP address of your Mac the same way that we did inside of Linux by typing I have config.
And all we need to do to change this I.P. address is go to the network settings and switch from that
to Bridgid adapter.
This will automatically set my bridge, the depth and my adapter to be this one.
So this is the only one I have.
And since I'm connecting over cable connection, I want to go to the advanced and check right here.
Cable connected.
You can select your depth right here, and once you do, click on OK, just one more thing before we
click on OK, in case you're wireless adapter is not working at Linux since there are some wireless
adapters that are not supported by colonics yet, keep in mind that the cable connection will always
work.
So if your wireless adapter doesn't work, just switch the adapter to cable connection and then press
on, ok?
Now, that would change this if I go back to my Linux machine and from the same command, which is 2.5
config.
Now it starts with one to that 168, that one.
And keep in mind that for you, it might start differently.
It doesn't have to start with these three numbers.
It might be something like one or two that one six eight zero, or it might be something like 10.1,
that one or 10 dot zero, that one.
It depends on your network.
So now we can see that both of these IP addresses are starting the same.
OK, great, now that we went through both of the checks for the full screen and network connection.
In the next few lectures, we can proceed to get more familiar with the clinic's environment and hackers
terminology you.