<?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/"
	>

<channel>
	<title>doing.nothing.net.nz</title>
	<atom:link href="http://doing.nothing.net.nz/feed" rel="self" type="application/rss+xml" />
	<link>http://doing.nothing.net.nz</link>
	<description>doin nothin!</description>
	<pubDate>Fri, 08 Aug 2008 15:13:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-hemorrhage</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>something else</title>
		<link>http://doing.nothing.net.nz/something-else/</link>
		<comments>http://doing.nothing.net.nz/something-else/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 15:13:43 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[not related]]></category>

		<category><![CDATA[quotes]]></category>

		<category><![CDATA[tool]]></category>

		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/?p=34</guid>
		<description><![CDATA[Throughout human history, as our species has faced the frightening, terrorizing fact that we do not know who we are, or where we are going in this ocean of chaos, it has been the authorities, the political, the religious, the educational authorities who attempted to comfort us by giving us order, rules &#038; regulations; informing [...]]]></description>
			<content:encoded><![CDATA[<p>Throughout human history, as our species has faced the frightening, terrorizing fact that we do not know who we are, or where we are going in this ocean of chaos, it has been the authorities, the political, the religious, the educational authorities who attempted to comfort us by giving us order, rules &#038; regulations; informing &#038; forming in our minds their view of reality. </p>
<p>To think for yourself you must question authority and learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability to inform yourself.</p>
<p>With thanks to Timothy Leary &#038; Tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/something-else/feed/</wfw:commentRss>
		</item>
		<item>
		<title>don&#8217;t fuck with the government</title>
		<link>http://doing.nothing.net.nz/dont-fuck-with-the-government/</link>
		<comments>http://doing.nothing.net.nz/dont-fuck-with-the-government/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 20:08:18 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[defense house]]></category>

		<category><![CDATA[don't fuck with us]]></category>

		<category><![CDATA[high court]]></category>

		<category><![CDATA[posters]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/dont-fuck-with-the-government/</guid>
		<description><![CDATA[So I went to Kiwicon, the first proper New Zealand hacker / security conference last weekend.
The talks were awesome, and i&#8217;ll update some more about that when I get a chance, but part of the fun was seeing Kiwicon posters on important buildings around Wellington.



Apparently the NZ Defense security team don&#8217;t take kindly to posters [...]]]></description>
			<content:encoded><![CDATA[<p>So I went to Kiwicon, the first proper New Zealand hacker / security conference last weekend.</p>
<p>The talks were awesome, and i&#8217;ll update some more about that when I get a chance, but part of the fun was seeing Kiwicon posters on important buildings around Wellington.</p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2007/11/highcourt.jpg" title='Wellington High Court'><img src='http://doing.nothing.net.nz/wp-content/uploads/2007/11/highcourt.jpg'  alt='Wellington High Court' /></a></p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2007/11/defensehouse.jpg" title='Defense house, Wellington'><img src='http://doing.nothing.net.nz/wp-content/uploads/2007/11/defensehouse.jpg'  alt='Defense house, Wellington' /></a></p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2007/11/defensehousefront.jpg" title='The front of Defense House, Wellington'><img src='http://doing.nothing.net.nz/wp-content/uploads/2007/11/defensehousefront.jpg'  alt='The front of Defense House, Wellington' /></a></p>
<p>Apparently the NZ Defense security team don&#8217;t take kindly to posters being stuck on &#8220;Military Buildings&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/dont-fuck-with-the-government/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to find the size of a mysql database</title>
		<link>http://doing.nothing.net.nz/how-to-find-the-size-of-a-mysql-database/</link>
		<comments>http://doing.nothing.net.nz/how-to-find-the-size-of-a-mysql-database/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 21:16:49 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[size]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/how-to-find-the-size-of-a-mysql-database/</guid>
		<description><![CDATA[I get this question all the time.
&#8220;How big is my mysql database?!&#8221;
It&#8217;s not always an easy answer, but this little bash foo seems to take care of it.

mysql -uusername -ppassword database -e 'show table status;' &#124; \
 awk '{sum=sum+$7+$9;} END {print sum/1024/1024}'

Gives you the database size in mb.
:)
]]></description>
			<content:encoded><![CDATA[<p>I get this question all the time.</p>
<p>&#8220;How big is my mysql database?!&#8221;</p>
<p>It&#8217;s not always an easy answer, but this little bash foo seems to take care of it.<br />
<code><br />
mysql -uusername -ppassword database -e 'show table status;' | \<br />
 awk '{sum=sum+$7+$9;} END {print sum/1024/1024}'<br />
</code></p>
<p>Gives you the database size in mb.</p>
<p>:)</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/how-to-find-the-size-of-a-mysql-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>how to do mysql db replication</title>
		<link>http://doing.nothing.net.nz/how-to-do-mysql-db-replication/</link>
		<comments>http://doing.nothing.net.nz/how-to-do-mysql-db-replication/#comments</comments>
		<pubDate>Fri, 25 May 2007 02:11:15 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[leet]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/how-to-do-mysql-db-replication/</guid>
		<description><![CDATA[We&#8217;ve started doing some mysql db replication at work, and I found this really easy to do - for (almost) redundant instant backing up of mysql db&#8217;s.
So here we go:
(this assumes you have root access / mysql command line access and all that)
We&#8217;re working on two servers, I&#8217;ll call them Jack and Jill, for the [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve started doing some mysql db replication at work, and I found this really easy to do - for (almost) redundant instant backing up of mysql db&#8217;s.</p>
<p>So here we go:</p>
<p>(this assumes you have root access / mysql command line access and all that)</p>
<p>We&#8217;re working on two servers, I&#8217;ll call them Jack and Jill, for the sake of this howto.</p>
<p>Jack is our master, Jill will be the slave.</p>
<p><strong>On Jack:</strong></p>
<p>edit /etc/mysql/my.cnf, and add the following:</p>
<blockquote><p>
log-bin=/var/log/mysql/binary/mysql_binary_log<br />
binlog-do-db=database_name<br />
server-id=1
</p></blockquote>
<p>where log-bin is the directory your mysql logs go to (this is the default for debian)<br />
database_name is the name of the db you want to replicate.</p>
<p>Now <strong>restart mysql</strong></p>
<p><code>/etc/init.d/mysql restart</code> </p>
<p>Still on Jack, open a mysql connection :<br />
<code>mysql<br />
mysql> GRANT REPLICATION SLAVE ON database_name TO 'slave_user_name'@'slave_hostname' IDENTIFIED BY 'slave_password';<br />
mysql> FLUSH PRIVILEGES;<br />
</code></p>
<p>Replace the stupid bits with smart things. database_name is the db, slave_user_name is whatever you want, hostname is the name of our slave server (jill)</p>
<p>now make sure you have two terminals open on our master server, one for mysql, another for the mysqldump we&#8217;re about to do.</p>
<p><code><br />
mysql> USE database_name;<br />
mysql> FLUSH TABLES WITH READ LOCK;<br />
</code></p>
<p><strong>DO NOT CLOSE THE MYSQL SESSION!</strong></p>
<p>Lets get the session status<br />
<code><br />
mysql> SHOW MASTER STATUS;<br />
</code></p>
<p><code><br />
+----------------------+----------+--------------+------------------+<br />
| File                 | Position | Binlog_do_db | Binlog_ignore_db |<br />
+----------------------+----------+--------------+------------------+<br />
| mysql_binary_log.025 | 796947   | database_name|                  |<br />
+----------------------+----------+--------------+------------------+<br />
1 row in set (0.00 sec)<br />
</code></p>
<p>Write this down, and keep the mysql session open.</p>
<p>Now go to your other shell and dump the db:</p>
<p><code><br />
mysqldump --opt database_name > database_name.sql<br />
</code></p>
<p>Go back to your mysql session and unlock the tables:<br />
<code><br />
mysql> UNLOCK TABLES;<br />
</code></p>
<p>scp the db you&#8217;ve dumped above to the slave</p>
<p><strong>Now jump on the slave server!</strong></p>
<p>Import the mysqldump from the master server:</p>
<p><code><br />
mysql database_name < database_name.sql<br />
</code></p>
<p>Edit the slave&#8217;s MySQL configuration to setup replication:</p>
<p><code><br />
$ vim /etc/mysql/my.cnf<br />
</code></p>
<p>Add under the [mysqld] section.<br />
It doesn&#8217;t matter what the value for server-id is, as long as it is different from the master&#8217;s.</p>
<blockquote><p>
server-id=2<br />
# master server settings<br />
master-host=hostname.com<br />
master-user=slave_user_name<br />
master-password=slave_password<br />
master-connect-retry=60 # num of seconds, default is 60<br />
replicate-do-db=database_name
</p></blockquote>
<p>replace the bits above with your settings.</p>
<p>Restart MySQL &#8212; don&#8217;t worry, it won&#8217;t start slaving yet.</p>
<p><code><br />
/etc/init.d/mysql restart<br />
</code></p>
<p>Tell the slave specifically where to start logging:</p>
<p>This is where you use the data from SHOW MASTER STATUS; from the master mysql database.</p>
<p><code><br />
mysql> CHANGE MASTER TO MASTER_HOST='master_host_name', MASTER_USER='slave_user_name', MASTER_PASSWORD='slave_password', MASTER_LOG_FILE='mysql_binary_log.025', MASTER_LOG_POS=796947;<br />
</code></p>
<p>Note that you don&#8217;t put quotes around the value for MASTER_LOG_POS or mysql will give you an error.</p>
<p>Now start slaving!</p>
<p><code><br />
mysql> START SLAVE;<br />
</code></p>
<p>Check your logs, make sure things are working.</p>
<p>On my debian system, the logs look something like this:<br />
<code><br />
May 24 20:34:55 jill mysqld[27025]: 070524 20:34:55 [Note] Slave SQL thread initialized, starting replication in log &#8216;mysql-bin.025&#8242; at position 796947, relay log &#8216;./jill-relay-bin.000001&#8242; position: 4<br />
May 24 20:34:55 jill mysqld[27025]: 070524 20:34:55 [Note] Slave I/O thread: connected to master &#8217;slave_user@hostname:3306&#8242;,  replication started in log &#8216;mysql-bin.025&#8242; at position 796947<br />
</code></p>
<p>Woo!</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/how-to-do-mysql-db-replication/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moving or migrating a website to a new server</title>
		<link>http://doing.nothing.net.nz/moving-or-migrating-a-website-to-a-new-server/</link>
		<comments>http://doing.nothing.net.nz/moving-or-migrating-a-website-to-a-new-server/#comments</comments>
		<pubDate>Wed, 16 May 2007 23:21:27 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[leet]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/moving-or-migrating-a-website-to-a-new-server/</guid>
		<description><![CDATA[Recently i&#8217;ve been doing a few site migrations, involving taking an old site and moving the site / db  &#038; everything to a new host.
So, here&#8217;s what I did.
Firstly, I set the domain TTL&#8217;s to something really low, like 300 seconds.
This lets us change around NS entries quickly, without having to wait 14000 seconds [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i&#8217;ve been doing a few site migrations, involving taking an old site and moving the site / db  &#038; everything to a new host.</p>
<p>So, here&#8217;s what I did.</p>
<p>Firstly, I <strong>set the domain TTL&#8217;s</strong> to something really low, like 300 seconds.<br />
This lets us change around NS entries quickly, without having to wait 14000 seconds for the domain to update.</p>
<p>Then, on the old server;</p>
<p><strong>Dump the mysql db:</strong></p>
<p><code><br />
user@oldserver user $  mysqldump -uusername -ppassword -Q --opt --database database | gzip > database.oldserver.sql.gz<br />
</code></p>
<p>This mysqldump command will Quote table names (-Q) and drop the tables, add locks, add extended inserts and lock tables (&#8211;opt) and we&#8217;re only dumping the database we want (&#8211;database)</p>
<p>Then, <strong>rsync</strong> the entire site&#8217;s www directory, unless you use subversion or something similar (like we do)</p>
<p>(if you put the above .gz file into the site www directory, it will get copied along with the below command, which is good)</p>
<p><code><br />
user@oldserver www $ rsync -zavP -e ssh user@newserver.com:/var/www/sitename/ /var/www/sitename<br />
</code></p>
<p>(-z is for compress, -a archives, which really means it does heaps of stuff. -v for verbose, -P for show progress)</p>
<p>Also, /var/www/sitename is the directory containing your web files ;)</p>
<p>This will copy everything over to your new box, providing you put the mysql gzip in the same directory.</p>
<p>Now just <strong>import your DB</strong>, after you&#8217;ve uncompressed it of course:</p>
<p><code><br />
user@oldserver www $ mysql -uuser -ppassword < database.sql<br />
</code></p>
<p>So now you have your site files and db on the new box! woo!</p>
<p>In the meantime, I threw up some <strong>RewriteRules</strong> to stop customers seeing <em>Bad Things.</em></p>
<p>Here&#8217;s what I used in the apache vhost config:</p>
<p><code><br />
 RewriteEngine On<br />
 RewriteCond %{REQUEST_URI} !/maintenance.php<br />
 RewriteCond %{REMOTE_ADDR} !^(255.255.255.255|ip.of.client.here|etc.etc.etc.etc)<br />
 RewriteRule ^/.*$ http://website.com/maintenance.php [R=302,L]<br />
</code></p>
<p>This assumes you have maintenance.php in the root directory of the site.</p>
<p>Basically, we&#8217;re saying to let the ip&#8217;s in {REMOTE_ADDR} access the site as usual, but anyone else gets the maintenance page.</p>
<p>I set this up on both the old server and the new server, then swapped the DNS entries to point to the new server.</p>
<p>So now you get the client to check everything is cool, get your developers to fix the stuff that is broken, and once its done, remove the RewriteRules and we&#8217;re in business!</p>
<p>Feel free to ask questions about what I did here. I&#8217;m probably missing something.</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/moving-or-migrating-a-website-to-a-new-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>how to hack an xbox</title>
		<link>http://doing.nothing.net.nz/how-to-hack-an-xbox/</link>
		<comments>http://doing.nothing.net.nz/how-to-hack-an-xbox/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 01:08:58 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[leet]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/how-to-hack-an-xbox/</guid>
		<description><![CDATA[HOW TO HACKZ0R YOUR XBOX!

I used a simple softmod to hack my xbox.
My xbox was purchased in New Zealand (so its PAL based) and it is a version 1.6b.
(this is not really important, this mod should work on all xboxes)
BIG NASTY WARNING!

This mod won&#8217;t cost you anything but is a little bit technical..
In saying that, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>HOW TO HACKZ0R YOUR XBOX!<br />
</strong><br />
I used a simple softmod to hack my xbox.<br />
My xbox was purchased in New Zealand (so its PAL based) and it is a version 1.6b.<br />
(this is not really important, this mod <em>should </em>work on all xboxes)</p>
<p><strong>BIG NASTY WARNING!<br />
</strong><br />
This mod won&#8217;t <strong>cost</strong> you anything but is a little bit technical..<br />
In saying that, I believe that if you followed the steps pretty carefully, then anyone with a limited amount of computing knowledge could do this.<br />
It does involve opening your PC and your xbox, which will void the Xbox warranty completely, and does have the potential to fry everything.<br />
This isn&#8217;t really very &#8217;safe&#8217; as you&#8217;re working with live components, but if you&#8217;re careful and not stupid it will be fine.</p>
<p>You may need to do a bit of research on your own regarding downloading the files you need and certain parts of the mod.</p>
<p>Here&#8217;s the steps I followed, after doing a bit of research on the xbox-scene forums.</p>
<p><strong>Programs / Tools you will need:<br />
</strong></p>
<ul>
<li><a href="http://www.xbox-scene.com/software/software.php?page=linux#newsitemEplkFAkkAyphdSfGCP" target="_blank" title="ldots xboxhdm 1.9 on xbox-scene.com" onclick="javascript:pageTracker._trackPageview ('/outbound/www.xbox-scene.com');">Ldot&#8217;s XboxHDM v1.9</a></li>
<li>The Uber XBE exploit - You should probably get UXE Complete v0.2.x instead, which is found from the &#8220;usual sources&#8221; (http://www.xbox-scene.com/articles/xbins.php)</li>
<li>A Torx head screwdriver (I think just one will do, but check)</li>
<li>A PC, with a CDRW drive and some blank cd&#8217;s.</li>
<li>A personal network of some sort - either via crossover cable or with a switch etc. (so we can access your xbox and copy files / backup stuff)</li>
</ul>
<p>Okay, so you should have all the gear now, ready to start the modding process.</p>
<p><strong>Software prep:</strong></p>
<p>Extract the xboxhdm zip - the key folder for us during this entire process is everything in the LINUX directory.<br />
Extract the uxe-complete archive, and run &#8220;71-fonts-install.bat&#8221; then nkpatcher-06-install.bat.<br />
(this is just a batch file that copies some files and does some renaming)</p>
<p>Copy the files in uxe-c-replace to the C directory in xboxhdm/linux/C</p>
<p>Once this is done, run the make-win-iso.bat file in the xboxhdm dir, which will create a nice linux ISO for you to burn to a cdrw.<br />
Burn it!<br />
check that everything worked by booting your PC from the cd.. if successful you should get a weird linux-y screen with a few options.<br />
If things look good, power your PC off and pull up your sleeves.</p>
<p><strong>Open your xbox!</strong></p>
<p>Grab your torx head screwdriver, and prepare to void your warranty. (Woo!)<br />
<strong>UNPLUG YOUR XBOX FROM THE POWER SOURCE!<br />
</strong><br />
There are six screws on the bottom of your xbox - some of these are hidden under stickers/rubber feet.</p>
<p>Check <a href="http://www.xbox-scene.com/articles/open1.php" target="_blank" title="opening xbox" onclick="javascript:pageTracker._trackPageview ('/outbound/www.xbox-scene.com');">Here</a> if you need help.</p>
<p>Once you&#8217;ve got the top off, have a look around - You should recognise a few PC-like parts :)</p>
<p><img width="424" height="318" align="middle" alt="xbox lid off" title="xbox lid off" src="http://static.flickr.com/57/198383713_15525c8cd1.jpg" /><br />
Its probably a good idea to unscrew the hdd tray and hard disc itself. - it makes the next few steps easier.<br />
<img width="295" height="394" align="middle" src="http://static.flickr.com/74/198383712_66d6b87553.jpg" /></p>
<p><strong>The softmod<br />
</strong></p>
<p>Get the xbox (with power and tv ready) as close to your PC as possible.<br />
(now for the hard/dodgy part.)</p>
<p>We&#8217;re about to pull out the xbox IDE cable from the hard disc - so get it ready to be removed. (unplug &#038; replug the IDE cable a few times so you get the feel of how much you&#8217;ll need to yank it out - maybe even plug it back in quite loosely so its easier)<br />
I&#8217;d suggest you get the xbox hard disc all the way out of its caddy and the xbox itself, and even plug it into your PC&#8217;s power supply, to provide a proper earth. Leave it plugged into the xbox IDE cable for now.</p>
<p>Make sure you dont have your fingers touching anything dangerous, and plug your xbox back into the power source. (dont turn it on JUST yet)</p>
<p>Get everything ready.. PC ready to be turned on, xbox ready, hard disc power plugged to PC and IDE to xbox, ready to be removed..</p>
<p>Power on your PC &#038; Xbox.<br />
Your PC will boot the linux cd and wait at the prompt - dont press anything yet!<br />
Take a quick breath, because the next few steps need to be done reasonably fast. (Don&#8217;t rush though)</p>
<p>The xbox will make the startup noise and JUST BEFORE the Microsoft logo appears, pull out your xbox IDE cable.<br />
I found that pulling the cable out just as the startup noises were ending was the most successful.<br />
(this bit is hard to get right - it takes a couple of tries sometimes)</p>
<p><img align="middle" alt="the logo" title="the logo" src="http://static.flickr.com/64/198385229_7c3e20384f.jpg" /></p>
<p>What we&#8217;re doing is making the XBox unlock the hard disc - as it does every time it boots - but as soon as it is unlocked we want to remove it from the IDE cable and while it is in an unlocked state, plug it into our PC.</p>
<p>So now your xbox hdd is unplugged from the IDE cable and still running.<br />
Your xbox might do some weird stuff once you unplug the IDE cable, but it is ok.<br />
Plug your xbox hdd into your PC&#8217;s IDE cable, and choose option 1 from the linux boot menu (if you get problems with option 1, try 2)</p>
<p>You might get a few error messages that scroll past, and it might take awhile to finish, but once everything finishes loading, you should be presented with a linux prompt</p>
<p>- type xbrowser and hit enter.<br />
(If you don&#8217;t get this far, you&#8217;ve messed up, you&#8217;ll need to power off your xbox &#038; pc, plug the hdd back into the xbox and try again)<br />
In Xbrowser (also known as Midnight Commander, for all the linux fans) you should be able to see your xbox hdd on the right hand side (called /PriMas) and the linux cd on the left side.<br />
If you aren&#8217;t seeing this, your xbox hdd didn&#8217;t unlock properly. (doh - go back!)<br />
<img width="391" height="293" align="middle" src="http://static.flickr.com/58/198383706_9c7fb2cfce.jpg" /></p>
<p>Hit TAB to access the xbox hard drive, and hit the DOWN ARROW to highlight /E, then hit ENTER.</p>
<p>Hit F7 to create a new DIR on E , name it ORIG_BACKUP. Then hit TAB to return to the CD side of xbrowser.</p>
<p>Now highlight the /.. and hit ENTER. Hit the DOWN ARROW until the /PriMas is highlighted then hit ENTER.</p>
<p>Highlight the /C and hit F5, this will bring up the copy dialog, just hit ENTER to begin the transfer. This will backup the complete XBOX C into the folder E:\ORIG_BACKUP\C.</p>
<p>Now hit F10 to drop you back to the prompt.</p>
<p><strong>Exploiting!<br />
</strong><br />
Type xboxhd and choose option 2</p>
<p>wait for this to complete, and when completed, press 8 to go back to the prompt, and type &#8220;poweroff&#8221; (to shutdown your PC)</p>
<p>You&#8217;ve just completed the Exploit! Before you celebrate, lets finish some backups.</p>
<p><strong>EvoX and backing up your eeprom<br />
</strong></p>
<p>Turn off your xbox, plug your xbox hdd back in, and power it back up.<br />
You should get an EvoX screen. If you don&#8217;t - something is fucked, so go back to the start :)</p>
<p><img align="middle" alt="evoX" title="evoX" src="http://static.flickr.com/73/198383708_888ad19c5d.jpg" /></p>
<p>If successful, Scroll down to to SETTINGS in the evoX menu and choose BACKUP. This will copy your xbox eeprom to a backup folder.</p>
<p>Connect your xbox to your network, and ftp to the xbox (EvoX will tell you the IP it has in the settings menu somewhere)<br />
(username and password is xbox / xbox by default)</p>
<p>Browse to the C/ and then fonts/dashboard/backup (i think) and download everything that is in there.</p>
<p>Copy all that stuff to the xboxhdm eeprom directory (xboxhdm/linux/eeprom/) on your PC.<br />
Check that you have 4 .bin files in there, delete the old linux.iso that was created, and re-run the make-win-iso.bat file to create your new iso with the eeprom on it.</p>
<p>Erase your CDRW and burn the new linux.iso.</p>
<p>Now you can use the unlocking tools provided, so you don&#8217;t need to do the dodgy IDE hotswapping anymore.</p>
<p>Just unplug the xbox hdd, connect it to your PC and then boot the linux CD - choosing the unlocking option from the first linux boot menu. (not the dos one)<br />
Once unlocked you can reboot your PC and access the xboxhdm stuff again, but before you use the hdd in your xbox again you have to lock it.<br />
Boot the cd and choose the unlocking option - and then follow the prompt instruction (lockhd -a from memory)</p>
<p>You can download various applications and add them to your xbox hdd via FTP now.<br />
These are all at the <a href="http://www.xbox-scene.com/articles/xbins.php" title="yep" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/www.xbox-scene.com');">&#8220;usual sources&#8221;</a><br />
I run Xbox Media Centre as my dashboard, which is much nicer than evox.<br />
:)</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/how-to-hack-an-xbox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>flash 9 for linux !</title>
		<link>http://doing.nothing.net.nz/flash-9-for-linux/</link>
		<comments>http://doing.nothing.net.nz/flash-9-for-linux/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 22:38:37 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/flash-9-for-linux/</guid>
		<description><![CDATA[FINALLY we (the linux community) have flash 9.
Flash 9 (beta) was released on the 18th of October, and I for one have been waiting a Loong time for this puppy.
Finally, I can play line rider without having to do any stupid wine hacks - to make things work in linux.
Installing the latest flash plugin was [...]]]></description>
			<content:encoded><![CDATA[<p>FINALLY we (the linux community) have <a href="http://labs.adobe.com/technologies/flashplayer9/" onclick="javascript:pageTracker._trackPageview ('/outbound/labs.adobe.com');">flash 9.</a></p>
<p><a href="http://labs.adobe.com/technologies/flashplayer9/" onclick="javascript:pageTracker._trackPageview ('/outbound/labs.adobe.com');">Flash 9 (beta)</a> was <a href="http://blogs.adobe.com/penguin.swf/2006/10/beta_is_live.html" onclick="javascript:pageTracker._trackPageview ('/outbound/blogs.adobe.com');">released on the 18th of October,</a> and I for one have been waiting a Loong time for this puppy.</p>
<p>Finally, I can play <a href="http://www.deviantart.com/deviation/40255643/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.deviantart.com');">line rider</a> without having to do any stupid wine hacks - to make things work in linux.</p>
<p>Installing the latest flash plugin was a breeze. quit browser, gunzip, untar, then copy the .so file to your plugins directory - usually /usr/lib/firefox/plugins/ or /usr/lib/mozilla-firefox/plugins/</p>
<p>Woot!</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/flash-9-for-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>vista</title>
		<link>http://doing.nothing.net.nz/vista/</link>
		<comments>http://doing.nothing.net.nz/vista/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 21:45:23 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/vista/</guid>
		<description><![CDATA[So I sucked it up and decided to drop Windows Vista on my work PC -
I know this has typically been a Linux blog - and most of my work seems to revolve around Linux-y things, so you could say I&#8217;m just a little biased.
But, anyway, here goes.
My review of Windows Vista (RC 1)
:)
I decided [...]]]></description>
			<content:encoded><![CDATA[<p>So I sucked it up and decided to drop Windows Vista on my work PC -<br />
I know this has typically been a Linux blog - and most of my work seems to revolve around Linux-y things, so you could say I&#8217;m just a little biased.<br />
But, anyway, here goes.</p>
<p>My review of Windows Vista (RC 1)</p>
<p>:)</p>
<p>I decided to just pay the freight fee and get the Vista DVD shipped directly. It arrived in a couple of days, which was quite surprising.<br />
I expected it to be delayed.</p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image022.jpg" class="imagelink" title="vista dvd jewel case"><img id="image13" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image022.thumbnail.jpg" alt="vista dvd jewel case" /></a></p>
<p>Inside there are two DVDs the 32bit version and the 64bit version..</p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image023.jpg" class="imagelink" title="microsoft windows vista dvd for 32bit"><img id="image14" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image023.thumbnail.jpg" alt="microsoft windows vista dvd for 32bit" /></a><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image024.jpg" class="imagelink" title="microsoft windows vista dvd for 64bit Systems"><img id="image15" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image024.thumbnail.jpg" alt="microsoft windows vista dvd for 64bit Systems" /></a></p>
<p>You also get the product key inside the jewel case (but you don&#8217;t need a photo of that)</p>
<p>So, here&#8217;s my workstation before installing Vista - Its currently running Ubuntu 6.06, with some XGL things, Firefox beta etc.<br />
<a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image025.jpg" class="imagelink" title="My workstation - before the vista upgrade"><img id="image16" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image025.thumbnail.jpg" alt="My workstation - before the vista upgrade" /></a></p>
<p>Before I installed I did a bit of googling, and found that Windows Vista INSISTS on being installed on the primary partition on the first hard disc.. So I just threw a spare drive in and disconnected my main hard disc.<br />
I let vista partition and use the entire disc.<br />
Here&#8217;s are the initial Windows Vista boot screens:<br />
<a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image026.jpg" class="imagelink" title="windows is loading files"><img id="image17" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image026.thumbnail.jpg" alt="windows is loading files" /></a><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image027.jpg" class="imagelink" title="windows vista boot screen"><img id="image19" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image027.thumbnail.jpg" alt="windows vista boot screen" /></a></p>
<p>The install was pretty painless, there aren&#8217;t very many questions to answer and it seemed very straight forward, which is pretty good.<br />
It reminded me a lot of a Ubuntu install actually :)</p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image028.jpg" class="imagelink" title="vista install screen "><img id="image20" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image028.thumbnail.jpg" alt="vista install screen " /></a></p>
<p>I went off and had lunch, leaving Vista to complete the install.. when I came back it was prompting me for a username, and asking me to pick a pretty login picture and wallpaper (yawn)</p>
<p>Anyway, it was up and running within no time, most of the drivers and hardware were installed, the only thing that wasn&#8217;t detected was my soundcard (which is an onboard IBM model, so I wasn&#8217;t surprised) installing this was very easy, I just told it to go find the drivers online, Vista went off and did this without interrupting me at all, installed &#038; configured without reboot (!!) and I had sound working straight away.<br />
Nice one.</p>
<p><a href="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image029.jpg" class="imagelink" title="vista - up and running"><img id="image21" src="http://doing.nothing.net.nz/wp-content/uploads/2006/10/image029.thumbnail.jpg" alt="vista - up and running" /></a></p>
<p>I HATED the <a href="http://en.wikipedia.org/wiki/User_Account_Control" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">User Account Control </a> (UAC) aspect, which prompts you just about every time you want to do anything useful. I turned this off pretty smartly.</p>
<p>Live search is great, the new windows explorer looks pretty cool, but the whole thing just smells like OS X.</p>
<p>There seems to be FAR too much eye-candy and stuff to play with - I don&#8217;t see anyone getting much work done for the first few times they use Vista.</p>
<p>Speaking of eye candy, I don&#8217;t get the full <a href="http://en.wikipedia.org/wiki/Windows_Aero" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">&#8220;Aero&#8221;</a> experience, even with an Nvidia Geforce FX 5600 XT, which is a little sad.</p>
<p>Everything feels kind of slow and sluggish, even on this PC which is filled with RAM and has a reasonable CPU.. It just seems so bloated.<br />
I had a fair amount of the gadgets and shit turned on, but then I have all that stuff in Ubuntu as well, and it flys.</p>
<p>The general layout of Vista does look a lot nicer than XP, but it still FEELS like XP.<br />
I honestly can&#8217;t believe there has been that much code changing.</p>
<p>There are lots more screenshots over on Paul Thurrott&#8217;s Vista <a href="http://www.winsupersite.com/showcase/winvista_rc1_gallery_01.asp" onclick="javascript:pageTracker._trackPageview ('/outbound/www.winsupersite.com');">site</a> and of course <a href="http://en.wikipedia.org/wiki/Windows_Vista" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">Wikipedia</a> has a heap of information about all the <a href="http://en.wikipedia.org/wiki/BitLocker_Drive_Encryption" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">new</a> <a href="http://en.wikipedia.org/wiki/ReadyBoost" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">bits</a> <a href="http://en.wikipedia.org/wiki/Windows_Sidebar" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">of</a> Vista (far more than I care to talk about)</p>
<p>In conclusion, after playing around with Vista for a few hours, and using it as a normal workstation for about 20 minutes,  I decided to boot back into Ubuntu. </p>
<p>Vista isn&#8217;t really that cool.<br />
It looks pretty, it has some interesting features, but I really can&#8217;t be arsed.</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/vista/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wget hotness</title>
		<link>http://doing.nothing.net.nz/wget-hotness/</link>
		<comments>http://doing.nothing.net.nz/wget-hotness/#comments</comments>
		<pubDate>Tue, 22 Aug 2006 06:06:26 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[leet]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/wget-hotness/</guid>
		<description><![CDATA[Recently I had to download a whole heap of files from a client&#8217;s site to one of our linux boxes.
I figured the best way to do this was using wget
I needed to download all of one particular file, but leave the rest alone, so..

mike@focker / $ wget -r -l 1 -A pdf -nd http://www.client.website.com/superawesomedownloads/

 This [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had to download a whole heap of files from a client&#8217;s site to one of our linux boxes.</p>
<p>I figured the best way to do this was using <a href="http://en.wikipedia.org/wiki/Wget" onclick="javascript:pageTracker._trackPageview ('/outbound/en.wikipedia.org');">wget</a></p>
<p>I needed to download all of one particular file, but leave the rest alone, so..<br />
<code><br />
mike@focker / $ wget -r -l 1 -A pdf -nd http://www.client.website.com/superawesomedownloads/<br />
</code><br />
 This goes into that dir and pulls everything with a pdf extension.</p>
<p>-r means be recursive<br />
-l 1 means set the level of recursive-ness to only be recursive by one directory, because I don&#8217;t care about anything deeper than that.<br />
-A pdf means only download .pdf files.<br />
-nd means no directories, don&#8217;t create them just fill my current directory with glorious pdf files.</p>
<p>and bingo, all the files in one place, as required :)</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/wget-hotness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>^M is bad .. (dos2unix is good)</title>
		<link>http://doing.nothing.net.nz/m-is-bad-dos2unix-is-good/</link>
		<comments>http://doing.nothing.net.nz/m-is-bad-dos2unix-is-good/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 05:33:47 +0000</pubDate>
		<dc:creator>mike</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://doing.nothing.net.nz/m-is-bad-dos2unix-is-good/</guid>
		<description><![CDATA[windows / dos files are the suck.
I was getting 

foo.file: /bin/perl^M: bad interpreter: No such file or directory


Which was caused by someone pasting or writing code in windows.
(Windows  and DOS text files have carriage return and line feed pairs as their newline characters, while Unix text files have the line feed as their newline [...]]]></description>
			<content:encoded><![CDATA[<p>windows / dos files are the suck.</p>
<p>I was getting </p>
<pre><code>
foo.file: /bin/perl^M: bad interpreter: No such file or directory
</pre>
<p></code></p>
<p>Which was caused by someone pasting or writing code in windows.<br />
(Windows  and DOS text files have carriage return and line feed pairs as their newline characters, while Unix text files have the line feed as their newline character)<br />
Which is bad, when you want to do important things in linux.</p>
<p>To fix:</p>
<pre><code>
#apt-get install tofrodos
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  tofrodos
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.8kB of archives.
After unpacking 69.6kB of additional disk space will be used.
Get:1 http://http.us.debian.org testing/main tofrodos 1.7.6-2 [16.8kB]
Fetched 16.8kB in 1s (12.2kB/s)
Selecting previously deselected package tofrodos.
(Reading database ... 58379 files and directories currently installed.)
Unpacking tofrodos (from .../tofrodos_1.7.6-2_i386.deb) ...
Setting up tofrodos (1.7.6-2) ...
mike@focker / $ dos2unix foo.file

</code></pre>
<p>Cool.<br />
:)</p>
]]></content:encoded>
			<wfw:commentRss>http://doing.nothing.net.nz/m-is-bad-dos2unix-is-good/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
