1 00:00:00,460 --> 00:00:02,440 So now we're on the last step. 2 00:00:03,040 --> 00:00:05,110 Fix the problems and run Kali. 3 00:00:06,010 --> 00:00:12,490 Now, in this lecture, I will assume that you do have trouble with network connections and I'm going 4 00:00:12,490 --> 00:00:16,090 to give you some solutions so that you can fix the problem. 5 00:00:17,940 --> 00:00:20,070 Now, hopefully you're not facing such a problem. 6 00:00:20,070 --> 00:00:27,240 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,240 --> 00:00:27,840 this lesson. 8 00:00:27,840 --> 00:00:33,480 But it's good to have you on the ride and you can always sharpen your troubleshooting skills. 9 00:00:34,480 --> 00:00:40,360 So first off, let's reboot the machine to understand whether the problem is an exception for the initial 10 00:00:40,360 --> 00:00:41,170 run or not. 11 00:00:41,740 --> 00:00:45,200 So I shut down the virtual machine because I want to look at the settings of. 12 00:00:48,480 --> 00:00:52,560 And click the Settings button, Click Processors and memory. 13 00:00:53,220 --> 00:00:56,340 I want to make the Ram three gigabytes. 14 00:01:00,660 --> 00:01:04,200 So now I can click the start button to boot it again. 15 00:01:05,600 --> 00:01:08,540 Now let me look at the network adapter while it's booting. 16 00:01:08,720 --> 00:01:10,630 Click on network adapter. 17 00:01:10,640 --> 00:01:14,690 Internet is shared in nat mode and that's what I want. 18 00:01:20,760 --> 00:01:23,550 Username and password are both Kali. 19 00:01:27,890 --> 00:01:29,960 Okay, we are in again. 20 00:01:30,320 --> 00:01:35,670 So let's check the network connection by clicking the network icon at the upper right hand corner. 21 00:01:35,720 --> 00:01:39,430 So I think there's a problem on the Dhcp of the VMware. 22 00:01:39,520 --> 00:01:42,830 Well, anyway, we can live without Dhcp as well. 23 00:01:43,700 --> 00:01:46,470 So I'm looking at the wired network. 24 00:01:46,490 --> 00:01:47,360 Don't be confused. 25 00:01:47,360 --> 00:01:53,060 Even though you share the wireless connection of your host machine, it's simulated as a wired network 26 00:01:53,060 --> 00:01:54,020 in the VM. 27 00:01:54,710 --> 00:01:58,210 So let's open a terminal screen and look at the networking service. 28 00:01:58,220 --> 00:02:05,360 If it's running right service networking and press tab twice to see the available commands of the service. 29 00:02:06,110 --> 00:02:12,680 Networking service does not have status command, so I'll assume that it's not started and try to start 30 00:02:12,680 --> 00:02:12,950 it. 31 00:02:16,000 --> 00:02:20,750 And if you are still not connected at this point, let's go to network settings. 32 00:02:20,770 --> 00:02:25,870 You can go to network settings via advanced network settings under the menu. 33 00:02:29,470 --> 00:02:35,920 Or you can right click on the network icon in the upper right corner and select edit connections. 34 00:02:37,500 --> 00:02:41,040 Now click the wheel icon under the wire tab. 35 00:02:41,070 --> 00:02:41,730 Okay. 36 00:02:41,730 --> 00:02:42,660 Okay. 37 00:02:42,660 --> 00:02:47,040 I go to the IPV four tab to set the IP manually. 38 00:02:47,070 --> 00:02:48,930 Click the manual option. 39 00:02:49,050 --> 00:02:51,150 I'll choose an IP for the new collie. 40 00:02:51,180 --> 00:03:00,120 Now the IP block of my virtual network is 172.161.131.0 through 24. 41 00:03:00,270 --> 00:03:02,460 So I'll choose an IP from this block. 42 00:03:02,910 --> 00:03:10,260 Netmask is 255.255.255.0 for 24 IP block. 43 00:03:10,350 --> 00:03:16,320 As far as I remember, the gateway is 172.16.131.2. 44 00:03:19,210 --> 00:03:21,880 So I'll use 8.8.8.8. 45 00:03:21,910 --> 00:03:25,210 That's the Google DNS as my DNS server. 46 00:03:25,240 --> 00:03:26,020 Okay. 47 00:03:27,630 --> 00:03:29,130 Let me look at another VMs. 48 00:03:29,160 --> 00:03:30,480 Network settings. 49 00:03:30,480 --> 00:03:32,280 So this is Carly I'm currently using. 50 00:03:32,280 --> 00:03:34,980 Go to network settings, Select Wired Settings. 51 00:03:36,730 --> 00:03:39,070 Click the wheel icon under the wired tab. 52 00:03:39,100 --> 00:03:41,150 Go to the IPv4 tab. 53 00:03:41,170 --> 00:03:43,210 Yes, the gateway is correct. 54 00:03:47,300 --> 00:03:51,140 Okay, I'll reboot the machine to be sure that the changes are applied. 55 00:03:55,640 --> 00:03:56,660 But completed. 56 00:04:01,190 --> 00:04:05,990 So open a terminal screen type Ifconfig to see the IP address of the new Cali. 57 00:04:05,990 --> 00:04:09,170 It's 225, just as we said. 58 00:04:09,530 --> 00:04:11,630 So let's ping a remote system. 59 00:04:11,630 --> 00:04:12,530 For example. 60 00:04:12,560 --> 00:04:16,310 Google DNS 8.8.8.8. 61 00:04:17,510 --> 00:04:20,480 Yes, we receive the response packages, the networks. 62 00:04:20,480 --> 00:04:20,779 Okay. 63 00:04:20,779 --> 00:04:25,160 Now so to double check, open a browser and visit any website.