How to setup Raspberry Pi4 using RaspAP as an access point for your SmartHome (Part 4)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi I'm Rhonda and welcome to another edition of tech bikes with run that are in this video we'll talk about setting up your Raspberry Pi as an access point for your smart home this will be using the lapis art pi4 kit which has everything you need to get started this video will show you how to set up for 2.4 gigahertz 5 gigahertz will be done in a later video there's a few things that are a little bit different this video is available as an Amazon flash briefing or podcast please go to tech bytes with Ron Nutter comm for more information for any items mentioned in this video there are affiliate links in the description if you click on these links I will get a small Commission but that won't affect the price you pay for the item if you haven't already subscribed to the channel please click on subscribe now and enable notifications if this video helps you or provides value please click on the like button thumbs up now here's the game plan we're going to follow first we're gonna go through setting up the SD card with raspbian Buster lite now bust your lights important because it is the command line only version and for an access point you want minimal things running on the our PI 4 you can do this with earlier ones but I'm pretty much have switched over to the our PI 4 for most of my stuff then we'll talk about setting or any installing the rasp ap software and it's a series of components but you'll see that here in a bit and then what I shall show about using the AP getting in and managing it and it was a little different than what I expected but really it's nothing that that you can't do so let's go on and get the SD card set up with raspbian now to save a little bit time I've already got the distribution downloaded the buster light and you because you've seen from my other Raspberry Pi 4 videos you'll know that's what I've been using so we'll pick up on that one like I said it's the zip file Ballena intra automatically goes in and sees there's an image file on the inside I've got the micro SD card plugged in and you see if this is on an apple macbook pro so it's already picked up on it it's got it ready to go so now we'll just go ahead and click on starting and we will enter the password obviously I didn't enter it right the first time okay now it's going to flashing and if you've seen this part you can skip past this but I'm all these videos I'm doing or assuming you've never done anything haven't done a whole lot so I try to walk through the complete process every time just so there's no steps missing so this will take just a second here to get through and there are a variety of micro SD cards you can use I got a good deal on some a while back off Amazon that were 32 gig cards that I paid like six or seven dollars for I always try to go with the type 10 cards because those are gonna have typically the best speed you want to use at a minimum from my perspective the a megabyte write speeds and if you can get like the 95 s or even the 99 s I think there's so many lines out there that that's gonna let the Raspberry Pi work that much faster when it's got to do SD card access again you can always get started with what you've got there's nothing wrong with that at all as you see we're just about through here takes just a few minutes for this to do now if you're doing on PC yeah it made might take a little bit longer but and it might be faster too depending on the particular machine that you've got and once it gets through flashing it then it's going to actually go through and validate it and the validating goes pretty quick and it's done so it's going to go ahead and unmount it so we're going to get out of balana etcher at this point and we're going to unplug the SD card or micro SD card because it's in a an adapter and we're gonna let it remount you see it's up there on my desktop and we're actually going to explore the filesystem because I'm going to enable SSH for headless operation because I don't even have a monitor attached to mine so we'll go down here and duplicate now if it's on a PC you there should be a similar function there to make that happen and we will just rename the file ssh with no extension that's important and we'll go down here and open it up and then we will mark everything the file and erase it it will exit out of the text editor and we'll say yes now the thing to look for is it needs to be a zero byte file that will on startup only raspbian will detect that and enable SSH out of the gate so let's go ahead and switch over and get things booted up okay now I've just taken the micro SD card out of the laptop and I'm going to pull out the micro SD and we'll switch over here to our our PI 4 and we'll just stick the card in right there slide it right in and then of course do not do this with it powered up you'll need to have it powered off so we'll go ahead and turn it on and take it just a second here to come up and what what it's going to do at this Park is I don't have the HDMI connected it will first boot up do its initial chile's ation and it will enable secure shell and resize the card and then once it's done that will actually be able to go through the process of getting it set up now I'm going to switch over here to my Chromebook and these are the steps that we're gonna take I mean this is you can go right to rasp AAP calm and walk through the steps and it will have to do another reboot because we'll make sure that we get everything upgraded that's that's important when you do something like this and we also need to make sure that we go through raspy config and enable wireless because you don't do this it's not gonna talk to anything so we can get that done and then get the show on the road so let's go here it ought to be getting close to where we can get to it and then we'll go ten let's see pi at 1001 at 146 and yes we want to do it and it's already there so ask Barry ok so like I said it's weren't--you right there on the screen as you can see where it says Wi-Fi is currently blocked and let's bring this over here a little bit to the center of the screen and that will make it well here bring it over here more into the you can see a better idea what's what's going on so at this point well I just said that we're gonna move it back over here to the cat doesn't matter it doesn't matter so we'll go down here and we'll go through you see here at the bottom of screen that's the first steps we're gonna have to do so we'll do sudo and if you're not familiar with Linux pseudo basically allows you to shift the user your login with as super user so if you are logged in with something else then that's another important reason why I do it and it's also just a some of the commands you simply have to do even if you login with the our PI account so let everything with the PI account so we'll do update and it's gonna go through and go get a few packages and depending on when you downloaded that a particular release like say if I was using this version of raspbian that I've already Russ to be a bustah I've already got and I say it's six months down the road it's going to have to do a lot of updates where if you got like a later version of when Buster would come out or whatever they're calling it at that point so distribution upgrade and yeah I know they have to ask you it's going to take a certain amount of space but really it kind of gets on your nerves just a little bit but really in spite of things I mean this does run through at a at a pretty good pace so you really really can't complain now if you were doing this over dial flying yeah it might take a little bit of time but as you can see it's just zipping right through it and I'm trying to have in all these videos to do where you can see the exact steps that I've been going through so we'll do sudo reboot and we'll just tell it to reconnect and as soon as it comes back online we should see it connects so it's just going to keep retrying at this point until the raspberry pi comes back on it may timeout here at some point but I don't think that it will I'm using the secure shell browser extension that Chrome has available on it salvaged I may have to shift over to another lap we'll see how this continues to work ah there we go now it's back up so okay and now it's when we will do just like it says here in the instructions raspy config okay and it told you pseudo okay that's fine that's okay so now we will do localization change locale network options Wi-Fi ah here we go that was this is the way we needed to have done it because doing the localization I'm sure there's valid reasons to do it that way but now we'll just go down here and we should be able to pick up us there we go I just type you to begin with note to self next time do that and we'll just call it test at this point because the rasp ap software is going to go ahead and do that and we will call it test test again it's just going to overwrite it so not a problem and so we've already set the Wi-Fi country and that's important because that's going to tell the Raspberry Pi if you're not familiar with why the reason is that this has all the channels that 2.4 has available worldwide so by giving it the country information you're enabling the channels you need for that particular country so we've already rebooted we've done raspy config so now we will just cut and paste that copy and then paste and yes yes okay oh that's going through pretty good right again it's got to go download some things so and somebody must like me today because it's actually running through this in a pretty quick right so it's I'm used to things taking forever is the right word and it's important to watch this as it's going through because if in the event there was a problem then you would see error messages here now sometimes you may it may just say like a sort of a warning message not really critical especially if there's a dependency issue where one modulus looking for is not the right version and okay HTTP only for session cookies yes well enable the cache yes I'm evil recipe again I'm sure there's reasons why you might not do it now I'm gonna say no to open VPN this is something where you can have a tunnel set up here and that way everything is encapsulated on the way out we'll touch on that in a later video and yes we'll reboot okay and we'll tell it to reconnect because since we're running this headless then it's going to let us know very easily when it's actually rebooted and we'll just do a periodic check going back over there and once we see it active and when it asks for the password then we know that things are set ready to to go and as we saw the last time it eventually did see the ARP I come up and when it sees prompt it's okay at that point we're good to go so now what we're going to do is we're going to ignore that when I ignore that we're going to unplug and then we will go in because now the AP should have had time to to get up and running so we'll switch over now to my trusty Samsung smartphone we'll tap on that and we should see there there's rasp GUI so let me shift my directions over to here because there's pieces of the puzzle we're going to have to have and you'll see this on the page so we will shift over to come on now it had it there for a minute okay there we go raspily and it's going to ask for the password which in this point as changeme and they are not kidding when you really should change it and then we will click connect and it's connected now the way this is set up it actually has a you have kind of a now I hit the user and firewall but you're actually on a different IP range from what's going to be on your network so if you've noticed the way I've got mine set up here is I've got it on a hard wired connection and then you've got the AP running here now when you say to me well why would I want to turn my Raspberry Pi into an AP is it gonna have good coverage well no because it doesn't have external antennas this is a very limited range limited use kind of situation but if you have say the access point in your internet router and Hump goes out you could use this at least give you some internet access until you can figure out what the problem was if you're having some friends over set this up and make it a very simple password or you might be able to do no password all that's something I haven't tried yet and that way you're not getting them into your network you're actually kind of controlling them to it so somebody starts doing something they shouldn't you all you do shut down the AP and yet the problem is taken care of so we'll go back over to here and we'll open up web browser and then we will just open up another page here and what we want to do is go to 10.3 dot 1-4 1.1 and this is that we're getting into the management page admin and secret and I would also get this best where changed at some point oh it's going to fail because I didn't type it right and now okay well we'll go ahead and tell it to save so now you can see we've got the AP up and running and if we actually go through I'll go up to one of my other tabs and see it's refreshing the page granted it's gonna be a little slow because the access point I mean the eight the raspberry pi is not going to be the fastest thing in the world but we are now going through the raspberry pi out there so that is not a bad thing it's always handy to have one laying around so if we go up here go back to here and now everything you can do you can see from here and you could bring this up there's no reason why you couldn't bring this up from a regular desktop and it shows you that there's my Galaxy S nine there's the IP address it's got the MAC address so you've got a good idea of what's going on and you can actually shut down the wireless LAN so if you are in here and somebody's doing something they shouldn't again we're we're good to go and you've got you know you can turn the Wi-Fi client there's really this is this is interesting so we can go in the hotspot and you can change the SSID now granted when you change this you're going to restart the hotspot and it will knock you out so you have to go back again now something important to consider here we are running by default it came up 802 11 G not everybody may have in so it's a matter of how you want to do it and if you notice that 802 11 AC is grayed out a on 5 gigahertz again there's some additional steps you have to take and we'll talk about that in a later video you can make this easy there is a QR code that you can have somebody take a snapshot off your phone and it should automatically set them up go to advanced and if we put it into what they call Wi-Fi client AP mode now here's the reason why you may not want to right now we've got the Raspberry Pi on a hard-coded connection and that's I mean a hardwired connection to your network if you have it going out to your network over wireless and you're also serving people on wireless you're gonna load that ap down quite a bit because that's that's getting the the radios to do double duty so that's probably not something you want to think about doing and you can also tell it go back over here and look at the maximum number client so if you don't want everybody hogging your bandwidth then that is certainly a good thing to and networking will go down here so you can see basically it's telling you what its IP addresses are locally and for the wireless and we go in here you this way if you want to change the IP addressing this is where you can do it here you can change the DNS service you can there's a lot of versatility here now we'll go Client List now you see there's my Galaxy S nine that we're doing this on now so you can see what is going there and authenticator that's authentication rather that's it where you would change your password and let's see what else do we want to look at change theme data usage I don't go to back here to dashboard so you can see at this point it's already seeing that you know I've done a little bit of traffic and over time you watch it so and this is where having this available to you to get up and running say the kids are complaining they can't get on the internet well you can put this in the room they would have their own personal access point and when it's bedtime if they're still on the network connection guess what you going on the interface and you shut it down so if you have a part of the house where you don't have good wireless and you just want to make sure that it's not maybe something unique to the computer that you're using this would be good way if you put this in there and you're still having problems okay then it helps you tell that your computers have any problems but this is something very handy to have for your smart home it's at least an option that you can use for troubleshoot I don't know that I would use it for day-in day-out production but certainly if you're having some friends over you can put them on their own ap and you don't have to give passwords out because let's face it you might know someone who would drive up in front of the house remember the SSID and the password or passphrase and be using your network while they're sitting out on the street so that's where it's an advantage you know while two point four and then with the limited range these radios two point four is not a bad thing five gigahertz will even be more confined because the higher you go in frequencies with wireless the shorter the range is comparable to 2.4 anyway that's a whole nother discussion so you know you've seen how this is to get it up and running very straightforward so let's something to to have in your bag of tricks now you're going to see videos to the right or to the left there are the next steps to other ones that you want to watch in this series or other content that I've produced in this video helps you or provides value please click on the like button thumbs up if you have an or subscribe to the channel please click on subscribe now and enable notifications we'll see you in the next video thank you
Info
Channel: TechBytes with Ron Nutter
Views: 10,362
Rating: undefined out of 5
Keywords: home automation, smart, smart home, how to, raspberry pi 4, raspberry pi, raspberry pi projects, raspberry pi 4 unboxing, raspberry pi 4 unboxing and setup, smart home raspberry pi, smart home raspberry pi 4, labists raspberry pi 4, labists raspberry pi 4 complete starter kit, raspap raspberry pi 4, raspap setup, raspap reviews, wifi raspberry pi 4, wifi raspberry pi, wifi setup raspberry pi 4, _raspap, _wifi, _rpi wifi, _rpi access point
Id: t4YlKX1nJds
Channel Id: undefined
Length: 21min 46sec (1306 seconds)
Published: Mon Mar 09 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.