<?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>cyborgworkshop.org</title>
	<atom:link href="http://cyborgworkshop.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyborgworkshop.org</link>
	<description>Blurring the line</description>
	<lastBuildDate>Wed, 22 Feb 2012 14:31:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Building a storm chase vehicle</title>
		<link>http://cyborgworkshop.org/2012/02/22/building-a-storm-chase-vehicle/</link>
		<comments>http://cyborgworkshop.org/2012/02/22/building-a-storm-chase-vehicle/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 14:31:06 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Storm Chasing]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=728</guid>
		<description><![CDATA[The upcoming storm chase season has been keeping me busy lately. I&#8217;ll have a project page up with the work I&#8217;m doing to my car to get it chase ready, but if you are interested in a few pictures I have an album up on google plus here]]></description>
			<content:encoded><![CDATA[<p>The upcoming storm chase season has been keeping me busy lately. I&#8217;ll have a project page up with the work I&#8217;m doing to my car to get it chase ready, but if you are interested in a few pictures I have an album up on google plus<a href="https://plus.google.com/photos/108388884267707175692/albums/5711780700189456689"> here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2012/02/22/building-a-storm-chase-vehicle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No data connection after running unrevoked on an EVO 4G</title>
		<link>http://cyborgworkshop.org/2011/05/18/no-data-connection-after-running-unrevoked-on-an-evo-4g/</link>
		<comments>http://cyborgworkshop.org/2011/05/18/no-data-connection-after-running-unrevoked-on-an-evo-4g/#comments</comments>
		<pubDate>Wed, 18 May 2011 13:57:09 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[EVO]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=722</guid>
		<description><![CDATA[For whatever reason, rooting a newer evo 4g sometimes screws up the data provisioning on the device and you end up with a phone that can make calls but can&#8217;t do data. The fix is fairly straightforward though and just involves re activating the phone. I gathered most of this information from various posts on [...]]]></description>
			<content:encoded><![CDATA[<p>For whatever reason, rooting a newer evo 4g sometimes screws up the data provisioning on the device and you end up with a phone that can make calls but can&#8217;t do data.  The fix is fairly straightforward though and just involves re activating the phone. I gathered most of this information from various posts on XDA developers.<br />
After you root, download msl reader from the market and run it (use a wifi connection). This will return your devices MSL (password), Write it down.  Your phone will likely lock up at this point, just pull out the battery and reboot.  Once the phone has rebooted, open the phone dialer and type in<br />
##3282#<br />
Select Edit and put in your MSL as your password.<br />
Click on the first menu (data something or other)<br />
click menu and select restore.<br />
Your phone will ask if you really want to do this, just click yes.  Once that is done your phone will reboot and about 20 seconds later,  handsfree activation will run.  Let it download your PRL, but cancel out of the firmware download.  Power down your phone for about a minute and then power it back up and you should have data again.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2011/05/18/no-data-connection-after-running-unrevoked-on-an-evo-4g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authenticating a RHEL/Centos box against an Openfiler LDAP</title>
		<link>http://cyborgworkshop.org/2011/03/18/authenticating-a-rhelcentos-box-against-an-openfiler-ldap/</link>
		<comments>http://cyborgworkshop.org/2011/03/18/authenticating-a-rhelcentos-box-against-an-openfiler-ldap/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 01:31:56 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=716</guid>
		<description><![CDATA[I seem to be running on a theme here. Setting your centos 5 boxes to authenticate users against your Openfiler LDAP server isn&#8217;t as straight forward as setting samba up to auth against it. You&#8217;ll obviously need to have Openfiler and LDAP already setup, but you&#8217;re also going to have to do some per user [...]]]></description>
			<content:encoded><![CDATA[<p>I seem to be running on a theme here.  Setting your centos 5 boxes to authenticate users against your Openfiler LDAP server isn&#8217;t as straight forward as setting samba up to auth against it.  You&#8217;ll obviously need to have Openfiler and LDAP already setup, but you&#8217;re also going to have to do some per user modifications in LDAP and some PAM configuration changes on the Centos box.  So, starting with the easiest part.  Download and copy this script to your openfiler machine. I did not write this script (I found it <a href="https://forums.openfiler.com/viewtopic.php?pid=8604">here</a>) I just modified it for my use.</p>
<blockquote><p>
#!/bin/bash<br />
# change shell and home for user in OpenFiler LDAP server</p>
<p>BINDDN=&#8221;cn=Manager,dc=themclarks,dc=com&#8221;<br />
BASEDN=&#8221;ou=People,dc=themclarks,dc=com&#8221;</p>
<p>USER=$1<br />
SHELL=$2</p>
<p>if [ -z "${SHELL}" -o -n "${3}" ]; then<br />
echo &#8220;Usage: $0  &#8221;<br />
exit 1<br />
fi</p>
<p>ldapsearch -s base -x -b &#8220;uid=${USER},${BASEDN}&#8221; &gt; /dev/null<br />
if [ $? -ne 0 ]; then<br />
echo &#8220;Error: User ${USER} not found in LDAP server&#8221;<br />
exit 1<br />
fi</p>
<p>grep -q -E -e &#8220;^${SHELL}$&#8221; /etc/shells<br />
if [ $? -ne 0 ]; then<br />
echo &#8220;Error: ${SHELL} not found in /etc/shells&#8221;<br />
exit 1<br />
fi</p>
<p>ldapmodify -x -D ${BINDDN} -W &lt;<br />
dn: uid=${USER},${BASEDN}<br />
changetype: modify<br />
replace: homeDirectory<br />
homeDirectory: /home/${USER}<br />
EOF<br />
ldapmodify -x -D ${BINDDN} -W &lt;<br />
dn: uid=${USER},${BASEDN}<br />
changetype: modify<br />
replace: loginShell<br />
loginShell: ${SHELL}<br />
EOF
</p></blockquote>
<p>Before you run this script, go into openfiler and make a backup of your LDAP config and database.  I doubt their will be a problem, but if you don&#8217;t do a backup I can almost guarantee something bad will happen.<br />
Be sure to chmod 775 that script.  When you run it you will need to supply the user you want to modify and the shell you want them to have. Home directories will be in /home, but you can modify that as you see fit. <br />
Once that script has run, you will have a user setup with a shell and a home directory in LDAP.  moving on to the Centos box<br />
run authconfig as root and select &#8220;Use LDAP&#8221; in User Information and &#8220;Use LDAP Authentication&#8221; in Authentication.  I also like to select &#8220;Local Authentication is sufficient&#8221; so I can add an oh-crap account.  When you select next, you will be prompted for some LDAP settings.  <br />
Leave Use TLS unchecked. <br />
LDAP Server will be ldap://OPEN_FILER_SERVER_NAME<br />
Base DN: will be &#8220;dc=your_domain,dc=com&#8221;<br />
Hit OK.  you can test to see if this works by doing an<br />
<code><br />
su - $USER<br />
</code><br />
for the user that you setup in LDAP. This should work, but it will give you an error about not having a home directory. To fix that, we need to make a change to the pam config.  If you did this using the gui authconfig, I believe you will have had an option to setup the automatic creation of home directories, so if you don&#8217;t get an error, you&#8217;re done.<br />
as root on the centos box, edit /etc/pam.d/system-auth and add the following line to the bottom of the file<br />
<code><br />
session    required     pam_mkhomedir.so skel=/etc/skel umask=0022<br />
</code><br />
save the file and do an su &#8211; to the user you setup in LDAP.  You should see a message about a home directory being created. Congratulations, you are authing to LDAP!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2011/03/18/authenticating-a-rhelcentos-box-against-an-openfiler-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authenticating a samba server against the LDAP server in Openfiler</title>
		<link>http://cyborgworkshop.org/2011/03/05/authenticating-a-samba-server-against-the-ldap-server-in-openfiler/</link>
		<comments>http://cyborgworkshop.org/2011/03/05/authenticating-a-samba-server-against-the-ldap-server-in-openfiler/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 02:28:01 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Best Tools]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=710</guid>
		<description><![CDATA[I have an openfiler based NAS running as my main file server and an ubuntu VM running rsync that backs that server up. I wanted to be able to browse my backups via samba, and for giggles, authenticate that samba server against the openfiler LDAP that is already configured. This turned out to be really [...]]]></description>
			<content:encoded><![CDATA[<p>I have an openfiler based NAS running as my main file server and an ubuntu VM running rsync that backs that server up. I wanted to be able to browse my backups via samba, and for giggles, authenticate that samba server against the openfiler LDAP that is already configured. This turned out to be really easy.   First install samba.<br />
<code><br />
sudo apt-get install samba<br />
</code><br />
In the new /etc/samba/smb.conf,  you need to replace the passdb backend statement with<br />
<code><br />
passdb backend ldapsam:ldap://$DNS_NAME_OF_OPENFILE<br />
</code><br />
and add the following lines<br />
<code><br />
ldap ssl = no<br />
ldap admin dn = cn=Manager,dc=$YOURDOMAIN,dc=com<br />
ldap suffix = dc=$YOURDOMAIN,dc=com<br />
ldap user suffix = ou=People<br />
ldap group suffix = ou=Group<br />
</code><br />
Be sure to replace $YOURDOMAIN with the domain you configured when you first setup LDAP in openfiler.<br />
The last step is to store LDAP auth credentials in the secrets.tdb file so samba can query your LDAP. you do that by running<br />
<code><br />
smbpasswd -w $OPENFILER_LDAP_PASSWORD<br />
</code><br />
and replace $OPENFILER_LDAP_PASSWORD with the LDAP password you configured when you created the openfiler LDAP.  restart samba with<br />
<code><br />
service smbd restart<br />
</code><br />
And you should now be authenticating to you openfiler LDAP!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2011/03/05/authenticating-a-samba-server-against-the-ldap-server-in-openfiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>random pictures</title>
		<link>http://cyborgworkshop.org/2011/02/11/random-pictures/</link>
		<comments>http://cyborgworkshop.org/2011/02/11/random-pictures/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 19:55:06 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[WHIA]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=701</guid>
		<description><![CDATA[Just some shots I forgot to upload. This is my little workshop in the basement. Nothing too special. The computer rack is pretty much empty now (thank you vmware) and the toolbox is a $40 homedepot special. The desk itself is 8ft by 3ft with a 1ft ledge and the monitors are a 23 and [...]]]></description>
			<content:encoded><![CDATA[<p>Just some shots I forgot to upload.</p>
<p><a class="shutterset_" href="http://cyborgworkshop.org/wp-content/gallery/misc-shots/workshop.jpg"><img class="ngg-singlepic ngg-left alignleft" src="http://cyborgworkshop.org/wp-content/gallery/misc-shots/thumbs/thumbs_workshop.jpg" alt="workshop" width="100" height="75" /></a>This is my little workshop in the basement. Nothing too special. The computer rack is pretty much empty now (thank you vmware) and the toolbox is a $40 homedepot special. The desk itself is 8ft by 3ft with a 1ft ledge and the monitors are a 23 and a 15. They are hinged to the table and can fold backwards. What you can&#8217;t see is a drill press on the other side of the toolbox.</p>
<p>The one neat thing about the lab is the spool holder. <a class="shutterset_" href="http://cyborgworkshop.org/wp-content/gallery/misc-shots/spool_holder.jpg"><img class="ngg-singlepic ngg-left alignleft" src="http://cyborgworkshop.org/wp-content/gallery/misc-shots/thumbs/thumbs_spool_holder.jpg" alt="spool_holder" width="100" height="75" /></a> I made this from a reject levolor mini blind. I just took all of the slats out of it and mounted the mechanism to my ceiling. The bar is a $2 curtain rod mounted to the blind base with a couple of screws and nuts. I use zip ties to keep the various spools separated from each other.  I just lift it into the ceiling when I don&#8217;t need it and lower it down when I do.</p>
<p><a class="shutterset_" href="http://cyborgworkshop.org/wp-content/gallery/misc-shots/uscope.jpg"><img class="ngg-singlepic ngg-left alignleft" src="http://cyborgworkshop.org/wp-content/gallery/misc-shots/thumbs/thumbs_uscope.jpg" alt="uscope" width="100" height="75" /></a>The wife and kids bought me a USB microscope for fathers day that I promptly hacked. I got rid of the cheap base and mounted it to a 3rd arm, then I took and drilled 2mm holes about 70 degrees apart from each other all around the focus knob. I mounted a screw on multimeter probe with a harddrive bearing bolted to it into the holes and now I have a very fine motor way to adjust the focus of the scope. The stock way was prone to sticking and could be frustrating.</p>
<p><a class="shutterset_" href="http://cyborgworkshop.org/wp-content/gallery/misc-shots/register.jpg"><img class="ngg-singlepic ngg-right alignleft" src="http://cyborgworkshop.org/wp-content/gallery/misc-shots/thumbs/thumbs_register.jpg" alt="register" width="100" height="75" /></a>Last is the latest change to WHIA. Instead of controlling the dampers in the basement, I&#8217;m moving to controlling the registers. To that end I bought a whole bunch of tiny servos and I&#8217;m modifying the vents to fit them directly into the register. The servo&#8217;s shaft actually becomes the pivot point for the vent and allows me very simple torque transfer without any of the clearance issues that I ran across when I tried a linkage style mount. Works great, very quiet, look for more of this soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2011/02/11/random-pictures/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

