<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Daniel Lange's blog (Entries tagged as apple)</title>
    <link>https://daniel-lange.com/</link>
    <description>agrep -pB IT /dev/life</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Thu, 28 Apr 2022 07:40:51 GMT</pubDate>

    <image>
    <url>//daniel-lange.com/uploads/Avatar_Blog_144_234.png</url>
    <title>RSS: Daniel Lange's blog - agrep -pB IT /dev/life</title>
    <link>https://daniel-lange.com/</link>
    <width>144</width>
    <height>234</height>
</image>

<item>
    <title>Apple Time Machine backups on Debian 9 (Stretch)</title>
    <link>https://daniel-lange.com/archives/156-Apple-Time-Machine-backups-on-Debian-9-Stretch.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/156-Apple-Time-Machine-backups-on-Debian-9-Stretch.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=156</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=156</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;table&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_noborder&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;https://daniel-lange.com/uploads/icons/markup/important.png&quot; title=&quot;Warning: Superseded by v3.1.13. Do not use the below packages anymore.&quot; alt=&quot;Warning: Superseded by v3.1.13. Do not use the below packages anymore.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Update from 28.04.2022: Do not use the packages below any more. There is Netatalk 3.1.13 out with fixes for multiple remote code execution (RCE) bugs. Use packages from recent Debian again, they have been updated.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;Netatalk 3.1.12 has been released which fixes an 18 year old &lt;abbr title=&quot;(Unauthorized) Remote Code Execution&quot;&gt;RCE&lt;/abbr&gt; bug. The &lt;a href=&quot;https://medium.com/tenable-techblog/exploiting-an-18-year-old-bug-b47afe54172&quot; title=&quot;Medium post detailing the exploit vector&quot;&gt;Medium write up&lt;/a&gt;  on &lt;a href=&quot;https://www.tenable.com/security/research/tra-2018-48&quot;&gt;CVE-2018-1160&lt;/a&gt; by Jacob Baines is quite an entertaining read.&lt;/p&gt;

&lt;p&gt;The full &lt;a href=&quot;http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.12.html&quot; title=&quot;Release Notes / Changelog for Netatalk 3.1.12&quot;&gt;release notes for 3.1.12&lt;/a&gt; are unfortunately not even half as interesting.&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_noborder&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;https://daniel-lange.com/uploads/icons/markup/info.png&quot; title=&quot;Warning: Read the original blog post before installing for the first time.&quot; alt=&quot;Warning: Read the original blog post before installing for the first time.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Be sure to read the &lt;a href=&quot;https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;Blog entry: Apple Timemachine backups on Debian 8 Jessie&quot;&gt;original blog post&lt;/a&gt; if you are new to Netatalk3 on Debian Jessie or Stretch!&lt;br /&gt;
You&#039;ll get nowhere if you install the .debs below and don&#039;t know about the upgrade path from 2.2.x which is still in the Debian archive. So &lt;abbr title=&quot;Read The Fine Article&quot;&gt;RTFA&lt;/abbr&gt;.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;For Debian Buster (Debian 10) we&#039;ll have Samba 4.9 which has learnt (from Samba 4.8.0 onwards) how to emulate a SMB time machine share. I&#039;ll make a write up how to install this once Buster stabilizes. This luckily means there will be no need to continue supporting Netatalk in normal production environments. So I guess &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690227&quot;&gt;bug #690227&lt;/a&gt; won&#039;t see a proper fix anymore. Waiting out problems helps at times, too :/.&lt;/p&gt;

&lt;p&gt;Update instructions and downloads:&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://daniel-lange.com/archives/156-Apple-Time-Machine-backups-on-Debian-9-Stretch.html#extended&quot;&gt;Continue reading &quot;Apple Time Machine backups on Debian 9 (Stretch)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 07 Jan 2019 13:59:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/156-guid.html</guid>
    <category>apple</category>
<category>backup</category>
<category>debian</category>
<category>netatalk</category>
<category>stretch</category>
<category>timemachine</category>
<category>updated</category>

</item>
<item>
    <title>Netatalk 3.1.9 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)</title>
    <link>https://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=119</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=119</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Netatalk 3.1.9 has been released with two interesting fixes / amendments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;FIX: afpd: fix &quot;admin group&quot; option&lt;/li&gt;
&lt;li&gt;NEW: afpd: new options &quot;force user&quot; and &quot;force group&quot;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here are the full &lt;a href=&quot;http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.9.html&quot; title=&quot;Release Notes / Changelog for Netatalk 3.1.9&quot;&gt;release notes for 3.1.9&lt;/a&gt; for your reading pleasure.&lt;/p&gt;

&lt;p&gt;Due to upstream now differentiating between SysVinit and systemd packages I&#039;ve followed that for simplicity&#039;s sake and built libgcrypt-only builds.
If you need the openssl-based tools continue to use the &lt;a href=&quot;https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;netatalk 3.1.8 .debs for Debian Jessie&quot;&gt;3.1.8 openssl build&lt;/a&gt; until you have finished your migration to a safer password storage.&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_noborder&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;https://daniel-lange.com/uploads/icons/markup/important.png&quot; title=&quot;Warning: Read the original blog post before installing for the first time.&quot; alt=&quot;Warning: Read the original blog post before installing for the first time.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Be sure to read the &lt;a href=&quot;https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;Blog entry: Apple Timemachine backups on Debian 8 Jessie&quot;&gt;original blog post&lt;/a&gt; if you are new to Netatalk3 on Debian Jessie!&lt;br /&gt;
You&#039;ll get nowhere if you install the .debs below and don&#039;t know about the upgrade path. So &lt;abbr title=&quot;Read The Fine Article&quot;&gt;RTFA&lt;/abbr&gt;.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;Now with that out of the way:&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://daniel-lange.com/archives/119-Netatalk-3.1.9-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#extended&quot;&gt;Continue reading &quot;Netatalk 3.1.9 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 07 Aug 2016 12:30:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/119-guid.html</guid>
    <category>apple</category>
<category>backup</category>
<category>debian</category>
<category>jessie</category>
<category>netatalk</category>
<category>systemd</category>
<category>sysvinit</category>
<category>timemachine</category>

</item>
<item>
    <title>Netatalk 3.1.8 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)</title>
    <link>https://daniel-lange.com/archives/115-Netatalk-3.1.8-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/115-Netatalk-3.1.8-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=115</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=115</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;The Debian Netatalk3 saga continues at &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685878&quot; title=&quot;Debian bugtracker: newer upstream versions available&quot;&gt;bug #685878&lt;/a&gt;. In season 4 of the epic the main issue still seems to be unclear license indications of a (very) few source files. And the usual &quot;you go fix it&quot;, &quot;no! you go fix it!&quot;. May be the fact that Firefox will be &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815006&quot; title=&quot;Debian bugtracker: Renaming Iceweasel to Firefox&quot;&gt;Firefox again in Debian&lt;/a&gt; [yeah!] could serve as an inspiration to the Netatalk maintainers?&lt;/p&gt;

&lt;p&gt;Ah, well, until we have the eureka moment for Netatalk3 (4?) ...&lt;br /&gt;
&lt;font color=&quot;green&quot;&gt;&amp;lt;pragmatism style=&quot;priority-on-users:yes&quot;&amp;gt;&lt;/font&gt; ... I&#039;ll post my .debs of the new 3.1.8 version of Netatalk as well.&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;
&lt;img class=&quot;serendipity_image_left&quot; width=&quot;48&quot; height=&quot;48&quot; hspace=&quot;20&quot; src=&quot;https://daniel-lange.com/uploads/icons/markup/important.png&quot; title=&quot;Warning: Read the original blog post before installing for the first time.&quot; alt=&quot;Warning: Read the original blog post before installing for the first time.&quot; /&gt;
&lt;/td&gt;
&lt;td&gt;
Be sure to read the &lt;a href=&quot;https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html&quot; title=&quot;Blog entry: Apple Timemachine backups on Debian 8 Jessie&quot;&gt;original blog post&lt;/a&gt; if you are new to Netatalk3 on Debian Jessie!&lt;br /&gt;
You&#039;ll get nowhere if you install the .debs below and don&#039;t know about the upgrade path. So &lt;abbr title=&quot;Read The Fine Article&quot;&gt;RTFA&lt;/abbr&gt;.
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;The &lt;a href=&quot;http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.8.html&quot; title=&quot;Release Notes / Changelog for Netatalk 3.1.8&quot;&gt;release notes for 3.1.8&lt;/a&gt; don&#039;t list anything that makes the update look mandatory but there is a nice compatibility fix for shares also exported via Samba (compatible xattrs handling). And it&#039;s faster.&lt;/p&gt;

&lt;p&gt;The update instructions (assuming you have installed 3.1.7 before) are:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# install new debs&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;dpkg&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-i&lt;/span&gt; libatalk17_3.1.8-&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;_amd64.deb netatalk_3.1.8-&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;_amd64.deb&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# reboot the box (restart of netatalk may not be sufficient)&lt;/span&gt;&lt;br /&gt;reboot&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# After reboot: remove the obsolete libatalk16 (3.1.8 uses libatalk17)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;dpkg&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-r&lt;/span&gt; libatalk16&lt;/div&gt;

&lt;p&gt;And here are the files:&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://daniel-lange.com/archives/115-Netatalk-3.1.8-.debs-for-Debian-Jessie-available-Apple-Timemachine-backup-to-Linux-servers.html#extended&quot;&gt;Continue reading &quot;Netatalk 3.1.8 .debs for Debian Jessie available (Apple Timemachine backup to Linux servers)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 18 Feb 2016 10:37:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/115-guid.html</guid>
    <category>apple</category>
<category>debian</category>
<category>jessie</category>
<category>samba</category>
<category>timemachine</category>
<category>update</category>
<category>xattrs</category>

</item>
<item>
    <title>Apple Timemachine backups on Debian 8 (Jessie)</title>
    <link>https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html</link>
            <category>Debian</category>
    
    <comments>https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=102</wfw:comment>

    <slash:comments>31</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=102</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Upgrading Debian 7 (Wheezy) servers to Debian 8 (Jessie) proves (unexpectedly) quite rough around the edges.&lt;/p&gt;

&lt;p&gt;That&#039;s what you get for using a version x.0, we should have known better &lt;img src=&quot;https://daniel-lange.com/plugins/serendipity_event_emoticate/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; class=&quot;emoticon&quot; /&gt;.&lt;/p&gt;

&lt;p&gt;And - of course - the &lt;a href=&quot;https://www.debian.org/releases/jessie/releasenotes&quot; title=&quot;Debian 8 Jessie release notes&quot;&gt;release notes&lt;/a&gt; follow the common practice of not even mentioning any of the issues we encountered so far.&lt;/p&gt;

&lt;p&gt;Ah, well, let&#039;s go through the first one:&lt;/p&gt;

&lt;p&gt;In Debian 7 (Wheezy) there was netatalk 2.2.2 (&lt;a href=&quot;https://packages.debian.org/wheezy/net/netatalk&quot; title=&quot;netatalk in Debian Wheezy&quot;&gt;packages link&lt;/a&gt;). Now during upgrades that package may or may not get &lt;em&gt;removed&lt;/em&gt;. There is no netatalk in Debian 8 (Jessie) anymore. Duh.
There is in sid (aka Debian unstable) (&lt;a href=&quot;https://packages.debian.org/sid/net/netatalk&quot; title=&quot;netatalk in Debian Sid&quot;&gt;packages link&lt;/a&gt;) so we may see a backport some time. Or not. In any case this is still 2.2.5 at the time of writing and as Adrian Knoth put it in the three year old &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690227#81&quot; title=&quot;Debian bugtracker bug report page&quot;&gt;bug&lt;/a&gt;  asking for a upgrade to Netatalk 3:&lt;/p&gt;

&lt;blockquote&gt;
Let&#039;s not ship another release without netatalk3, it&#039;s embarrassing.
&lt;/blockquote&gt;

&lt;p&gt;Yes. It is. Removing a working version and not even mentioning it in the release notes is even worse though. So no cookies there.&lt;/p&gt;

&lt;p&gt;Luckily the absolutely awesome Debian and greater FLOSS community have sorted 90% of the problem out for us already:&lt;/p&gt;

&lt;p&gt;A quick Google search turns up an excellent article on netatalk&#039;s wiki that details &lt;a href=&quot;&quot; title=&quot;Netatalk wiki entry: Install Netatalk 3.1.7 on Debian 8 Jessie&quot;&gt;installing Netatalk 3.1.7 on Debian 8 Jessie&lt;/a&gt;. There are two shortcomings to this: First it doesn&#039;t compile to .debs but installs besides apt and friends. And second it compiles with Spotlight search, courtesy of Gnome tracker, which doesn&#039;t really work well on servers yet. Hence we&#039;re lucky that &lt;a href=&quot;https://github.com/adiknoth/netatalk-debian&quot; title=&quot;Github repository for Debian netalk packages version 3.x&quot;&gt;Adrian Knoth&#039;s debified install&lt;/a&gt; has not yet added the tracker dependencies. It does compile for systemd use (the default for Debian 8 Jessie). If you want to continue using SysVInit, you need to modify &lt;code&gt;debian/rules&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Compiling to .debs becomes as easy as:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# get build dependencies and a few helpers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get install&lt;/span&gt; build-essential devscripts debhelper cdbs autotools-dev dh-buildinfo libdb-dev libwrap0-dev libpam0g-dev libcups2-dev libkrb5-dev libltdl3-dev libgcrypt11-dev libcrack2-dev libavahi-client-dev libldap2-dev libacl1-dev libevent-dev d-shlibs dh-systemd&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# in case you want to try the tracker support (you need to ammend the debian/ build config as well)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# apt-get install tracker libtracker-sparql-1.0-dev libtracker-miner-1.0-dev &amp;#160;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;git clone&lt;/span&gt; https:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;//&lt;/span&gt;github.com&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;adiknoth&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;netatalk-debian&lt;br /&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;cd&lt;/span&gt; netatalk-debian&lt;br /&gt;debuild &lt;span style=&quot;color: #660033;&quot;&gt;-b&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-uc&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-us&lt;/span&gt;&lt;/div&gt;

&lt;p&gt;This should leave you with (at the time of writing this):&lt;/p&gt;

&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
  &lt;th&gt;File&lt;/th&gt;
  &lt;th&gt;Function&lt;/th&gt;
  &lt;th&gt;md5&lt;/th&gt;
  &lt;th&gt;sha1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;https://daniel-lange.com/software/netatalk/gcrypt/libatalk-dev_3.1.7-1_amd64.deb&quot; title=&quot;download for AMD64: 304kB&quot;&gt;libatalk-dev_3.1.7-1_amd64.deb&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;Development files for the libatalk library (dev only)&lt;/td&gt;
  &lt;td&gt;e5a465e39a8560c919d8db85c8e5a83b&lt;/td&gt;
  &lt;td&gt;0b924cf75f22ab42406289c6f18ae0243d6396a3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;https://daniel-lange.com/software/netatalk/gcrypt/libatalk16_3.1.7-1_amd64.deb&quot; title=&quot;download for AMD64: 253kB&quot;&gt;libatalk16_3.1.7-1_amd64.deb&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;libatalk library (needed)&lt;/td&gt;
  &lt;td&gt;17a3d677ed0b3df1c2f4c1a8ab9045fd&lt;/td&gt;
  &lt;td&gt;7345ed3edd442716c99c2fe979140703204c0826&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;https://daniel-lange.com/software/netatalk/gcrypt/netatalk_3.1.7-1_amd64.deb&quot; title=&quot;download for AMD64: 302kB&quot;&gt;netatalk_3.1.7-1_amd64.deb&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;netatalk daemons (needed)&lt;/td&gt;
  &lt;td&gt;c694abca7f3cdc0070b2b3e7d528324a&lt;/td&gt;
  &lt;td&gt;932d1e3d5899958f29e79a7ba40e858d4ac272e8&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Obviously you can download the files above if you run the AMD64 architecture and trust me enough to compile them for you.&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html#extended&quot;&gt;Continue reading &quot;Apple Timemachine backups on Debian 8 (Jessie)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 18 May 2015 18:00:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/102-guid.html</guid>
    <category>apple</category>
<category>backup</category>
<category>debian</category>
<category>jessie</category>
<category>netatalk</category>
<category>timemachine</category>
<category>updated</category>
<category>wheezy</category>

</item>
<item>
    <title>iTunes starts but does not show the main application window</title>
    <link>https://daniel-lange.com/archives/91-iTunes-starts-but-does-not-show-the-main-application-window.html</link>
            <category>IT</category>
    
    <comments>https://daniel-lange.com/archives/91-iTunes-starts-but-does-not-show-the-main-application-window.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=91</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=91</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Every once in a while iTunes on Windows decides to start but does not show the main application window when trying to sync an iPhone (or any other iDevice).&lt;br /&gt;
May be it pops up after half an hour, may be not.&lt;/p&gt;

&lt;p&gt;This behavior is caused by iTunes waiting for its &lt;a href=&quot;https://en.wikipedia.org/wiki/Bonjour_%28software%29&quot; title=&quot;Wikipedia: Bonjour&quot;&gt;Bonjour&lt;/a&gt; zeroconf network service.
Unfortunately though iTunes is updated very frequently that bug is persistent for years now.&lt;br /&gt;
The work-around is easy though:&lt;/p&gt;

&lt;p&gt;Open up &lt;strong&gt;&lt;code&gt;CMD&lt;/code&gt;&lt;/strong&gt; as &lt;strong&gt;Administrator&lt;/strong&gt; and type&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;code&gt;net stop &quot;bonjour service&quot;&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;and iTunes should pop up its window a few moments later.
It will complain about Bonjour not running but that is not needed for anything but network self-discovery. Which you usually don&#039;t need anyways.&lt;/p&gt;

&lt;p&gt;If you do, you can start Bonjour again with&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;code&gt;net start &quot;bonjour service&quot;&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;anytime also while iTunes is running. Once it decides to show its main window, it&#039;s fine to go for the session.&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:611 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;842&quot; height=&quot;550&quot;  src=&quot;https://daniel-lange.com/uploads/entries/140215_Screenshot_iTunes_cmd.jpg&quot; title=&quot;Fixing Windows the Unix way ;-)&quot; alt=&quot;Screenshot of iTunes and the CMD window&quot; /&gt;&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 17 Feb 2014 12:00:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/91-guid.html</guid>
    <category>apple</category>
<category>bonjour</category>
<category>bug</category>
<category>itunes</category>
<category>network</category>
<category>windows</category>
<category>zeroconf</category>

</item>
<item>
    <title>Apple iPhone ring tones Linux style</title>
    <link>https://daniel-lange.com/archives/59-Apple-iPhone-ring-tones-Linux-style.html</link>
            <category>Open Source</category>
    
    <comments>https://daniel-lange.com/archives/59-Apple-iPhone-ring-tones-Linux-style.html#comments</comments>
    <wfw:comment>https://daniel-lange.com/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;Apple has crippled the iPhone to not allow normal music files as ringtones. Business decision. Technically any sub 40 second MP4 audio file will do once you rename it to &lt;code&gt;*.m4r&lt;/code&gt; and drag-and-drop it to the ringtones folder of your phone in iTunes. Longer ones will work, too. But you&#039;d need a jailbroken iPhone for that as iTunes will refuse to transfer the ringtone file if it&#039;s too long. Not much of an issue imho, who keeps ringing your phone for 40 seconds or more?&lt;/p&gt;

&lt;p&gt;There&#039;s a gazillion websites available telling you how to convert a single .mp3-file to a ringtone with or without iTunes help and there are hundreds of tools doing that for you if you can&#039;t find out how to do it with just iTunes itself. Still the ones I tried failed for me as I wanted to convert my 20 or so standard ringtones from the good old Motorola K3 to iPhone ringtones all in one go. Without having to edit each one by hand. They are already nice ringtones and have served me well for years, just too long for the iPhone and in .mp3 format.&lt;/p&gt;

&lt;p&gt;The basic processing sequence needed is&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cut the .mp3 down to 39s&lt;/li&gt;
&lt;li&gt;Convert the .mp3 -&gt; .wav (with mplayer, normalize output gain while we&#039;re at it)&lt;/li&gt;
&lt;li&gt;Convert the .wav -&gt; .mp4 (with facc)&lt;/li&gt;
&lt;li&gt;Clean up, GOTO 1 for next file&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So below is the free shell script to create multiple ringtones in one go on any Linux system. You need to install cutmp3, mplayer and faac for it, so &lt;code&gt;apt-get install cutmp3 mplayer faac&lt;/code&gt; on Debian or Ubuntu. cutmp3 is currently not in the portage tree for Gentoo, but you can download an ebuild from &lt;a href=&quot;http://www.fn-clan.de/downloads/gentoo/poly-c_overlay/media-sound/cutmp3/&quot; title=&quot;Ebuild for cutmp3&quot;&gt;Polynomial-C&#039;s overlay&lt;/a&gt; (&lt;a href=&quot;http://gentoo-overlays.zugaina.org/poly-c/portage/media-sound/cutmp3/&quot; title=&quot;Poly-C mirror at gentoo-overlays.zugaina.org&quot;&gt;mirror&lt;/a&gt;). Or you just download the cutmp3 binary from &lt;a href=&quot;http://www.puchalla-online.de/cutmp3.html&quot; title=&quot;download Cutmp3 from the author&#039;s homepage&quot;&gt;Jochen Puchalla&#039;s homepage&lt;/a&gt;. There&#039;s no error checking in the script, so know your way around the shell before running it.&lt;/p&gt;

&lt;p&gt;Without further ado:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# convert_to_ringtone file1.mp3 [file2.mp3, ...]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# Placed into the public domain by Daniel Lange, 2011.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; arg&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Processing &lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;...&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; cutmp3 &lt;span style=&quot;color: #660033;&quot;&gt;-c&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-a&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;0.0&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-b&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;39.0&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-O&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;.tmp&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;mplayer&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-vo&lt;/span&gt; null &lt;span style=&quot;color: #660033;&quot;&gt;-vc&lt;/span&gt; null &lt;span style=&quot;color: #660033;&quot;&gt;-af&lt;/span&gt; volnorm &lt;span style=&quot;color: #660033;&quot;&gt;-ao&lt;/span&gt; pcm:fast:&lt;span style=&quot;color: #007800;&quot;&gt;file&lt;/span&gt;=tmpfile.wav &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;.tmp&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; faac &lt;span style=&quot;color: #660033;&quot;&gt;-b&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;128&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-c&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;44100&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-w&lt;/span&gt; tmpfile.wav&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #007800;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/.mp3//g&#039;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sed&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;s/ /_/g&#039;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;mv&lt;/span&gt; tmpfile.m4a &lt;span style=&quot;color: #007800;&quot;&gt;$name&lt;/span&gt;.m4r&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; tmpfile.wav&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt;.tmp&amp;quot;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&lt;span style=&quot;color: #007800;&quot;&gt;$arg&lt;/span&gt; done.&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;

&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; title=&quot;Apple 1984 ad. When they we&#039;re thinking different.&quot; href=&#039;http://en.wikipedia.org/wiki/1984_(advertisement)&#039; target=&quot;_blank&quot;&gt;&lt;!-- s9ymdb:535 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;305&quot; height=&quot;228&quot;  src=&quot;https://daniel-lange.com/uploads/Apple1984.jpg&quot; title=&quot;Apple 1984 ad. When they were thinking differently.&quot; alt=&quot;Wikipedia article on Apple&#039;s 1984 ad.&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Update&lt;/h3&gt;

&lt;p&gt;23.12.14 Apparently the faac package in Debian and Ubuntu has had the MP4 writing capability removed in v1.28-5 and later due to a minor license incompatibility. See the &lt;a href=&quot;http://metadata.ftp-master.debian.org/changelogs//non-free/f/faac/&quot; title=&quot;Debian Changelogs for faac&quot;&gt;Debian Changelogs&lt;/a&gt;. Duh.&lt;/p&gt;

&lt;pre&gt;
faac (1.28-5) unstable; urgency=low
  [ Andres Mejia ]
  * Disable mp4v2 support.
    This only disables mp4v2 for the faac utility program. The faac
    utility is GPL-2 but the mp4v2 library is MPL-1.1. The two licenses
    are incompatible with each other.
&lt;/pre&gt;

&lt;p&gt;So ... unfortunately you have to built faac from source yourself or pin the v1.28-4 version which is identical except for the castration anyways.&lt;/p&gt;

&lt;p&gt;Random distro dev: &lt;i&gt;&quot;Why oh why doesn&#039;t my distro ever head mainstream...?&quot;&lt;/i&gt;&lt;br /&gt;
Hint: Because of stuff like this.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 27 Mar 2011 09:55:00 +0000</pubDate>
    <guid isPermaLink="false">https://daniel-lange.com/archives/59-guid.html</guid>
    <category>apple</category>
<category>convert</category>
<category>iphone</category>
<category>mp3</category>
<category>mp4</category>
<category>ringtone</category>
<category>script</category>
<category>shell</category>
<category>updated</category>

</item>

</channel>
</rss>
