<?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>tales from the crypt( ) &#187; useful stuff</title>
	<atom:link href="http://org.against.org/category/useful-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://org.against.org</link>
	<description>slightly biased and undoubtful pieces of random information</description>
	<lastBuildDate>Mon, 12 Dec 2011 23:21:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>USB printer sharing for Thomson TG799vn</title>
		<link>http://org.against.org/usb-printer-sharing-for-thomson-tg799vn/</link>
		<comments>http://org.against.org/usb-printer-sharing-for-thomson-tg799vn/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 02:18:11 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[BOFH]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[lexmark printer apple snow leopard lpd raw printer sharing]]></category>

		<guid isPermaLink="false">http://org.against.org/?p=189</guid>
		<description><![CDATA[This has got to be one of the least documented features on these Thomson ADSL/GPON routers. In theory, it should be possible to share each and every USB printer by connecting it to one of the free ports on the device. The Thomson configuration is bloody simple: {Administrator}=&#62;:printersharing LPD queue add name myQueue type Raw [...]]]></description>
			<content:encoded><![CDATA[<p>This has got to be one of the least documented features on these Thomson ADSL/GPON routers. In theory, it should be possible to share each and every USB printer by connecting it to one of the free ports on the device.</p>
<p>The Thomson configuration is bloody simple:</p>
<pre>
{Administrator}=&gt;:printersharing LPD queue add name myQueue type Raw default yes
{Administrator}=&gt;:printersharing LPD config state enabled
</pre>
<p>If everything&#8217;s OK, the following command should give the following output:</p>
<pre>{Administrator}=&gt;:printersharing LPD list
LPD printserver service:
      enable: 1
</pre>
<p>At this point, it should be possible to add a network printer on the client OS, pointing to the 192.168.1.253 IP address, LPD protocol and to the &#8220;myQueue&#8221; queue. Regarding the printer driver, YMMV. Generic PCL drivers often work quite well.</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/usb-printer-sharing-for-thomson-tg799vn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wireless Penetration Testing Framework</title>
		<link>http://org.against.org/wireless-penetration-testing-framework/</link>
		<comments>http://org.against.org/wireless-penetration-testing-framework/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 11:07:55 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[802.11]]></category>
		<category><![CDATA[penetration]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://org.against.org/?p=174</guid>
		<description><![CDATA[handy. via]]></description>
			<content:encoded><![CDATA[<p>handy.</p>
<p><a href="http://org.against.org/r.php?http://org.against.org/wp-content/uploads/image.png" rel="lightbox"><img class="aligncenter size-thumbnail wp-image-175" title="wireless penetration" src="http://org.against.org/wp-content/uploads/image-150x150.png" alt="" width="150" height="150" /></a><a href="http://org.against.org/r.php?http://wirelessdefence.org/Contents/Wireless%20Pen%20Test%20Framework.html">via</a></p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/wireless-penetration-testing-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Cisco VPN client on OS X</title>
		<link>http://org.against.org/cisco-vpn-os-x/</link>
		<comments>http://org.against.org/cisco-vpn-os-x/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:39:06 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco vpn]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpnclient]]></category>

		<guid isPermaLink="false">http://org.against.org/?p=160</guid>
		<description><![CDATA[&#8230;and I still failing to understand why it&#8217;s 2010 and Cisco VPN client connection profiles and certificates are stored anywhere but the current user homedir. For future reference: OS X: /private/etc/opt/cisco-vpnclient/Certificates /etc/CiscoSystemsVPNClient/Certificates Linux: /etc/opt/cisco-vpnclient/Certificates Windows: C:\Program Files\Cisco VPN Client\Certificates &#8220;Profiles&#8221; and &#8220;Certificates&#8221; folders can be copied/moved between different systems to replicate configuration when there are [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;and I still failing to understand why it&#8217;s 2010 and Cisco VPN client connection profiles and certificates are stored anywhere but the current user homedir.</p>
<p>For future reference:</p>
<p><strong>OS X:</strong></p>
<pre style="padding-left: 30px;">/private/etc/opt/cisco-vpnclient/Certificates</pre>
<pre style="padding-left: 30px;">/etc/CiscoSystemsVPNClient/Certificates</pre>
<p><strong>Linux:</strong></p>
<pre style="padding-left: 30px;">/etc/opt/cisco-vpnclient/Certificates</pre>
<p><strong>Windows:</strong></p>
<pre style="padding-left: 30px;">C:\Program Files\Cisco VPN Client\Certificates</pre>
<p>&#8220;Profiles&#8221; and &#8220;Certificates&#8221; folders can be copied/moved between different systems to replicate configuration when there are CA limitations or restrictive policies on certificate export/imports.</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/cisco-vpn-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-To get your PC serial numbers the easy way</title>
		<link>http://org.against.org/how-to-get-your-pc-serial-numbers-the-easy-way/</link>
		<comments>http://org.against.org/how-to-get-your-pc-serial-numbers-the-easy-way/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 16:17:24 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[wmi]]></category>
		<category><![CDATA[wmic]]></category>

		<guid isPermaLink="false">http://org.against.org/how-to-get-your-pc-serial-numbers-the-easy-way/</guid>
		<description><![CDATA[I often find myself crawling under the desk looking for labels or turning around laptops trying to find half-erased and destroyed panels showing computer serial numbers and other cryptic hyeroglyphs. Let me tell you about serial numbers. These are quite useful to keep handy in case your stuff is stolen. Luckily, for most manufacturers like [...]]]></description>
			<content:encoded><![CDATA[<p>I often find myself crawling under the desk looking for labels or turning around laptops trying to find half-erased and destroyed panels showing computer serial numbers and other cryptic hyeroglyphs.</p>
<p>Let me tell you about serial numbers. These are quite useful to keep handy in case your stuff is stolen. Luckily, for most manufacturers like Dell, IBM, Toshiba and HP, there&#8217;s a way to find these without leaving the desk, providing they&#8217;re running some sort of Redmond operating system and using WMIC (Windows Management Instrumentation Command). Custom built systems may not have so much useful information, but it&#8217;s pretty fun nevertheless to peek inside using WMI.</p>
<p>WMIC is available on Windows XP, Windows   2003 and later versions. To use WMI information on older operating systems, download and install <a href="http://org.against.org/r.php?http://www.microsoft.com/downloads/details.aspx?FamilyId=98A4C5BA-337B-4E92-8C18-A63847760EA5&amp;displaylang=en">WMI core for  Win 9x</a> or <a href="http://org.against.org/r.php?http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=C174CFB1-EF67-471D-9277-4C2B1014A31E">WMI core for Win NT 4</a> from Microsoft&#8217;s website.</p>
<p>There are a gazillion values that can be retrieved/changed using WMIC. The     availability of  WMI information does vary across different versions of     Windows and it requires administrator rights to be run.</p>
<p>In Windows 2000, there are around       4000 properties     that can be monitored and around 40 that can be configured. Windows XP raises these numbers to 6000 and 140 respectively.</p>
<p>Now, for instance, to retrieve the serial number of a computer, run the following command on a DOS prompt:</p>
<p><strong>wmic bios get serialnumber<br />
</strong><br />
Or to retrieve the model name (these can get quite cryptic sometimes)  run the following command</p>
<p><strong>wmic csproduct get name<br />
</strong></p>
<p>When WMIC is run for the first time, it may take a little time until all possible properties are inventoried. Subsequent    times you run WMIC, it will start  immediately.</p>
<p>Got most of this info from <a href="http://org.against.org/r.php?http://www.ss64.com/nt/wmic.html">http://www.ss64.com/nt/wmic.html</a></p>
<p>As usual , YMMV and Microsoft&#8217; <a href="http://org.against.org/r.php?http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_reference.asp">MSDN full WMI reference</a> may provide some extended reading and reference on the subject.</p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/how-to-get-your-pc-serial-numbers-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>an ipod singing the blues</title>
		<link>http://org.against.org/an-ipod-singing-the-blues/</link>
		<comments>http://org.against.org/an-ipod-singing-the-blues/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 16:30:24 +0000</pubDate>
		<dc:creator>bruno</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[useful stuff]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[portugal]]></category>
		<category><![CDATA[sad]]></category>
		<category><![CDATA[spilling coffee]]></category>

		<guid isPermaLink="false">http://org.against.org/an-ipod-singing-the-blues/</guid>
		<description><![CDATA[Yesterday, as I was leaving work, I plugged the 4th gen iPod on the car, set it to random and started driving. 10 minutes later, I noticed it was skipping some songs. I&#8217;ve seen it happen before (a long time ago) and was lucky enough to: a) have it within the warranty period b) have [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image63" src="http://org.against.org/wp-content/uploads/2007/07/ipod.PNG" alt="iPod dead" hspace=2 vspace=2 align="left" /> Yesterday, as I was leaving work, I plugged the <a href="http://org.against.org/r.php?ttp://docs.info.apple.com/article.html?artnum=61688#clickwheel">4th gen iPod</a> on the car, set it to random and started driving. 10 minutes later, I noticed it was skipping some songs. I&#8217;ve seen it happen before (a long time ago) and was lucky enough to:</p>
<p>a) have it within the warranty period<br />
b) have the fellow who brought it from San Francisco make the same business trip in a week</p>
<p>The folks at the <a href="http://org.against.org/r.php?http://www.apple.com/retail/sanfrancisco/">Apple Store</a> asked no questions and traded the malfunctioning iPod for a brand new (and shiny) one. I also got a <a href="http://org.against.org/r.php?http://www.apple.com/support/products/applecareipod.html">Applecare warranty extension for two more years</a>. Needless to say, Apple representatives in Portugal would deny assistance to the iPod with Applecare as they didn&#8217;t accept to repair the iPod inside the warranty period. Y&#8217;all know the drill with Apple and Portugal, right? But any other Apple store would accept it. A-N-Y.</p>
<p>Back to today. The iPod was left charging overnight and plugged back in to the computer today to confirm the thesis that the disk was screwed up. Windows didn&#8217;t recognize it, Ubuntu didn&#8217;t (but the /var/log/messages output is slighty more helpful than its Windows counterpart &#8211; which is none). A few seconds later, I was greeted with a constant clicking noise coming from the inside of the iPod. And then it reset. And then it made a face at me. Disk failure. No chance of running the diagnostics. No chance of resetting it. A sad iPod icon begging to be taken to the Apple support site.</p>
<p>The <a href="http://org.against.org/r.php?http://docs.info.apple.com/article.html?artnum=61771">Apple support site</a> doesn&#8217;t help at all. Last time it happened to me, I was able to put the iPod in disk mode but unable to make it recognizable by the operating system. Next suggestion: open a support call. Yeah right. As if it was possible in Portugal. By this time, it hit me: I had roughly 10 gigs of pictures on the iPod, absolutely no backups (I was waiting to classify them, tag them and burn them to DVD). I started to panic. Even if I got the warranty thing fixed, they wouldn&#8217;t recover what was on the disk.</p>
<p><span id="more-61"></span></p>
<p>First thing I thought about was <a href="http://org.against.org/r.php?http://www.google.com/custom?domains=rage.against.org&#038;q=professional+data+recovery&#038;sa=Google+Search&#038;sitesearch=&#038;client=pub-5077406828301367&#038;forid=1&#038;ie=ISO-8859-1&#038;oe=ISO-8859-1&#038;cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3ADDDDDD%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&#038;hl=en">professional data recovery</a>. I gave up after visiting a few websites when I understood it could cost me around 500 euro to recover 10 gigs of data from a malfunctioning hard-disk. My photos are my memories, my memories are priceless indeed, so I was slowly willing to forget a little of the previous 3 months and use the money to buy another non-Apple MP3 player.</p>
<p>Second approach: I remembered something about <a href="http://org.against.org/r.php?http://www.lockergnome.com/nexus/blade/2006/12/02/dead-hard-disk-try-putting-it-in-the-freezer">sticking hard-drives in the freezer</a> for a few hours and then using a very small time-window to reconnect them and copy the data to a safe place. A lot has been said about this method, and even if it sounds strange little scientific, haven&#8217;t seen any relevant reports of people claiming it doesn&#8217;t work. Some people say the disks remain alive for enough time to copy the data, some say the disk resurrect from the dead and work like a charm from then on. I wondered how many so-called data recovery companies do this on a regular basis and charge a bunch of money for it. Decided to give it a go at home, as it wouldn&#8217;t hurt to try. </p>
<p>Third approach: I was beginning to feel a little like the iPod icon: sad, so I challenged google images with something like &#8220;<a href="http://org.against.org/r.php?http://images.google.pt/images?q=sad+ipod+icon">sad ipod icon</a>&#8221; so I could have a IM buddy icon matching my mood (instead of <a href="http://org.against.org/r.php?http://icanhascheezburger.com/">yet another lolcat</a>). The first hit was <a href="http://org.against.org/r.php?http://www.spillingcoffee.com/">Tom Coffee&#8217;s website (Spilling Coffee)</a> which described a <a href="http://org.against.org/r.php?http://www.spillingcoffee.com/2006/07/13/how-to-fix-an-ipod-with-the-sad-ipod-icon/">very unusual and unorthodox method of recovering a dead iPod</a>. He mumbles a little about Apple&#8217;s official advices on reanimating dead iPods a.k.a. the 5 R&#8217;s: Reset, Retry, Restart, Reinstall, Restore and then introduces a new &#8220;R&#8221; on the equation. Let me quote him:</p>
<blockquote><p>
I had a broken iPod that was resistent to all the usual methods of repair. If I couldn’t get it fixed I was going to have to send it into Apple. So I decided to do what many of the blogs out there recommended:</p>
<p>Purposely drop my iPod to the floor.</p>
<p>This had worked for many, many other people even though Apple’s website (wisely) doesn’t mention this possible fix. I couldn’t quite bring myself to dropping my $300 iPod to the hard tile floor on the off chance that it would spin or wobble on the way down so I did the next best thing: I held it and slammed it onto a pad of paper on my desk (providing some cushion so I didn’t crack the case), charging port down.</p>
<p>And like mana falling from heaven, the tunes started playing.</p>
<p>Apparently there are really SIX R’s in the Apple repair repetoir: Reset, Retry, Restart, Reinstall, Restore and Ram.
</p></blockquote>
<p>This is a ridiculous method but it works. Tom is earning a little extra money <a href="http://org.against.org/r.php?http://www.spillingcoffee.com/sad-ipod-repair-kit-ordering-form/">selling recovery kits</a>. I had no time to order mine and dog knows it would probably get stuck in customs or lost in the mail. So I hit it. And the sad face disappeared. </p>
<p><strong>Yes, banging my iPod against a ADSL technical paper brought it back to life. </strong></p>
<p><em>I&#8217;ve lost all my faith in technology. But I&#8217;ve recovered 4897 photos and I&#8217;m burning them to DVD as we speak&#8230;<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://org.against.org/an-ipod-singing-the-blues/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

