<?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>The Promised Lan</title>
	<atom:link href="http://www.thepromisedlan.org/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thepromisedlan.org</link>
	<description>Metering Out Justice One Packet at a Time</description>
	<lastBuildDate>Mon, 11 Apr 2011 16:43:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ham-fisted vyatta configuration backups with Rancid.</title>
		<link>http://www.thepromisedlan.org/archives/ham-fisted-vyatta-configuration-backups-with-rancid</link>
		<comments>http://www.thepromisedlan.org/archives/ham-fisted-vyatta-configuration-backups-with-rancid#comments</comments>
		<pubDate>Sat, 13 Nov 2010 01:01:38 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[Software Freedom]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[rancid]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[vyatta]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=163</guid>
		<description><![CDATA[Rancid &#8220;Really Awesome New ConfIg Differ&#8221; is a very cool little suite of scripts that monitor the configurations on routers or other devices and keeps them in a version control system. If you admin more than a few such devices I highly recommend it. Not only is it a lifesaver to have the configs backed [...]]]></description>
			<content:encoded><![CDATA[<p><a title='By Tosaka [GFDL (www.gnu.org/copyleft/fdl.html) or CC-BY-SA-3.0 (www.creativecommons.org/licenses/by-sa/3.0/)], from Wikimedia Commons' href='http://commons.wikimedia.org/wiki/File:Router_mark.PNG'><img width='256' alt='Router mark' src='http://upload.wikimedia.org/wikipedia/commons/2/2c/Router_mark.PNG'/></a></p>
<p><a href="http://www.shrubbery.net/rancid/">Rancid</a> &#8220;Really Awesome New ConfIg Differ&#8221; is a very cool little suite of scripts that monitor the configurations on routers or other devices and keeps them in a version control system. If you admin more than a few such devices I highly recommend it. Not only is it a lifesaver to have the configs backed up and diffed automatically, but it can be fun to abuse some of the internals like the &#8220;clogin&#8221; script to push out changes or the like.</p>
<p>Rancid is full of very good <a href="http://www.nist.gov/el/msid/expect.cfm">expect</a> scripts that know how to get all kinds of info from Cisco routers and a slew of other devices.</p>
<p>But I wanted to use it the same way with my <a href="http://vyatta.org">vyatta</a> routers too. I had great hopes of writing excellent expect scripts to do it, there was just one problem. I don&#8217;t know how to do that <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>Fortunately in addition to the preconfigured device types, someone figured out that rancid can also be set up with a <a href="http://www.shrubbery.net/pipermail/rancid-discuss/2005-November/001276.html">&#8220;wrapper&#8221;</a> device where you can just throw in any ugly script and it will point it at your device and throw whatever comes back into CVS just like it was one of the carefully parsed and sanitized configs.</p>
<p>The proof-of-concept code for that was a perl script called vpn3k written by Michael Stefaniuc at Red Hat, that could scp configs for Altera&#8217;s VPN 3000 concentrators. So I hacked it up a little bit to grab a couple snmp strings and then scp over the written config. That&#8217;s pretty sub-optimal since you only get the saved config, not the running config. Also Mr. Stefaniuc warns that the script may eat babies. But it works, and I don&#8217;t have to set up seperate cronjobs or CVS and the like. It all gets taken care of by rancid just like the non-free routers.</p>
<p><a href="http://www.thepromisedlan.org/progs/wrancid">wrancid</a></p>
<p>Is the actual wrapper code that sits in $RANCID_HOME/bin in lieu of a good expect script and calls the perl script:</p>
<p><a href="http://www.thepromisedlan.org/progs/vyatta_rancidwrapper">vyatta_rancidwrapper</a></p>
<p>Which you copy to $RANCID_HOME/share/wrapper/vyatta (note the name change) where it will make a new device type of wrapper.vyatta available for you to use in your router.db file:</p>
<p><code>someciscorouter.promisedlan.org:cisco:up<br />
opencorevyatta.promisedlan.org:wrapper.vyatta:up</code></p>
<p>You do have to set up scp to work unattended also. I recommend you do it with authorized_keys, though the other rancid scripts can store plain text passwords (for telnet!) in the .cloginrc file, so you can be just as insecure as you&#8217;d like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/ham-fisted-vyatta-configuration-backups-with-rancid/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The other 200 shoes drop.</title>
		<link>http://www.thepromisedlan.org/archives/the-other-200-shoes-drop</link>
		<comments>http://www.thepromisedlan.org/archives/the-other-200-shoes-drop#comments</comments>
		<pubDate>Wed, 18 Aug 2010 04:47:07 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[mnoble.net]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[vacation]]></category>
		<category><![CDATA[yellowstone]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=149</guid>
		<description><![CDATA[<div class="g2image_normal"><div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3592&#38;g2_GALLERYSID=91942c130a70a078e370c8dde8ce5c8f" title="" rel="lightbox[149]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3593&#38;g2_serialNumber=2&#38;g2_GALLERYSID=91942c130a70a078e370c8dde8ce5c8f" width="150" height="150" id="IFid1" class="ImageFrame_None" alt="dsci0183.jpg"/></a></div></div>
I told you there would be more, Turns out it's like 200 or so more:

<a href="http://img.mnoble.net">img.mnoble.net</a>]]></description>
			<content:encoded><![CDATA[<div class="g2image_normal">
<div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3592" title="" rel="lightbox[149]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3593&amp;g2_serialNumber=2" width="150" height="150" id="IFid1" class="ImageFrame_None" alt="dsci0183.jpg"/></a></div>
</div>
<p>I told you there would be more, Turns out it&#8217;s 175 more:</p>
<p><a href="http://img.mnoble.net">img.mnoble.net</a><br />
<br />
She cracks me up, we saw her taking dozens or hundreds of photos of the thermal features with no people or context in them. I was sure they would be amateurish at best. But instead she wound up getting tons of gorgeous little still lifes like that one. The girl sure has an eye for composition and color.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/the-other-200-shoes-drop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>some yellowstone pics.</title>
		<link>http://www.thepromisedlan.org/archives/some-yellowstone-pics</link>
		<comments>http://www.thepromisedlan.org/archives/some-yellowstone-pics#comments</comments>
		<pubDate>Wed, 11 Aug 2010 17:34:51 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[owenclyde.com]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[vacation]]></category>
		<category><![CDATA[yellowstone]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=139</guid>
		<description><![CDATA[<div class="g2image_normal"><div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3235&#38;g2_GALLERYSID=d607e61d41f0289267ab154bd7f40fd4" title="" rel="lightbox[139]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&#38;g2_itemId=3236&#38;g2_serialNumber=5&#38;g2_GALLERYSID=d607e61d41f0289267ab154bd7f40fd4" width="150" height="150" id="IFid1" class="ImageFrame_None" alt="PICT0064.JPG"/></a></div></div>
So you may know we took an _amazing_  <a href="http://survivalofthefittestorisit.blogspot.com/2010/08/im-back-from-vacation-and.html">(if miserable)</a> trip to Yellowstone National Park this summer.
]]></description>
			<content:encoded><![CDATA[<div class="g2image_normal">
<div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3235" title="" rel="lightbox[139]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3236&amp;g2_serialNumber=5" width="150" height="150" id="IFid2" class="ImageFrame_None" alt="PICT0064.JPG"/></a></div>
</div>
<p>So you may know we took an _amazing_  <a href="http://survivalofthefittestorisit.blogspot.com/2010/08/im-back-from-vacation-and.html">(if miserable)</a> trip to Yellowstone National Park this summer.</p>
<p>The kids had saved up and bought their own first cameras, so they are the official documenters.</p>
<p>Owen has gotten his set posted already so check &#8216;em out:<br />
<a href="http://img.owenclyde.com"> http://img.owenclyde.com</a></p>
<p>I&#8217;m sure Binty&#8217;s will be following shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/some-yellowstone-pics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snickers</title>
		<link>http://www.thepromisedlan.org/archives/snickers</link>
		<comments>http://www.thepromisedlan.org/archives/snickers#comments</comments>
		<pubDate>Wed, 19 May 2010 20:02:59 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=131</guid>
		<description><![CDATA[Snickers has passed away. See our goodbyes here&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thepromisedlan.org/rest-in-peace-snickers"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&#038;g2_itemId=3049&#038;g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" width="150"  height="150"  alt="snickers" title="Snickers" /></a></p>
<p>Snickers has passed away.<br />
<a href="http://www.thepromisedlan.org/rest-in-peace-snickers">See our goodbyes here&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/snickers/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A bad day for old favorites.</title>
		<link>http://www.thepromisedlan.org/archives/a-bad-day-for-old-favorites</link>
		<comments>http://www.thepromisedlan.org/archives/a-bad-day-for-old-favorites#comments</comments>
		<pubDate>Fri, 30 Apr 2010 22:24:58 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=118</guid>
		<description><![CDATA[Thursday was the last day for Over Easy Cafe. Practically breaks my heart. And then the trusty old breadbox breaks down too! Not a great day.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 276px"><a href="http://www.overeasycafe.net/"><img alt="OE logo" src="http://background.status.net/identica/719-20090705175846.gif" title="R.I.P. Over Easy Cafe" width="266" height="267" /></a><p class="wp-caption-text">R.I.P. Over Easy Cafe</p></div>
<p>Thursday was the last day for Over Easy Cafe. Practically breaks my heart.</p>
<div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3044" title="breadbox" rel="lightbox[118]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3045&amp;g2_serialNumber=5" width="150" height="150" id="IFid4" class="ImageFrame_None" alt="breadbox"/></a></div>
<p>And then the trusty <a href="http://nmglug.org/sfbc">old breadbox</a> breaks down too!</p>
<p>Not a great day. <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/a-bad-day-for-old-favorites/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Tack</title>
		<link>http://www.thepromisedlan.org/archives/changing-tack</link>
		<comments>http://www.thepromisedlan.org/archives/changing-tack#comments</comments>
		<pubDate>Thu, 01 Apr 2010 19:53:17 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[autonomy]]></category>
		<category><![CDATA[Software Freedom]]></category>
		<category><![CDATA[SaaS]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=109</guid>
		<description><![CDATA[Well struggling with silly ideas like <a href="http://www.gnu.org/philosophy/free-sw.html">freedom</a> and <a href="http://autonomo.us">autonomy</a> have taken up a really significant amount of my time and mental energy over the last few years...]]></description>
			<content:encoded><![CDATA[<p>Well struggling with silly ideas like <a href="http://www.gnu.org/philosophy/free-sw.html">freedom</a> and <a href="http://autonomo.us">autonomy</a> have taken up a really significant amount of my time and mental energy over the last few years.</p>
<p>Today inspired by <a href="http://identi.ca/notice/26865655">some wise words</a> from <a href="http://www.youtube.com/watch?v=I25UeVXrEHQ">one of my ettiquette coaches</a>,</p>
<p>I&#8217;ve decided to take a little different direction with my &#8220;online presence&#8221; such as it is.</p>
<p>This will be the last post from my autonomously hosted website. In the future if you&#8217;re interested in seeing what I&#8217;m up to please visit my new website:</p>
<div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3039" title="facebook" rel="lightbox[109]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3039&amp;g2_serialNumber=1" width="150" height="110" id="IFid5" class="ImageFrame_None" alt="facebook"/></a></div>
<p>I&#8217;m also on twitter, and <a href="http://foursqualor.com/">foursqualor.com</a> ( <a href="http://identi.ca/notice/26877621">The second most popular site on the internet!</a>)</p>
<p>So if you also have no <a href="http://www.gnu.org/philosophy/who-does-that-server-really-serve.html">concerns about who owns and controls your personal data&#8221;>concerns about who owns and controls your personal data,</a> I encourage you to join me in using<a href="http://www.softwarefreedom.org/news/2010/feb/08/audio-and-video-eben-moglens-talk-freedom-cloud-no/"> whichever thing that&#8217;s a lot like the World Wide Web but is less powerful has some php doodads, and includes spying for free</a>, that is popular this year.</p>
<p>BTW, does anyone have a gmail invite I could get? Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/changing-tack/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian packages for chromium-browser.</title>
		<link>http://www.thepromisedlan.org/archives/debian-packages-for-chromium-browser</link>
		<comments>http://www.thepromisedlan.org/archives/debian-packages-for-chromium-browser#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:58:34 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Freedom]]></category>
		<category><![CDATA[debian chromium repo compile]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=89</guid>
		<description><![CDATA[One of the side effects of the Ubuntu community being so large, is that it&#8217;s now commonplace for software to get packaged for Ubuntu before (and sometimes _long_ before) it makes it into Debian. That&#8217;s been the case so far for chromium, the open source browser sposored by google. But I&#8217;ve been wanting to try [...]]]></description>
			<content:encoded><![CDATA[<p>One of the side effects of the Ubuntu community being so large, is that it&#8217;s now commonplace for software to get packaged for Ubuntu before (and sometimes _long_ before) it makes it into <a href="http://debian.org">Debian</a>.</p>
<p>That&#8217;s been the case so far for chromium, the open source browser sposored by google. But I&#8217;ve been wanting to try it. So I went ahead and used the chromium-daily source repository from the Ubuntu PPA and built an amd64 package for Debian testing.</p>
<p>It seems to work fine:</p>
<div class="wpg2tag-image"><a href="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3030" title="Chromium" rel="lightbox[89]"><img src="http://www.thepromisedlan.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=3031&amp;g2_serialNumber=2" width="150" height="150" id="IFid7" class="ImageFrame_None" alt="Chromium"/></a></div>
<p>Though I have&#8217;nt exactly put it through it&#8217;s paces yet. And it took me a minute to find how to make it use the local gtk theme (brown of course!).</p>
<p>Also debuting today is:<br />
<a href="http://repo.thepromisedlan.org">repo.thepromisedlan.org</a></p>
<p>You can follow the instructions there to add the tpl repository to your sources.list, or feel free to just grab the binaries:<br />
<a href="http://repo.thepromisedlan.org/dists/testing/main/binary-amd64/chromium-browser_4.0.277.0~svn20091221r35087-0ubuntu1~ucd1~0.1_amd64.deb">chromium-browser</a><br />
and<br />
<a href="http://repo.thepromisedlan.org/dists/testing/main/binary-amd64/chromium-codecs-ffmpeg_0.5+svn20091210r34297+34315+35016-0ubuntu1~ucd1~0.1_amd64.deb">chromium-codecs-ffmpeg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/debian-packages-for-chromium-browser/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>There must be a better way!</title>
		<link>http://www.thepromisedlan.org/archives/there-must-be-a-better-way</link>
		<comments>http://www.thepromisedlan.org/archives/there-must-be-a-better-way#comments</comments>
		<pubDate>Fri, 02 Oct 2009 20:10:52 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Freedom]]></category>
		<category><![CDATA[for loop]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/?p=74</guid>
		<description><![CDATA[<code>grep username modemconfigfile &#124;cut -d " " -f 2 &#124; for USER in `cat`; do grep $USER passwd > /dev/null; echo $USER $?; done &#124;grep 0 &#124;cut -d " " -f 1 &#124; sed s/$/@ourdomain.com/g &#124; tr '\n' ','</code>]]></description>
			<content:encoded><![CDATA[<p>So at work we have some rarely used dial-in modems. The users are all configured locally on the router with the modem bank, so modemconfigfile contains strings like this:<br />
<code>!username sam password &lt;removed&gt;</code></p>
<p>Well, I needed to send a brief message to all of the modem users, so I needed a way to translate a few dozen of the lines above into something I could paste into the bcc: bar of my mua. Also a few of them were not using their real email usernames for the modem.<br />
So given a handy local copy of the mail servers passwd file, here&#8217;s what I came up with:<br />
<code>grep username modemconfigfile |cut -d " " -f 2 | for USER in `cat`; do grep $USER passwd &gt; /dev/null; echo $USER $?; done |grep 0 |cut -d " " -f 1 | sed s/$/@ourdomain.com/g | tr '\n' ','</code></p>
<p>Which does indeed spit out a list of verified email addresses comma seperated, and ready to be pasted. It is still missing the real addresses of those users with different usernames, but there were only a few so I looked them up manually with the output of<br />
<code>grep username modemconfigfile |cut -d " " -f 2 | for USER in `cat`; do grep $USER passwd &gt; /dev/null; echo $USER $?; done |grep -v 0</code><br />
as a starting point.</p>
<p>Man I really need to learn perl or something. I couldn&#8217;t even fit that in an Identi.ca posting.</p>
<p>Update: DOH!, keen observers will have noticed that until this update, the above created output like user1.ourdomain.com, user2.ourdomain.com<br />
Which of course are not email addresses. So s/./@/ and we&#8217;re back on track.<br />
I guess that&#8217;s what I get for hours of DNS updating just previous. <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/there-must-be-a-better-way/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cracker</title>
		<link>http://www.thepromisedlan.org/archives/cracker</link>
		<comments>http://www.thepromisedlan.org/archives/cracker#comments</comments>
		<pubDate>Tue, 15 Sep 2009 17:51:01 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Cracker]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/wordpress/?p=59</guid>
		<description><![CDATA[So I caught Cracker at the SFBC last night. I also saw them a little over a year ago, they were playing a free show at the Civic Plaza in Albuquerque. That show I really didn&#8217;t enjoy. I had the strong sense that they were just dialing it in. But I made lots of excuses [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.thepromisedlan.org/gallery2/d/3008-2/Image261.jpg" alt="Fuzzy Hickman and Lowery" /><br />
So I caught Cracker at the <a href="http://www.santafebrewing.com/">SFBC</a> last night.</p>
<p>I also saw them a little over a year ago, they were playing a free show at the Civic Plaza in Albuquerque. That show I really didn&#8217;t enjoy. I had the strong sense that they were just dialing it in. But I made lots of excuses for them, how the crowd was not really made up of their fans, how the venue is sub-par etc.</p>
<p>But last night was different, I _think_ the band put on a fine show. But it still just made me feel old, hanging around a bunch of 30+ year old dorks, reliving their teens, and realizing I was one of them <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>I still may pick up the new album though&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/cracker/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shut up your macbook</title>
		<link>http://www.thepromisedlan.org/archives/shut-up-your-macbook</link>
		<comments>http://www.thepromisedlan.org/archives/shut-up-your-macbook#comments</comments>
		<pubDate>Wed, 09 Sep 2009 22:54:12 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Freedom]]></category>
		<category><![CDATA[dontneedosx]]></category>
		<category><![CDATA[firmware]]></category>

		<guid isPermaLink="false">http://www.thepromisedlan.org/wordpress/?p=42</guid>
		<description><![CDATA[Annoyed by the !BONG! noise that macbooks make when you power them on? Apparently if you turn the volume down in Mac OS it saves a similar volume as an nvram setting in the EFI. So if you&#8217;re dual-booting or somesuch, you can just turn the volume down. But what about those of us who [...]]]></description>
			<content:encoded><![CDATA[<p>Annoyed by the !BONG! noise that macbooks make when you power them on?</p>
<p>Apparently if you turn the volume down in Mac OS it saves a similar volume as an nvram setting in the EFI. So if you&#8217;re dual-booting or somesuch, you can just turn the volume down.</p>
<p>But what about those of us who wiped out the legacy OS in the first few minutes of owning the thing and never looked back?<br />
Well only a few years later <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  with the help of the <a href="http://sourceforge.net/mailarchive/message.php?msg_name=jwvljles9s0.fsf-monnier%2Bgmane.linux.ports.mactel.user%40gnu.org">mactel-linux-user list</a> I can now turn off that blasted noise.</p>
<div class="wp-caption alignleft" style="width: 650px"><a href="http://thepromisedlan.org/gallery2/v/geeks/Image258.jpg.html"><img title="gnubook2,1" src="http://thepromisedlan.org/gallery2/d/3002-3/Image258.jpg" alt="With new improved silence!" width="640" height="480" /></a><p class="wp-caption-text">With new improved silence!</p></div>
<p>It goes like this:<br />
#Boot EFI shell (from rEFIt, I don&#8217;t have rEFIt installed so i used a CD)<br />
#spend 30 minutes finding the paginate switch for help <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Shell&gt;help -b</p>
<p>#cd to a writable partition (fs0 was the rEFIt CD, so fs1 was the 100MB fat/efi partition)<br />
Shell&gt;fs1:<br />
fs1:\&gt;</p>
<p>#dump the nvram variable<br />
fs1:\&gt;dmpstore SystemAudioVolume -s sav.txt</p>
<p>#edit the the dumped variable with a hexeditor (probably wiser to keep<br />
the original dump and edit a copy)<br />
fs1:\&gt;hexedit sav.txt</p>
<p>#load the new nvram variable<br />
fs1:\&gt;dmpstore SystemAudioVolume -l sav.txt</p>
<p>#exit to refit and reboot<br />
fs1:\&gt;exit</p>
<p>Enjoy the BONGless restart.</p>
<p>So for a while it wasn&#8217;t apparent what value to change with the<br />
hexeditor, and tbh, not being familiar with any hexeditor, I&#8217;m not sure<br />
I got it right. Further experimentation indicates I may have just borked<br />
it, but apparently that also serves to make it shut up.</p>
<p>The dmpstore&#8217;d files (now back in Debian) look like this:</p>
<p>$ cat SystemAudioVolume.txt<br />
$SystemAudioVolume(and some illegible characters with no new line)</p>
<pre>$ hexdump -C SystemAudioVolume.txt
00000000  24 00 00 00 53 00 79 00  73 00 74 00 65 00 6d 00  |$...S.y.s.t.e.m.|
00000010  41 00 75 00 64 00 69 00  6f 00 56 00 6f 00 6c 00  |A.u.d.i.o.V.o.l.|
00000020  75 00 6d 00 65 00 00 00  10 61 43 7c 2a ab bb 4b  |u.m.e....aC|*..K|
00000030  a8 80 fe 41 99 5c 9f 82  07 00 00 00 01 00 00 00  |...A.\..........|
00000040  71                                                |q|
00000041</pre>
<p>(In hexedit.efi the 00000041 line did not appear.)</p>
<p>Since running dmpstore SystemAudioValume by itself returned output<br />
something like:<br />
00000: 71 &#8220;q&#8221;<br />
I took a guess and replaced the 71 with 80 (as suggested on the mailing list.) getting:</p>
<pre>$ hexdump -C SystemAudioVolume80.txt
00000000  24 00 00 00 53 00 79 00  73 00 74 00 65 00 6d 00  |$...S.y.s.t.e.m.|
00000010  41 00 75 00 64 00 69 00  6f 00 56 00 6f 00 6c 00  |A.u.d.i.o.V.o.l.|
00000020  75 00 6d 00 65 00 00 00  10 61 43 7c 2a ab bb 4b  |u.m.e....aC|*..K|
00000030  a8 80 fe 41 99 5c 9f 82  07 00 00 00 01 00 00 00  |...A.\..........|
00000040  80                                                |.|
00000041</pre>
<p>Which turned off the bong and I&#8217;m happy. But for kicks I also tried 32<br />
(for 25% more BONG)</p>
<pre>$ hexdump -C sav.txt
00000000  24 00 00 00 53 00 79 00  73 00 74 00 65 00 6d 00  |$...S.y.s.t.e.m.|
00000010  41 00 75 00 64 00 69 00  6f 00 56 00 6f 00 6c 00  |A.u.d.i.o.V.o.l.|
00000020  75 00 6d 00 65 00 00 00  10 61 43 7c 2a ab bb 4b  |u.m.e....aC|*..K|
00000030  a8 80 fe 41 99 5c 9f 82  07 00 00 00 01 00 00 00  |...A.\..........|
00000040  32                                                |2|
00000041</pre>
<p>But that also gave me silence, so I think I&#8217;m doing it &#8216;wrong.&#8217;<br />
However reloading the original (71) file did bring back the bonging. So<br />
I don&#8217;t think any of this is particularly dangerous for those who may<br />
want to here the noise again someday. <img src='http://www.thepromisedlan.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepromisedlan.org/archives/shut-up-your-macbook/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

