So now we're on the last step.
Fix the problems and run Kali.
Now, in this lecture, I will assume that you do have trouble with network connections and I'm going
to give you some solutions so that you can fix the problem.
Now, hopefully you're not facing such a problem.
So if you don't have a network situation, please, you don't have to apply any of these solutions in
this lesson.
But it's good to have you on the ride and you can always sharpen your troubleshooting skills.
So first off, let's reboot the machine to understand whether the problem is an exception for the initial
run or not.
So I shut down the virtual machine because I want to look at the settings of it.
Now select Kali and click the Settings button and click the system tab.
I want to make the Ram three gigabytes.
So now I can click the start button to boot it again.
Username and password are both Kali.
Okay, we are in again.
So let's check the network connection by clicking the network icon at the upper right hand corner.
So I think there's a problem on the Dhcp of the VMware.
Well, anyway, we can live without Dhcp as well.
So I'm looking at the wired network.
Don't be confused.
Even though you share the wireless connection of your host machine, it's simulated as a wired network
in the VM.
So let's open a terminal screen and look at the networking service.
If it's running right service networking and press tab twice to see the available commands of the service.
Networking service does not have status command, so I'll assume that it's not started and try to start
it.
And if you are still not connected at this point, let's go to network settings.
You can go to network settings via advanced network settings under the menu.
Or you can right click on the network icon in the upper right corner and select edit connections.
Now click the wheel icon under the wire tab.
Okay.
I go to the IPV four tab to set the IP manually.
Click the manual option.
I'll choose an IP for the new Kali.
Now the IP block of my virtual network is ten .0.2.0 through 24.
So I'll choose an IP from this block.
Netmask is 255.255.255.0 for 24 IP block.
The gateway is 10.0.
.2.2.
So I can use Google DNS as my DNS server and root.
Now you can click the save button.
Okay, I'll reboot the machine to be sure that the changes are applied.
Bout completed.
So open the terminal screen and first type sudo su to switch the user to root so that you don't have
to write sudo for every command that requires root privileges and then run the ifconfig command to see
the IP address of Kali.
And it's 200.
So let's ping a remote system.
For example.
Google DNS 8.8.8.8.
Yes, we receive the response packages.
The networks.
Okay.
Now, so to double check, open a browser and visit any website.