<?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>W&#124;T&#124;I&#124;P</title>
	<atom:link href="http://blog.wtip.net/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wtip.net</link>
	<description>Personal Weblog with lots of tech stuff</description>
	<pubDate>Tue, 24 Mar 2009 17:52:58 +0000</pubDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Openvpn client on embedded devices</title>
		<link>http://blog.wtip.net/index.php/2009/03/24/openvpn-client-on-embedded-devices/</link>
		<comments>http://blog.wtip.net/index.php/2009/03/24/openvpn-client-on-embedded-devices/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 17:11:05 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Computer hardware]]></category>

		<category><![CDATA[Computer software]]></category>

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

		<category><![CDATA[Add new tag]]></category>

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

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

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=149</guid>
		<description><![CDATA[As a kind of proof of concept I setup a Linksys router running the Openwrt firmware as a portable hardware openvpn client to connect to the AlwaysVPN service. I used the router as a wireless client, meaning I did not connect to a wired network to gain internet access. The final test was to connect [...]]]></description>
			<content:encoded><![CDATA[<p>As a kind of proof of concept I setup a Linksys router running the <a href="http://openwrt.org/">Openwrt</a> firmware as a portable hardware openvpn client to connect to the <a href="https://ssl.alwaysvpn.com">AlwaysVPN</a> service. I used the router as a wireless client, meaning I did not connect to a wired network to gain internet access. The final test was to connect a SIP IP phone to one of the LAN ports of the router and then place a phone call.<span id="more-149"></span><br />
<br />
The following is a very basic overview of what needs to be done to duplicate this kind of setup.</p>
<ol>
<li>Flash a router with the latest Openwrt firmware (I used Kamikaze 8.09)</li>
<li>Install the openvpn, empty and ntpclient packages</li>
<li>Configure the router as a wireless client, adding a wifi interface with DHCP.</li>
<li>Add a VPN interface using tap0 as the phisical interface (I used openvpn with tap not tun)</li>
<li>configure the firewall rules to allow traffic on the VPN interface and add MASQ to enable NAT.</li>
<li>using SCP/SSH create a /etc/openvpn directory and add your config files.</li>
<li>Create a /etc/init.d/openvpn-client file with the following (edit as needed):<br />
<code><br />
#!/bin/sh /etc/rc.common<br />
START=95<br />
start () {<br />
logger -t "openvpn" "starting openvpn-client"<br />
empty -f -i in -o out openvpn --daemon --config /etc/openvpn/VPN_config_file.conf<br />
empty -w -i out -o in "Username:" "username\n"<br />
empty -w -i out -o in "assword:" "password\n"<br />
}<br />
stop () {<br />
logger -t "openvpn" "stopping openvpn-client"<br />
killall openvpn<br />
killall empty<br />
sleep 3<br />
}</code></li>
<li>Do a chmod a+x /etc/init.d/openvpn-client and enable it</li>
<li>Make sure the NTP client is working</li>
<li>Disable DHCP server on VPN and WIFI interfaces</li>
<li>Add DHCP option 6 with dns servers of your vpn provider on the LAN interface. Otherwise dns requests will pass through the router to your ISPs DNS servers.</li>
<li>apply settings and reboot</li>
</ol>
<p><strong>Some additional notes:</strong></p>
<p><em>empty</em><strong> </strong>was used to pass the username and password to openvpn without having to recompile openvpn with save-password support. If your server only uses key authentication this is not required.</p>
<p>This writeup was done from memory so some details may be missing. I&#8217;ve had bad experiences with using SIP over wifi in the passed so I was very surprised at how well the voip call worked over the openvpn wifi tunnel.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2009/03/24/openvpn-client-on-embedded-devices/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All this junk?</title>
		<link>http://blog.wtip.net/index.php/2009/03/23/all-this-junk/</link>
		<comments>http://blog.wtip.net/index.php/2009/03/23/all-this-junk/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 20:33:06 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Personal]]></category>

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=145</guid>
		<description><![CDATA[I just replaced the theme of this blog with a very plain and simple one. My goal is to design something from scratch but it probably won&#8217;t happen any time soon. The old theme had some cross browser compatibility issues that I didn&#8217;t like so it had to go.
I don&#8217;t really post on a regular [...]]]></description>
			<content:encoded><![CDATA[<p>I just replaced the theme of this blog with a very plain and simple one. My goal is to design something from scratch but it probably won&#8217;t happen any time soon. The old theme had some cross browser compatibility issues that I didn&#8217;t like so it had to go.</p>
<p>I don&#8217;t really post on a regular basis anymore now that there are other outlets to inform people of personal random thoughts, i.e. Twitter / Facebook. The blog is just an easy way of posting my findings that I think may be usefull to other people. The truth is that a wiki may be a bit better, however I&#8217;ve got too much stuff in this database to warrent a switch to a completely new platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2009/03/23/all-this-junk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Openvpn save password without recompiling using bash</title>
		<link>http://blog.wtip.net/index.php/2009/03/10/openvpn-save-password-without-recompiling-using-bash/</link>
		<comments>http://blog.wtip.net/index.php/2009/03/10/openvpn-save-password-without-recompiling-using-bash/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 18:05:55 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Computer software]]></category>

		<category><![CDATA[auth-user-pass]]></category>

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

		<category><![CDATA[enable-password-save]]></category>

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=140</guid>
		<description><![CDATA[If you need a way to launch an openvpn client that uses auth-user-pass without having to recompile openvpn with --enable-password-save you could use a simple shell script.

#!/usr/bin/expect
spawn openvpn –config /etc/openvpn/configforclient.conf
expect “*Username:*”
send “userhere\r”
expect “*Password:*”
send “passhere\r”
interact

Just replace userhere and passhere with your vpn username and password. Saving your login credentials in plain text may be a security [...]]]></description>
			<content:encoded><![CDATA[<p>If you need a way to launch an openvpn client that uses <strong>auth-user-pass </strong>without having to recompile openvpn with <code>--enable-password-save</code> you could use a simple shell script.</p>
<p><code><br />
#!/usr/bin/expect<br />
spawn openvpn –config /etc/openvpn/configforclient.conf<br />
expect “*Username:*”<br />
send “userhere\r”<br />
expect “*Password:*”<br />
send “passhere\r”<br />
interact<br />
</code></p>
<p>Just replace userhere and passhere with your vpn username and password. Saving your login credentials in plain text may be a security risk. Keep that in mind!<br />
You also have to have the <code>expect</code> package installed on your computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2009/03/10/openvpn-save-password-without-recompiling-using-bash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New OpenVPN GUI</title>
		<link>http://blog.wtip.net/index.php/2009/02/18/new-openvpn-gui/</link>
		<comments>http://blog.wtip.net/index.php/2009/02/18/new-openvpn-gui/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 01:17:06 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Computer software]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=137</guid>
		<description><![CDATA[Checkout the OpenVPN Manager project @ http://openvpn.jowisoftware.de/
A new windows GUI that uses the manager interface. This means that you can theoretically use it with split privilages allowing you to use Openvpn from a non admin windows account.
]]></description>
			<content:encoded><![CDATA[<p>Checkout the OpenVPN Manager project @ <a href="http://openvpn.jowisoftware.de">http://openvpn.jowisoftware.de</a>/</p>
<p>A new windows GUI that uses the manager interface. This means that you can theoretically use it with split privilages allowing you to use Openvpn from a non admin windows account.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2009/02/18/new-openvpn-gui/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MacRumorslive MacWorld feed hacked</title>
		<link>http://blog.wtip.net/index.php/2009/01/06/macrumorslive-macworld-feed-hacked/</link>
		<comments>http://blog.wtip.net/index.php/2009/01/06/macrumorslive-macworld-feed-hacked/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 17:59:18 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.wtip.net/?p=135</guid>
		<description><![CDATA[I feel sorry for them.

]]></description>
			<content:encoded><![CDATA[<p>I feel sorry for them.</p>
<p><a href="http://www.flickr.com/photos/wtip/3173778587/"><img class="alignleft" title="macrumorslive hacked" src="http://farm4.static.flickr.com/3093/3173778587_566de1ed5f_m.jpg" alt="" width="240" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2009/01/06/macrumorslive-macworld-feed-hacked/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Receive voice call alert of new email messages</title>
		<link>http://blog.wtip.net/index.php/2008/12/09/receive-voice-call-alert-of-new-email-messages/</link>
		<comments>http://blog.wtip.net/index.php/2008/12/09/receive-voice-call-alert-of-new-email-messages/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 19:01:47 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Computer software]]></category>

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

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

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

		<category><![CDATA[call file]]></category>

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=133</guid>
		<description><![CDATA[Just spent a few hours hacking together a small script for my Asterisk PBX that checks a IMAP folder for new unseen messages and calls my cell when it sees any. If I pickup it also reads me the number of new messages using a simple text to speech engine.
The script is written in php [...]]]></description>
			<content:encoded><![CDATA[<p>Just spent a few hours hacking together a small script for my Asterisk PBX that checks a IMAP folder for new unseen messages and calls my cell when it sees any. If I pickup it also reads me the number of new messages using a simple text to speech engine.</p>
<p>The script is written in php and executed by cron every half hour. Basically it uses the php imap_header function to check for email and if there are 1 or more unseen messages it places a .call file in the asterisk spool directory.</p>
<p>I want to test the script for a while before posting it just to make sure that it works without any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2008/12/09/receive-voice-call-alert-of-new-email-messages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New free VPN service</title>
		<link>http://blog.wtip.net/index.php/2008/10/26/new-free-vpn-service/</link>
		<comments>http://blog.wtip.net/index.php/2008/10/26/new-free-vpn-service/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 17:26:17 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Computer software]]></category>

		<guid isPermaLink="false">http://blog.wtip.net/?p=131</guid>
		<description><![CDATA[Have a look at AlwaysVPN.com they&#8217;re offering a free ad supported VPN service that uses OpenVPN. It seems to be similar to the proprietary Hotspotshield service which actually also uses OpenVPN at its core.
]]></description>
			<content:encoded><![CDATA[<p>Have a look at <a href="http://alwaysvpn.com">AlwaysVPN.com</a> they&#8217;re offering a free ad supported VPN service that uses OpenVPN. It seems to be similar to the proprietary Hotspotshield service which actually also uses OpenVPN at its core.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2008/10/26/new-free-vpn-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Random thought</title>
		<link>http://blog.wtip.net/index.php/2008/10/14/random-thought/</link>
		<comments>http://blog.wtip.net/index.php/2008/10/14/random-thought/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 01:45:54 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.wtip.net/?p=129</guid>
		<description><![CDATA[I&#8217;ve been busy working on a project / internet startup for the last few months while also going to college. So I haven&#8217;t had any time to write anything on the blog. It&#8217;s not that I don&#8217;t have anything to write about I just want to keep the details of my project secret until I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been busy working on a project / internet startup for the last few months while also going to college. So I haven&#8217;t had any time to write anything on the blog. It&#8217;s not that I don&#8217;t have anything to write about I just want to keep the details of my project secret until I have the first public release ready.</p>
<p>The only real reason I am writing something right now is because I just upgraded the wordpress blogging engine and wanted to see if everything is still working.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2008/10/14/random-thought/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter</title>
		<link>http://blog.wtip.net/index.php/2008/07/28/twitter/</link>
		<comments>http://blog.wtip.net/index.php/2008/07/28/twitter/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 16:44:03 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[Personal]]></category>

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=126</guid>
		<description><![CDATA[I recently got a twitter account. You can follow me at http://twitter.com/wtip
]]></description>
			<content:encoded><![CDATA[<p>I recently got a twitter account. You can follow me at <a href="http://twitter.com/wtip" target="_self">http://twitter.com/wtip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2008/07/28/twitter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Craigslist ads by email</title>
		<link>http://blog.wtip.net/index.php/2008/05/28/new-craigslist-ads-by-email/</link>
		<comments>http://blog.wtip.net/index.php/2008/05/28/new-craigslist-ads-by-email/#comments</comments>
		<pubDate>Thu, 29 May 2008 01:45:18 +0000</pubDate>
		<dc:creator>William</dc:creator>
		
		<category><![CDATA[HowTo]]></category>

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

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

		<guid isPermaLink="false">http://blog.wtip.net/?p=123</guid>
		<description><![CDATA[To receive updates on new items for sale on Craigslist via email please have a look at the instructions below:

Do a regular keyword search on craigslist.org for the item you are looking for.
Scroll to the bottom of the results page and right click on the RSS button.
A menu should appear.
If you are using Firefox click [...]]]></description>
			<content:encoded><![CDATA[<p>To receive updates on new items for sale on Craigslist via email please have a look at the instructions below:</p>
<ol>
<li>Do a regular keyword search on craigslist.org for the item you are looking for.<span id="more-123"></span></li>
<li>Scroll to the bottom of the results page and <strong>right click</strong> on the <strong>RSS</strong> button.<br />
A menu should appear.</li>
<li>If you are using Firefox click on <strong>Copy link Location </strong>or<strong> Copy Shortcut</strong> if you are using Internet Explorer.
<p><a href="http://blog.wtip.net/rap-files/2008/05/cl_rssemail1.jpg"><img class="aligncenter size-full wp-image-124" title="cl_rssemail1" src="http://blog.wtip.net/rap-files/2008/05/cl_rssemail1.jpg" alt="" width="349" height="213" /></a></li>
<li>Go to <a href="http://www.rssfwd.com/">www.rssfwd.com</a> , <strong>Paste</strong> into their URL subscribe box and click <strong>Submit</strong>.
<p><a href="http://blog.wtip.net/rap-files/2008/05/cl_rssemail2.jpg"><img class="aligncenter size-full wp-image-125" title="cl_rssemail2" src="http://blog.wtip.net/rap-files/2008/05/cl_rssemail2.jpg" alt="" width="213" height="168" /></a></li>
<li>Enter your <strong>email address</strong> and follow the instructions at rssfwd.com</li>
</ol>
<p></p>
<p>To receive updates as text messages on your <strong>cell phone </strong>use <a href="http://www.pingie.com/">www.pingie.com</a> in step 4.<br />
Another alternative is to use <a href="http://www.4info.net/alerts/add/craigslist">www.4info.net</a> service.</p>
<p>If you are searching for multiple items or several different spelling combinations it may be easier to use something called an RSS reader.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wtip.net/index.php/2008/05/28/new-craigslist-ads-by-email/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
