 Okay, we're going to go through What to do with your headless system running on the chip computer the $9 computer? I just flash it with the headless system But everything we do here will also work on a system the chip system that you've installed a GUI interface for But this is something you'll do definitely or most likely if you have a headless system So basically what we're doing is you make a headless system You could hook it up to a TV or screen and hook a keyboard and mouse to it But if you're running as a server, you may not have a Screen or anything for it so you're gonna have to log in and set it up somehow So just finish flashing it So the next thing we're gonna do is you can actually connect to the chip computer through a serial connection Which is most likely is going to be under your dev folder tty capital ACM zero on most Linux systems unless you have other serial devices hooked up That's it will be recognizing that you might get a different number But just to check we can go D message a D M E S G and that will display Recent messages logs and we're gonna grab for tty So here we go and you can see right here. I just plugged it in so you can see right here This is the one that's showing up clear the screen So what we're gonna do now is I'm gonna use a program and there's other programs to use but screen which you'll have to install screen and then point all towards dev Tty ACM zero or whatever you saw in that D message Now I'm gonna hit enter and you can see that I get my screen to me. Let me try running it again You might have this issue where you can't access it and this may be due to permissions So you can add yourself to the motor to the serial group By using this command, let me clear the screen here paste this in here. So you're gonna do pseudo user mod dash a G so you're adding a user to a group dial out group and then dollar sign user will just use the current user Or you can manually type out the username doing that though You're going to have to log out and log back in there might be a way to do without logging out and logging back in But normally that's what I do You don't have to restart your whole system just log out and log back in and you be adds that crew if you know I log out and log back in you can change the permissions of the Tty ACM zero Although if you change it, you'll have to change it every time you unplug your plug in the computer or you can just do pseudo screen Dev Tty ACM zero so you're saying pseudo and you'll have to type in your username or sorry your password Now once you're connected you may see a login prompt You may not if you don't hit enter a couple of times and it should show up now occasionally going through USB port like this I find that the text gets kind of messed up where things are supposed to go to new lines And they don't which is kind of a pain in the butt and the simplest solution I have for that is Restart the chip computer But your password default password is going to be our username is going to be chip and the default password It's going to be chip. So the first thing we want to do of course is change that so you're going to use the pass Wd command to change it so type that we'll hit enter. It's going to ask you to type in your current password which is Chip and then we'll ask you to type in a new password twice now if your password is too short For example, if I type in tux twice, it's going to tell me your password needs to be longer So I'm just going to put in a longer password here and type in a second time And since your password was successfully updated, so now I'm going to type in exit and Log me out and then I'm going to log in again with chip And I'm just doing this to check my password make sure that it actually took so log in username chip and your new password So let's say theoretically you want a shorter password than it's allowing you can do that It's not recommended on a real system, but maybe you're just using this chip as a test system And so you're gonna put a short password you want to type a long password each time whatever your reason you can do that You can type in pseudo PW I'm sorry pass WD and then be sure to give it The username if you don't put the username here, you're gonna be changing your root password Which you can also do so I'm gonna go ahead and hit enter here and Now it's asking just because I'm running the pseudo command to put in my password, so I will now When you're running a pseudo or root it won't ask you for your current password here This was just part of the pseudo command, but the actual pass WD command is not gonna ask for it Which is great as an administrator You can change anyone's password at any time without knowing the password because as an administrator You shouldn't know your user's passwords. You're still administrator of machine You're still root of the machine, but that doesn't mean you should know someone's password anyway Now I can put in a shorter password such as tux I'll type it twice and we updated it tux So as pseudo or root you can put whatever password you want short or long and it's going to accept it And again if I was to run that same command, but leave out chip at this point I'm changing it for the root user So keep that in mind You don't want to forget to type it so if you're not using the pseudo command You don't have to put the user name because it's using your current user, but if you do pseudo it thinks your root And it's gonna change the root password So I'm gonna go ahead and change the root password to tux tux just for this test system normally that would be a bad idea because tux is going to be In a password list and someone's trying to boot force your system. They're gonna get in but this is just the test system here Okay, so that's the first thing we did so we're on the on our system now again through USB Let's connect to a network. So the first thing we want to do is well chip has a built-in program You're gonna want to be pseudo to run it So we're going to do pseudo and m t ui and when you hit enter you get this Text-based GUI if that makes any sense and we'll go down to activate a connection Find your wireless connection here. Mine's castle. I'll hit enter and I will type in my super secret Passphrase for my Web key go ahead and hit enter I'm not Web key. WPA. I'm running WPA not web Okay, so quit and now I can do pseudo pseudo IF config and you can see that I am on the local network now at this point I can continue using the serial Interface here through USB like I said sometimes that gets kind of messed up and this and not everything gets displayed to the screen If it's working fine, it's working fine. If not, I can exit out of this or I can even leave that open and open up A new shell so the top shell here top screen is still through USB the bottom screen here Make that a little bit bigger The chip automatically has SSH server running on it. So I can SSH username chip because that's the name on the chip computer and the IP address I want to connect to And I'll hit enter and now I've done this before in the system, but I flash it since then so if you've reflashing machine Your chip machine you're going to want to run this command to clear out that that key That tells you right there remove it with this and that's to prevent man and middle attacks Someone trying to pretend the server is that they're the server and grabbing your password now If you haven't done it before when you run this command is going to ask you Are you sure you want to accept this key and you're going to have to type? Yes Why won't work you have to actually type out the words? Yes, and it's going to give you a key that later on It will check and make sure that you're connecting to the actual server Which is what the last thing was doing because it had changed since the last time I had flashed the machine. Well, I flashed machine and it changed the key So once you do that Should only take a second here my network connection from the chip isn't the best in here I'll type in the password that we just changed the user to and now I'm logging in through the network And then you should be logged in I had to it disconnected. I had to reconnect there I cut the video because it was just taking long even though I'm just in the room next to my router I find that this chip computer The network, I don't I've only had it for a couple days Suddenly doesn't seem like the best why I don't know if it's the Wi-Fi chip or just the system running slow It's only a nine dollar computer. You can't expect too much out of it Sometimes I find that it works great and other times not so much So like in this case it was taken forever to connect and then it broke and I had to re-log in so Yeah You can log in through USB this through serial USB up here or you can go through SSH once you've connected to the network which one's better They both have their pros and cons Again the serial works great. It's a wired connection but sometimes the screen gets garbled up haven't had that issue during this video, but it has happened and the Wireless through SSH. I do that all the time to other systems as long as you have a reliable network connection. It's great Today with the chip computer. I'm not I wasn't having too much luck there. So I Mean it's working fine. Let's let's just see list. So yeah, it's still Yeah, working great now. So anyway, the last thing you probably want to do before you start using the system is update everything So for those of you who aren't familiar with Linux systems And if you are you already know this you can skip this part of the video But this is a devian-based system most Linux distributions have what's called a package manager So yeah Yeah, see now this the shell here through the network isn't working that great. I'm losing the connection or something So let me log in back up here make this full screen So still connected to the network. Let's see if I can ping Google Yeah, so it's just the wireless connection I don't know. Maybe my router is having issues, but I'm thinking it's more of the the chips since My desktop computer doesn't seem to be having any problems Again a $9 computer. You can't expect too much. I was really hoping that the the Wi-Fi would work a little better than this There we go. Now we're connected back up. Okay So if you can keep an internet connection with your with your chip What you can do now is you can you're gonna want to update your system So pseudo afters are installed. I think apt-get is also installed And you can do either after apt-get so you can do update and And sudo apt upgrade dash y Type in your super secret password and hopefully it will start going here connecting to the internet and Again the internet seems to have gone down on my chip There we go. Okay, so let me quickly explain this as I was saying Most links distributions have what's called a package manager or software manager Some people call it and it connects to what's called repositories You have you should have default repositories that come with your operating system in this case It's a Debian based operating system that's Debian repositories and it also has some chip repositories that the chip developers have put in there And as long as you stick with the with the default Repositories that it came with you should be good to go and unlike other operating systems Where you go out on the internet or you go and buy a disc or whatever and you install software This is one program that pulls it all down. Think of it as like an app store on your phone Only Linux has been doing this since the 90s And it's all free Benefits of this think of like a Windows machine You have a bunch of updaters running in the background constantly popping up saying this program needs to be updated This program needs to be updated and they're all taking up processing power where here you have one program that takes care of that for you This is a shell Interface for it, but there's also a GUI interface if you install the chip with a desktop There's already an icon by your clock that's checking for updates and the benefits of this again You don't have multiple updaters running You don't have the instances where you go into a program like your office application and you want to use it and it goes Oh, there's updates available update now and it bugs you when you're trying to use the program Because everything is updated through this one package manager and all the software should be checked for your system You know, it's secure. You know that it's not malicious or theoretically it shouldn't be malicious and Just you know every so often I suggest at least once a week But at minimum once a month running the command we just ran we actually ran two commands We ran update and upgrade update goes to the servers and gets a list of all the new packages available all the new programs and libraries available and then upgrade will Upgrade any programs you currently have installed that need to be upgraded and the dash why I did at the end there Was just to say yes to all because otherwise we'll ask you you're sure you want to upgrade And yeah now usually on a desktop machine It usually doesn't take long unless you have a lot of updates Which means you haven't done updates in a while But if you just have a few it should only take a minute or so and that's updating everything your web browser your office Applications your drivers your photo applications everything as long as you haven't installed anything outside of those default repositories And again, this little talk here at the end is for people who aren't familiar with Linux I'm assuming that there might be people out there who have bought chip computers that aren't familiar with Linux and again there's lots of benefits of this and But there are people out there who try to install software outside of the default repositories, which very rarely is Is needed most time when people do that they think they need to and they usually don't they're insisting that they want something that that's going to mess up their machine basically and The great thing about this is is when you have a program program even a basic programs probably going to have some libraries that it's dependent on So these dependencies Want a package manager like this? Well see oh this program needs this library and so as this one they can share it rather than installing multiple copies which some operating systems and some packaging Type applications do is then you end up with multiple copies of libraries on your system And it also if once you start installing software outside of the repositories you might have dependency issues So for example, you might install program X and program X depends on program Y But not just program Y. It might need program Y For or higher and you might install a program from another website or add another repository that installs program Y 3.9 and now your program X stops working because it was overwritten by program Y's wrong version And it gets kind of complicated as long as you don't change the default repositories You don't have to worry about any of that. Yeah, I hear people talk about Linux having dependency issues Which I can tell you ten years ago there when I first started using Linux. There was a little bit of that I haven't had any dependency issues in years But I still hear people have these problems and it's usually because they add X repositories that are outside of the default and Debian has pretty much everything you're gonna need if you're going outside of those repositories And I'm again there are occasional exceptions Most of the time you don't need to anyway That's just a little speech again for people who are new to Linux who might be using this chip computer Explaining how this works. Don't install stuff outside of the default repositories Unless you really know what you're doing and you really trust where it's coming from So again, thank you for watching this. I hope you found it useful and If you have any questions go ahead and comment below. Please visit my website films by Chris comm That's Chris the K. There should be a link in the description and as always. I hope that you have a great day