<?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>House of Laudanum &#187; Linux</title>
	<atom:link href="http://houseoflaudanum.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://houseoflaudanum.com</link>
	<description>Bespoke solutions for creative people, Sydney Australia +61 412 116121</description>
	<lastBuildDate>Mon, 09 Jan 2012 02:37:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>update-rc.d</title>
		<link>http://houseoflaudanum.com/navigate/snippets/update-rc-d/</link>
		<comments>http://houseoflaudanum.com/navigate/snippets/update-rc-d/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 11:49:54 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=808</guid>
		<description><![CDATA[So I&#8217;ve never had to create a boot job that didn&#8217;t suit the defaults but today I did. And it took ages to figure out the `right` way to do it. Mostly because I was not correctly removing the previous entry.
Refresher. Create a boot job with the defaults
$ sudo update-rc.d bloodbath defaults
Ok. It&#8217;s not clear [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve never had to create a boot job that didn&#8217;t suit the defaults but today I did. And it took ages to figure out the `right` way to do it. Mostly because I was not correctly removing the previous entry.</p>
<p>Refresher. Create a boot job with the defaults<br />
<code>$ sudo update-rc.d bloodbath defaults</code></p>
<p>Ok. It&#8217;s not clear that to remove the defaults in order to add different ones. Here is the silver bullet.<br />
<code>$ sudo update-rc.d -f bloodbath remove</code></p>
<p>And to add them back starting toward the end of boot (90) and stopping towards the end of shutdown (10).<br />
<code>$ sudo update-rc.d bloodbath defaults 90 10</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/snippets/update-rc-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reverse ssh tunnel for phone home servers on DHCP addresses.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/reverse-ssh-tunnel-for-phone-home-servers-on-dhcp-addresses/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/reverse-ssh-tunnel-for-phone-home-servers-on-dhcp-addresses/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 05:13:24 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=780</guid>
		<description><![CDATA[In this example
Destination is puna-o-te-ki dialed up on a 3G Vodafone mobile broadband modem. It gets a DHCP address AND is blocking ssh inbound.
Our Middle server is an always on server behind a NATd network also on a DHCP WAN address. That WAN address is advertised via DynDNS so we know where to look for [...]]]></description>
			<content:encoded><![CDATA[<p>In this example</p>
<p>Destination is puna-o-te-ki dialed up on a 3G Vodafone mobile broadband modem. It gets a DHCP address AND is blocking ssh inbound.</p>
<p>Our Middle server is an always on server behind a NATd network also on a DHCP WAN address. That WAN address is advertised via DynDNS so we know where to look for it.</p>
<p>Our Origin is our laptop &#8211; anywhere in the world, also DHCP and NATd.</p>
<p>Create our .ssh/config file</p>
<p><code>Host house<br />
HostName house.dyndns.com<br />
Port 2220</code></p>
<p>Create the ssh DSA key</p>
<p><code>rossetti@puna-o-te-ki:~$ ssh-keygen -t dsa<br />
</code><br />
Install it on the server in the middle</p>
<p><code>rossetti@puna-o-te-ki:~$ ssh-copy-id -i ~/.ssh/id_dsa.pub house<br />
</code><br />
Bring up the tunnel<br />
-R reverse tunnel<br />
-N no remote command<br />
-n redirect stdout to /dev/null (required for backgrounding ssh)<br />
-T Disable pseudo-tty allocation</p>
<p><code>rossetti@puna-o-te-ki:~$ ssh -nNT -R 22002:localhost:22 house<br />
</code><br />
Test the tunnel</p>
<p><code>rossetti@Wakatipu:~$ ssh localhost -p 22002</code></p>
<p>Set up client keepalive on the destination server.</p>
<p><code>rossetti@puna-o-te-ki:~$ cat /etc/ssh/sshd_config<br />
TCPKeepAlive yes<br />
ClientAliveInterval 300<br />
ClientAliveCountMax 99999<br />
</code><br />
Set up GatewayPorts on the middle server. This allows us to pass through the middle server without ssh in there and then on to the destination. You&#8217;ll also need to forward our destination port on the middle servers router/firewall to the middle server.</p>
<p><code>rossetti@Wakatipu:~$ cat /etc/ssh/sshd_config<br />
GatewayPorts yes<br />
</code><br />
Test sshing in from our origin laptop</p>
<p><code>whale:~ rossetti$ ssh house -p 22002<br />
</code><br />
<a href="http://en.gentoo-wiki.com/wiki/Reverse_Tunneling"> http://en.gentoo-wiki.com/</a><br />
<a href="http://articles.techrepublic.com.com/5100-10878_11-5779944.html?tag=nl.e011"> http://articles.techrepublic.com.com</a>/</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/reverse-ssh-tunnel-for-phone-home-servers-on-dhcp-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.ssh config.</title>
		<link>http://houseoflaudanum.com/navigate/snippets/ssh-config/</link>
		<comments>http://houseoflaudanum.com/navigate/snippets/ssh-config/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 00:25:28 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=743</guid>
		<description><![CDATA[If you&#8217;re forever typing in long ssh commands to get into your servers &#8211; here&#8217;s a handy shortcut.
$ ssh laudanum@wainui.houseoflaudanum.com -p2222
Translates to
$ ssh wainui
Using this config file.
$ less ~/.ssh/config
Host wainui
HostName wainui.houseoflaudanum.com
User laudanum
Port 2222
IdentityFile ~/.ssh/id_rsa

]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re forever typing in long ssh commands to get into your servers &#8211; here&#8217;s a handy shortcut.</p>
<p><code>$ ssh laudanum@wainui.houseoflaudanum.com -p2222</code><br />
Translates to<br />
<code>$ ssh wainui</code></p>
<p>Using this config file.<br />
<code>$ less ~/.ssh/config<br />
Host wainui<br />
HostName wainui.houseoflaudanum.com<br />
User laudanum<br />
Port 2222<br />
IdentityFile ~/.ssh/id_rsa<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/snippets/ssh-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling ffmpeg w/ x264</title>
		<link>http://houseoflaudanum.com/navigate/howtos/compiling-ffmpeg-w-x264/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/compiling-ffmpeg-w-x264/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 09:43:52 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=667</guid>
		<description><![CDATA[http://thomer.com/howtos/ipod_video.html
You&#8217;ll need your gpg key
whale:~ rossetti$ gpg2 --export-secret-keys -a &#62; secret.asc
whale:~ rossetti$ scp secret.asc Wakatipu.local:~/
rossetti@Wakatipu:~$ gpg --import secret.asc
Add the debian-multimedia repository
rossetti@Wakatipu:~$ wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
rossetti@Wakatipu:~$ sudo dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
rossetti@Wakatipu:~$ sudo aptitude update

Install the dependencies
rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo aptitude install libamrnb3  libx264-dev libxvidcore4-dev libamrwb-dev libamrnb-dev libfaac-dev
Get the ffmpeg sources
rossetti@Wakatipu:~/installers/ffmpeg$ apt-get source ffmpeg
rossetti@Wakatipu:~/installers/ffmpeg$ cd ffmpeg-debian-0.svn20080206/
rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ vi debian/confflags
gpl_confflags += --enable-x11grab
gpl_confflags += [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://thomer.com/howtos/ipod_video.html">http://thomer.com/howtos/ipod_video.html</a></p>
<p>You&#8217;ll need your gpg key<br />
<code>whale:~ rossetti$ gpg2 --export-secret-keys -a &gt; secret.asc<br />
whale:~ rossetti$ scp secret.asc Wakatipu.local:~/</code><br />
<code>rossetti@Wakatipu:~$ gpg --import secret.asc</code></p>
<p>Add the debian-multimedia repository<br />
<code>rossetti@Wakatipu:~$ wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb<br />
rossetti@Wakatipu:~$ sudo dpkg -i debian-multimedia-keyring_2008.10.16_all.deb<br />
rossetti@Wakatipu:~$ sudo aptitude update<br />
</code></p>
<p>Install the dependencies<br />
<code>rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo aptitude install libamrnb3  libx264-dev libxvidcore4-dev libamrwb-dev libamrnb-dev libfaac-dev</code></p>
<p>Get the ffmpeg sources<br />
<code>rossetti@Wakatipu:~/installers/ffmpeg$ apt-get source ffmpeg</code></p>
<p><code>rossetti@Wakatipu:~/installers/ffmpeg$ cd ffmpeg-debian-0.svn20080206/<br />
rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ vi debian/confflags<br />
gpl_confflags += --enable-x11grab<br />
gpl_confflags += --enable-nonfree<br />
</code></p>
<p>Configure<br />
<code>rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ ./configure --enable-gpl --enable-nonfree  --enable-pp                --enable-pthreads --enable-x11grab              --enable-libamr-nb --enable-libamr-wb --enable-libdc1394               --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm               --enable-libmp3lame               --enable-libtheora --enable-libvorbis --enable-libx264               --enable-libxvid --enable-zlib</code></p>
<p>Build<br />
<code>rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ dpkg-buildpackage -rfakeroot -b -k[gpgkeyid]</code></p>
<p>The .deb files are created in the <em>parent</em> directory. Install them with dpkg.<br />
<code>rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo dpkg -i ../*.deb</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/compiling-ffmpeg-w-x264/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>project: DLNA server for Samsung LED TV</title>
		<link>http://houseoflaudanum.com/navigate/howtos/project-dlna-server-for-samsung-led-tv/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/project-dlna-server-for-samsung-led-tv/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 10:31:44 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[DLNA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=656</guid>
		<description><![CDATA[http://forum.buffalo.nas-central.org/viewtopic.php?f=39&#038;t=14986&#038;start=0
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo aptitude install libavformat-dev
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ ./configure
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ make
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo make install
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna
Checking for libixml ...
Error, can't find libixml !
rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml
libixml:
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml
libixml: /usr/lib/libixml.a /usr/lib/libixml.la /usr/lib/libixml.so
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna
rossetti@Wakatipu:~/installers/ushare-1.1a$ make
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude remove libupnp4 libupnp4-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp3 libupnp3-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna
rossetti@Wakatipu:~/installers/ushare-1.1a$ make
rossetti@Wakatipu:~/installers/ushare-1.1a$ make install
# re install after [...]]]></description>
			<content:encoded><![CDATA[<p><code>http://forum.buffalo.nas-central.org/viewtopic.php?f=39&#038;t=14986&#038;start=0<br />
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo aptitude install libavformat-dev<br />
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ ./configure<br />
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ make<br />
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo make install</p>
<p>rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna<br />
Checking for libixml ...<br />
Error, can't find libixml !</p>
<p>rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml<br />
libixml:<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4-dev<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml<br />
libixml: /usr/lib/libixml.a /usr/lib/libixml.la /usr/lib/libixml.so</p>
<p>rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ make</p>
<p>rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude remove libupnp4 libupnp4-dev<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp3 libupnp3-dev<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure --enable-dlna<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ make<br />
rossetti@Wakatipu:~/installers/ushare-1.1a$ make install</p>
<p># re install after applying patches from<br />
# http://forums.cnet.com/5208-13973_102-0.html?threadID=336205</p>
<p># start server<br />
rossetti@Wakatipu:/home/laudanum$ ushare --dlna --content=media --interface=eth1</p>
<p># convert mp4 to mkv without transcoding ( samsung supports avi, asf, wmv, mkv )<br />
rossetti@Wakatipu:/home/laudanum/media$ sudo aptitude install mkvtoolnix<br />
laudanum@Wakatipu:~/media$ mkvmerge -o alwyn.mkv ALWYN.MP4<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/project-dlna-server-for-samsung-led-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No installable kernel was found in the defined APT sources.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/no-installable-kernel-was-found-in-the-defined-apt-sources/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/no-installable-kernel-was-found-in-the-defined-apt-sources/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 20:29:50 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MicroClient]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/?p=218</guid>
		<description><![CDATA[Ubuntu server 9.10 on a MicroClient Jr with a USB CD-R via a USB to IDE adapter. Perhaps the CD-R timesout or perhaps the installer isn&#8217;t seeing the kernel package. However I get this error.
No installable kernel was found in the defined APT sources.
If I continue I get errors trying to install GRUB and LILO.
This [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu server 9.10 on a MicroClient Jr with a USB CD-R via a USB to IDE adapter. Perhaps the CD-R timesout or perhaps the installer isn&#8217;t seeing the kernel package. However I get this error.</p>
<p>No installable kernel was found in the defined APT sources.</p>
<p>If I continue I get errors trying to install GRUB and LILO.</p>
<p>This worked before installing GRUB.</p>
<ol>
<li>Switch to a console (ALT+F3)</li>
<li>Enter to activate</li>
<pre>chroot /target</pre>
<pre>apt-get install kernel-package</pre>
<pre>apt-get install linux-image-2.6.24-26-generic</pre>
<li>Switch back to the installer and continue (ALT+F1)</li>
</ol>
<p>Running aptitude by itself didn&#8217;t seem to show the kernel package as an installation possibility. After various tries the above worked.</p>
<p><a href="http://jordanteam.com/blog/?p=48">http://jordanteam.com/blog/</a></p>
<p><a href="http://ubuntuforums.org/archive/index.php/t-3444.html">http://ubuntuforums.org/archive/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/no-installable-kernel-was-found-in-the-defined-apt-sources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find large files on Debian</title>
		<link>http://houseoflaudanum.com/navigate/howtos/find-large-files-on-debian/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/find-large-files-on-debian/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 07:02:34 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=102</guid>
		<description><![CDATA[from within the directory you wish to search find files larger than 100MB

rossetti@Wakatipu:/media/backup$ sudo find . -type f -size +100000k -exec ls -lh {} \; &#124; awk '{ print $8 ": " $5 }'


]]></description>
			<content:encoded><![CDATA[<p>from within the directory you wish to search find files larger than 100MB</p>
<pre>
rossetti@Wakatipu:/media/backup$ sudo find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
<div></div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/find-large-files-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Discreet Charm Of The Bourgeoisie Robot</title>
		<link>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/</link>
		<comments>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 00:29:42 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[Machines]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[Festival]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MBROLA]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[SBC]]></category>
		<category><![CDATA[TTS]]></category>
		<category><![CDATA[victorian]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=77</guid>
		<description><![CDATA[http://marynowsky.net/bourgeoisie.html
Wade pulled together a small team to build a prototype semi-autonomous robot in a Victorian dress. Our job was to provide an interface between the web and the controller board. We installed a small webserver on an EeePC netbook. An Adobe Flash socket sent mouse clicks and speech instructions to a tiny Python server that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://marynowsky.net/bourgeoisie.html">http://marynowsky.net/bourgeoisie.html</a></p>
<p>Wade pulled together a small team to build a prototype semi-autonomous robot in a Victorian dress. Our job was to provide an interface between the web and the controller board. We installed a small webserver on an EeePC netbook. An Adobe Flash socket sent mouse clicks and speech instructions to a tiny Python server that interpreted whether the instructions should be forwarded to the controller board or handled by the EeePC. Speech commands were forwarded to the onboard <a href="http://www.cstr.ed.ac.uk/projects/festival/">Festival</a> server using an <a href="http://tcts.fpms.ac.be/synthesis/mbrola.html">MBROLA</a> english male voice and then piped to the sound card.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset Windows password from Linux.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/reset-windows-password-from-linux/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/reset-windows-password-from-linux/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 07:42:47 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=75</guid>
		<description><![CDATA[http://rhadimas.wordpress.com/2006/10/15/reset-windows-password-w-knoppix/
knoppix@Knoppix:~$ wget http://ftp.au.debian.org/debian/pool/main/c/chntpw/chntpw_0.99.5-0+nmu1_i386.deb
Extract only the chntpw binary
knoppix@Knoppix:~$ alien --to-tgz chntpw_0.99.5-0+nmu1_i386.deb 
knoppix@Knoppix:~$ tar xvzf chntpw-0.99.5.tgz ./usr/sbin/chntpw
knoppix@Knoppix:~$ mv ./usr/sbin/chntpw ./

Repair and mount a badly unmounted NTFS volume.

knoppix@Knoppix:~$ sudo ntfsfix /dev/hda1 
knoppix@Knoppix:~$ sudo mount -o rw /dev/hda1 /media/hda1/

Change the password for the particular user.

knoppix@Knoppix:~$ cd /media/hda1/WINNT/system32/config/
knoppix@Knoppix:/media/hda1/WINNT/system32/config$ /home/knoppix/chntpw -u mini SAM
chntpw version 0.99.5 070923 (decade), (c) Petter N Hagen
Hive &#60;SAM&#62; name [...]]]></description>
			<content:encoded><![CDATA[<p>http://rhadimas.wordpress.com/2006/10/15/reset-windows-password-w-knoppix/</p>
<p><code>knoppix@Knoppix:~$ wget http://ftp.au.debian.org/debian/pool/main/c/chntpw/chntpw_<strong>0.99.5-0+nmu1_i386</strong>.deb</code></p>
<p>Extract only the chntpw binary<br />
<code>knoppix@Knoppix:~$ alien --to-tgz chntpw_<strong>0.99.5-0+nmu1_i386</strong>.deb <br />
knoppix@Knoppix:~$ tar xvzf chntpw-<strong>0.99.5</strong>.tgz ./usr/sbin/chntpw<br />
knoppix@Knoppix:~$ mv ./usr/sbin/chntpw ./<br />
</code></p>
<p>Repair and mount a badly unmounted NTFS volume.<br />
<code><br />
knoppix@Knoppix:~$ sudo ntfsfix <strong>/dev/hda1</strong> <br />
knoppix@Knoppix:~$ sudo mount -o rw<strong> /dev/hda1 /media/hda1</strong>/<br />
</code></p>
<p>Change the password for the particular user.<br />
<code><br />
knoppix@Knoppix:~$ cd <strong>/media/hda1/WINNT/system32/config/</strong><br />
knoppix@Knoppix:/media/hda1/WINNT/system32/config$ /home/knoppix/chntpw -u <strong>mini</strong> SAM</p>
<p>c<em>hntpw version 0.99.5 070923 (decade), (c) Petter N Hagen</p>
<p>Hive &lt;SAM&gt; name (from header): &lt;\SystemRoot\System32\Config\SAM&gt;</p>
<p>ROOT KEY at offset: 0x001020 * Subkey indexing type is: 666c &lt;lf&gt;<br />
File size 24576 [6000] bytes, containing 5 pages (+ 1 headerpage)<br />
Used for data: 185/14976 blocks/bytes, unused: 5/5344 blocks/bytes.</p>
<p>* SAM policy limits:<br />
Failed logins before lockout is: 0<br />
Minimum password length        : 0<br />
Password history count         : 0<br />
| RID -|---------- Username ------------| Admin? |- Lock? --|<br />
| 03e8 | ASPNET                         |        |          |<br />
| 01f5 | Guest                          |        | dis/lock |<br />
| 01f4 | mini                           | ADMIN  | dis/lock |<br />
---------------------&gt; SYSKEY CHECK &lt;-----------------------</p>
<p>SYSTEM   SecureBoot            : -1 -&gt; Not Set (not installed, good!)<br />
SAM      Account\F             : 1 -&gt; key-in-registry<br />
SECURITY PolSecretEncryptionKey: -1 -&gt; Not Set (OK if this is NT4)<br />
 <br />
***************** SYSKEY IS ENABLED! **************<br />
This installation very likely has the syskey passwordhash-obfuscator installed<br />
It's currently in mode = -1, Unknown-mode</p>
<p>SYSTEM (and possibly SECURITY) hives not loaded, unable to disable syskey!<br />
Please start the program with at least SAM &amp; SYSTEM-hive filenames as arguments!</p>
<p>RID     : 0500 [01f4]<br />
Username: mini<br />
fullname: <br />
comment : Built-in account for administering the computer/domain<br />
homedir : <br />
 <br />
User is member of 1 groups:<br />
00000220 = Administrators (which has 1 members)<br />
Account bits: 0x0210 =<br />
[ ] Disabled        | [ ] Homedir req.    | [ ] Passwd not req. | <br />
[ ] Temp. duplicate | [X] Normal account  | [ ] NMS account     | <br />
[ ] Domain trust ac | [ ] Wks trust act.  | [ ] Srv trust act   | <br />
[X] Pwd don't expir | [ ] Auto lockout    | [ ] (unknown 0x08)  | <br />
[ ] (unknown 0x10)  | [ ] (unknown 0x20)  | [ ] (unknown 0x40)  | </p>
<p>Failed login count: 6, while max tries is: 0<br />
Total  login count: 1370</p>
<p>- - - - User Edit Menu:<br />
 1 - Clear (blank) user password<br />
 2 - Edit (set new) user password (careful with this on XP or Vista)<br />
 3 - Promote user (make user an administrator)<br />
 4 - Unlock and enable user account [probably locked now]<br />
 q - Quit editing user, back to user select</p>
<p>Select: [q] &gt;<strong> 1</strong><br />
Password cleared!</p>
<p>Hives that have changed:<br />
 #  Name<br />
 0  &lt;SAM&gt;<br />
Write hive files? (y/n) [n] :<strong> y</strong><br />
 0  &lt;SAM&gt; - OK</em></p>
<p></code></p>
<p><code>knoppix@Knoppix:~$ cd <br />
knoppix@Knoppix:~$ umount /media/hda1  <br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/reset-windows-password-from-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the `screen` command.</title>
		<link>http://houseoflaudanum.com/navigate/howtos/using-the-screen-command/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/using-the-screen-command/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 09:08:11 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=69</guid>
		<description><![CDATA[One useful application of screen – ssh in to a computer, run a command that will take a while, disconnect and go home, ssh back in and reconnect to the command you were running.
whale:mediaplayer rossetti$ ssh knoppix@10.0.0.109
knoppix@Knoppix:~$ screen rsync -avvz --numeric-ids /media/hda1/ /media/transit/mini-dell/media/hda1/
[CTRL+A CTRL+D disconnect]
[detached]
knoppix@Knoppix:~$ screen -ls
There is a screen on:
	4489.pts-1.Knoppix	(Detached)
1 Socket in /var/run/screen/S-knoppix.
knoppix@Knoppix:~$ exit
whale:mediaplayer [...]]]></description>
			<content:encoded><![CDATA[<p>One useful application of screen – ssh in to a computer, run a command that will take a while, disconnect and go home, ssh back in and reconnect to the command you were running.</p>
<pre>whale:mediaplayer rossetti$ ssh knoppix@10.0.0.109
knoppix@Knoppix:~$ screen rsync -avvz --numeric-ids /media/hda1/ /media/transit/mini-dell/media/hda1/
[CTRL+A CTRL+D disconnect]
[detached]
knoppix@Knoppix:~$ screen -ls
There is a screen on:
	4489.pts-1.Knoppix	(Detached)
1 Socket in /var/run/screen/S-knoppix.
knoppix@Knoppix:~$ exit
whale:mediaplayer rossetti$ ssh knoppix@10.0.0.109
knoppix@Knoppix:~$ screen -r</pre>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/using-the-screen-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

