1 00:00:00,520 --> 00:00:02,469 So now we're on the last step. 2 00:00:03,040 --> 00:00:05,130 Fix the problems and run Kali. 3 00:00:06,060 --> 00:00:12,510 Now, in this lecture, I will assume that you do have trouble with network connections and I'm going 4 00:00:12,510 --> 00:00:16,110 to give you some solutions so that you can fix the problem. 5 00:00:17,900 --> 00:00:20,090 Now, hopefully you're not facing such a problem. 6 00:00:20,090 --> 00:00:27,260 So if you don't have a network situation, please, you don't have to apply any of these solutions in 7 00:00:27,260 --> 00:00:27,860 this lesson. 8 00:00:27,860 --> 00:00:33,500 But it's good to have you on the ride and you can always sharpen your troubleshooting skills. 9 00:00:34,470 --> 00:00:40,380 So first off, let's reboot the machine to understand whether the problem is an exception for the initial 10 00:00:40,380 --> 00:00:41,190 run or not. 11 00:00:41,790 --> 00:00:45,360 So I shut down the virtual machine because I want to look at the settings of it. 12 00:00:45,570 --> 00:00:52,110 Now select Kali and click the Settings button and click the system tab. 13 00:00:52,350 --> 00:00:55,500 I want to make the Ram three gigabytes. 14 00:00:57,860 --> 00:01:01,400 So now I can click the start button to boot it again. 15 00:01:07,710 --> 00:01:10,530 Username and password are both Kali. 16 00:01:14,870 --> 00:01:16,940 Okay, we are in again. 17 00:01:17,300 --> 00:01:22,640 So let's check the network connection by clicking the network icon at the upper right hand corner. 18 00:01:22,700 --> 00:01:26,400 So I think there's a problem on the Dhcp of the VMware. 19 00:01:26,490 --> 00:01:29,810 Well, anyway, we can live without Dhcp as well. 20 00:01:30,680 --> 00:01:33,450 So I'm looking at the wired network. 21 00:01:33,470 --> 00:01:34,340 Don't be confused. 22 00:01:34,340 --> 00:01:40,040 Even though you share the wireless connection of your host machine, it's simulated as a wired network 23 00:01:40,040 --> 00:01:40,970 in the VM. 24 00:01:41,690 --> 00:01:45,200 So let's open a terminal screen and look at the networking service. 25 00:01:45,200 --> 00:01:52,340 If it's running right service networking and press tab twice to see the available commands of the service. 26 00:01:53,060 --> 00:01:59,630 Networking service does not have status command, so I'll assume that it's not started and try to start 27 00:01:59,630 --> 00:01:59,900 it. 28 00:02:02,950 --> 00:02:07,760 And if you are still not connected at this point, let's go to network settings. 29 00:02:07,780 --> 00:02:12,850 You can go to network settings via advanced network settings under the menu. 30 00:02:17,320 --> 00:02:23,740 Or you can right click on the network icon in the upper right corner and select edit connections. 31 00:02:25,320 --> 00:02:28,860 Now click the wheel icon under the wire tab. 32 00:02:28,890 --> 00:02:29,570 Okay. 33 00:02:29,580 --> 00:02:30,510 Okay. 34 00:02:30,510 --> 00:02:34,890 I go to the IPV four tab to set the IP manually. 35 00:02:34,920 --> 00:02:36,780 Click the manual option. 36 00:02:36,900 --> 00:02:38,910 I'll choose an IP for the new Kali. 37 00:02:39,700 --> 00:02:46,840 Now the IP block of my virtual network is ten .0.2.0 through 24. 38 00:02:47,110 --> 00:02:49,360 So I'll choose an IP from this block. 39 00:02:49,690 --> 00:02:57,040 Netmask is 255.255.255.0 for 24 IP block. 40 00:02:58,980 --> 00:03:00,930 The gateway is 10.0. 41 00:03:00,930 --> 00:03:02,310 .2.2. 42 00:03:03,460 --> 00:03:07,420 So I can use Google DNS as my DNS server and root. 43 00:03:07,450 --> 00:03:09,100 Now you can click the save button. 44 00:03:10,560 --> 00:03:14,370 Okay, I'll reboot the machine to be sure that the changes are applied. 45 00:03:26,380 --> 00:03:27,370 Bout completed. 46 00:03:28,400 --> 00:03:35,120 So open the terminal screen and first type sudo su to switch the user to root so that you don't have 47 00:03:35,120 --> 00:03:41,720 to write sudo for every command that requires root privileges and then run the ifconfig command to see 48 00:03:41,720 --> 00:03:44,270 the IP address of Kali. 49 00:03:44,930 --> 00:03:46,310 And it's 200. 50 00:03:47,390 --> 00:03:49,460 So let's ping a remote system. 51 00:03:49,460 --> 00:03:50,330 For example. 52 00:03:50,360 --> 00:03:54,080 Google DNS 8.8.8.8. 53 00:03:55,390 --> 00:03:57,710 Yes, we receive the response packages. 54 00:03:57,730 --> 00:03:58,300 The networks. 55 00:03:58,300 --> 00:03:58,570 Okay. 56 00:03:58,570 --> 00:04:02,980 Now, so to double check, open a browser and visit any website.