<?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>Pi server Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/pi-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/pi-server/</link>
	<description></description>
	<lastBuildDate>Tue, 12 Aug 2025 02:48:15 +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>Pi server Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/pi-server/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>
