<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Raspbian on tech.notes</title>
    <link>https://newblog.utzer.de/tags/raspbian/</link>
    <description>Recent content in Raspbian on tech.notes</description>
    <generator>Hugo</generator>
    <language>de</language>
    <lastBuildDate>Thu, 11 May 2023 13:07:58 +0000</lastBuildDate>
    <atom:link href="https://newblog.utzer.de/tags/raspbian/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Upgrade Raspberry Pi OS from Buster to Bullseye</title>
      <link>https://newblog.utzer.de/2023/05/11/upgrade-raspberry-pi-raspbian-from-buster-to-bullseye/</link>
      <pubDate>Thu, 11 May 2023 13:07:58 +0000</pubDate>
       <guid isPermaLink="false">https://tech.utzer.de/?p=131</guid> 
      <description>&lt;p&gt;So to upgrade Raspbian, as it was previously called, from Buster to Bullseye went smooth an easy, I tried this with some Pi2B (armhf 32Bit) and with a Pi4. These two are headless systems, so I don&amp;rsquo;t know if this works well for any systems with window managers.&lt;/p&gt;
&lt;p&gt;Better run these commands in screen, so when the SSH connection is interrupted you can reconnect and resume your work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit: For the update there is a culprit, it will cause a problem with dhcpd, so before the reboot 13. (was point 12. before I added the remark below) please &lt;a href=&#34;https://newblog.utzer.de/?p=141&#34;&gt;check this post&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Debian for Raspberry Pi</title>
      <link>https://newblog.utzer.de/2021/02/05/debian-for-raspberry-pi/</link>
      <pubDate>Fri, 05 Feb 2021 21:59:23 +0000</pubDate>
       <guid isPermaLink="false">http://tech.utzer.de/?p=120</guid> 
      <description>&lt;p&gt;Just some info, because the last time when I flashed an SD card I took #Raspbian only because I could not find the #Debian images as quick.&lt;/p&gt;
&lt;p&gt;Infos about Debian for #Pi are here:&lt;br&gt;
&lt;a href=&#34;https://wiki.debian.org/RaspberryPi&#34;&gt;https://wiki.debian.org/RaspberryPi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Images:&lt;br&gt;
&lt;a href=&#34;https://raspi.debian.net/tested-images/&#34;&gt;https://raspi.debian.net/tested-images/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Some tips for settings, like #SSH on first boot (you need to add a key):&lt;br&gt;
&lt;a href=&#34;https://raspi.debian.net/defaults-and-settings/&#34;&gt;https://raspi.debian.net/defaults-and-settings/&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Linux swap with dphys-swapfile</title>
      <link>https://newblog.utzer.de/2020/04/20/linux-swap-with-dphys-swapfile/</link>
      <pubDate>Mon, 20 Apr 2020 10:29:10 +0000</pubDate>
       <guid isPermaLink="false">http://tech.utzer.de/?p=105</guid> 
      <description>&lt;p&gt;This is a solution for a #RaspberryPi, some #VPS without swap of some machine setup without swap where you need swap for something without wanting to fiddle with the drive partitions or so.&lt;/p&gt;
&lt;p&gt;This is a quick and dirty &amp;ldquo;short manual&amp;rdquo; for #Debian based #Systemd environments (such as #Ubuntu, #Mint or #Raspbian).&lt;/p&gt;
&lt;p&gt;First run this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cat &amp;gt; dphys-swap.sh &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;&amp;lt; EOF
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;#~/up
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;apt-get install dphys-swapfile
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;echo &amp;#34;CONF_SWAPSIZE=2048&amp;#34;|tee -a /etc/dphys-swapfile
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;dphys-swapfile setup
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;dphys-swapfile swapon
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;systemctl restart dphys-swapfile.service
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;systemctl status dphys-swapfile.service
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;free -h
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;EOF&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will just create a short #bash #script with the needed commands to run to get #dphys setup and running. Please alter the number 2048 to your need, it is the size of the swap memory that will be setup. The size of the swap should most likely by equal to the real memory installed, sometimes twice the size seems to be a good choice too.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
