<?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>Debian on tech.notes</title>
    <link>https://newblog.utzer.de/tags/debian/</link>
    <description>Recent content in Debian on tech.notes</description>
    <generator>Hugo</generator>
    <language>de</language>
    <lastBuildDate>Fri, 08 Dec 2023 07:16:52 +0000</lastBuildDate>
    <atom:link href="https://newblog.utzer.de/tags/debian/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Debian Bluetooth headset problem</title>
      <link>https://newblog.utzer.de/2023/12/08/debian-bluetooth-headset-problem/</link>
      <pubDate>Fri, 08 Dec 2023 07:16:52 +0000</pubDate>
       <guid isPermaLink="false">https://tech.utzer.de/?p=167</guid> 
      <description>&lt;p&gt;I had some problems to get my Bluetooth headset working with my Debian, the fault was kind of non informative.&lt;/p&gt;
&lt;p&gt;In the end I found in some forum that it needs the following lib.&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-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;libspa-0.2-bluetooth
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I found this &lt;a href=&#34;https://forums.debian.net/viewtopic.php?t=155520&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Connection Failed: br-connection-profile-unavailable&lt;/p&gt;
&lt;p&gt;This was the only fault shown in the GUI.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <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>Adding Debian Buster Backports repo to RaspberryPi for tor</title>
      <link>https://newblog.utzer.de/2021/02/05/adding-debian-buster-backports-repo-to-raspberrypi-for-tor/</link>
      <pubDate>Fri, 05 Feb 2021 22:05:47 +0000</pubDate>
       <guid isPermaLink="false">http://tech.utzer.de/?p=123</guid> 
      <description>&lt;ol&gt;
&lt;li&gt;Add key&lt;/li&gt;
&lt;/ol&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-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl https:&lt;span style=&#34;color:#f92672&#34;&gt;//&lt;/span&gt;ftp&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;master&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;debian&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;org&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;keys&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;archive&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;key&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;10.&lt;/span&gt;asc &lt;span style=&#34;color:#f92672&#34;&gt;|&lt;/span&gt; gpg &lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;import
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;gpg &lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;export&lt;/span&gt; DC30D7C23CBBABEE &lt;span style=&#34;color:#f92672&#34;&gt;|&lt;/span&gt; apt&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;key add &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The fingerprint (DC30D7C23CBBABEE) given is the one that the first command outputs, which is the fingerprint of the key downloaded by curl.&lt;/p&gt;
&lt;p&gt;2. Add repo&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-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &amp;#34;deb http://deb.debian.org/debian buster-backports main&amp;#34; |sudo tee /etc/apt/sources.list.d/deb_buster_backports.list
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol&gt;
&lt;li&gt;run apt update/upgrade&lt;/li&gt;
&lt;li&gt;Install tor, I did this by:&lt;/li&gt;
&lt;/ol&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-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;apt-get install -o Dpkg::Options::=&amp;#34;--force-confold&amp;#34; -y tor
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&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>
    <item>
      <title>Debian based full updates in one command</title>
      <link>https://newblog.utzer.de/2020/04/20/debian-based-full-updates-in-one-command/</link>
      <pubDate>Mon, 20 Apr 2020 10:24:40 +0000</pubDate>
       <guid isPermaLink="false">http://tech.utzer.de/?p=107</guid> 
      <description>&lt;p&gt;I have this small script deployed on any of my #Debian based systems, it just does all the update, upgrade, dist-upgrade, autoremove and autoclean in one run.&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;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/sh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&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:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; $# -eq &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  sudo sh -c &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;apt-get update &amp;amp;&amp;amp; apt-get upgrade &amp;amp;&amp;amp; apt-get dist-upgrade &amp;amp;&amp;amp; apt-get update &amp;amp;&amp;amp; apt-get autoremove &amp;amp;&amp;amp; apt-get autoclean&amp;#34;&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:#66d9ef&#34;&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  sudo sh -c &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;apt-get update &amp;amp;&amp;amp; apt-get upgrade &amp;amp;&amp;amp; apt-get dist-upgrade &amp;amp;&amp;amp; apt-get update &amp;amp;&amp;amp; apt-get install &lt;/span&gt;$@&lt;span style=&#34;color:#e6db74&#34;&gt; &amp;amp;&amp;amp; apt-get autoremove &amp;amp;&amp;amp; apt-get autoclean&amp;#34;&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:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I have this script deployed in a lazy manner, I just have it sitting in my users home folder and called it &amp;ldquo;up&amp;rdquo;, I did do a &amp;ldquo;chmod +x up&amp;rdquo; and just start it like this:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
