<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSH setup Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/ssh-setup/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/ssh-setup/</link>
	<description></description>
	<lastBuildDate>Thu, 23 Oct 2025 10:32:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>SSH setup Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/ssh-setup/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>DIY Raspberry Pi Wi-Fi Repeater Part 5: Static Routes and Proof of Success</title>
		<link>https://www.NeuralLantern.com/diy-raspberry-pi-wi-fi-repeater-part-5-static-routes-and-proof-of-success/</link>
					<comments>https://www.NeuralLantern.com/diy-raspberry-pi-wi-fi-repeater-part-5-static-routes-and-proof-of-success/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Thu, 23 Oct 2025 10:32:40 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[DIY Networking]]></category>
		<category><![CDATA[DNS configuration]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[network extender]]></category>
		<category><![CDATA[network troubleshooting]]></category>
		<category><![CDATA[ping test]]></category>
		<category><![CDATA[Raspberry Pi projects]]></category>
		<category><![CDATA[SSH setup]]></category>
		<category><![CDATA[static routes]]></category>
		<category><![CDATA[tech tutorial]]></category>
		<category><![CDATA[Ubuntu VM]]></category>
		<category><![CDATA[Wi-Fi Access Point]]></category>
		<category><![CDATA[Wi-Fi repeater]]></category>
		<category><![CDATA[wireless networking]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=242</guid>

					<description><![CDATA[<p>Build a Raspberry Pi Wi-Fi repeater with this easy tutorial! Learn to set up an access point, test connectivity, and configure static routes to extend your network range.</p>
<p>The post <a href="https://www.NeuralLantern.com/diy-raspberry-pi-wi-fi-repeater-part-5-static-routes-and-proof-of-success/">DIY Raspberry Pi Wi-Fi Repeater Part 5: Static Routes and Proof of Success</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="DIY Raspberry Pi Wi-Fi Repeater Part 5: Static Routes and Proof of Success" width="1380" height="776" src="https://www.youtube.com/embed/EbonOb_Nqm0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">In this video, we finish transforming a Raspberry Pi into a powerful Wi-Fi repeater to extend your network&#8217;s range! Follow along as we set up the access point, test connectivity with a nested Ubuntu VM, configure static routes, and troubleshoot terminal issues. Perfect for tech enthusiasts looking to boost their home network or set up servers further away. From ping tests to SSH connections, we cover it all. Subscribe for more DIY tech tutorials, and check out our website for more guides! #RaspberryPi #WiFiRepeater #Networking</p>



<p class="wp-block-paragraph">Introduction and Setup Recap 00:00:00<br>Testing Access Point 00:00:14<br>Inner Ubuntu VM Boot 00:00:28<br>Virtual Machine Inception 00:01:12<br>Network Connectivity Test 00:01:49<br>Ping and Routing Success 00:02:12<br>IPv4 and Domain Testing 00:02:38<br>Font Size and Terminal Issues 00:03:02<br>Installing Terminator 00:03:24<br>Adding Static Route 00:04:47<br>Persistent Route Configuration 00:08:48<br>Network Settings Adjustment 00:11:02<br>Router Static Route Discussion 00:13:32<br>SSH Connection Test 00:14:46<br>Final Thoughts and Subscribe 00:16:20</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">All right, we&#8217;re back. So, uh, my goodness, this video is enormous. We have just finished up setting</p>



<p class="wp-block-paragraph">up the, uh, the forwarding and the wireless access point and DNS mask and all that stuff.</p>



<p class="wp-block-paragraph">Now we need to find out if the access point actually works. So the pie is sitting on my</p>



<p class="wp-block-paragraph">desk. It&#8217;s got the dongle plugged in and, um, I want to log into a machine that can connect,</p>



<p class="wp-block-paragraph">to do i have a nested virtual machine here that i made just for this video i&#8217;m calling it inner ubuntu</p>



<p class="wp-block-paragraph">so you should release your inner ubuntu</p>



<p class="wp-block-paragraph">i guess hopefully this even boots i only used it one time um let me get rid of like the</p>



<p class="wp-block-paragraph">the toolbar is it going to work my cpu is now burning out of control</p>



<p class="wp-block-paragraph">okay this is going to be super slow i&#8217;m just telling you right now</p>



<p class="wp-block-paragraph">this computer&#8217;s already pretty crappy and i have a hypervisor that i&#8217;m recording on</p>



<p class="wp-block-paragraph">and then inside that sorry i have a virtual machine that i&#8217;m recording on and then inside</p>



<p class="wp-block-paragraph">that virtual machine there&#8217;s another virtual machine that we&#8217;re launching it&#8217;s like</p>



<p class="wp-block-paragraph">it&#8217;s the virtual machine inception so let me see if i can log in here</p>



<p class="wp-block-paragraph">Let me see if I can log in here.</p>



<p class="wp-block-paragraph">Okay.</p>



<p class="wp-block-paragraph">Seems to have booted.</p>



<p class="wp-block-paragraph">Let me look at the details real fast.</p>



<p class="wp-block-paragraph">Oh my God.</p>



<p class="wp-block-paragraph">I don&#8217;t even know where I am anymore.</p>



<p class="wp-block-paragraph">There&#8217;s like three toolbars that I&#8217;m looking at.</p>



<p class="wp-block-paragraph">Three start menus.</p>



<p class="wp-block-paragraph">So network manager, now I&#8217;m back from another cut.</p>



<p class="wp-block-paragraph">For some reason I didn&#8217;t type the SSID incorrectly.</p>



<p class="wp-block-paragraph">Well, la de fricking da.</p>



<p class="wp-block-paragraph">So I&#8217;m just going to, I guess I typed it in wrong.</p>



<p class="wp-block-paragraph">Copy pasting it seems to work this time.</p>



<p class="wp-block-paragraph">Anyway, successfully activated.</p>



<p class="wp-block-paragraph">So if we do, so remember this inner VM, it doesn&#8217;t even have a network card.</p>



<p class="wp-block-paragraph">It only has the Wi-Fi dongle.</p>



<p class="wp-block-paragraph">I can do ping 8.8.8.8 to see if we&#8217;re online.</p>



<p class="wp-block-paragraph">We are actually online.</p>



<p class="wp-block-paragraph">The access point works.</p>



<p class="wp-block-paragraph">It&#8217;s routing.</p>



<p class="wp-block-paragraph">it&#8217;s routing um this should be able to ping my main router 1.1 yep and then 1.101 nice so basically</p>



<p class="wp-block-paragraph">at this point let me try like a domain name here google.com yeah okay google.com works let&#8217;s try</p>



<p class="wp-block-paragraph">ipv4 works ipv6 unreachable well we&#8217;re not on ipv6 i guess i forgot yeah we didn&#8217;t add ipv6 yet so</p>



<p class="wp-block-paragraph">for the regular you know the old school IPV works so at this point the clients</p>



<p class="wp-block-paragraph">connected to the PI access point can access the rest of the network and they</p>



<p class="wp-block-paragraph">can access the internet the next thing that we should probably think about</p>



<p class="wp-block-paragraph">doing is increasing the font size of the dang terminal but besides that I want to</p>



<p class="wp-block-paragraph">have the rest of the network be able to access clients behind the access point</p>



<p class="wp-block-paragraph">because you know for me I want to be able to set up servers that are a little</p>



<p class="wp-block-paragraph">to set up servers that are a little bit further away and you know boost their signal with an</p>



<p class="wp-block-paragraph">access point what&#8217;s going on here i hate this terminal you know what i don&#8217;t care i&#8217;m going</p>



<p class="wp-block-paragraph">to do it i&#8217;m going to install terminator because i know how to set up the fun size on that one</p>



<p class="wp-block-paragraph">anyway so the next thing pseudo app update update is what we have to do first</p>



<p class="wp-block-paragraph">the next thing i&#8217;m going to do is set up a route so that we can connect from land clients to clients</p>



<p class="wp-block-paragraph">So if you look here at the recording that we&#8217;re doing, at the main VM that we were in this entire time, we can&#8217;t actually ping stuff that&#8217;s on the.5.1 subnet.</p>



<p class="wp-block-paragraph">In fact, we don&#8217;t actually even know what the address is.</p>



<p class="wp-block-paragraph">So if you notice, I can ping 192.168.1.123, and that works because the pi.123 is on the same subnet as the rest of the network.</p>



<p class="wp-block-paragraph">subnet as the rest of the network. I can also ping 192.168.1.147</p>



<p class="wp-block-paragraph">because that is also part of the same subnet as the rest of the network.</p>



<p class="wp-block-paragraph">I can&#8217;t ping 192.168.5.1 because</p>



<p class="wp-block-paragraph">I guess I can, but for sure we&#8217;re not going to be able to ping the client that&#8217;s inside of the</p>



<p class="wp-block-paragraph">so I can just get out of this freaking tournament.</p>



<p class="wp-block-paragraph">And so you can,</p>



<p class="wp-block-paragraph">because I know this is kind of hard to read, right?</p>



<p class="wp-block-paragraph">I don&#8217;t like that I&#8217;m showing you</p>



<p class="wp-block-paragraph">like a super small front screen.</p>



<p class="wp-block-paragraph">If you can&#8217;t read,</p>



<p class="wp-block-paragraph">maybe I should just tell you what we did real fast.</p>



<p class="wp-block-paragraph">I mean, you saw the commands to connect before</p>



<p class="wp-block-paragraph">on the outer VM,</p>



<p class="wp-block-paragraph">but I&#8217;ll just remind you,</p>



<p class="wp-block-paragraph">you sudo network manager CLI we wouldn&#8217;t do connection add we would actually say device</p>



<p class="wp-block-paragraph">Wi-Fi connect and then we would name the SSID you know the SSID&#8217;s name and then we would say</p>



<p class="wp-block-paragraph">the password and we would do like you know some kind of password here and then we don&#8217;t have to</p>



<p class="wp-block-paragraph">specify the interface name on the nested VM because there was only one network device at all</p>



<p class="wp-block-paragraph">So now I can get out of this awful terminal emulator and just go into Terminator.</p>



<p class="wp-block-paragraph">Pin to the dash.</p>



<p class="wp-block-paragraph">Unpin to the dash.</p>



<p class="wp-block-paragraph">And then I can send a bigger font size.</p>



<p class="wp-block-paragraph">References.</p>



<p class="wp-block-paragraph">Profiles.</p>



<p class="wp-block-paragraph">I&#8217;ll just make like a really big font size for the rest of this video.</p>



<p class="wp-block-paragraph">Oh.</p>



<p class="wp-block-paragraph">where&#8217;s a boon 2 mono</p>



<p class="wp-block-paragraph">reminder later open to sans mono regular that&#8217;s an okay terminal font not the best but okay so</p>



<p class="wp-block-paragraph">now you can see it&#8217;s like a little bit better so what are we doing uh we just proved that this</p>



<p class="wp-block-paragraph">inner vm can see the internet and it can see the lan but this uh machine can&#8217;t really see</p>



<p class="wp-block-paragraph">can&#8217;t really see items on the inside. Let me show you what I&#8217;m worried about right now.</p>



<p class="wp-block-paragraph">If we say IP address and show one of our wireless LANs, oh it&#8217;s got this huge name, it&#8217;s not WLAN0</p>



<p class="wp-block-paragraph">like on Raspberry. So this is the wireless adapter that we plugged into the inner VM.</p>



<p class="wp-block-paragraph">It&#8217;s got this IP address that has been given to it automatically from DNS mask.</p>



<p class="wp-block-paragraph">so that uh or sorry a dhcp server so it&#8217;s a something.74 that means now we know what address</p>



<p class="wp-block-paragraph">it is using so we&#8217;ll know what address should probably fail let me just double check this real</p>



<p class="wp-block-paragraph">fast 5.74 not 1.74 yeah so it&#8217;s on the other subnet so we&#8217;ll ping 5.74 why is it working</p>



<p class="wp-block-paragraph">i i pushed a bunch of routes the other day</p>



<p class="wp-block-paragraph">day. I guess they&#8217;re just still in there. Okay. This was the whole surprise. Let me just get rid</p>



<p class="wp-block-paragraph">of this. Sorry. Uh, sudo IP route delete and then just delete that whole entire thing.</p>



<p class="wp-block-paragraph">I put a route into my actual router. I thought it wasn&#8217;t working though. Maybe it&#8217;s actually</p>



<p class="wp-block-paragraph">Anyway, we&#8217;ll talk about that.</p>



<p class="wp-block-paragraph">So now if we just kind of look at IP routes, now these are like normal routes.</p>



<p class="wp-block-paragraph">This 123 that&#8217;s like for the VM stuff, so it&#8217;s fine.</p>



<p class="wp-block-paragraph">Anyway, if you go back to the ping area, if I hit enter a bunch of times to diagnose the</p>



<p class="wp-block-paragraph">network, notice how the pings are still showing up for the normal subnet 1.something, but</p>



<p class="wp-block-paragraph">they&#8217;re now no longer showing up for 5.something.</p>



<p class="wp-block-paragraph">So that&#8217;s what was going on before.</p>



<p class="wp-block-paragraph">I already had the good routes in there.</p>



<p class="wp-block-paragraph">So now the question is, I mean, if you don&#8217;t want to be able to have your normal land machines reach clients behind the access point, then you can just be done with this whole video.</p>



<p class="wp-block-paragraph">But if you want to be able to reach them, maybe they&#8217;re going to be servers.</p>



<p class="wp-block-paragraph">Maybe you just want to like SSH into them or like access something, you know, access them in some way.</p>



<p class="wp-block-paragraph">Then you need to be able to reach your machines, right?</p>



<p class="wp-block-paragraph">So how can we do that?</p>



<p class="wp-block-paragraph">Well, the first thing that you can do is add a static route.</p>



<p class="wp-block-paragraph">route so you know what is a route this is not a video about routes it&#8217;s basically just a way to</p>



<p class="wp-block-paragraph">say how do you get to that subnet you get there by making your next hop to this particular ip address</p>



<p class="wp-block-paragraph">so if i go sudo uh ip route add this is linux you can do the same thing uh basically in like your</p>



<p class="wp-block-paragraph">router and windows and stuff like that leave a comment if you would like me to make a video for</p>



<p class="wp-block-paragraph">you know any other topic explaining further if i get enough votes i&#8217;ll probably just do it</p>



<p class="wp-block-paragraph">votes i&#8217;ll probably just do it so we&#8217;re saying we&#8217;re going to add a route that will go to this</p>



<p class="wp-block-paragraph">new subnet and the way that we get to this new subnet is via this ip address which is on the</p>



<p class="wp-block-paragraph">current subnet notice how this is dot 1.47 147 was the uh the wireless adapter of the pi</p>



<p class="wp-block-paragraph">the primary wireless adapter the the internal radio so it&#8217;s basically saying if you want to get</p>



<p class="wp-block-paragraph">to subnet 5.something then you got to first bounce onto the wireless radio of the pi and we know how</p>



<p class="wp-block-paragraph">of the pi and we know how to get to that because that&#8217;s on our normal subnet you don&#8217;t have to do a</p>



<p class="wp-block-paragraph">proto static metric and all that stuff that&#8217;ll be filled in later but uh you can specify a device</p>



<p class="wp-block-paragraph">to hop onto so for this particular machine it&#8217;s just basically got ethernet so we can specify</p>



<p class="wp-block-paragraph">you need to hop out on the ethernet adapter versus like some other adapters that you might have but</p>



<p class="wp-block-paragraph">I just say to get to that other subnet we&#8217;ll just hop on to the pie so now that I added that</p>



<p class="wp-block-paragraph">notice how right away the other pings start coming back so that&#8217;s all we really need to do is just</p>



<p class="wp-block-paragraph">add that route how do you make that permanent though because this is not going to last after</p>



<p class="wp-block-paragraph">we reboot this virtual machine so let me delete the route real fast whoa what happened no such</p>



<p class="wp-block-paragraph">let me just double check here</p>



<p class="wp-block-paragraph">maybe I can like oh because that extra stuff at the end is not in the route</p>



<p class="wp-block-paragraph">that I just added so I&#8217;m deleting the route notice how these pings suddenly</p>



<p class="wp-block-paragraph">stop how can I make this persistent well you can go into the settings of your</p>



<p class="wp-block-paragraph">connection and just specify some routes in there so notice how I&#8217;m in a program</p>



<p class="wp-block-paragraph">called XFCE I&#8217;m basically going into the network settings and I&#8217;m saying edit</p>



<p class="wp-block-paragraph">connections if you&#8217;re on a different version of Linux or a different network</p>



<p class="wp-block-paragraph">manager or like Windows or whatever you can just go into the network settings</p>



<p class="wp-block-paragraph">the wireless settings the Ethernet settings and edit the settings and if</p>



<p class="wp-block-paragraph">you poke around long enough and look at all the different tabs and things that</p>



<p class="wp-block-paragraph">are offered you&#8217;ll eventually find a place that lets you specify routes notice</p>



<p class="wp-block-paragraph">on automatic but it&#8217;s got a button called routes so if i click on the routes button oh that&#8217;s why</p>



<p class="wp-block-paragraph">it was in there i left it in the actual dialogue so um yeah this is all you need to do you click</p>



<p class="wp-block-paragraph">the add button and it says what address do you want to uh be able to get to and uh you just type</p>



<p class="wp-block-paragraph">an address yeah i could have typed dot five dot zero but i chose to type dot five dot one just to</p>



<p class="wp-block-paragraph">remind myself uh and then the net mask uh usually we&#8217;ve been seeing a slash 24 block but that&#8217;s the</p>



<p class="wp-block-paragraph">block but that&#8217;s the same thing as this 255.255.255.0 it&#8217;s kind of the same meaning they&#8217;re just</p>



<p class="wp-block-paragraph">in different formats i think the format on top is called cidr and i can&#8217;t even remember what the one</p>



<p class="wp-block-paragraph">on the bottom is called i think it&#8217;s like just a regular subnet mask or something um so you say</p>



<p class="wp-block-paragraph">in order to get to that machine the gateway um with this uh mask meaning let&#8217;s just get to any</p>



<p class="wp-block-paragraph">any machine on that particular subnet,</p>



<p class="wp-block-paragraph">then this is your next hop.</p>



<p class="wp-block-paragraph">The gateway is the PI&#8217;s Wi-Fi adapter</p>



<p class="wp-block-paragraph">that we assigned earlier.</p>



<p class="wp-block-paragraph">So when I hit okay,</p>



<p class="wp-block-paragraph">I should be able to just like disconnect and reconnect</p>



<p class="wp-block-paragraph">and it should just work.</p>



<p class="wp-block-paragraph">So again, it&#8217;s already working right now,</p>



<p class="wp-block-paragraph">but the reason it&#8217;s always working</p>



<p class="wp-block-paragraph">is because I had that in there.</p>



<p class="wp-block-paragraph">So let me just disconnect one more time.</p>



<p class="wp-block-paragraph">Notice how all the PI&#8217;s, sorry, all the pings stop.</p>



<p class="wp-block-paragraph">stop. What&#8217;s going on here? Terminal is frozen. All right. That&#8217;s weird. Why isn&#8217;t it letting</p>



<p class="wp-block-paragraph">me get enter? I don&#8217;t like it. So then if we just go back to the wired connection, suddenly</p>



<p class="wp-block-paragraph">everything works all over again. That terminal is just frozen, dude. Okay. Let me just check</p>



<p class="wp-block-paragraph">my notes real fast. Is there anything else that I needed to talk to you about? Yeah.</p>



<p class="wp-block-paragraph">Well, I guess one thing I should mention, this is not a video about</p>



<p class="wp-block-paragraph">administering your actual router, like your primary router. It&#8217;s kind of a pain in the butt</p>



<p class="wp-block-paragraph">to add a static route to every machine that you want to be able to access a client, you know,</p>



<p class="wp-block-paragraph">on your access point on your new Pi repeater. For me, that&#8217;s only like three or four machines. So I</p>



<p class="wp-block-paragraph">just entered it, it&#8217;s fine. But if you want every single machine on your LAN to</p>



<p class="wp-block-paragraph">on your LAN to always know how to get to clients</p>



<p class="wp-block-paragraph">behind the access point,</p>



<p class="wp-block-paragraph">you have to have your router push a static route.</p>



<p class="wp-block-paragraph">There&#8217;s a way to do that actually with your DHCP server.</p>



<p class="wp-block-paragraph">Some routers have like a nifty interface</p>



<p class="wp-block-paragraph">that is just called static routes</p>



<p class="wp-block-paragraph">and you can just start entering them in there.</p>



<p class="wp-block-paragraph">Some of the routers, you know,</p>



<p class="wp-block-paragraph">they want you to edit the DHCP server and type like a number</p>



<p class="wp-block-paragraph">and then like do all these weird conversions</p>



<p class="wp-block-paragraph">to get like a hexadecimal string.</p>



<p class="wp-block-paragraph">decimal string. I&#8217;m not going to go over that in this video. Just know that you can manually add</p>



<p class="wp-block-paragraph">static routes here, or perhaps in the future, add static routes at the router level, which will help</p>



<p class="wp-block-paragraph">all clients. But that&#8217;s how you connect. That&#8217;s how you do it. Just to prove the point here.</p>



<p class="wp-block-paragraph">What was the IP address of the client? Right. So like this, yeah, that inner VM, I think it&#8217;s on</p>



<p class="wp-block-paragraph">74 at the very end so I&#8217;m on regular LAN right now even though this is a VM it&#8217;s actually hooked</p>



<p class="wp-block-paragraph">up to my regular LAN at least like for the moment I should be able to access it via SSH it&#8217;ll say</p>



<p class="wp-block-paragraph">connection refused if I wasn&#8217;t able to access that subnet um it would just</p>



<p class="wp-block-paragraph">time out or say unreachable or something but it should say connection refused if the SSH server</p>



<p class="wp-block-paragraph">it might actually try to connect.</p>



<p class="wp-block-paragraph">Let&#8217;s see what happens.</p>



<p class="wp-block-paragraph">Connection refused.</p>



<p class="wp-block-paragraph">That means I did make it to the inner VM,</p>



<p class="wp-block-paragraph">but the SSH server is not on.</p>



<p class="wp-block-paragraph">So let me just prove this to you a little bit more.</p>



<p class="wp-block-paragraph">Pseudo apt install, open SSH server.</p>



<p class="wp-block-paragraph">So when this finishes,</p>



<p class="wp-block-paragraph">we should be able to connect over SSH</p>



<p class="wp-block-paragraph">basically finished our wireless repeater only got like three minutes left until the camera cuts me</p>



<p class="wp-block-paragraph">off again hope you uh learn some stuff let me just try to connect real fast yep see how it&#8217;s asking</p>



<p class="wp-block-paragraph">me now do you recognize this machine so it actually worked so after all of these hours of</p>



<p class="wp-block-paragraph">watching me just ramble on nonsensically i hope you&#8217;ve learned a little bit of stuff and i&#8217;ve</p>



<p class="wp-block-paragraph">now enjoy your new Raspberry Pi Wi Fi repeater. I know I&#8217;m</p>



<p class="wp-block-paragraph">enjoying mine already. I&#8217;ll see you in the next video. Don&#8217;t</p>



<p class="wp-block-paragraph">forget to tell your friends and subscribe and do all that fun</p>



<p class="wp-block-paragraph">stuff. Have a great day you deserve a long hard rest for</p>



<p class="wp-block-paragraph">rest for watching all this video footage. Okay, I know for me,</p>



<p class="wp-block-paragraph">I&#8217;m so tired and sweaty right now. People at the gym when I go</p>



<p class="wp-block-paragraph">later are probably going to be like what&#8217;s going on with this</p>



<p class="wp-block-paragraph">dude unless I take a shower before the gym, which doesn&#8217;t even</p>



<p class="wp-block-paragraph">even make sense, but I might do it. So anyway, I&#8217;ll see you in the next video. Thank you so much for</p>



<p class="wp-block-paragraph">watching. Hey everybody. Thanks for watching this video again from the bottom of my heart. I really</p>



<p class="wp-block-paragraph">appreciate it. I do hope you did learn something and have some fun. If you could do me a please,</p>



<p class="wp-block-paragraph">a small little favor, could you please subscribe and follow this channel or these videos or whatever</p>



<p class="wp-block-paragraph">social media website that you&#8217;re looking at right now.</p>



<p class="wp-block-paragraph">It would really mean the world to me</p>



<p class="wp-block-paragraph">and it&#8217;ll help make more videos</p>



<p class="wp-block-paragraph">and grow this community.</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos,</p>



<p class="wp-block-paragraph">longer videos, better videos,</p>



<p class="wp-block-paragraph">or just I&#8217;ll be able to keep making videos in general.</p>



<p class="wp-block-paragraph">So please do me a kindness and subscribe.</p>



<p class="wp-block-paragraph">You know, sometimes I&#8217;m sleeping in the middle of the night</p>



<p class="wp-block-paragraph">and I just wake up</p>



<p class="wp-block-paragraph">because I know somebody subscribed or followed.</p>



<p class="wp-block-paragraph">It just wakes me up and I get filled with joy.</p>



<p class="wp-block-paragraph">That&#8217;s exactly what happens every single time.</p>



<p class="wp-block-paragraph">So you could do it as a nice favor to me</p>



<p class="wp-block-paragraph">as a nice favor to me or you could you control me if you want to just wake me up in the middle</p>



<p class="wp-block-paragraph">of the night just subscribe and then i&#8217;ll i&#8217;ll just wake up i promise that&#8217;s what will happen</p>



<p class="wp-block-paragraph">also uh if you look at the middle of the screen right now you should see a qr code which you can</p>



<p class="wp-block-paragraph">scan in order to go to the website which i think is also named somewhere at the bottom of this video</p>



<p class="wp-block-paragraph">and it&#8217;ll take you to my main website where you can just kind of like see all the videos i published</p>



<p class="wp-block-paragraph">and the services and tutorials and things that i offer and all that good stuff and uh</p>



<p class="wp-block-paragraph">if you have a suggestion for uh uh clarifications or errata or just future videos that you want to</p>



<p class="wp-block-paragraph">see please leave a comment or if you just want to say hey what&#8217;s up what&#8217;s going on you know just</p>



<p class="wp-block-paragraph">send me a comment whatever i also wake up for those in the middle of the night i get i wake up</p>



<p class="wp-block-paragraph">in a cold sweat and i&#8217;m like it would really it really mean the world to me i would really</p>



<p class="wp-block-paragraph">appreciate it so again thank you so much for watching this video and um enjoy the cool music</p>



<p class="wp-block-paragraph">cool music as I fade into the darkness which is coming for us all.</p>



<p class="wp-block-paragraph">Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/diy-raspberry-pi-wi-fi-repeater-part-5-static-routes-and-proof-of-success/">DIY Raspberry Pi Wi-Fi Repeater Part 5: Static Routes and Proof of Success</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/diy-raspberry-pi-wi-fi-repeater-part-5-static-routes-and-proof-of-success/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Raspberry Pi Headless Setup: Boot Without a Monitor in Minutes!</title>
		<link>https://www.NeuralLantern.com/raspberry-pi-headless-setup-boot-without-a-monitor-in-minutes/</link>
					<comments>https://www.NeuralLantern.com/raspberry-pi-headless-setup-boot-without-a-monitor-in-minutes/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Tue, 12 Aug 2025 02:48:14 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[beginner tech]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[DIY electronics]]></category>
		<category><![CDATA[headless setup]]></category>
		<category><![CDATA[Linux tutorial]]></category>
		<category><![CDATA[Pi server]]></category>
		<category><![CDATA[Raspberry Pi 4]]></category>
		<category><![CDATA[Raspberry Pi 5]]></category>
		<category><![CDATA[Raspberry Pi OS]]></category>
		<category><![CDATA[Raspberry Pi projects]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[SD card flashing]]></category>
		<category><![CDATA[SSH setup]]></category>
		<category><![CDATA[static IP]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=202</guid>

					<description><![CDATA[<p>Learn how to set up a Raspberry Pi headless without a monitor. This step-by-step guide covers OS installation, SSH setup, and remote access in minutes.</p>
<p>The post <a href="https://www.NeuralLantern.com/raspberry-pi-headless-setup-boot-without-a-monitor-in-minutes/">Raspberry Pi Headless Setup: Boot Without a Monitor in Minutes!</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Raspberry Pi Headless Setup: Boot Without a Monitor in Minutes!" width="1380" height="776" src="https://www.youtube.com/embed/GkQ0DaMIIng?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">Want to set up a Raspberry Pi without plugging in a monitor? This headless setup guide is for you! Follow along as we download the Raspberry Pi OS, flash it to an SD card, enable SSH, set a static IP, and connect remotely—all in minutes. Ideal for servers, experiments, or anyone who hates extra cables. No desktop needed, just a Pi, SD card, and Ethernet. Check out my other videos for SSH key setup and Linux tips. Subscribe and join the community for more Raspberry Pi projects!</p>



<h1 class="wp-block-heading">RaspberryPi #HeadlessSetup #PiProjects #TechTutorials #Linux #SSH #DIYTech #RaspberryPiOS #RemoteAccess #TechForBeginners #PiServer #Electronics #MakerCommunity #RaspberryPi4 #RaspberryPi5</h1>



<p class="wp-block-paragraph">Introduction to Headless Setup 00:00:00<br>Why Headless Setup 00:00:06<br>Equipment Needed 00:00:28<br>Downloading Raspberry Pi OS 00:01:24<br>Choosing the OS Version 00:02:05<br>Unzipping the Image File 00:03:52<br>Writing Image to SD Card 00:04:12<br>Handling Auto-Mount Issues 00:05:02<br>Checking Disks with Parted 00:05:36<br>Unmounting SD Card 00:06:49<br>Using DD Command 00:08:02<br>Enabling SSH on Boot 00:12:07<br>Setting Static IP Address 00:12:33<br>Configuring SSH Keys 00:14:54<br>Setting File Permissions 00:16:36<br>Unmounting and Final Setup 00:18:55<br>Connecting to Pi via SSH 00:20:04<br>Verifying Connection 00:21:23<br>Conclusion and Next Steps 00:22:04<br>Call to Subscribe 00:22:52</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">Hey there! Let&#8217;s talk about how to install your Raspberry Pi from scratch and get to first boot</p>



<p class="wp-block-paragraph">and first login without actually having to plug in a monitor at all. This is a pure headless</p>



<p class="wp-block-paragraph">setup because for me personally, I hate walking over to like a TV or a monitor or something</p>



<p class="wp-block-paragraph">and plugging the Pi in or getting my portable monitor out. It&#8217;s just a pain in the butt.</p>



<p class="wp-block-paragraph">card, get it all installed, and then connect to it and configure it right away. Of course this video</p>



<p class="wp-block-paragraph">assumes that you&#8217;re not going to use your Pi with a desktop or a monitor at all because if you are</p>



<p class="wp-block-paragraph">you might as well just start doing that. But for me you know a lot of my Pi&#8217;s are just headless</p>



<p class="wp-block-paragraph">they&#8217;re servers or they&#8217;re fun experiments or whatever. So the first thing that we should do</p>



<p class="wp-block-paragraph">obviously you need an SD card and you need an SD card reader so if you&#8217;re on this video you</p>



<p class="wp-block-paragraph">card and an SD card reader. This is like a super old reader where you can stick a card in there.</p>



<p class="wp-block-paragraph">I got a slightly newer one plugged into the computer right now and if you bought an SD card</p>



<p class="wp-block-paragraph">or a micro SD card with the Pi you probably had a little adapter that came with it, a regular SD</p>



<p class="wp-block-paragraph">card adapter. So you can stick the tiny little card into the adapter but if you&#8217;re lucky and</p>



<p class="wp-block-paragraph">your card reader has a slot for micro SD you probably just need that. So the first thing that</p>



<p class="wp-block-paragraph">is go over to raspberrypi.com their foundation has a common org i think org is more for the</p>



<p class="wp-block-paragraph">community but go to raspberrypi.com and then click on software and download the raspberry</p>



<p class="wp-block-paragraph">pi operating system so i&#8217;m going to do this the manual way i&#8217;m just going to write an image if</p>



<p class="wp-block-paragraph">you want to do this with an imager or if you have like something else that you already know how to</p>



<p class="wp-block-paragraph">do that&#8217;s totally fine go ahead and do it i really just want you to put the operating system onto</p>



<p class="wp-block-paragraph">because I&#8217;ll be posting about how to do this with Windows and other stuff.</p>



<p class="wp-block-paragraph">I guess you don&#8217;t need that if you&#8217;re going to use the imager,</p>



<p class="wp-block-paragraph">but it&#8217;s more fun to do it manually.</p>



<p class="wp-block-paragraph">All right, so notice how it says manually install an operating system.</p>



<p class="wp-block-paragraph">I&#8217;m going to click on the download options.</p>



<p class="wp-block-paragraph">Select the operating system so modern Pis can use the 64-bit OS.</p>



<p class="wp-block-paragraph">That&#8217;s what I&#8217;m going to do.</p>



<p class="wp-block-paragraph">If you have, I think, like a Pi 1 or 2,</p>



<p class="wp-block-paragraph">you might be stuck using the legacy, like the 32-bit.</p>



<p class="wp-block-paragraph">like the 32-bit what&#8217;s the difference between those two 32-bit oh don&#8217;t do legacy I think that&#8217;s</p>



<p class="wp-block-paragraph">like really old I don&#8217;t know maybe it depends on how old your Pi is but just hover the mouse and</p>



<p class="wp-block-paragraph">notice how one of them says 32-bit that&#8217;s what you would use if you&#8217;re if your board is not 32 but</p>



<p class="wp-block-paragraph">as far as I understand I mean definitely the Pi 4 and the Pi 5 for me they worked with 64 bits</p>



<p class="wp-block-paragraph">I think my Pi 3 worked with 64 bits although I&#8217;m not 100 sure everything was okay after install</p>



<p class="wp-block-paragraph">was okay after install so just basically click on that then it&#8217;ll ask you all right what what</p>



<p class="wp-block-paragraph">version of the 64-bit do you want to download uh if you&#8217;re going to be installing a desktop you</p>



<p class="wp-block-paragraph">don&#8217;t really need this video so i&#8217;m just going to assume you don&#8217;t need a desktop you want this to</p>



<p class="wp-block-paragraph">be totally headless so that means the desktop is too much it&#8217;s too much to download it&#8217;s kind of a</p>



<p class="wp-block-paragraph">waste same thing for desktop with recommended software instead i&#8217;m going to click on the light</p>



<p class="wp-block-paragraph">version because that&#8217;s the fastest to download and it&#8217;s all we need so i&#8217;m going to click on that and</p>



<p class="wp-block-paragraph">So I&#8217;m gonna click on that and it&#8217;ll download.</p>



<p class="wp-block-paragraph">And you could probably pause the video right now</p>



<p class="wp-block-paragraph">because I already downloaded this.</p>



<p class="wp-block-paragraph">So pause the video and then wait for your download to finish</p>



<p class="wp-block-paragraph">and then come back with me.</p>



<p class="wp-block-paragraph">This is where I chose to save my image file.</p>



<p class="wp-block-paragraph">You probably actually don&#8217;t have a.image file.</p>



<p class="wp-block-paragraph">You probably have an image that ends in the XZ extension.</p>



<p class="wp-block-paragraph">If we look at the website again,</p>



<p class="wp-block-paragraph">at least as of the time I made this video,</p>



<p class="wp-block-paragraph">at the very bottom of that says.xz at the end.</p>



<p class="wp-block-paragraph">That just means it&#8217;s a zipped image</p>



<p class="wp-block-paragraph">so that it&#8217;s faster to download.</p>



<p class="wp-block-paragraph">So in order to unzip that and make it a regular image,</p>



<p class="wp-block-paragraph">you basically say unxz and then type the name of the file.</p>



<p class="wp-block-paragraph">Actually, it would probably end in xz if you had it.</p>



<p class="wp-block-paragraph">So you just kind of wait a little while for that to unzip</p>



<p class="wp-block-paragraph">and then when you&#8217;re done,</p>



<p class="wp-block-paragraph">it&#8217;ll show the image file like I have.</p>



<p class="wp-block-paragraph">Okay, anyway, so now that we&#8217;ve downloaded the image file,</p>



<p class="wp-block-paragraph">file the next thing we need to do is actually write to the SD card so I&#8217;m</p>



<p class="wp-block-paragraph">going to take the SD card right now and stick it into the card reader.</p>



<p class="wp-block-paragraph">Oh um this is going to be awkward.</p>



<p class="wp-block-paragraph">Awkward!</p>



<p class="wp-block-paragraph">My giant fingers aren&#8217;t working.</p>



<p class="wp-block-paragraph">Oh I almost did it. I almost got it.</p>



<p class="wp-block-paragraph">Oh man, welcome to my life.</p>



<p class="wp-block-paragraph">Bro, I need a flashlight or something.</p>



<p class="wp-block-paragraph">Oh my god, finally, finally, finally.</p>



<p class="wp-block-paragraph">Okay, I am kind of in a dark room and it&#8217;s like upside down and my hands are big and</p>



<p class="wp-block-paragraph">it&#8217;s like way over there.</p>



<p class="wp-block-paragraph">It&#8217;s already plugged in.</p>



<p class="wp-block-paragraph">already plugged in. I didn&#8217;t want to unplug the card reader because sometimes they don&#8217;t show up</p>



<p class="wp-block-paragraph">again if you plug them back in and you have to like reset the USB root hub. I really didn&#8217;t want</p>



<p class="wp-block-paragraph">to do that. So let&#8217;s see. The first thing that you probably should have done actually before</p>



<p class="wp-block-paragraph">plugging in the SD card, so maybe unplug your SD card real fast just to check, is just take note</p>



<p class="wp-block-paragraph">of what&#8217;s already plugged into your computer. I already know so it&#8217;s fine for me, but for you,</p>



<p class="wp-block-paragraph">program called parted which is short for partition editor it&#8217;ll just show you what</p>



<p class="wp-block-paragraph">disks and partitions and stuff you have in your system so i&#8217;m going to run it if you don&#8217;t have</p>



<p class="wp-block-paragraph">it it&#8217;s probably for you sudo apt install parted i&#8217;m going to do print uh devices and</p>



<p class="wp-block-paragraph">oh okay i&#8217;m on a host machine right now i got to send that usb into the guest so i guess it</p>



<p class="wp-block-paragraph">all worked out notice how it&#8217;s telling me this is the only disk that&#8217;s present it&#8217;s like my</p>



<p class="wp-block-paragraph">machine disk so then i&#8217;m going to tell my host machine to give that card reader to the guest</p>



<p class="wp-block-paragraph">machine usb host device card reader finish hopefully the video didn&#8217;t skip or do anything</p>



<p class="wp-block-paragraph">weird and then if i do print devices again now another thing showed up and uh i&#8217;m able to access</p>



<p class="wp-block-paragraph">it i know for sure this is dev sd god damn it i know this is dev sdb because that&#8217;s what just</p>



<p class="wp-block-paragraph">just showed up so remember that that&#8217;s very important you don&#8217;t want to get that wrong</p>



<p class="wp-block-paragraph">and notice these annoying pop-ups that happen that&#8217;s because there was already a file system</p>



<p class="wp-block-paragraph">on the card because you know i play around with these things and it&#8217;s not erased right now so</p>



<p class="wp-block-paragraph">that&#8217;s okay you can just close these little pop-ups if you&#8217;re if you&#8217;re linux auto mounts</p>



<p class="wp-block-paragraph">or anything like that but you have to unmount before you start writing to the card because if</p>



<p class="wp-block-paragraph">you write to a card or a drive or anything that&#8217;s already mounted somewhere like then you&#8217;re probably</p>



<p class="wp-block-paragraph">your data. So I&#8217;m going to do mount just to check what the mounts are and I&#8217;m going to search for</p>



<p class="wp-block-paragraph">SDB since I know that&#8217;s the device that just showed up. So it&#8217;s telling me that it&#8217;s mounted</p>



<p class="wp-block-paragraph">on those two folders which we recognize at this point because we just saw them pop up. So I&#8217;m</p>



<p class="wp-block-paragraph">just going to unmount them real fast to make sure that I don&#8217;t screw anything up.</p>



<p class="wp-block-paragraph">Okay all right and then one more time mount pattern matching with grep against SDB. Now</p>



<p class="wp-block-paragraph">grip against sdb now they&#8217;re gone so it&#8217;s probably safe to write to the sd card now</p>



<p class="wp-block-paragraph">so um the first thing that i&#8217;ll do is i&#8217;ll say sudo actually let me just list real fast the</p>



<p class="wp-block-paragraph">image okay so we&#8217;re gonna write the image to the sd card using that card reader and</p>



<p class="wp-block-paragraph">i should probably also point out that if you don&#8217;t understand what i&#8217;m doing on the command line</p>



<p class="wp-block-paragraph">you could just follow along but i have other videos that are you know fairly decent tutorials</p>



<p class="wp-block-paragraph">command line and connecting to machines over the remote and making ssh keys and stuff like that so</p>



<p class="wp-block-paragraph">i&#8217;m going to go ahead and use a command called dd which writes directly to some drive or block</p>



<p class="wp-block-paragraph">device it&#8217;s very very dangerous so be careful you could destroy your whole computer this way</p>



<p class="wp-block-paragraph">i actually did this once a long time ago i didn&#8217;t check what the output specification was</p>



<p class="wp-block-paragraph">and i watched my computer totally erase itself and a little tear went down on my cheek so we&#8217;ll</p>



<p class="wp-block-paragraph">on my cheek. So we&#8217;ll specify the in file, if equals, and that&#8217;s pretty easy. I just have to</p>



<p class="wp-block-paragraph">specify the image I just downloaded. Make sure you unzip yours before you do this. Then the out</p>



<p class="wp-block-paragraph">file is going to be the block device that just showed up. devsdb. If you see other tutorials on</p>



<p class="wp-block-paragraph">the internet with like, you know, sdb1 and 2, those numbers after the sdb or the block device,</p>



<p class="wp-block-paragraph">those usually are just partitions. So you want to write the whole entire card, or sorry, the whole</p>



<p class="wp-block-paragraph">the whole entire image to the whole entire card you don&#8217;t want to specify a partition</p>



<p class="wp-block-paragraph">i&#8217;m also going to specify conv equals fsync for me it&#8217;s a little bit safer i don&#8217;t know if this</p>



<p class="wp-block-paragraph">is needed on sd cards but for usb thumb drives they&#8217;ll sometimes lie to you and say that data</p>



<p class="wp-block-paragraph">has been written even though it has not in order to appear faster than they really are so if you</p>



<p class="wp-block-paragraph">do conv fsync it makes that safe again because you don&#8217;t want to you don&#8217;t want the command to</p>



<p class="wp-block-paragraph">you unplug the device and then whoops you have corrupted data now because it didn&#8217;t finish</p>



<p class="wp-block-paragraph">and then i&#8217;m going to do status equals progress just so i can see what&#8217;s happening</p>



<p class="wp-block-paragraph">okay so uh at this point now we&#8217;re just waiting i&#8217;m going to watch the progress for myself very</p>



<p class="wp-block-paragraph">carefully and then i&#8217;m going to uh i guess i&#8217;m going to pause the video and i&#8217;ll come back when</p>



<p class="wp-block-paragraph">So you should just probably pause the video right now and then when your card is finished</p>



<p class="wp-block-paragraph">writing then come back and resume with me.</p>



<p class="wp-block-paragraph">We&#8217;ll do an initial IP address and we&#8217;ll connect to it.</p>



<p class="wp-block-paragraph">We&#8217;ll set up the SD card and all that stuff without ever plugging in a monitor.</p>



<p class="wp-block-paragraph">Totally headless.</p>



<p class="wp-block-paragraph">It&#8217;s pretty sweet.</p>



<p class="wp-block-paragraph">Okay, I&#8217;m going to pause.</p>



<p class="wp-block-paragraph">Okay, I&#8217;m back.</p>



<p class="wp-block-paragraph">So I had an issue that I want to share with you real fast.</p>



<p class="wp-block-paragraph">the auto mounting service just came up and produced a folder and I get I got kind of scared and then</p>



<p class="wp-block-paragraph">when I went to go into the files I started getting read write errors so I think I actually corrupted</p>



<p class="wp-block-paragraph">my card I ended up disabling the service that auto mounts and then writing the card again from</p>



<p class="wp-block-paragraph">scratch so just for you the command that you would probably need if you have the auto mounting</p>



<p class="wp-block-paragraph">stop udisk2.service.</p>



<p class="wp-block-paragraph">You don&#8217;t want to disable it</p>



<p class="wp-block-paragraph">because you probably want it running</p>



<p class="wp-block-paragraph">after you&#8217;re done doing all your installs,</p>



<p class="wp-block-paragraph">but you want to do stop so that it stops right now</p>



<p class="wp-block-paragraph">and then start the SD card writing</p>



<p class="wp-block-paragraph">all over again from scratch.</p>



<p class="wp-block-paragraph">So with that in mind, let&#8217;s see.</p>



<p class="wp-block-paragraph">Hopefully this is going to show up now.</p>



<p class="wp-block-paragraph">Pseudo parted.</p>



<p class="wp-block-paragraph">And then I&#8217;ll do print devices again to see what&#8217;s up.</p>



<p class="wp-block-paragraph">Okay, so it&#8217;s in there.</p>



<p class="wp-block-paragraph">Now let&#8217;s see if we have read write errors</p>



<p class="wp-block-paragraph">let&#8217;s see if we have read write errors or if it&#8217;s actually going to work this time.</p>



<p class="wp-block-paragraph">So I turned off the auto mounting service, which means I have to mount it from scratch probably.</p>



<p class="wp-block-paragraph">So let&#8217;s just double check to make sure it didn&#8217;t actually mount media mic. Okay. So nothing&#8217;s in</p>



<p class="wp-block-paragraph">there. So that&#8217;s good. So now I am going to go into the temp folder and then the pie folder</p>



<p class="wp-block-paragraph">and then the boot folder and the root are just going to be mounted. So I&#8217;m going to say sudo</p>



<p class="wp-block-paragraph">is that what I just saw? I forgot. SDB, yeah. SDB1 goes to boot.</p>



<p class="wp-block-paragraph">And then SDB2 goes to root. Now we have access, hopefully, to the file system. So I&#8217;m going to go</p>



<p class="wp-block-paragraph">into the boot file system. So this is the boot partition that your Pi will have when it&#8217;s running</p>



<p class="wp-block-paragraph">and stuff. So first thing we need to do is tell the Pi that we want its SSH server to be enabled</p>



<p class="wp-block-paragraph">at boot. There&#8217;s not really that much that we have to do here. We&#8217;ll just</p>



<p class="wp-block-paragraph">basically create an empty file with the touch command. So I&#8217;m going to say touch</p>



<p class="wp-block-paragraph">SSH and now if you look there&#8217;s an SSH file it&#8217;s totally empty but that lets</p>



<p class="wp-block-paragraph">the pi know that we want the SSH server to run whenever it boots. Then we have to</p>



<p class="wp-block-paragraph">modify the command line so that we can set a fixed IP in advanced. So you know</p>



<p class="wp-block-paragraph">sudo nano command line or vim or whatever you like to use. What you&#8217;re</p>



<p class="wp-block-paragraph">like to use what you&#8217;re looking for here is root weight right after that you have to put the</p>



<p class="wp-block-paragraph">specification for the ip address that you want so you probably should know what your ip address sub</p>



<p class="wp-block-paragraph">what your ip subnet is before you start we&#8217;re not going to do ipv6 in this video but you know because</p>



<p class="wp-block-paragraph">we just need ipv4 to get into the pi and then from that point you can configure it however you feel</p>



<p class="wp-block-paragraph">or sometimes dot zero dot one whatever yours is you have to figure it out you have to go find out</p>



<p class="wp-block-paragraph">what your router&#8217;s ip is your subnet is probably just the first three numbers because most routers</p>



<p class="wp-block-paragraph">consumer routers default to a 24 block which just basically means the first 24 bits have to stay</p>



<p class="wp-block-paragraph">fixed and the last eight bits can change for an ip address to be considered in the same subnet as</p>



<p class="wp-block-paragraph">some other so for me i know mine is a dot one dot something so i&#8217;m going to assign 123 to my pi&#8217;s</p>



<p class="wp-block-paragraph">ethernet adapter because that&#8217;s just what I want. You have to choose a number that&#8217;s available on</p>



<p class="wp-block-paragraph">your network. If you don&#8217;t really know then it probably won&#8217;t matter too much because if you</p>



<p class="wp-block-paragraph">fix a number that&#8217;s already in use the other computer will probably get kicked off the network</p>



<p class="wp-block-paragraph">and then try to rejoin and then it&#8217;ll end up using a different number. Most DHCP servers that I&#8217;ve</p>



<p class="wp-block-paragraph">seen on consumer routers will kind of stop at high numbers like they&#8217;ll go from 2 to 99 or something</p>



<p class="wp-block-paragraph">So if you want to be like a little bit on the safer side, you could choose a higher number.</p>



<p class="wp-block-paragraph">But it&#8217;s fine.</p>



<p class="wp-block-paragraph">So right after root weight, IP equals, and then the IP address that you&#8217;ve chosen.</p>



<p class="wp-block-paragraph">So that&#8217;s it for the boot partition.</p>



<p class="wp-block-paragraph">Let&#8217;s go into the root partition now.</p>



<p class="wp-block-paragraph">So the root partition is just like the root of the file system.</p>



<p class="wp-block-paragraph">It&#8217;s got the actual root folder.</p>



<p class="wp-block-paragraph">So that&#8217;s the home directory for the root account.</p>



<p class="wp-block-paragraph">We could go in there and modify that if we wanted to.</p>



<p class="wp-block-paragraph">every PI by default with these OS installs,</p>



<p class="wp-block-paragraph">it comes with an account called PI</p>



<p class="wp-block-paragraph">and it&#8217;s also an admin.</p>



<p class="wp-block-paragraph">So it&#8217;s home folder is gonna be</p>



<p class="wp-block-paragraph">the root of the file system slash home slash PI.</p>



<p class="wp-block-paragraph">But for this particular mount, you know,</p>



<p class="wp-block-paragraph">it starts at root.</p>



<p class="wp-block-paragraph">So we have to go CD into home and then CD into PI.</p>



<p class="wp-block-paragraph">So from your PI&#8217;s perspective,</p>



<p class="wp-block-paragraph">it&#8217;s just gonna be this folder right here,</p>



<p class="wp-block-paragraph">slash home slash PI.</p>



<p class="wp-block-paragraph">I&#8217;ve mounted it so I see a different path.</p>



<p class="wp-block-paragraph">If I list it, you can see some starter files for the PI.</p>



<p class="wp-block-paragraph">for the pi. So I&#8217;m going to create a directory. I can do make directory and call it dot SSH,</p>



<p class="wp-block-paragraph">a special folder where all your SSH configuration is. Again, if you don&#8217;t understand SSH or keys or</p>



<p class="wp-block-paragraph">anything like that, see my other videos. I&#8217;ll talk about how to make SSH keys and connect from</p>



<p class="wp-block-paragraph">Windows and connect from Linux and all that stuff. But it&#8217;s not too bad. You can just kind of follow</p>



<p class="wp-block-paragraph">along with me. If you don&#8217;t have a key, by the way, on your host machine. So let&#8217;s let me go up</p>



<p class="wp-block-paragraph">So let me go up here on the host machine.</p>



<p class="wp-block-paragraph">You can do something like ssh-keygen type ed25519 and then just hit enter a bunch of times.</p>



<p class="wp-block-paragraph">And you should be able to get your ssh key created.</p>



<p class="wp-block-paragraph">You probably want to eventually learn how to put a password on it, you know, but that&#8217;s okay for now.</p>



<p class="wp-block-paragraph">So I&#8217;m going to go into the ssh folder.</p>



<p class="wp-block-paragraph">And I want to create a special file called authorized keys.</p>



<p class="wp-block-paragraph">some SSH keys that will be allowed to connect into the Pi. So for my host machine, I&#8217;m going to</p>



<p class="wp-block-paragraph">print out my public key, at least for this.</p>



<p class="wp-block-paragraph">Oh, ID, right? I got to do IDED.hub. So this is just like a useless key. I mean,</p>



<p class="wp-block-paragraph">the public keys are always okay to share on the internet. It&#8217;s fine. But like,</p>



<p class="wp-block-paragraph">I feel better about this because it&#8217;s just my VM for videos. It doesn&#8217;t actually run most of the</p>



<p class="wp-block-paragraph">Okay, something happened</p>



<p class="wp-block-paragraph">Okay, so basically you just take this key the whole entire public key get the pub not the one that doesn&#8217;t have pub and just paste it into</p>



<p class="wp-block-paragraph">Authorized keys file</p>



<p class="wp-block-paragraph">So then we have to set permissions</p>



<p class="wp-block-paragraph">The authorized key file we&#8217;re gonna go to mod. I think it&#8217;s supposed to be like six or seven oh</p>



<p class="wp-block-paragraph">But basically the system probably doesn&#8217;t want any other user to have permission. So that&#8217;s why we do</p>



<p class="wp-block-paragraph">we do something zero, zero, either six or seven. I think six might be it, but I&#8217;m just going to</p>



<p class="wp-block-paragraph">stick with seven just to help this video go along a little bit faster. Make sure it&#8217;s owned by the</p>



<p class="wp-block-paragraph">same user as the pi. In this case, the pi user is just sort of like the first user that was created.</p>



<p class="wp-block-paragraph">So it&#8217;ll end up having the same user as you if on your host machine, you are also the first user.</p>



<p class="wp-block-paragraph">user owner or maybe just do the root account instead maybe I&#8217;ll show you that real fast</p>



<p class="wp-block-paragraph">so then we go up one level and the system probably also does not want the SSH key to be you know or</p>



<p class="wp-block-paragraph">SSH folder to be browsable by other users it&#8217;s also kind of a bad idea so I&#8217;m just going to go</p>



<p class="wp-block-paragraph">Chamod we&#8217;ll do like another 700 SSH it definitely has to be 700 instead of 600 if you don&#8217;t know</p>



<p class="wp-block-paragraph">by the way then just see my other videos otherwise trust me but long story short</p>



<p class="wp-block-paragraph">not a good idea to be able to let other users into your SSH folder so that&#8217;s why</p>



<p class="wp-block-paragraph">I&#8217;m doing that at this point we&#8217;re probably done authenticating we can</p>



<p class="wp-block-paragraph">probably jump into the pie but let me just show you real fast if we go into</p>



<p class="wp-block-paragraph">the root folder permission denied okay sudo su root and then go into the root</p>



<p class="wp-block-paragraph">tempPyRoot, that&#8217;s the root partition.</p>



<p class="wp-block-paragraph">So really from the Pys perspective,</p>



<p class="wp-block-paragraph">we&#8217;re trying to edit a file called slash root</p>



<p class="wp-block-paragraph">because that&#8217;s the home folder for the root account</p>



<p class="wp-block-paragraph">on the Pi.</p>



<p class="wp-block-paragraph">It&#8217;s basically the same thing.</p>



<p class="wp-block-paragraph">There&#8217;s like an SSH folder in there</p>



<p class="wp-block-paragraph">and you can add an authorized keys file</p>



<p class="wp-block-paragraph">if you wanna be able to log into the root account</p>



<p class="wp-block-paragraph">on your Pi.</p>



<p class="wp-block-paragraph">Otherwise it doesn&#8217;t really matter.</p>



<p class="wp-block-paragraph">And I think we&#8217;re probably done.</p>



<p class="wp-block-paragraph">Let me just double check my notes real fast here.</p>



<p class="wp-block-paragraph">Oh no, I forgot to look at my notes.</p>



<p class="wp-block-paragraph">I forgot to look at my notes first connection.</p>



<p class="wp-block-paragraph">Did I forget anything?</p>



<p class="wp-block-paragraph">I probably forgot a bunch of stuff.</p>



<p class="wp-block-paragraph">Authorized keys.</p>



<p class="wp-block-paragraph">All right, let&#8217;s see if it actually works.</p>



<p class="wp-block-paragraph">So I&#8217;m going to now unmount.</p>



<p class="wp-block-paragraph">Got to do that.</p>



<p class="wp-block-paragraph">Don&#8217;t forget to unmount.</p>



<p class="wp-block-paragraph">So I&#8217;m going to go sudo umount boot, sudo umount root.</p>



<p class="wp-block-paragraph">If either of those say the device is busy, you probably are still in that directory</p>



<p class="wp-block-paragraph">directory in like a different terminal tab or account or something.</p>



<p class="wp-block-paragraph">You know, one of the mistakes I always make is I go sudo su root.</p>



<p class="wp-block-paragraph">And then I forget that the regular user is actually still in that same folder,</p>



<p class="wp-block-paragraph">even if I navigate to somewhere else in the root account.</p>



<p class="wp-block-paragraph">So just make sure everything&#8217;s okay. Uh, and then you can,</p>



<p class="wp-block-paragraph">if you want to double check, you can say mount, mount points, um,</p>



<p class="wp-block-paragraph">boots and mount points roots.</p>



<p class="wp-block-paragraph">And it&#8217;ll tell you that they&#8217;re not mount points. So at this point,</p>



<p class="wp-block-paragraph">probably okay to remove the card from the card reader, remove the micro SD card, stick it into the Pi</p>



<p class="wp-block-paragraph">and then I&#8217;m going to plug the Pi into ethernet because that&#8217;s the IP address that I just set up</p>



<p class="wp-block-paragraph">so I&#8217;m plugging it into the ethernet real fast. You can&#8217;t see it&#8217;s off camera, I have a short cable</p>



<p class="wp-block-paragraph">and then I&#8217;m going to plug it into its power. So now my Pi is totally on and I&#8217;m going to start</p>



<p class="wp-block-paragraph">And I&#8217;m going to start trying to ping that IP address as fast as I can.</p>



<p class="wp-block-paragraph">I should have started pinging before anything happened.</p>



<p class="wp-block-paragraph">Because it&#8217;s more fun to see when the pings begin.</p>



<p class="wp-block-paragraph">Would you agree?</p>



<p class="wp-block-paragraph">No?</p>



<p class="wp-block-paragraph">Okay.</p>



<p class="wp-block-paragraph">Let&#8217;s see what&#8217;s happening.</p>



<p class="wp-block-paragraph">I see some flashing on the Ethernet cable and the power lights.</p>



<p class="wp-block-paragraph">I always get nervous that I&#8217;ve done something wrong when I&#8217;m being recorded.</p>



<p class="wp-block-paragraph">Because, you know, in regular life, I do stuff wrong all the time.</p>



<p class="wp-block-paragraph">And it&#8217;s fine.</p>



<p class="wp-block-paragraph">And it&#8217;s fine. Nobody remembers.</p>



<p class="wp-block-paragraph">I just have to, like, quickly catch myself and correct my mistakes.</p>



<p class="wp-block-paragraph">Awkward.</p>



<p class="wp-block-paragraph">This small amount of time has turned into a huge amount of time.</p>



<p class="wp-block-paragraph">In my mind.</p>



<p class="wp-block-paragraph">Wait, what am I doing? What am I doing?</p>



<p class="wp-block-paragraph">Oh, that&#8217;s what happened! Oh, a huge mistake!</p>



<p class="wp-block-paragraph">I forgot to put an extra number there.</p>



<p class="wp-block-paragraph">For some reason, it filled in the zero.</p>



<p class="wp-block-paragraph">For some reason it filled in the zero.</p>



<p class="wp-block-paragraph">I was too rushed.</p>



<p class="wp-block-paragraph">Okay, so the Pi probably came on a long time ago.</p>



<p class="wp-block-paragraph">You&#8217;re welcome for the laugh.</p>



<p class="wp-block-paragraph">So now that the Pi is online,</p>



<p class="wp-block-paragraph">I can try to SSH into it and just hope</p>



<p class="wp-block-paragraph">that my authentication works.</p>



<p class="wp-block-paragraph">So I&#8217;m gonna do Pi at,</p>



<p class="wp-block-paragraph">because I didn&#8217;t make a user account that matched Mike.</p>



<p class="wp-block-paragraph">I just made a Pi user account.</p>



<p class="wp-block-paragraph">So I&#8217;m gonna do that.</p>



<p class="wp-block-paragraph">And host verification has failed.</p>



<p class="wp-block-paragraph">So that just is because I&#8217;ve been using that same IP address</p>



<p class="wp-block-paragraph">using that same IP address for different videos today. So I have to remove that from the memory</p>



<p class="wp-block-paragraph">of my SSH client. So I&#8217;m going to go SSH keygen R. This is a good security feature. Basically,</p>



<p class="wp-block-paragraph">it&#8217;s saying that your system remembers connecting to a totally different machine at that same IP.</p>



<p class="wp-block-paragraph">So it thinks somebody is being hacked. So I&#8217;m just going to remove the record and then try to</p>



<p class="wp-block-paragraph">connect again. Now it&#8217;s going to say, all right, do you want to connect? Do you trust this? I guess</p>



<p class="wp-block-paragraph">And here we are, we&#8217;re inside of a Raspberry Pi now.</p>



<p class="wp-block-paragraph">This is basically the end of the video because you can kind of do whatever you want now.</p>



<p class="wp-block-paragraph">Notice how I never plugged in HDMI.</p>



<p class="wp-block-paragraph">I didn&#8217;t have to look at a desktop.</p>



<p class="wp-block-paragraph">I didn&#8217;t have to do anything except just connect to the Pi over the network.</p>



<p class="wp-block-paragraph">For me, this is really convenient.</p>



<p class="wp-block-paragraph">You just write the SD card, modify a couple of things, plug into Ethernet, and then boom,</p>



<p class="wp-block-paragraph">you can configure it.</p>



<p class="wp-block-paragraph">So you can go into, you know, Network Manager and like look at the connections and modify them,</p>



<p class="wp-block-paragraph">and modify them, set the IP addresses however you want, set any other</p>



<p class="wp-block-paragraph">configuration any way you want, harden the security. So the point of this video</p>



<p class="wp-block-paragraph">is just how to get in without really plugging into a monitor. So thank you so</p>



<p class="wp-block-paragraph">much for watching I hope you learned a little bit of stuff and had a little bit</p>



<p class="wp-block-paragraph">of fun. I suppose I will see you in the next video.</p>



<p class="wp-block-paragraph">Hey everybody, thanks for watching this video again from the bottom of my heart.</p>



<p class="wp-block-paragraph">I really appreciate it.</p>



<p class="wp-block-paragraph">I do hope you did learn something and have some fun.</p>



<p class="wp-block-paragraph">If you could do me a please, a small little favor, could you please subscribe and follow</p>



<p class="wp-block-paragraph">this channel or these videos or whatever it is you do on the current social media website</p>



<p class="wp-block-paragraph">that you&#8217;re looking at right now.</p>



<p class="wp-block-paragraph">It would really mean the world to me and it&#8217;ll help make more videos and grow this community.</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos, longer videos, better videos, or just I&#8217;ll be able</p>



<p class="wp-block-paragraph">or just I&#8217;ll be able to keep making videos in general.</p>



<p class="wp-block-paragraph">So please do me a kindness and subscribe.</p>



<p class="wp-block-paragraph">You know, sometimes I&#8217;m sleeping in the middle of the night</p>



<p class="wp-block-paragraph">and I just wake up because I know somebody subscribed or followed.</p>



<p class="wp-block-paragraph">It just wakes me up and I get filled with joy.</p>



<p class="wp-block-paragraph">That&#8217;s exactly what happens every single time.</p>



<p class="wp-block-paragraph">So you could do it as a nice favor to me</p>



<p class="wp-block-paragraph">or you could troll me if you want to just wake me up in the middle of the night.</p>



<p class="wp-block-paragraph">Just subscribe and then I&#8217;ll just wake up.</p>



<p class="wp-block-paragraph">I promise that&#8217;s what will happen.</p>



<p class="wp-block-paragraph">Also, if you look at the middle of the screen right now,</p>



<p class="wp-block-paragraph">the middle of the screen right now you should see a qr code which you can scan in order to go to the</p>



<p class="wp-block-paragraph">website which i think is also named somewhere at the bottom of this video and it&#8217;ll take you to my</p>



<p class="wp-block-paragraph">main website where you can just kind of like see all the videos i published and the services and</p>



<p class="wp-block-paragraph">tutorials and things that i offer and all that good stuff and uh if you have a suggestion for uh</p>



<p class="wp-block-paragraph">clarifications or errata or just future videos that you want to see please leave a comment or if you</p>



<p class="wp-block-paragraph">hey what&#8217;s up what&#8217;s going on you know just send me a comment whatever i also wake up for those in</p>



<p class="wp-block-paragraph">the middle of the night i get i wake up in a cold sweat and i&#8217;m like it would really it really mean</p>



<p class="wp-block-paragraph">the world to me i would really appreciate it so again thank you so much for watching this video</p>



<p class="wp-block-paragraph">and um enjoy the cool music as as i fade into the darkness which is coming for us all</p>



<p class="wp-block-paragraph">Thank you.</p>



<p class="wp-block-paragraph">Okay.</p>



<p class="wp-block-paragraph">Hey there, let&#8217;s talk about how to boot your Raspberry Pi or part on yourself.</p>
<p>The post <a href="https://www.NeuralLantern.com/raspberry-pi-headless-setup-boot-without-a-monitor-in-minutes/">Raspberry Pi Headless Setup: Boot Without a Monitor in Minutes!</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/raspberry-pi-headless-setup-boot-without-a-monitor-in-minutes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
