<?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>Saiweb &#187; Mac</title>
	<atom:link href="http://www.saiweb.co.uk/category/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.saiweb.co.uk</link>
	<description>Ramblings of a Sys admin</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:57:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WiFi recon using OSX native tools</title>
		<link>http://www.saiweb.co.uk/hacking/wifi-recon-using-osx-native-tools</link>
		<comments>http://www.saiweb.co.uk/hacking/wifi-recon-using-osx-native-tools#comments</comments>
		<pubDate>Fri, 23 Sep 2011 10:13:12 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[airport]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[pentesting]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=1122</guid>
		<description><![CDATA[So you wanted to get your aircrak suite on under OSX, getting airodump etc to work I can tell you will be a nightmare (infact just dont use a VM with a USB wifi for that, however there is an alternative &#8230;), after a lot of searching there is a native tool under OSX that [...]]]></description>
			<content:encoded><![CDATA[<p>So you wanted to get your aircrak suite on under OSX, getting airodump etc to work I can tell you will be a nightmare (infact just dont use a VM with a USB wifi for that, however there is an alternative &#8230;), after a lot of searching there is a native tool under OSX that will let you cap packets, list networks etc.</p>
<p>Credit goes to <a href="http://forum.aircrack-ng.org/index.php?topic=293.msg34031#msg34031">d3in0s</a> for his awesome forum post.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport<br />
Usage: airport &lt;interface&gt; &lt;verb&gt; &lt;options&gt;<br />
<br />
&nbsp; &nbsp; &lt;interface&gt;<br />
&nbsp; &nbsp; If an interface is not specified, airport will use the first AirPort interface on the system.<br />
<br />
&nbsp; &nbsp; &lt;verb is one of the following:<br />
&nbsp; &nbsp; prefs &nbsp; If specified with no key value pairs, displays a subset of AirPort preferences for<br />
&nbsp; &nbsp; &nbsp; &nbsp; the specified interface.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Preferences may be configured using key=value syntax. Keys and possible values are specified below.<br />
&nbsp; &nbsp; &nbsp; &nbsp; Boolean settings may be configured using 'YES' and 'NO'.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; DisconnectOnLogout (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; JoinMode (String)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Automatic<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Preferred<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ranked<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Recent<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Strongest<br />
&nbsp; &nbsp; &nbsp; &nbsp; JoinModeFallback (String)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Prompt<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; JoinOpen<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; KeepLooking<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DoNothing<br />
&nbsp; &nbsp; &nbsp; &nbsp; RememberRecentNetworks (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; RequireAdmin (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; RequireAdminIBSS (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; RequireAdminNetworkChange (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; RequireAdminPowerToggle (Boolean)<br />
&nbsp; &nbsp; &nbsp; &nbsp; WoWEnabled (Boolean)<br />
<br />
&nbsp; &nbsp; logger&nbsp; Monitor the driver's logging facility.<br />
<br />
&nbsp; &nbsp; sniff &nbsp; If a channel number is specified, airportd will attempt to configure the interface<br />
&nbsp; &nbsp; &nbsp; &nbsp; to use that channel before it begins sniffing 802.11 frames. Captures files are saved to /tmp.<br />
&nbsp; &nbsp; &nbsp; &nbsp; Requires super user privileges.<br />
<br />
&nbsp; &nbsp; debug &nbsp; Enable debug logging. A debug log setting may be enabled by prefixing it with a '+', and disabled<br />
&nbsp; &nbsp; &nbsp; &nbsp; by prefixing it with a '-'.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; AirPort Userland Debug Flags<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverDiscovery<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverEvent<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Info<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SystemConfiguration<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UserEvent<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PreferredNetworks<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AutoJoin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IPC<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Scan<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 802.1x<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Assoc<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Keychain<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RSNAuth<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WoW<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllUserland - Enable/Disable all userland debug flags<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; AirPort Driver Common Flags<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverInfo<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverError<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverWPA<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DriverScan<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllDriver - Enable/Disable all driver debug flags<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; AirPort Driver Vendor Flags<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VendorAssoc<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VendorConnection<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllVendor - Enable/Disable all vendor debug flags<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; AirPort Global Flags<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LogFile - Save all AirPort logs to /var/log/airport.log<br />
<br />
&lt;options&gt; is one of the following:<br />
&nbsp; &nbsp; No options currently defined.<br />
<br />
Examples:<br />
<br />
Configuring preferences (requires admin privileges)<br />
&nbsp; &nbsp; sudo airport en1 prefs JoinMode=Preferred RememberRecentNetworks=NO RequireAdmin=YES<br />
<br />
Sniffing on channel 1:<br />
&nbsp; &nbsp; airport en1 sniff 1<br />
<br />
<br />
LEGACY COMMANDS:<br />
Supported arguments:<br />
&nbsp;-c[&lt;arg&gt;] --channel=[&lt;arg&gt;] &nbsp; &nbsp;Set arbitrary channel on the card<br />
&nbsp;-z &nbsp; &nbsp; &nbsp; &nbsp;--disassociate &nbsp; &nbsp; &nbsp; Disassociate from any network<br />
&nbsp;-I &nbsp; &nbsp; &nbsp; &nbsp;--getinfo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Print current wireless status, e.g. signal info, BSSID, port type etc.<br />
&nbsp;-s[&lt;arg&gt;] --scan=[&lt;arg&gt;] &nbsp; &nbsp; &nbsp; Perform a wireless broadcast scan.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Will perform a directed scan if the optional &lt;arg&gt; is provided<br />
&nbsp;-x &nbsp; &nbsp; &nbsp; &nbsp;--xml &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Print info as XML<br />
&nbsp;-P &nbsp; &nbsp; &nbsp; &nbsp;--psk &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Create PSK from specified pass phrase and SSID.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The following additional arguments must be specified with this command:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --password=&lt;arg&gt; &nbsp;Specify a WPA password<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --ssid=&lt;arg&gt; &nbsp; &nbsp; &nbsp;Specify SSID when creating a PSK<br />
&nbsp;-h &nbsp; &nbsp; &nbsp; &nbsp;--help &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Show this help<br />
Credit goes to &lt;a href=&quot;http://forum.aircrack-ng.org/index.php?PHPSESSID=osr5e11icl40hib1f57qkh0u35&amp;topic=293.msg34031#msg34031&quot;&gt;d3in0s post&lt;/a&gt; showing true forum awesomeness. <br />
<br />
&lt;code&gt;<br />
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I<br />
&nbsp; &nbsp; &nbsp;agrCtlRSSI: -40<br />
&nbsp; &nbsp; &nbsp;agrExtRSSI: 0<br />
&nbsp; &nbsp; agrCtlNoise: -92<br />
&nbsp; &nbsp; agrExtNoise: 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state: running<br />
&nbsp; &nbsp; &nbsp; &nbsp; op mode: station <br />
&nbsp; &nbsp; &nbsp;lastTxRate: 54<br />
&nbsp; &nbsp; &nbsp; &nbsp; maxRate: 54<br />
lastAssocStatus: 0<br />
&nbsp; &nbsp; 802.11 auth: open<br />
&nbsp; &nbsp; &nbsp; link auth: wpa2-psk<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSSID: &lt;removed&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SSID: &lt;removed&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MCS: -1<br />
&nbsp; &nbsp; &nbsp; &nbsp; channel: 6<br />
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SSID BSSID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RSSI CHANNEL HT CC SECURITY (auth/unicast/group)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;removed&gt; &lt;removed&gt; -41 &nbsp;6 &nbsp; &nbsp; &nbsp; N &nbsp;-- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)</div></td></tr></tbody></table></div>
<p>Doing a frame cap.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en1 sniff 6<br />
Capturing 802.11 frames on en1.</div></td></tr></tbody></table></div>
<p>You will see your airport icon changes to <a href="http://cdn.saiweb.co.uk/wp-content/uploads/2011/09/Screen-shot-2011-09-23-at-11.20.28.png"><img src="http://cdn.saiweb.co.uk/wp-content/uploads/2011/09/Screen-shot-2011-09-23-at-11.20.28.png" alt="" title="Screen shot 2011-09-23 at 11.20.28" width="45" height="24" class="aligncenter size-full wp-image-1126" /></a> now hit ctrl+c to stop the cap</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">^CSession saved to /tmp/airportSniff813ZrA.cap.</div></td></tr></tbody></table></div>
<p><span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/hacking/wifi-recon-using-osx-native-tools" data-text="WiFi recon using OSX native tools" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fhacking%2Fwifi-recon-using-osx-native-tools&#038;text=WiFi%20recon%20using%20OSX%20native%20tools" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/hacking/wifi-recon-using-osx-native-tools/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing OSX Lion AFP the version of the server you are trying to connect to is not supported</title>
		<link>http://www.saiweb.co.uk/mac/fixing-osx-lion-afp-the-version-of-the-server-you-are-trying-to-connect-to-is-not-supported</link>
		<comments>http://www.saiweb.co.uk/mac/fixing-osx-lion-afp-the-version-of-the-server-you-are-trying-to-connect-to-is-not-supported#comments</comments>
		<pubDate>Thu, 21 Jul 2011 13:58:01 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[5]]></category>
		<category><![CDATA[5.6]]></category>
		<category><![CDATA[5.x]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[atalk]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[EL5]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[netatalk]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=1060</guid>
		<description><![CDATA[For those using netatalk for AFP shares in this case I am using CentOS, the EL5 compiles are missing the configure lines for the dhx2 extension, which is required by OSX Lion, if you are running x86_64 you can grab this file: netatalk-2.0.5-2.x86_64.rpm I have also emailed the Package maintainer @ EPEL with the changes [...]]]></description>
			<content:encoded><![CDATA[<p>For those using netatalk for AFP shares in this case I am using CentOS, the EL5 compiles are missing the configure lines for the dhx2 extension, which is required by OSX Lion, if you are running x86_64 you can grab this file: <a href='http://cdn.saiweb.co.uk/wp-content/uploads/2011/07/netatalk-2.0.5-2.x86_64.rpm_.zip'>netatalk-2.0.5-2.x86_64.rpm</a> I have also emailed the Package maintainer @ EPEL with the changes I have made for this RPM so I would like to think that -2 will be available from EPEL soon.</p>
<p>Let me know if you have any issues with my RPM.</p>
<p><strong>UPDATE: <a href="http://koji.fedoraproject.org/koji/buildinfo?buildID=255047">Official Rebuild in testing</a></strong></p>
<p><span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/mac/fixing-osx-lion-afp-the-version-of-the-server-you-are-trying-to-connect-to-is-not-supported" data-text="Fixing OSX Lion AFP the version of the server you are trying to connect to is not supported" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fmac%2Ffixing-osx-lion-afp-the-version-of-the-server-you-are-trying-to-connect-to-is-not-supported&#038;text=Fixing%20OSX%20Lion%20AFP%20the%20version%20of%20the%20server%20you%20are%20trying%20to%20connect%20to%20is%20not%20supported" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/mac/fixing-osx-lion-afp-the-version-of-the-server-you-are-trying-to-connect-to-is-not-supported/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>matplotlib ImportError: No module named ma</title>
		<link>http://www.saiweb.co.uk/mac/matplotlib-importerror-no-module-named-ma</link>
		<comments>http://www.saiweb.co.uk/mac/matplotlib-importerror-no-module-named-ma#comments</comments>
		<pubDate>Fri, 15 Oct 2010 15:07:12 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ma]]></category>
		<category><![CDATA[matplotlib]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[named]]></category>
		<category><![CDATA[no]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=968</guid>
		<description><![CDATA[ImportError: No module named ma Fix is to edit the following files: 12sudo vi /Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/ma/__init__.py sudo vi /Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/npyma/__init__.py On my installed on lines 16 and 7 respectively replace 1from numpy.core.ma import * with 1from numpy.ma import * and done.Tweet]]></description>
			<content:encoded><![CDATA[<p>ImportError: No module named ma</p>
<p>Fix is to edit the following files:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Python<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2.6</span><span style="color: #000000; font-weight: bold;">/</span>site-packages<span style="color: #000000; font-weight: bold;">/</span>matplotlib-0.91.1-py2.6-macosx-<span style="color: #000000;">10.6</span>-universal.egg<span style="color: #000000; font-weight: bold;">/</span>matplotlib<span style="color: #000000; font-weight: bold;">/</span>numerix<span style="color: #000000; font-weight: bold;">/</span>ma<span style="color: #000000; font-weight: bold;">/</span>__init__.py<br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Python<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2.6</span><span style="color: #000000; font-weight: bold;">/</span>site-packages<span style="color: #000000; font-weight: bold;">/</span>matplotlib-0.91.1-py2.6-macosx-<span style="color: #000000;">10.6</span>-universal.egg<span style="color: #000000; font-weight: bold;">/</span>matplotlib<span style="color: #000000; font-weight: bold;">/</span>numerix<span style="color: #000000; font-weight: bold;">/</span>npyma<span style="color: #000000; font-weight: bold;">/</span>__init__.py</div></td></tr></tbody></table></div>
<p>On my installed on lines 16 and 7 respectively replace</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">from</span> numpy.<span style="color: black;">core</span>.<span style="color: black;">ma</span> <span style="color: #ff7700;font-weight:bold;">import</span> *</div></td></tr></tbody></table></div>
<p>with</p>
<div class="codecolorer-container python default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">from</span> numpy.<span style="color: black;">ma</span> <span style="color: #ff7700;font-weight:bold;">import</span> *</div></td></tr></tbody></table></div>
<p>and done.<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/mac/matplotlib-importerror-no-module-named-ma" data-text="matplotlib ImportError: No module named ma" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fmac%2Fmatplotlib-importerror-no-module-named-ma&#038;text=matplotlib%20ImportError%3A%20No%20module%20named%20ma" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/mac/matplotlib-importerror-no-module-named-ma/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My time machine needs 970.08 Peta Bytes</title>
		<link>http://www.saiweb.co.uk/mac/my-time-machine-needs-970-08-peta-bytes</link>
		<comments>http://www.saiweb.co.uk/mac/my-time-machine-needs-970-08-peta-bytes#comments</comments>
		<pubDate>Tue, 11 May 2010 11:19:16 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[bytes]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[peta]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=861</guid>
		<description><![CDATA[In one of those you don&#8217;t believe it until you have seen it moments not bad for a mac book pro with only a 350gb HD &#8230;Tweet]]></description>
			<content:encoded><![CDATA[<p><a href="http://cdn.saiweb.co.uk/wp-content/uploads/2010/05/time_machine_wtf.png"><img src="http://cdn.saiweb.co.uk/wp-content/uploads/2010/05/time_machine_wtf.png" alt="" title="time_machine_wtf" width="475" height="217" class="alignnone size-full wp-image-862" /></a></p>
<p>In one of those you don&#8217;t believe it until you have seen it moments not bad for a mac book pro with only a 350gb HD &#8230;<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/mac/my-time-machine-needs-970-08-peta-bytes" data-text="My time machine needs 970.08 Peta Bytes" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fmac%2Fmy-time-machine-needs-970-08-peta-bytes&#038;text=My%20time%20machine%20needs%20970.08%20Peta%20Bytes" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/mac/my-time-machine-needs-970-08-peta-bytes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting NFS shares on OSX</title>
		<link>http://www.saiweb.co.uk/mac/mounting-nfs-shares-on-osx</link>
		<comments>http://www.saiweb.co.uk/mac/mounting-nfs-shares-on-osx#comments</comments>
		<pubDate>Tue, 06 Apr 2010 15:18:22 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[exports]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=844</guid>
		<description><![CDATA[Having little time to update my blog, I&#8217;ve been updating a wiki I keep with various tidbits, so I thought I might as well share a few, they will be appearing on here over the next few days. First off you will want to open the &#8220;Terminal&#8221; application, not so much a play on words [...]]]></description>
			<content:encoded><![CDATA[<p>Having little time to update my blog, I&#8217;ve been updating a wiki I keep with various tidbits, so I thought I might as well share a few, they will be appearing on here over the next few days.</p>
<p>First off you will want to open the &#8220;Terminal&#8221; application, not so much a play on words it is really called Terminal.</p>
<p>Applications -> Utilities -> Terminal</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">showmount <span style="color: #660033;">-e</span> aaa.bbb.ccc.ddd</div></td></tr></tbody></table></div>
<p>Where aaa.bbb.ccc.ddd is the IP or FQDN of your NFS server, this command will show a list of mountable exports on the device.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ntfs aaa.bbb.ccc.ddd:<span style="color: #000000; font-weight: bold;">/</span>exported<span style="color: #000000; font-weight: bold;">/</span>path ~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">/</span>nfs_folder</div></td></tr></tbody></table></div>
<p>If you look on your desktop you will now see that the folder icon has changed to an aliased drive icon <a href="http://cdn.saiweb.co.uk/wp-content/uploads/2010/04/2010-04-06_1615.png"><img src="http://cdn.saiweb.co.uk/wp-content/uploads/2010/04/2010-04-06_1615.png" alt="alias drive icon" title="mac ALIAS drive" width="35" height="40" class="alignnone size-full wp-image-845" /></a></p>
<p><strong><br />
NOTE:</strong> These changes will not persist through a reboot, I have not yet found a way of doing this short of some apple / automator script to remount the drives on startup.<br />
<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/mac/mounting-nfs-shares-on-osx" data-text="Mounting NFS shares on OSX" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fmac%2Fmounting-nfs-shares-on-osx&#038;text=Mounting%20NFS%20shares%20on%20OSX" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/mac/mounting-nfs-shares-on-osx/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SSH Keys</title>
		<link>http://www.saiweb.co.uk/linux/ssh-keys</link>
		<comments>http://www.saiweb.co.uk/linux/ssh-keys#comments</comments>
		<pubDate>Mon, 02 Mar 2009 15:24:17 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh key]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=586</guid>
		<description><![CDATA[I should of really written about this ages ago. SSH Keys allow you to log into a server without the need for passwords by providing a public, private keypair for authentication, you can of course choose to specify a password for the authentication for an added level of security (Allowing you to have one unified [...]]]></description>
			<content:encoded><![CDATA[<p>I should of really written about this ages ago.</p>
<p>SSH Keys allow you to log into a server without the need for passwords by providing a public, private keypair for authentication, you can of course choose to specify a password for the authentication for an added level of security (Allowing you to have one unified login for you servers).</p>
<p>For the general user I would suggest the use of a password for securing the key further, you can forgo this in the case of secured automated processes however. (i.e. server to server backup via scp).</p>
<p>From the client machine:</p>
<p><strong>Generate the key</strong></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa</div></td></tr></tbody></table></div>
<p>Follow the prompts to enter your password (or just hit enter for no password).</p>
<p><strong>Copy the key</strong></p>
<p>You must now copy the key to the server you wish to log in to.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">scp</span> ~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub target_user<span style="color: #000000; font-weight: bold;">@</span>target_server.com:~<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span></div></td></tr></tbody></table></div>
<p>Now log into the target server.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>target_user<span style="color: #000000; font-weight: bold;">@</span>target_server.com ~<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> .<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span>target_user<span style="color: #000000; font-weight: bold;">@</span>target_server.com .ssh<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> .<span style="color: #000000; font-weight: bold;">/</span>id_rsa.pub <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> .<span style="color: #000000; font-weight: bold;">/</span>authorized_keys</div></td></tr></tbody></table></div>
<p>Now exit the shell on the target server, and re-login.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">ssh</span> target_user<span style="color: #000000; font-weight: bold;">@</span>target_server.com</div></td></tr></tbody></table></div>
<p>If you are prompted to enter a password this should be the password you entered when generating the key, if you did not specify a password you should now be logged into the target server without being prompted for a password.</p>
<p>This process works for both linux and MAC OSX, when generating keys as the client.</p>
<p><strong>NOTE:</strong> If you regenerate the key for whatever reason this will replace the olde key pair, and you will need to go through the procedure of copying to the target server again.<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/linux/ssh-keys" data-text="SSH Keys" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Flinux%2Fssh-keys&#038;text=SSH%20Keys" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/linux/ssh-keys/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows 7 on VMWare Fusion</title>
		<link>http://www.saiweb.co.uk/windows/installing-windows-7-on-vmware-fusion</link>
		<comments>http://www.saiweb.co.uk/windows/installing-windows-7-on-vmware-fusion#comments</comments>
		<pubDate>Tue, 13 Jan 2009 14:57:25 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[VMWare Fusion]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=413</guid>
		<description><![CDATA[As per my previous post I was faced with a serious BSOD problem. Now this is corrected and so you do not face the same problem here are my findings VMWare identifies the ISO file as Vista The &#8216;optional&#8217; admin password doesn&#8217;t seem to be optional! Enter this to avoid BSOD later. On file sharing [...]]]></description>
			<content:encoded><![CDATA[<p>As per my previous post I was faced with a serious BSOD problem.</p>
<p>Now this is corrected and so you do not face the same problem here are my findings</p>
<ul>
<li> VMWare identifies the ISO file as Vista</li>
<li><img class="alignnone size-full wp-image-414" title="w7_1" src="http://cdn.saiweb.co.uk/wp-content/uploads/2009/01/w7_1.png" alt="w7_1" width="380" height="176" /></li>
<li>The &#8216;optional&#8217; admin password doesn&#8217;t seem to be optional! Enter this to avoid BSOD later.</li>
<li><img class="alignnone size-full wp-image-415" title="w7_2" src="http://cdn.saiweb.co.uk/wp-content/uploads/2009/01/w7_2.png" alt="w7_2" width="391" height="99" /></li>
<li>On file sharing I chose NONE</li>
<li><img class="alignnone size-full wp-image-417" title="w7_3" src="http://cdn.saiweb.co.uk/wp-content/uploads/2009/01/w7_3.png" alt="w7_3" width="299" height="69" /></li>
<li>Customize your settings!</li>
<li><strong>NOTE: Set the hard disk type to IDE and NOT SCSI</strong></li>
<li><strong><img class="alignnone size-medium wp-image-418" title="w7_4" src="http://cdn.saiweb.co.uk/wp-content/uploads/2009/01/w7_4-300x173.png" alt="w7_4" width="300" height="173" /><br />
</strong></li>
<li>Enjoy</li>
<li><img class="alignnone size-thumbnail wp-image-419" title="picture-2" src="http://cdn.saiweb.co.uk/wp-content/uploads/2009/01/picture-2-150x150.png" alt="picture-2" width="150" height="150" /></li>
</ul>
<p><span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/windows/installing-windows-7-on-vmware-fusion" data-text="Installing Windows 7 on VMWare Fusion" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fwindows%2Finstalling-windows-7-on-vmware-fusion&#038;text=Installing%20Windows%207%20on%20VMWare%20Fusion" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/windows/installing-windows-7-on-vmware-fusion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saiweb Folding@Home Team ID 156680</title>
		<link>http://www.saiweb.co.uk/windows/saiweb-foldinghome-team-id-156680</link>
		<comments>http://www.saiweb.co.uk/windows/saiweb-foldinghome-team-id-156680#comments</comments>
		<pubDate>Tue, 23 Dec 2008 00:29:09 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[f@h]]></category>
		<category><![CDATA[fah]]></category>
		<category><![CDATA[folding]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/windows/saiweb-foldinghome-team-id-156680</guid>
		<description><![CDATA[For those not in the know Folding@Home is a piece of software that runs in the background of your desktop, server, heck even your PS3. I originaly started out back in 99/2000 with the united devices cancer research client, their website of UD.com however seems to have long since slipped into web history, no doubt [...]]]></description>
			<content:encoded><![CDATA[<p>For those not in the know Folding@Home is a piece of software that runs in the background of your desktop, server, heck even your PS3.</p>
<p>I originaly started out back in 99/2000 with the united devices cancer research client, their website of UD.com however seems to have long since slipped into web history, no doubt due to their nature of charging for CPU time on &#8216;thier&#8217; grid, which was made of donor machines &#8230; Folding @ Home however is  Open Source and not run by some shady business but by a variety of labs and Educational bodies (<a href="http://folding.stanford.edu/English/About">http://folding.stanford.edu/English/About</a>).</p>
<p>Ok so what is this &#8216;folding&#8217; all about?</p>
<p>When protein chains combine in your body to form more complex chains, and eventualy cells the process of combination is called folding, and problems during the &#8216;folding&#8217; stage can lead to Cancer, Alzheimers, Parkinson&#8217;s disease etc &#8230;</p>
<p>The problem faced when looking at protein folding is the shear number of possible &#8216;folds&#8217; for each different type of protein, of course this is where computer power comes in, but even that has it&#8217;s limits this is where distributed computing helps.</p>
<p>Rather than a large super computer which is limited in budget, size and power distributed computing takes place by assigning a small work load to a &#8216;volunteer machine&#8217;, what this has lead to is a virtual super computer larger than any other, driven by software, and at the time of writing claims some 260,000 Active CPU&#8217;s</p>
<p>So please install this small piece of software on your machine by visiting the downloads page here: <a href="http://folding.stanford.edu/English/Download">http://folding.stanford.edu/English/Download</a></p>
<p>Once you have the client running please join the Saiweb team <strong>156680</strong></p>
<p>Cheers</p>
<p>Buzz</p>
<p><strong>NOTE:</strong></p>
<p>I will be dedicated several machines to this, they will appear in the team members list prefixed buzz_ , one core from our Dedi server has also been dedicated to running F@H.<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/windows/saiweb-foldinghome-team-id-156680" data-text="Saiweb Folding@Home Team ID 156680" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fwindows%2Fsaiweb-foldinghome-team-id-156680&#038;text=Saiweb%20Folding%40Home%20Team%20ID%20156680" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/windows/saiweb-foldinghome-team-id-156680/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; The Sysadmin script &#8211; Part 2</title>
		<link>http://www.saiweb.co.uk/linux/linux-the-sysadmin-script-part-2</link>
		<comments>http://www.saiweb.co.uk/linux/linux-the-sysadmin-script-part-2#comments</comments>
		<pubDate>Tue, 14 Oct 2008 08:40:55 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Bash Script]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[bofh]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/linux/linux-the-sysadmin-script-part-2</guid>
		<description><![CDATA[Part 2 has finally arrived &#8230;. don&#8217;t all cheer at once now &#8230; In part two I will cover how to run an IP range scan using bash script, and if the host can be pinged retrieve the MAC address of the connected host. Now bare in mind this script was written to run from [...]]]></description>
			<content:encoded><![CDATA[<p>Part 2 has finally arrived &#8230;. don&#8217;t all cheer at once now &#8230;</p>
<p>In part two I will cover how to run an IP range scan using bash script, and if the host can be pinged retrieve the MAC address of the connected host.</p>
<p>Now bare in mind this script was written to run from a MAC running OSX Leopard.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
#colours<br />
function colours {<br />
CLEAR='\e[00m';<br />
GREEN='\e[0;32m';<br />
RED='\e[0;31m';<br />
YELLOW='\e[1;33m';<br />
}<br />
#ipscan<br />
function ipscan {<br />
IPS_START=1;<br />
IPS_END=254;<br />
IPS_RANGE=192.168.1.<br />
echo &quot;Now running IPSCAN $IPS_RANGE$IPS_START - $IPS_RANGE$IPS_END&quot;<br />
for ((i=$IPS_START;i&amp;lt;=$IPS_END;i+=1)); do<br />
RESULT=`ping -c 1 -t 1 $IPS_RANGE$i | grep &quot;bytes from&quot;`;<br />
if [ -z &quot;$RESULT&quot; ]; then<br />
echo -e &quot;$IPS_RANGE$i:$RED DEAD $CLEAR&quot;;<br />
# If you comment out the above to report just the alive hosts, bash gets a bit funny about not processing anything here, so uncomment the below to keep it happy<br />
#holder=$i;<br />
else<br />
MAC=`arp $IPS_RANGE$i | awk '{ print $4 }';`;<br />
echo -e &quot;$IPS_RANGE$i:$GREEN ALIVE $CLEAR ($MAC)&quot;;<br />
fi<br />
done<br />
}<br />
colours;<br />
$1 $2</div></td></tr></tbody></table></div>
<p>To make this work on your Linux distro replace -t in the ping command with -W and check the awk entry for the arp output, a display of (no) means that no ARP entries could be found for the host, and change the IP range to that of your network.</p>
<p>That&#8217;s it for this part, dump this is a file and chmod +x as useual and run with ./script.sh ipscan.<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/linux/linux-the-sysadmin-script-part-2" data-text="Linux &#8211; The Sysadmin script &#8211; Part 2" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Flinux%2Flinux-the-sysadmin-script-part-2&#038;text=Linux%20%26%238211%3B%20The%20Sysadmin%20script%20%26%238211%3B%20Part%202" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/linux/linux-the-sysadmin-script-part-2/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>macFUSE</title>
		<link>http://www.saiweb.co.uk/mac/macfuse</link>
		<comments>http://www.saiweb.co.uk/mac/macfuse#comments</comments>
		<pubDate>Tue, 23 Sep 2008 14:17:00 +0000</pubDate>
		<dc:creator>Buzz</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[macFUSE]]></category>

		<guid isPermaLink="false">http://www.saiweb.co.uk/?p=223</guid>
		<description><![CDATA[As I sit here tapping away on the iMAC currently in use whilst I wait on my Mac Book Pro, I am looking at various projects around the Google APS API &#8230; One notably of which is the Google Docs, file sharing and collab system. &#8220;MacFUSE implements a mechanism that makes it possible to implement [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="macFUSE" src="http://macfuse.googlecode.com/svn/trunk/meta/images/MacFUSE_Banner.jpg" alt="" width="474" height="128" /></p>
<p>As I sit here tapping away on the iMAC currently in use whilst I wait on my Mac Book Pro, I am looking at various projects around the Google APS API &#8230; One notably of which is the Google Docs, file sharing and collab system.</p>
<p>&#8220;MacFUSE implements a mechanism that makes it possible to implement a fully functional file system in a user-space program on Mac OS X (10.4 and above). It aims to be API-compliant with the FUSE (File-system in USErspace) mechanism that originated on Linux.&#8221;</p>
<p>Not much to the end user, but basically will allow you (with some programming) to mount pretty much anything as a file system volume.</p>
<p>The techdemo video lists implementations such as docFS (Google Doc&#8217;s API) and rssFS (rss feeds as a file system).</p>
<p>Looking at the hello world example on the macFuse wiki it should be fairly simple to implement pretty much anything as a file system.</p>
<p>More to come once the MBP arrives.<span style="float: left;" ><a class="twitter-share-button"  data-via="Saiweb" data-count="horizontal" data-related="Saiweb:David Busby" data-lang="en" data-url="http://www.saiweb.co.uk/mac/macfuse" data-text="macFUSE" href="http://twitter.com/share?via=Saiweb&#038;count=horizontal&#038;related=Saiweb%3ADavid%20Busby&#038;lang=en&#038;url=http%3A%2F%2Fwww.saiweb.co.uk%2Fmac%2Fmacfuse&#038;text=macFUSE" >Tweet</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saiweb.co.uk/mac/macfuse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 22/67 queries in 0.085 seconds using apc
Object Caching 1766/1904 objects using apc
Content Delivery Network via Rackspace Cloud Files: cdn.saiweb.co.uk

Served from: www.saiweb.co.uk @ 2012-02-08 15:34:41 -->
