<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Raspberry Pi on Junian Dev</title>
    <link>https://www.junian.dev/tags/raspberry-pi/</link>
    <description>Recent content in Raspberry Pi on Junian Dev</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>author@junian.dev (Junian Triajianto)</managingEditor>
    <webMaster>author@junian.dev (Junian Triajianto)</webMaster>
    <copyright>Copyright &amp;copy; 2014 - 2026 Junian.dev</copyright>
    
	    <atom:link href="https://www.junian.dev/tags/raspberry-pi/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Disable Mail Notification from Cron</title>
      <link>https://www.junian.dev/tech/disable-cron-mail-notification/</link>
      <pubDate>Thu, 14 Jan 2021 11:50:06 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/disable-cron-mail-notification/</guid>
      <description>&lt;p&gt;Have you ever use your Raspberry Pi terminal session and you see following message randomly?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You have new mail in /var/mail/pi&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Maybe you&amp;rsquo;re wondering who&amp;rsquo;s sending these emails.
To know that, you can type &lt;code&gt;mail&lt;/code&gt; to check your inbox.
If you see several messages like following line, then it&amp;rsquo;s caused by &lt;code&gt;cron&lt;/code&gt; job.&lt;/p&gt;

&lt;figure class=&#34;highlight&#34;&gt;
    &lt;button class=&#34;btn-clipboard chroma&#34; title=&#34;Copy to clipboard&#34;&gt;&lt;i class=&#34;fa icon-clipboard&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 24 24&#34; class=&#34;feather feather-copy&#34;&gt;&lt;rect x=&#34;9&#34; y=&#34;9&#34; width=&#34;13&#34; height=&#34;13&#34; rx=&#34;2&#34; ry=&#34;2&#34;/&gt;&lt;path d=&#34;M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1&#34;/&gt;&lt;/svg&gt;&lt;/i&gt;&lt;span class=&#34;msg-clipboard&#34;&gt;&lt;/span&gt;&lt;/button&gt;
    &lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ mail
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;/var/mail/pi&amp;#34;&lt;/span&gt;: &lt;span class=&#34;m&#34;&gt;2047&lt;/span&gt; messages &lt;span class=&#34;m&#34;&gt;2047&lt;/span&gt; new
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;gt;N   &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; Cron Daemon        Wed Jan &lt;span class=&#34;m&#34;&gt;13&lt;/span&gt; 18:50  22/681   Cron &amp;lt;pi@retropie&amp;gt; /home/pi/go/bin/gonetweet
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; N   &lt;span class=&#34;m&#34;&gt;2&lt;/span&gt; Cron Daemon        Wed Jan &lt;span class=&#34;m&#34;&gt;13&lt;/span&gt; 18:51  21/3540  Cron &amp;lt;pi@retropie&amp;gt; /home/pi/autotweet.sh
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; N   &lt;span class=&#34;m&#34;&gt;3&lt;/span&gt; Cron Daemon        Wed Jan &lt;span class=&#34;m&#34;&gt;13&lt;/span&gt; 18:51  22/681   Cron &amp;lt;pi@retropie&amp;gt; /home/pi/go/bin/gonetweet
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; N   &lt;span class=&#34;m&#34;&gt;4&lt;/span&gt; Cron Daemon        Wed Jan &lt;span class=&#34;m&#34;&gt;13&lt;/span&gt; 18:52  22/681   Cron &amp;lt;pi@retropie&amp;gt; /home/pi/go/bin/gonetweet
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; N   &lt;span class=&#34;m&#34;&gt;5&lt;/span&gt; Cron Daemon        Wed Jan &lt;span class=&#34;m&#34;&gt;13&lt;/span&gt; 18:52  21/3540  Cron &amp;lt;pi@retropie&amp;gt; /home/pi/autotweet.sh&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
    
&lt;/figure&gt;&lt;p&gt;To stop &lt;code&gt;cron&lt;/code&gt; sending you emails, you can just add &lt;code&gt;&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;/code&gt; to the end of your &lt;code&gt;cron&lt;/code&gt; job.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Fix Raspberry Pi Slow USB Drive Write Speed Problem</title>
      <link>https://www.junian.dev/tech/raspberry-pi-slow-usb-drive-write-speed/</link>
      <pubDate>Sat, 28 Mar 2020 13:05:17 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/raspberry-pi-slow-usb-drive-write-speed/</guid>
      <description>&lt;p&gt;One thing I notice after owning some &lt;a href=&#34;https://amzn.to/2UNPLBw&#34;&gt;Rapsberry Pis&lt;/a&gt; for about 4 years, the default write speed on one of its USB port is very slow, especially when you attach an &lt;a href=&#34;https://amzn.to/39r9dsV&#34;&gt;external HDD&lt;/a&gt; with NTFS format.&lt;/p&gt;
&lt;p&gt;To see what I mean, let&amp;rsquo;s check the write speed directly.&lt;/p&gt;
&lt;p&gt;I assume you&amp;rsquo;re using Raspbian, or its derivative, as the OS.&lt;/p&gt;
&lt;p&gt;First, change the working directory to your attached usb drive.&lt;/p&gt;

&lt;figure class=&#34;highlight&#34;&gt;
    &lt;button class=&#34;btn-clipboard chroma&#34; title=&#34;Copy to clipboard&#34;&gt;&lt;i class=&#34;fa icon-clipboard&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 24 24&#34; class=&#34;feather feather-copy&#34;&gt;&lt;rect x=&#34;9&#34; y=&#34;9&#34; width=&#34;13&#34; height=&#34;13&#34; rx=&#34;2&#34; ry=&#34;2&#34;/&gt;&lt;path d=&#34;M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1&#34;/&gt;&lt;/svg&gt;&lt;/i&gt;&lt;span class=&#34;msg-clipboard&#34;&gt;&lt;/span&gt;&lt;/button&gt;
    &lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /media/pi/&lt;span class=&#34;nv&#34;&gt;$HARD_DRIVE_LABEL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
    
&lt;/figure&gt;&lt;p&gt;Then we can simulate file writing using &lt;code&gt;dd&lt;/code&gt; tool.
The following command will create binary file called &lt;code&gt;test.bin&lt;/code&gt; with 1000 MB of size (or roughly 1 GB).&lt;/p&gt;</description>
    </item>
    <item>
      <title>How To Convert PSP ISO Games To CSO on Raspberry Pi</title>
      <link>https://www.junian.dev/tech/psp-iso-to-cso/</link>
      <pubDate>Fri, 27 Mar 2020 12:43:42 +0700</pubDate>
      <author>author@junian.dev (Junian Triajianto)</author>
      <guid>https://www.junian.dev/tech/psp-iso-to-cso/</guid>
      <description>&lt;p&gt;One of my hobbies right now is retrogaming.
I try to catch up with some old PSP games that I never had a chance to play when I was a kid.&lt;/p&gt;
&lt;p&gt;Thanks to the advanced emulation technology today, I can play those games on my phone today.&lt;/p&gt;
&lt;p&gt;One problem with PSP game is that the game file (we usually call it ROM) is relatively big.
A single PSP game can take around 0.7 GB to 1.5 GB of disk space.
The internal storage of my phone can only store around 10 games.
I also purchase a 256 GB microSD card, the &lt;a href=&#34;https://amzn.to/2ygpcNF&#34;&gt;Samsung EVO Select&lt;/a&gt; brand one, to store more PSP ROMs.
I quickly running out of space the more my collection grows, since I also have ROMs for other game systems.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
