Hello, guys, and welcome back and this lecture, we are going to learn how we can set up a Raspberry
Pi in a headless moat.
Now, there is two modes for our Raspberry Pi.
Either it's hopeless, meaning that we don't have a monitor, but we want to access it using our laptop.
So we are going to use an intermediate that will help us access our Raspberry Pi.
In that case, you can use your laptop keyboard and your laptop mouse and your laptop screen in order
to access your Raspberry Pi.
Now, the other mode is the headed mode.
In the edit mode, you need to connect a USB mouse, a USB keyboard and the screen using HDMI to your
Raspberry Pi.
In our case, we don't want to do that.
We want to work everything from our laptop so it's easier to deal with things.
So in order to do that, we need to do a few steps.
Now, I want you to go to your computer and go to the booth right now.
Your SD card should be already plugged in your laptop and you should have already flashed your OS image
like in the previous lecture.
OK, so now what we need to do is actually create a new file here.
The instructions are totally on the Raspberry Pi dot org website, how you can set up your resume by
in headless mode.
So they are requiring us to create a file that's called WPA supplicants dot com.
OK, and then we need to test these things inside it.
Well, as you can see here, there's no network information which are your ID for your router and the
password for your router as well so that you can access the Internet.
OK, so here is what we are going to do.
I'm going to go back here.
And first, there is something very important that you need to do.
Go to windows and type folder options.
OK, now I want you to go to view and I want you to uncheck this option, hide extensions for known
file types, it's very important to uncheck this in order to create files with any extension you want.
OK, in our case, it's a common extension.
In order to be able to create it, you need to uncheck this option.
Click OK.
Now go to new create a new text document.
As you can see now, we can change the extension once we have done that step, so it's going to be dot
com.
Or you know what, we can just go back, we can just copy all of this and rename this text file, rename
everything now it's dot com click enter.
Yes.
And here we go.
Now you can just right.
Click and click on Open with.
I'll check this always here, click on Merab and just choose not not bad.
OK, now we are going to copy all of these.
Just test them here, and I want you to give your side name here in between those quotations, don't
delete those quotations, otherwise it won't work.
Make sure that there is no empty spaces.
Just type your side name and delete these and just type your password here, OK?
Once you do that, I want you to save the file, unblock your SD card and just plug it in your Raspberry
Pi.