 Okay, again, this is part of a series, this is video two in this series, working with the Wenz View IP Chem. And we have a root shell through telnet, we've changed the password, and we've also copied over a fuller version of busybox so that we have some tools such as NetCat that we're gonna be using today to just give us more functionality. So what we're gonna do is, before we make any changes, we might wanna back some stuff up. So I'm gonna show you how to backup a partition to your desktop, so that not only do you have a backup that you can clone back over later on, but you can also, you know, mount it. I'm saying that with a little quotation marks here. Mount the image, you're not really gonna mount the image, you'll see in a minute. So you can look at the files and look through them on your desktop and play around with them and not have to really worry too much about messing up on the device. Also, if you make a lot of changes to the device, you might wanna make an image backup. So we're gonna do that. On the top here, my screen split on the top is my desktop, on the bottom is the camera itself. So what I'm gonna do here is I'm gonna type in mount on the camera to see what is mounted. And we can see here that our main file system is on device MTD block six. So that's the partition we're gonna work with today. We're gonna back that up. It's the main file system. We can see that it's a JFFS2 and we're, you know, like I said, we're going to clone that over to our desktop. So now that we have a busy box, full version, if you remember from last trail, we have it inside our temp folder. I can say temp busy box to make sure we're running the full version. So if I just type busy box, it's not gonna have netcat in it. So now I have that, I'm gonna say nc for netcat, dash l for listen, dash p for port. I'm gonna pick a port, a higher range port so that I know that I have permission for it. I'll say 6,000. And we're going to redirect, remember, this is Linux running on this device and everything on a Unix and Unix-based system such as Linux, everything, all hardware is accessible as if it was a file, in this case, device MTD block six, as we saw when we ran the mount command, is the file or the partition that we want to copy over. So I'll hit enter and right now it's waiting. The camera is waiting for something to connect to it and then it's going to pipe that entire partition over the network. So up on my desktop here, I'm gonna type in nc because I have netcat installed here, the full version, not just the busybox version. The IP address of my webcam. So that may vary for you. The port, so 6,000. And we're going to put the output of that into a file. I'm gonna call it system, since it's the system partition. I'll call it .img. The extension doesn't, the file name doesn't really matter at all. That's just so that we know. We'll hit enter and it will take a few seconds. I'm gonna tell you right now, this partition on this particular device is three megabytes. So let's go ahead and list out the files as it's finished. And you can see right here that we have an image and it's three megabytes. I'm gonna go ahead and make my desktop full screen. We're not gonna worry about the camera for right now. So we have this image on our desktop of the partition from the camera. I can do file on that system file. And we can see right here that it is a Linux JFS, JFFS2 file system. Now unlike a lot of file systems that we make images of, we can't just mount this image. What we need to do is we need to make a block device. We'll do that. We'll make it in RAM. And then we will actually DD, we'll clone over the image to that fake partition that we're creating. I'll say it's a fake partition. Isn't really correct, but that's what we're gonna do. And then we can mount that partition. So we can't mount the image directly as far as I know. So anyway, we're gonna run some commands here. You can do this as sudo as root. I'm just gonna do it as sudo. As long as you have permissions to run these commands, you should be good. So we're gonna mod probe MTD rams. We're creating something in RAM. And I'm gonna put some numbers in here for the total size and a race size. I can't tell you exactly what all this means. This is just stuff. I know that if I do this, it will work. But basically, I think we're just partitioning part of our RAM for this. That could be wrong. Don't quote me on that. So total size and a race size. And all this will be in notes that are in the links in the description of this video. So we're gonna run that command. No errors, that's good. sudo and we'll say mod probe again. And this time we're gonna run MTD block. And we'll hit enter. And now we're gonna create a block device. You probably already have one labeled zero on your device. So what we can do is we can go list and you can do device dev MTD block. I don't even have to run that. You can see there's already one. You probably already have one, man. And we could probably use that but I'm gonna create another one just to be sure. So I'm gonna sudo and MK nod. That thing that might be make node. I don't know. It's a little over my head. I just know that it works. So MTDB block will say one. So just picking a number that's not being used. So we're using this block device. We're gonna create a new partition on it. We're gonna say B310. Again, this is all in the notes in the description of this video. Now that we have this partition, this empty partition sitting in our RAM, we can now clone the image that we created over. So I'm gonna sudo DD. DD is the tool to clone images and partitions and hard drives. IF in file, which will be our system.img out file. Where are we gonna put this information? Well, in the device we just created, which is MTD block one. We'll hit enter. It won't take long. It's only three megabytes. I can now make a partition right here or I'm sorry, make a folder right here in this directory. I'll call it FS for file system. You can call it whatever you'd like. And I'll sudo mount. We need to tell it what file system type it is. So T for type, JFFS2. And we're going to mount the device that we just created and cloned our partition over to FS. So sudo meaning we have higher level of permissions, meaning that we can use the mount command. We're telling it what type of file system it is. And then we're gonna mount that partition that we created and just cloned our image over to. And we're gonna mount it to this folder right here. Now if I list out FS, there are our files. We can go in there, we can look through them. We can learn a lot about this system without actually being on the camera itself. Nice about this is my desktop is color coded. I have other tools that I may want to use. Just makes it easier to go through stuff. And already we can see that we have a WWW folder, which we can see on the camera too. So if I go in here, oh, sorry, FS, WWW, I can now list out all these files here. Okay, so let's go ahead back on the device down here. So desktop up here where we just cloned and mounted our image to. I can also list out our home direct or root directory here. And you can see that we do have some folders here. We don't necessarily see the WWW folder. That's because this is the system partition and it's mounted under system. Again, if we do mount, you can see that it's mounted here. So if we go in here, this is everything that's in that partition. Obviously there's other parts of the system that aren't on that partition. There's multiple partitions. But this is the primary meat and potatoes of our device. It's the stuff that is running. And in our next video, we're actually gonna look at this a little bit more and then we're gonna start customizing some of the user interfaces. So again, all our user interfaces are basic HTML files which makes it very easy for us to modify them. And again, it's very, very nice. I love any device that I can get a web interface on, making it easy to access with my desktop, laptop, tablet, phone, anything with a web browser. And I don't have to install anything because I don't want to install anything if I don't have to on any of my devices. Just better security that way. So that's it for this tutorial. And again, next time we're gonna start looking more at how things are set up. We're gonna look a little bit more at this partition, what's there, how the system, what it starts when it boots. And then after that we'll start getting into customizing the interface for the device. So be sure to check out the links in the description to the notes and the code and also my website which is filmsbychris.com, Chris with a K there should be, again, a link in the description. And as always, I hope that you have a great day. Okay, this is an introduction to filmsbychris.com. I'm Chris, that's Chris the K. That's me right there. My daughter, Amber, and my wife, Jennifer. We pretty much live in the swamps of Florida. I'm a firefighter by day, as well as by night, we work long hours. But that's not why you're here. You're here about the videos I put up on YouTube. These videos are mainly about computers and programming which means most of my videos look something like this. And if that's what you're interested in, great. If not, that's all right. I do videos on other topics too such as video editing, special effects, photo editing, 3D design, and music creation. If you are one of my viewers and you enjoy my videos, my Patreon page is a place where you can go to help support my videos. So I ask that you take the time to go to my Patreon page and look at different levels of rewards you can receive for different levels of backing. There should be a link in the description of this video if you are watching it on YouTube. Otherwise, you can visit patreon.com forward slash metalx1000. And I thank you for your time and your support. Have a great day.