<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Off you go... into the purple yonder! &#187; Free Software/Open Source</title>
	<atom:link href="https://ward.vandewege.net/blog/category/free-software-open-source/feed/" rel="self" type="application/rss+xml" />
	<link>https://ward.vandewege.net/blog</link>
	<description></description>
	<lastBuildDate>Sun, 12 May 2024 20:57:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Happy 30th, GNU!</title>
		<link>https://ward.vandewege.net/blog/2013/09/happy-30th-gnu/</link>
		<comments>https://ward.vandewege.net/blog/2013/09/happy-30th-gnu/#comments</comments>
		<pubDate>Sat, 28 Sep 2013 02:53:03 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=758</guid>
		<description><![CDATA[RMS launched the GNU project on September 27th, 1983. MIT hackers generously lent us the use of the Green building tonight. It needs some of its pixels repaired, though!]]></description>
				<content:encoded><![CDATA[<p>RMS launched the GNU project on September 27th, 1983.</p>
<p><a href="//ward.vandewege.net/blog/wp-content/uploads/2013/07/dsc_0024.jpg"><img src="//ward.vandewege.net/blog/wp-content/uploads/2013/07/dsc_0024-e1380336322573-682x1024.jpg" alt="" title="GNU" width="640" height="960" class="aligncenter size-large wp-image-775" /></a></p>
<p><a href="//ward.vandewege.net/blog/wp-content/uploads/2013/07/dsc_0006.jpg"><img src="//ward.vandewege.net/blog/wp-content/uploads/2013/07/dsc_0006-e1380336438556-682x1024.jpg" alt="" title="30th" width="640" height="960" class="aligncenter size-large wp-image-776" /></a></p>
<p>MIT hackers generously lent us the use of the Green building tonight. It needs some of its pixels repaired, though!</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2013/09/happy-30th-gnu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>at the White House</title>
		<link>https://ward.vandewege.net/blog/2013/06/at-the-white-house/</link>
		<comments>https://ward.vandewege.net/blog/2013/06/at-the-white-house/#comments</comments>
		<pubDate>Sun, 30 Jun 2013 02:18:21 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=733</guid>
		<description><![CDATA[I visited the White House last week to present a poster on Arvados.org during a Champions of Change event about Open Science. There are more photos on Flickr.]]></description>
				<content:encoded><![CDATA[<p>I visited the White House last week to present a poster on <a href="https://arvados.org">Arvados.org</a> during a <a href="https://arvados.org/blogs/6">Champions of Change event about Open Science</a>.</p>
<p>There are more photos <a href="http://www.flickr.com/groups/white-house-open-science-champions-of-change/pool/">on Flickr</a>.</p>
<p><img src="//ward.vandewege.net/blog/wp-content/uploads/2013/06/20130620-white-house-800px.jpg" width="600"/></p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2013/06/at-the-white-house/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>microsoft discovers remote attestation</title>
		<link>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/</link>
		<comments>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 02:31:03 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=579</guid>
		<description><![CDATA[Via slashdot: Microsoft&#8217;s corporate VP for trustworthy computing &#8211; Scott Charney &#8211; has published a position paper that boils down to remote attestation: let ISPs cut off internet access for computers that are not deemed free of malware. So&#8230; how &#8230; <a href="https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Via <a href="http://it.slashdot.org/story/10/10/08/006240/Microsoft-Eyes-PC-Isolation-Ward-To-Thwart-Botnets">slashdot</a>: Microsoft&#8217;s corporate VP for trustworthy computing &#8211; Scott Charney &#8211; has <a href="http://blogs.technet.com/b/microsoft_on_the_issues/archive/2010/10/05/the-need-for-global-collective-defense-on-the-internet.aspx?wa=wsignin1.0">published a position paper</a> that boils down to <a href="http://en.wikipedia.org/wiki/Trusted_Computing#Remote_attestation">remote attestation</a>: let ISPs cut off internet access for computers that are not deemed free of malware.</p>
<p>So&#8230; how would this work? Presumably the computer would run some code that is not under the control of the user/owner of the machine, and protected by the <a href="http://en.wikipedia.org/wiki/Trusted_Platform_Module">TPM</a> module. That code would then validate if the machine is free of malware or not &#8211; somehow. I have no idea how that could possibly be foolproof, but let&#8217;s assume for a moment there is a way to do this.</p>
<p>First problem: your computer would have to run code that most likely comes without source, is hard or impossible to inspect, and cannot be changed.</p>
<p>Let&#8217;s say for the sake of argument that this validation code is somehow optional. Or perhaps you are an enterprising person, and you&#8217;ve managed to kick this stuff off your computer (TPM-ectomy, anyone?). Next problem: now you can&#8217;t validate your computer with your ISP to prove that it is free of malware. To do that, you need access to the secret encryption key buried in the TPM.</p>
<p>This is called remote attestation: the machine(s) your computer communicates with can see information about your computer &#8211; say, what operating system you run, and what patch level &#8211; and because that data is signed or encrypted by your TPM chip, <i>you can not change it</i>.</p>
<p>Note that it&#8217;s already pretty easy for remote machines to see what (version of) an operating system a computer runs, for instance with <a href="http://en.wikipedia.org/wiki/TCP/IP_stack_fingerprinting">TCP/IP fingerprinting</a>, but that is easy to fake.</p>
<p>Remote attestation is the real danger of &#8216;trustworthy&#8217; computing. They can try to put all sorts of things in the hardware; if people have physical access, someone will find a way around it. But if they make it impossible to network your computer without an operational TPM chip then we might as well kiss all our free software and free hardware goodbye. It won&#8217;t be any good to run a computer with GNU/Linux, if we can&#8217;t go online with it&#8230; Or if our online banking refuses to talk to our computer because our machine is not deemed to be running a fully patched version of Windows.</p>
<p>Given that this position paper comes from Microsoft, it&#8217;s not too hard to see where they want to go. Microsoft would love to be in a position where ISPs and banks require certain patchlevels of its software. Can you imagine a better way to force people to keep upgrading their Windows licenses? Or to force people to stop using free operating systems?</p>
<p>I have a better idea to combat the malware problem, mr. Charney. Why don&#8217;t we ask people to stop using Windows. Without Windows, the malware/botnet problem would not be nearly as bad as it is today.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2010/10/microsoft-discovers-remote-attestation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CF iPod conversion to FAT32</title>
		<link>https://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/</link>
		<comments>https://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:29:00 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=529</guid>
		<description><![CDATA[In order to install Rockbox on an iPod, it needs to be formatted in FAT32, not HFS+. The relevant wiki page over at the Rockbox site suggest either connecting the iPod to an iTunes install on Windows, or using one &#8230; <a href="https://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In order to install <a href="http://rockbox.org">Rockbox</a> on an iPod, it needs to be formatted in FAT32, not HFS+. The <a href="http://www.rockbox.org/wiki/IpodConversionToFAT32">relevant wiki page</a> over at the Rockbox site suggest either connecting the iPod to an iTunes install on Windows, or using one of the bootsectors they have available for download from that page.</p>
<p>Those boot sectors assume your iPod has one of the factory disks installed. I&#8217;ve got an old 4th gen iPod that I <a href="http://www.instructables.com/id/Convert-your-4th-Gen-iPod-to-use-Flash-Memory/">converted to compact flash</a> after its disk died. It happens to have an 8G CF card in there.</p>
<p>Since I don&#8217;t do Windows, I downloaded the 20G 4th gen bootsector, put that on the iPod, and used fdisk to change the size of the FAT32 partition. And that worked fine.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2010/01/cf-ipod-conversion-to-fat32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRAC5 source code available for download</title>
		<link>https://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/</link>
		<comments>https://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 15:31:51 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[drac]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=516</guid>
		<description><![CDATA[Dell&#8217;s DRAC5 is based on free software. The source has been rumored to be available but hard to find &#8211; until today, when this helpful e-mail popped up on the linux-poweredge list. Here&#8217;s the link to an ISO with the &#8230; <a href="https://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Dell&#8217;s <a href="http://en.wikipedia.org/wiki/Dell_DRAC">DRAC5</a> is based on free software. The source has been rumored to be available but hard to find &#8211; until today, when this <a href="http://lists.us.dell.com/pipermail/linux-poweredge/2009-November/040541.html">helpful e-mail</a> popped up on the linux-poweredge list.</p>
<p>Here&#8217;s the link to an ISO with the DRAC5 source:</p>
<p>  <a href="http://opensource.dell.com/releases/drac5/1.60/">http://opensource.dell.com/releases/drac5/1.60/</a></p>
<p>(link updated 2012/12/09, thanks sync0x!)</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/11/drac5-source-code-available-for-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jaunty&#8217;s stabilizing</title>
		<link>https://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/</link>
		<comments>https://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:25:42 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[intelvideo]]></category>
		<category><![CDATA[jauntyjackalope]]></category>
		<category><![CDATA[karmickoala]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=438</guid>
		<description><![CDATA[A quick update on some of the bugs reported in my previous post bugs, bugs, bugs: upgrading to jaunty jackalope. The two most serious problems were atrocious Intel video performance, and ongoing sound issues. Thankfully, the Intel issues have been &#8230; <a href="https://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A quick update on some of the bugs reported in my previous post <a href="http://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/">bugs, bugs, bugs: upgrading to jaunty jackalope</a>.</p>
<p>The two most serious problems were atrocious Intel video performance, and ongoing sound issues. Thankfully, the Intel issues have been addressed. Specifically, a really nice <a href="https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance">Troubleshooting Intel Performance</a> document by Bryce Harrington has appeared. It lays out what is happening (in short: major driver refactoring), why it is affecting performance on some hardware, and specifically what to check and how to work around speed issues.</p>
<p>I ended up going back to the xserver-xorg-video-intel-2.4 package which fixes my main issue &#8211; really slow workspace switches. Looks like kernel and X.org fixes have already made it to Karmic Koala, but I&#8217;m happy to use the older driver until Karmic is released.</p>
<p>As for tor, Jaunty packages are now available so to install tor, just add</p>
<pre>
deb     http://mirror.noreply.org/pub/tor jaunty main
deb-src http://mirror.noreply.org/pub/tor jaunty main
</pre>
<p>to your</p>
<pre>
/etc/apt/sources.list
</pre>
<p>and apt-get install tor.</p>
<p>Finally &#8211; there&#8217;s a better way to reload the sound modules:</p>
<pre>
alsa force-reload
</pre>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/06/jauntys-stabilizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bugs, bugs, bugs: upgrading to jaunty jackalope</title>
		<link>https://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/</link>
		<comments>https://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:01:46 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=413</guid>
		<description><![CDATA[I upgraded my laptop to Jaunty Jackalope. Here&#8217;s the list of issues (and solutions) I&#8217;ve run into: 1. Tor is not packaged anymore, apparently there is no Ubuntu maintainer. Upstream provides Ubuntu packages, but they have no jaunty package yet. &#8230; <a href="https://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I upgraded my laptop to Jaunty Jackalope. Here&#8217;s the list of issues (and solutions) I&#8217;ve run into:</p>
<p>1. Tor is not packaged anymore, <a href="http://www.mail-archive.com/ubuntu-devel-discuss@lists.ubuntu.com/msg07257.html">apparently there is no Ubuntu maintainer</a>. Upstream provides Ubuntu packages, but they have no jaunty package yet. So, we need to build from the intrepid source package. Add</p>
<pre>
  deb-src http://mirror.noreply.org/pub/tor intrepid main
</pre>
<p>to your /etc/apt/sources.list, and </p>
<pre>
  apt-get update
  cd /usr/src
  apt-get build-dep tor
  apt-get source tor -b
</pre>
<p>2. <a href="https://bugs.edge.launchpad.net/bugs/270046">Bug 270046</a>: Apparmor *still* fights with cups-pdf. This one&#8217;s been around since the Hardy days. You&#8217;d think it would be fixed by now&#8230; Specifically, print jobs to the PDF printer will just vanish because apparmor does not allow cupsd to save them in ~/PDF. Solution: disable apparmor for cupsd:</p>
<pre>
  apparmor_parser -R /etc/apparmor.d/usr.sbin.cupsd
  /etc/init.d/apparmor restart
</pre>
<p>3. <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/339555">Bug 339555</a>: Intel video is really really really really slow. Case in point: workspace switching takes seconds. (Partial) fix: upgrade to a <a href="http://www.myubuntu.ca/?p=256">experimental 2.6.30rc3 kernel</a>. Even with that kernel, video performance on this GM965/GL960 based system is still not what it should be. To be continued, no doubt.</p>
<p>4. <a href="https://bugs.edge.launchpad.net/ubuntu/+source/qt4-x11/+bug/334657">Bug 334657</a>: Subpixel/Lcd mode with VRGB/VBGR makes fonts on qt4 applications unreadable. Really, really unreadable. Fix: use experimental <a href="https://edge.launchpad.net/~echidnaman/+archive/ppa">patched qt4-x11 packages</a>.</p>
<p>5. Sound has been an issue on this laptop from day one. It&#8217;s a Dell inspiron 1420N that shipped with Ubuntu preinstalled, but at the time a special Dell-supplied kernel was necessary to get working sound. The sound hardware is</p>
<pre>
$ lspci -vnn
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
	Subsystem: Dell Device [1028:01f3]
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
</access></pre>
<p>First of all I had to add my user to the pulse-rt group &#8211; pulseaudio was complaining loudly about that in /var/log/syslog. That&#8217;s a Jaunty upgrade bug.</p>
<p>Secondly, for some reason I can not get sound to work until I unload the snd_hda_intel module and reload it. Sadly, that means closing all applications that are using the sound hardware &#8211; mpd, firefox, pidgin, the gnome volume control applet, etc. I don&#8217;t know what&#8217;s causing this, but I had the same problem on Intrepid after the last kernel upgrade. Again, to be continued.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/04/bugs-bugs-bugs-upgrading-to-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drupal: disable caching for an entire module</title>
		<link>https://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/</link>
		<comments>https://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 15:35:54 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=408</guid>
		<description><![CDATA[I have a legacy php application that had to be integrated into a Drupal site, so I wrapped it in a simple drupal module. The code needs to run for anonymous users. The wrapping worked fine, but the Drupal cache &#8230; <a href="https://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have a legacy php application that had to be integrated into a Drupal site, so I wrapped it in a simple drupal module. The code needs to run for anonymous users.</p>
<p>The wrapping worked fine, but the Drupal cache really gets in the way sometimes. For instance, my legacy code does not use the drupal_set_message functions when a form submit fails. That means that the page that tells the user they made a mistake gets cached, leading to all sorts of unexpected results.</p>
<p>I looked around for a way to disable the Drupal cache for an entire module, but only found <a href="http://www.seo-expert-blog.com/blog/clearing-drupals-page-cache-after-adding-comments">some</a> <a href="http://drupal.org/node/49055">results</a> <a href="http://drupal.org/node/23797">that</a> didn&#8217;t quite do the trick. But then I stumbled across the <a href="http://drupal.org/project/cacheexclude">CacheExclude</a> module, which does exactly what I want. I didn&#8217;t want to include yet another module for something as simple as this, so just duplicated the &#8216;magic&#8217; lines in my module:</p>
<pre>
function your_module_name_init() {
  // We don't want caching for this module
  if (drupal_match_path($_GET['q'],'url_of_your_module/*')) {
    $GLOBALS['conf']['cache'] = FALSE;
  }
}
</pre>
<p>In that snippet, you&#8217;ll want to change &#8216;url_of_your_module&#8217; to a string unique to the path of your module. For instance, if your module lives a http://my.web.site/the-wrapped-module/, then you could put &#8216;the-wrapped-module&#8217; in the place of &#8216;url_of_your_module&#8217;.</p>
<p>And that does the trick. Now, I&#8217;m by no means a Drupal expert, so there may well be a better way to do this. Feel free to leave a comment if you know how.</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/04/drupal-disable-caching-for-an-entire-module/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Asterisk vs. Telemarketer: 1 &#8211; 0</title>
		<link>https://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/</link>
		<comments>https://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 00:41:07 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=400</guid>
		<description><![CDATA[We&#8217;ve been getting telephone spam from Affiliated Mortgage Protection Affiliated Mortgage Protection 292 Terminal Ave W, Clark, NJ- 7066. (732)-499-0700 We answered five of their calls the past three weeks, and each time asked them to stop calling. Apparently, they &#8230; <a href="https://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve been getting telephone spam from Affiliated Mortgage Protection </p>
<pre>
Affiliated Mortgage Protection
292 Terminal Ave W,
Clark, NJ- 7066.
(732)-499-0700
</pre>
<p>We answered five of their calls the past three weeks, and each time asked them to stop calling. Apparently, they happily ignore these requests.</p>
<p>They called again this evening and the lady on the phone had the nerve to say that she would have to put me on hold to get taken off their list, because I would have to talk to a supervisor. I hung up. We&#8217;re on the <a href="http://donotcall.gov">do not call</a> list, so I filed a complaint. </p>
<p>Anyway &#8211; no more. I decided to let <a href="http://asterisk.org">Asterisk</a> deal with them:</p>
<pre>
; Affiliated Mortgages.
exten => XXXXXXXXXX,n,GotoIf($["${CALLERID(num)}" = "7324990700"]?Telemarketer)

; Telemarketers. Let it ring for 5 minutes and then hang up on them.
exten => XXXXXXXXXX,n(Telemarketer),Ringing
exten => XXXXXXXXXX,n,Wait(300)
exten => XXXXXXXXXX,n,Hangup
</pre>
<p>Make sure you have</p>
<pre>
[general]
unanswered = yes
</pre>
<p>in your cdr.conf if you want to log the call attempts from frustrated telemarketers <img src="https://ward.vandewege.net/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2009/04/asterisk-vs-telemarketer-1-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dell&#8217;s GNU/Linux support leaves to be desired</title>
		<link>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/</link>
		<comments>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:59:33 +0000</pubDate>
		<dc:creator><![CDATA[ward]]></dc:creator>
				<category><![CDATA[Free Software/Open Source]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://ward.vandewege.net/blog/?p=287</guid>
		<description><![CDATA[So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066 Man &#8211; what a &#8230; <a href="https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>So I have a poweredge 2800 with some hardware issues (voltage sensors on the riser card seeing things they should not&#8230;). The Dell support folks wanted me to run a DSET report with this tool</p>
<pre>

http://support.euro.dell.com/support/downloads/download.aspx?c=uk&#038;l=en&#038;s=gen&#038;releaseid=R155882&#038;formatcnt=2&#038;libid=0&#038;fileid=208066

</pre>
<p>Man &#8211; what a pile of crap. This thing is a self-extracting archive for rpm-based systems (redhat/suse). Fine &#8211; except that I run Debian on that machine. Anyway, you can run it with &#8211;extract to extract the contents:</p>
<pre>
./delldset_v1.4.0.8.bin --help


Command-line options for Dell System E-Support Tool (DSET)

Usage: <package name> [options...]

Options:

-h,--help        : Display command-line usage help
-i,--install     : Install/upgrade the DSET application
-v,--version     : Display version information
--list           : Display contents of package (+)
--extract <path> : Extract files to specified path (+)

Using no options will display the interactive user
interface which will guide you through using DSET.
</path></package></pre>
<p>These contents are basically an rpm file and some support files:</p>
<pre>
-r-xr-xr-x  1 ward ward     4133 Apr  2  2007 Dell_License*
-r-xr-xr-x  1 ward ward     9909 May  8  2007 README*
-r-xr-xr-x  1 ward ward       58 May  8  2007 Version.txt*
-r-xr-xr-x  1 ward ward 15200341 May  9  2007 delldset-1.4.0-8.i386.rpm*
-rw-r--r--  1 ward ward 15187240 Oct 27 15:57 delldset_1.4.0-9_i386.deb
-r-xr-xr-x  1 ward ward    10271 Apr  2  2007 install.sh*
-r-xr-xr-x  1 ward ward      472 Apr  2  2007 sphelp.txt*
-r-xr-xr-x  1 ward ward       24 May  4  2005 test.sh*
-r-xr-xr-x  1 ward ward     9877 Apr  2  2007 utility.sh*
</pre>
<p>The rpm can be transformed into a .deb with alien:</p>
<pre>
$ alien delldset-1.4.0-8.i386.rpm 
Warning: Skipping conversion of scripts in package delldset: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
delldset_1.4.0-9_i386.deb generated
$ alien delldset-1.4.0-8.i386.rpm --scripts
delldset_1.4.0-9_i386.deb generated
</pre>
<p>Which installs fine &#8211; but you really want to be using a kernel that has ipmi functionality compiled as modules; otherwise the package will not install properly until you add</p>
<pre>
hapi.allow.user.mode=yes
</pre>
<p>to /etc/omreg.cfg. In any case, you need to have ipmi as modules for the rest of this sequence of commands, so you might as well boot into a stock Debian kernel.</p>
<p>You&#8217;ll probably want to have installed Dell&#8217;s open manage before you run the DSET report. To do that, add </p>
<pre>
  deb ftp://ftp.sara.nl/pub/sara-omsa dell sara
</pre>
<p>to your /etc/apt/sources.list file and </p>
<pre>
  apt-get update
  apt-get install dellomsa
</pre>
<p>So, then you would be ready to run the dellsysteminfo command but WAIT &#8211; don&#8217;t do it yet. That script is dangerous. It does stuff like this, probing for the running services (from /opt/dell/dset/bin/dell-sysreport.sh):</p>
<pre>
#Dell: Extra OS stuff we want

echo "     Getting status of services ..." ${TEE2LOG}

#Dell: SuSE doesn't have a "service status" method so do it the manual way 
#catifexec "/sbin/service" "--status-all" 
 
rm -f $ROOT/service > /dev/null 2>&#038;1 
 
SERVICEDIR=/etc/init.d 
 
#pushd ${SERVICEDIR} > /dev/null 
          for SERVICE in `ls -1 ${SERVICEDIR}` ; do 
 
            case "${SERVICE}" in 
#Skip over these "services" since they tend to hang some systems when requested for status 
              functions | halt | killall | single| linuxconf| kudzu | bgpd | boot | reboot | single | nscd | \ 
                  halt.* | rc | boot.* | *rpmorig | *rpmnew | *rpmsave | *~ | *.orig) 
      ;; 
              *) 
                if [ -x "${SERVICEDIR}/${SERVICE}" -a -f "${SERVICEDIR}/${SERVICE}" ]; then 
        echo "Service Name: ${SERVICE}" >> $ROOT/service 
                 /usr/bin/env -i LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status >> $ROOT/service 2>&#038;1 
    echo >> $ROOT/service 
    echo "---------------------------------------------------------------------------" >> $ROOT/service 
               fi 
                ;; 
            esac 
          done 
#popd > /dev/null
</pre>
<p>That didn&#8217;t go over too well on my system &#8211; a bunch of things stopped working (like the &#8216;w&#8217; command), samba started segfaulting, etc. It&#8217;s clearly calling some init scripts that don&#8217;t deal well with being asked for a status.</p>
<p>So I commented out that part of the script, which made things a lot happier &#8211; but of course services are now not mentioned in the report.</p>
<p>The other problem with the dset package is that it is riddled with calls to awk, sort, etc <i>with absolute paths</i>. Seriously, this is not 1995. You&#8217;ll need to fix tons of calls &#8211; just grep for &#8216;/bin/awk&#8217;, &#8216;/bin/grep&#8217;, &#8216;/bin/sort&#8217; etc in /opt/dell/dset.</p>
<p>When all that&#8217;s done, you can generate the report</p>
<pre>
  dellsysteminfo
</pre>
<p>which will drop a zip file with a horribly long name (including the use of round brackets, sigh) in /root/ with the password &#8216;dell&#8217;. Awesome security guys. Why is there even a password if it&#8217;s so trivial?</p>
<p>The Dell tech I&#8217;m e-mailing with (who is very helpful btw, this post is not a criticism about Dell&#8217;s support people &#8211; only about their GNU/Linux tools) said I&#8217;d need to upgrade the system bios and the &#8216;ESM&#8217;, which is the &#8216;system firmware&#8217;. The former was easy with the help of <a href="http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/">this blog post</a>. In a nutshell:</p>
<pre>
aptitude install libsmbios-bin libsmbios1 libsmbiosxml1
getSystemId
</pre>
<p>That will print out your &#8216;System ID&#8217;. Look up the latest system bios for that System ID at</p>
<pre>

http://linux.dell.com/repo/software/bios-hdrs/

</pre>
<p>and download it. Then</p>
<pre>
modprobe dell_rbu
dellBiosUpdate -u -f bios.hdr
</pre>
<p>and reboot, at which point your bios will be upgraded if all goes well. Note that if your cmos battery is dead, you can&#8217;t upgrade your bios anymore because all the command line tool does is load it into ram and flip a switch to tell the bios to upgrade itself on the next boot; without cmos battery either that switch or the bios in ram may not survive a reboot.</p>
<p>So that worked fine. The ESM update was a little trickier. I downloaded another .BIN file from </p>
<pre>

http://support.euro.dell.com/support/downloads/download.aspx?c=fr&#038;l=fr&#038;s=gen&#038;releaseid=R147948&#038;SystemID=PWE_PNT_2800&#038;servicetag=8YGYQ1J&#038;os=WNET&#038;osl=fr&#038;deviceid=5814&#038;devlib=0&#038;typecnt=0&#038;vercnt=7&#038;catid=-1&#038;impid=-1&#038;formatcnt=4&#038;libid=29&#038;fileid=196749

</pre>
<p>At least that thing didn&#8217;t try to do all sorts of rpm manipulations, it just runs a few scripts (again, you can verify with &#8211;extract).</p>
<p>The tricky thing here is that running the BIN file conflicts with the ipmi modules. Here&#8217;s what I did:</p>
<p>Boot into single user mode, and stop openmanage and ipmievd:</p>
<pre>
/etc/init.d/instsvcdrv stop
/etc/init.d/ipmievd stop
</pre>
<p>Then unload all ipmi modules:</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si 
rmmod ipmi_msghandler
</pre>
<p>Then start screen, and start the .BIN file. It will look around, cause the ipmi modules to be loaded again and if all is well ask you if you really want to update your ESM, [Y/N].</p>
<p>At this point, break out of screen with ctrl-a d, and unload the ipmi modules again (I kid you not!):</p>
<pre>
rmmod ipmi_devintf
rmmod ipmi_si 
rmmod ipmi_msghandler
</pre>
<p>Now return to screen</p>
<pre>
screen -r
</pre>
<p>and press &#8216;Y&#8217;. Don&#8217;t worry, it&#8217;s going to load the ipmi modules yet again, and then starts printing dots on the screen as the upgrade progresses. It takes a while &#8211; at least 5 minutes on my system. So just wait until it is done.</p>
<p>Eventually the script said &#8216;update complete&#8217;. I read this trick with screen and the unloading of the ipmi modules somewhere on a dell wiki, but I can&#8217;t find the link now (sorry!) so I can&#8217;t give credit. </p>
<p>Anyway, and I was able to verify the upgrade with ipmitool (I upgraded to firmware revision 1.72):</p>
<pre>
# ipmitool -I open mc info
Device ID                 : 32
Device Revision           : 0
Firmware Revision         : 1.72
IPMI Version              : 1.5
Manufacturer ID           : 674
Manufacturer Name         : Unknown (0x2a2)
Product ID                : 0 (0x0000)
Device Available          : yes
Provides Device SDRs      : yes
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x00
</pre>
<p>So in the end I got almost everything to work (except for the dset output which is still partially missing). But seriously, this was way harder than it should be. </p>
<p>That DSET package is a total mess and needs some serious reworking.</p>
<p>The system bios upgrade procedure is elegant and simple &#8211; there Dell deserves credit.</p>
<p>The ESM upgrade&#8230; not so much. Seriously &#8211; what&#8217;s up with those ipmi modules getting in the way <i>twice</i>?</p>
<p>In a nutshell, I&#8217;d like Dell to hire some people to clean up the GNU/Linux tools they provide. But they have to be people who know about more than just rpm-based distros, and who are interested in truly cross-distribution solutions and want to work with all (popular) distributions. Basically, if Dell can get their tools into Debian, Fedora and OpenSuse, things will trickle down to almost every other popular flavor of GNU/Linux. There is a lot of work to do&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://ward.vandewege.net/blog/2008/10/dells-gnulinux-support-leaves-to-be-desired/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
