<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Devarsh</title>
    <description>The latest articles on Forem by Devarsh (@devarsh10).</description>
    <link>https://forem.com/devarsh10</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1128979%2F4421468c-1dd9-491b-8c4f-2b1e5137427f.jpg</url>
      <title>Forem: Devarsh</title>
      <link>https://forem.com/devarsh10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/devarsh10"/>
    <language>en</language>
    <item>
      <title>How to boot up ubuntu Server on Raspberry PI 5 (Headless)</title>
      <dc:creator>Devarsh</dc:creator>
      <pubDate>Sat, 19 Jul 2025 10:31:13 +0000</pubDate>
      <link>https://forem.com/devarsh10/how-to-boot-up-ubuntu-server-on-raspberry-pi-5-headless-474i</link>
      <guid>https://forem.com/devarsh10/how-to-boot-up-ubuntu-server-on-raspberry-pi-5-headless-474i</guid>
      <description>&lt;p&gt;Hello Everyone, from the past few days I have been struggling to ssh into Raspberry PI 5 consists of Ubuntu Server 24.04.2 LTS (64-bit).&lt;/p&gt;

&lt;p&gt;But, the raspberry pi was not able to connect to my Wifi router. Thus, I was not able to ssh into it.&lt;/p&gt;

&lt;p&gt;Reason: I flashed the image with the wifi network which was 5G. Instead, I had to choose the 2G network my router emits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ACKNOWLEDGEMENT&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Thank you very much Mifos Initiative for providing me the beautiful piece of Tech. I am very grateful to test mifos' project on it and excited to use it. Thank you my mentor and Mifos Initiative&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's Get Started with the step by step guide&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Buy a Raspberry PI 5, SD Card Reader, SD Card(minimum 16 GB), Charging Adaptor, Air cooler(optional), and Case(for protection, optional)&lt;/li&gt;
&lt;li&gt;On your laptop(daily use), install raspberry PI imager. Here, &lt;a href="https://www.raspberrypi.com/software/" rel="noopener noreferrer"&gt;Download for your machine&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Once installed open it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You'll see something like this. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Raspberry Pi Device -&amp;gt; Raspberry Pi 5 &lt;/li&gt;
&lt;li&gt;Operating System -&amp;gt; Other general-purpose OS -&amp;gt; Ubuntu Server 24.04.2 LTS (64-bit) =&amp;gt; The specification of the PI is written on the back of the PI box&lt;/li&gt;
&lt;li&gt;Storage -&amp;gt; Your SD Card&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw5ey9fflj87tnf9wotwe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw5ey9fflj87tnf9wotwe.png" alt="Raspberry PI Image UI" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Now, Click on Next&lt;/li&gt;
&lt;li&gt;This pop-up will come.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I have already configured my sd-card that's why I am seeing all the options.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21mxxeagnnes02n3m4n4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21mxxeagnnes02n3m4n4.png" alt="Already configured once. Cached" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For first time you'll see something like this.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;OR if you click on No, Clear Settings and then again click on next you'll see something like this.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5toz31asx12vnt2vt1fi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5toz31asx12vnt2vt1fi.png" alt="Flashing SD-card for time" width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click on Edit Settings. NOTE: REMEMBER HOSTNAME, USERNAME AND PASSWORD,  this will be useful when we'll ssh.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By Default you'll see this,&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsid6dt4iqaq4ibdx7764.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsid6dt4iqaq4ibdx7764.png" alt="General Default Settings" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2sstj3rf3lcuzdgjtu25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2sstj3rf3lcuzdgjtu25.png" alt="Services Default Settings" width="800" height="288"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here, you've to&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enable &lt;strong&gt;Set hostname&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;set username and password&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;Configure wireless LAN&lt;/strong&gt;. It will fill the details of the wifi network you're connected to. Also, keep in mind you connect with the 2GHz wifi network and avoid connecting with 5GHz one. It will save your days..&lt;/li&gt;
&lt;li&gt;Select "IN" for &lt;strong&gt;Wireless LAN country&lt;/strong&gt;. If you're in India&lt;/li&gt;
&lt;li&gt;and select the *&lt;em&gt;locale settings *&lt;/em&gt; accordingly &lt;/li&gt;
&lt;li&gt;Keyboard Layout: "us"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's my config&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33f4o5wcciyzpb2tfscx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33f4o5wcciyzpb2tfscx.png" alt="General customised settings" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Services&lt;/li&gt;
&lt;li&gt;Enable SSH and "Use password authentication"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Like this,&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvil9v1mso0y3tau01tdi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvil9v1mso0y3tau01tdi.png" alt="Enable SSH" width="800" height="411"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Now, Click on "Yes"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fff9j4044ntf1an3mzteq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fff9j4044ntf1an3mzteq.png" alt="Clicking Yes" width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let is erase your data. Consider taking a backup if your sd-card contains some important info&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Let it write, verify and finally flash your sd card.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It will automatically eject your card from your laptop/system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Insert the sd card in Raspberry PI 5.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Start the Raspberry PI 5. It will automatically connect with your Wifi, do the login and few other stuff.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you're not using HDMI cable and not seeing the logs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;and if you're seeing the green light is blinking. It's a good signal&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You'll be able to ssh to it.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr743nf3ncm5sq914ftri.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr743nf3ncm5sq914ftri.png" alt="When you power Raspberry PI 5 on" width="458" height="776"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To verify you can,
use command 'ping raspberry.local' you'll get output something like this,
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ ping raspberrypi.local

Pinging raspberrypi.local [fe80::8aa2:9eff:fe04:381c%15] with 32 bytes of data:
Reply from fe80::8aa2:9eff:fe04:381c%15: time=4ms 
Reply from fe80::8aa2:9eff:fe04:381c%15: time=4ms 
Reply from fe80::8aa2:9eff:fe04:381c%15: time=4ms 
Reply from fe80::8aa2:9eff:fe04:381c%15: time=4ms 

Ping statistics for fe80::8aa2:9eff:fe04:381c%15:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 4ms, Average = 4ms
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;OR you can login to your router portal and see the ip addr to login&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fst7fhcm42blhn0ijnvks.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fst7fhcm42blhn0ijnvks.png" alt="Fetching IP addr from router portal" width="724" height="75"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Moment of Truth. SSH.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;ssh &amp;lt;username&amp;gt;@&amp;lt;ip-addr&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Done.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ ssh devarshrpi@192.168.1.94
devarshrpi@192.168.1.94's password: 
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-1018-raspi aarch64)
.
.
.
.
.
.
Last login: Sat Jul 19 14:14:19 2025 from 192.168.1.65
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;That's it. Thank you&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;PS: This setup saves you lot of money. You don't need to buy other keyboard, new mouse, new monitor not even the microHDMI to HDMI cable(optional). Just boot up the server and ssh.&lt;br&gt;
Also, I haven't used grammarly for writing this. I hope my feelings and message are reached and everybody get their work done.&lt;/p&gt;

&lt;p&gt;Again Thank you very much Mifos Initiative. I am very grateful for having this.&lt;/p&gt;

</description>
      <category>raspberrypi</category>
      <category>ubuntu</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
