1 00:00:03,090 --> 00:00:10,170 Hey, class, I've got some exciting updates to this section to update you for Caleigh, 20-20 and Newer, 2 00:00:10,920 --> 00:00:14,520 you'll need to do a few different things to make the Mark Kelly. 3 00:00:14,790 --> 00:00:17,010 Car hacking, utilities work perfectly. 4 00:00:17,310 --> 00:00:18,670 So I've got those ready for you. 5 00:00:18,690 --> 00:00:21,120 And we're gonna do it together step by step. 6 00:00:21,930 --> 00:00:26,770 First of all, I'm going to take you through how to stall the install a few dependencies. 7 00:00:26,790 --> 00:00:32,310 These are some pieces of software that Kelly needs before it can run the icy simulator, the instrument 8 00:00:32,310 --> 00:00:34,860 cust cluster simulator or the can utilize. 9 00:00:35,310 --> 00:00:39,720 And so what we're going to do is come over to Caleigh Linux and we're going to open up a new terminal. 10 00:00:40,500 --> 00:00:45,720 And if you have any trouble with any of the commands here that I've shown you, you can do a pseudo 11 00:00:45,720 --> 00:00:48,930 APTE update and a pseudo IAPT upgrade. 12 00:00:49,590 --> 00:00:50,880 But those will take some time. 13 00:00:50,890 --> 00:00:52,440 So I'm not going to do those right now. 14 00:00:52,740 --> 00:00:57,690 If you run into any issues down here, if it can't find a repository, we just need to update and it's 15 00:00:57,810 --> 00:01:02,460 usually a good idea to upgrade after you update your package repository. 16 00:01:02,910 --> 00:01:10,350 So what we're gonna do is also take a quick moment to come to a machine and let's take a snapshot of 17 00:01:10,350 --> 00:01:11,250 our Caleigh machine. 18 00:01:11,580 --> 00:01:12,630 This is a really good idea. 19 00:01:12,630 --> 00:01:17,760 Anytime you're changing a lot of configuration or installing new software on Kalli, you can take a 20 00:01:17,760 --> 00:01:25,840 snapshot that's a clean copy of your virtual box environment before you make the changes. 21 00:01:25,860 --> 00:01:29,670 That way, if anything goes wrong, when you're installing all the software, you can always revert 22 00:01:29,670 --> 00:01:31,200 to that snapshot later on. 23 00:01:31,620 --> 00:01:38,640 So we say take a snapshot and we can give this a quick name, Kelly, before car hacking. 24 00:01:40,550 --> 00:01:42,400 And what it's going to do is take a quick snapshot. 25 00:01:42,420 --> 00:01:46,800 Save that information to disk so that we can always recover and come back to the state later. 26 00:01:47,190 --> 00:01:52,440 You'll also want to do this after you finish installing all of the car hacking software, because then 27 00:01:52,440 --> 00:01:55,770 you get a fresh install of the car hacking utilities. 28 00:01:56,130 --> 00:01:58,670 So the first two things we're going to install are called dependencies. 29 00:01:58,680 --> 00:02:08,220 We're gonna say pseudo AP t install and the two dependencies when we want to install our live SD L that's 30 00:02:08,220 --> 00:02:15,990 an L as in the sound development library lib SDL to Dev and Lib sdl to image Dev. 31 00:02:16,470 --> 00:02:26,460 So we're gonna say L ibsa the L two dash dev and lrb sdl two dash image dash dev. 32 00:02:27,570 --> 00:02:32,240 I noticed that I've got this is two commands and slide, but I can install it all at one time. 33 00:02:32,720 --> 00:02:33,590 Enter your password. 34 00:02:33,920 --> 00:02:41,720 Remember on a pre 2000 20 version of Kalli, you're gonna do root and tour r t o r as your password. 35 00:02:42,200 --> 00:02:49,130 If you're on 20/20 dot two and newer, you need kalli k l I as your password. 36 00:02:50,030 --> 00:02:52,010 And so it's going to ask if you want to continue. 37 00:02:52,550 --> 00:02:58,160 We'll install all of these and it'll take just a little bit of time for that AAPT to install. 38 00:02:58,850 --> 00:03:04,310 When that finishes, we're going to use a tool called the get to download our. 39 00:03:04,390 --> 00:03:08,690 If you've ever been in to get Hub you've seen a lot of get repositories. 40 00:03:09,050 --> 00:03:15,170 This is a terrific tool for keeping track of multiple versions of software and working across a large 41 00:03:15,170 --> 00:03:16,220 distributed team. 42 00:03:16,580 --> 00:03:23,150 If you've not used to get before, we're gonna use get to clone or make a copy of the entire icey simulator 43 00:03:23,180 --> 00:03:24,050 repository. 44 00:03:24,410 --> 00:03:30,950 It's put up there by Craig Smith and the cool team at Open Garages, Dawg from Zombie Craig. 45 00:03:31,310 --> 00:03:32,390 So we're good here. 46 00:03:32,390 --> 00:03:34,580 We're going to control L.. 47 00:03:35,570 --> 00:03:38,750 We're going to S.V. into our home directory. 48 00:03:38,750 --> 00:03:40,340 That's our tilde directory. 49 00:03:40,850 --> 00:03:44,920 Or on a newer Kalli that's slash home slash kalli. 50 00:03:45,410 --> 00:03:46,330 On an older Kelly. 51 00:03:46,340 --> 00:03:47,960 That would be your slash root directory. 52 00:03:48,290 --> 00:03:53,800 We're gonna say get clone eight CTP s and you have to type this exactly as we've got it here. 53 00:03:54,590 --> 00:03:57,170 You can go out to the Web and find that repository as well. 54 00:03:57,230 --> 00:04:09,630 We're going to say get clone htp s colon slash slash, get hub dot com slash zombie capital C Krag slash 55 00:04:09,630 --> 00:04:11,690 ie CSI little. 56 00:04:12,410 --> 00:04:18,830 I get even the capitalization is important when we've got that one copied. 57 00:04:19,730 --> 00:04:23,420 We're not going to install the icy simulator quite yet. 58 00:04:23,480 --> 00:04:25,550 We're gonna run the can utils. 59 00:04:25,580 --> 00:04:27,140 That's another get clone. 60 00:04:27,740 --> 00:04:30,110 So we're going to do this version. 61 00:04:30,110 --> 00:04:35,240 We're actually going to compile this or make it on our machine because we want to make sure that we 62 00:04:35,240 --> 00:04:39,680 get the most recent update version for our version of Linux. 63 00:04:40,130 --> 00:04:43,550 So what we're going to do is, c.D, back up into our tilde directory. 64 00:04:43,550 --> 00:04:44,410 We're already there. 65 00:04:44,420 --> 00:04:47,570 Our home directory, you can tell because we've got the tilt at the prompt. 66 00:04:47,820 --> 00:04:50,870 I'm going to get clone and I'm going to get the can utils. 67 00:04:51,110 --> 00:04:53,210 So I'm going to say get. 68 00:04:54,730 --> 00:04:59,320 Klown HTP eight CTP s colon slash slash. 69 00:05:00,450 --> 00:05:13,080 Get hub, dot com slash and Linux dash can slash, can dash utils, so these can utilities are the controller 70 00:05:13,080 --> 00:05:16,290 area network utilities are going to give us a simulated car network. 71 00:05:16,620 --> 00:05:22,680 So now I'm going to c.D and can utils and I'm going to run the make command. 72 00:05:24,040 --> 00:05:28,870 And maybe he's going to compile this version of Can Utils perfectly for my Caleigh Linux. 73 00:05:29,210 --> 00:05:30,730 They should run without any problem. 74 00:05:31,810 --> 00:05:36,340 Next, I'm going to compile the icy CSM tool using MAKE. 75 00:05:36,730 --> 00:05:40,990 So the first thing you need to do is actually copy one of the library files from Ken Utils. 76 00:05:41,380 --> 00:05:45,070 So I'm going to S.P. Lib Dotto. 77 00:05:46,510 --> 00:05:48,560 Into Tilde Slash. 78 00:05:48,610 --> 00:05:49,970 I see some. 79 00:05:52,550 --> 00:05:56,810 So what I'm doing is copying the library file from the Cain utility so that I'll be able to use that 80 00:05:56,810 --> 00:05:59,240 with my new icey simulator. 81 00:05:59,300 --> 00:06:02,320 Now I'm going to c.D into Tilde Slash. 82 00:06:02,330 --> 00:06:06,500 I see Sam or I get c.D, dot, dot, slash. 83 00:06:06,500 --> 00:06:09,080 I see Sam because that would take me up into my root directory. 84 00:06:09,550 --> 00:06:13,850 Then I'm going to make it plain and then I'm going to make. 85 00:06:15,970 --> 00:06:20,770 So I needed to clean up the previous installation because they give you some executables that will work 86 00:06:20,770 --> 00:06:22,340 across most flavors of Linux. 87 00:06:22,450 --> 00:06:30,870 But for Caleigh 2020 and Newera, we actually needed to do a full make and install or a full make and 88 00:06:30,880 --> 00:06:32,020 compile everything again. 89 00:06:32,500 --> 00:06:34,480 So we see everything made just fine. 90 00:06:34,660 --> 00:06:44,140 And now if we else in this directory, we're going to see a number of files that were made just for 91 00:06:44,140 --> 00:06:44,590 us. 92 00:06:44,620 --> 00:06:46,020 So we've got setup. 93 00:06:46,060 --> 00:06:47,860 We can dot S.H.. 94 00:06:49,020 --> 00:06:53,940 We've got controls and I see, Sam, you can tell that those are colored slightly differently because 95 00:06:53,940 --> 00:06:55,530 these are executable files. 96 00:06:56,190 --> 00:06:56,970 Very good. 97 00:06:58,270 --> 00:07:05,800 So with those of maybe ten lines of code that we had to enter in there, we have downloaded our tally. 98 00:07:07,170 --> 00:07:09,090 Dependencies that we needed first. 99 00:07:09,420 --> 00:07:14,700 We've downloaded the icy simulator tools, the instrument cluster simulator for our virtual car. 100 00:07:15,030 --> 00:07:20,340 And we've installed the can utilities or controller area network utilities so we can simulate all the 101 00:07:20,340 --> 00:07:22,290 functions of a car. 102 00:07:23,250 --> 00:07:29,370 And then we compiled that icy SIM tools using that new laboratory file that we got from cane utilities. 103 00:07:29,760 --> 00:07:34,530 So those are a few lines of code that I'm going to post down below so that you get access to just copy 104 00:07:34,530 --> 00:07:39,840 and paste those over, if you like, or to see them a little more easily as you're typing this and then 105 00:07:39,840 --> 00:07:42,660 doing an Ellis gave us some new files. 106 00:07:42,720 --> 00:07:49,980 I see Sam and controls that we're going to use to run dicy simulator and do some car hacking starting 107 00:07:49,980 --> 00:07:50,730 in the next lesson.