<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Technobounce</title>
		<link>http://technobounce.com/index.php</link>
		<description><![CDATA[Technobounce
<!-- Piwik -->
<a href=\"http://piwik.org\" title=\"Google Analytics alternative\" onclick=\"window.open(this.href);return(false);\">
<script type=\"text/javascript\">
var pkBaseURL = ((\"https:\" == document.location.protocol) ? \"https://75.101.62.26/piwik/\" : \"http://75.101.62.2/piwik/\");
document.write(unescape(\"%3Cscript src=\'\" + pkBaseURL + \"piwik.js\' type=\'text/javascript\'%3E%3C/script%3E\"));
</script><script type=\"text/javascript\">
piwik_action_name = \'\';
piwik_idsite = 1;
piwik_url = pkBaseURL + \"piwik.php\";
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
</script>
<object><noscript><p>Google Analytics alternative <img src=\"http://75.101.62.26/piwik/piwik.php?idsite=1\" style=\"border:0\" alt=\"\"/></p></noscript></object></a>
<!-- End Piwik Tag -->
]]></description>
		<copyright>Copyright 2010, Jeff Dickison</copyright>
		<managingEditor>Jeff Dickison</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.5.1</generator>
		<item>
			<title>Spiffy sed command to clean up conf files</title>
			<link>http://technobounce.com/index.php?entry=entry090716-142721</link>
			<description><![CDATA[Use the following sed command to clean up config files and remove all the comments and blank lines:<br /><br />sed &#039;/ *#/d; /^ *$/d&#039;]]></description>
			<category>Linux</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry090716-142721</guid>
			<author>Jeff Dickison</author>
			<pubDate>Thu, 16 Jul 2009 21:27:21 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=09&amp;m=07&amp;entry=entry090716-142721</comments>
		</item>
		<item>
			<title>Setting up PAM with Debian lenny and a BlackBerry Curve 8330, the easy way!</title>
			<link>http://technobounce.com/index.php?entry=entry090219-234509</link>
			<description><![CDATA[I got a BlackBerry 8330 a little while ago and decided I&#039;d figure out how to get PAM working. Like most things I like to do things the manual way, this way I know exactly whats going on. So to start you may need to &#039;apt-get install bluez-utils build-essential ppp &#039; to get everything you need.<br /><br /><br />in /etc/bluetooth/hcid.conf:<br />options {<br />autoinit yes;<br />security auto;<br />pairing multi;<br />passkey &quot;1234&quot;;<br />}<br />device {<br />name &quot;mylaptop&quot;;<br />class 0x000100;<br />iscan enable; pscan enable;<br />lm accept, master;<br />lp rswitch,hold,sniff,park;<br />}<br /><br />and in /etc/bluetooth/pin<br />PIN:1234<br /><br /><br />next go to /usr/share/doc/bluez-utils/examples and run:<br />make<br />cp passkey-agent /usr/local/bin/<br /><br />run that :<br />passkey-agent 1234<br /><br />change the pin and passkey to what ever you want to use<br />now, restart bluetooth<br /><br />/etc/init.d/bluetooth restart<br /><br />find the bb:<br />hcitool scan<br /><br />that should give you a list of devices, then run ( replace 00:11:22:33:44:55 with your BB hardware address ) :<br />sdptool browse 00:11:22:33:44:55<br /><br />your blackberry should ask for your pin then once you have paired, run<br />sdptool search DUN<br />(note which channel its on) <br /> <br />next edit /etc/bluetooth/rfcomm.conf :<br /><br />rfcomm1 {<br />bind yes;<br />device 00:11:22:33:44:55;<br />channel 3;<br />comment “Bluetooth BB Connection”;<br />}<br /><br />and in /etc/ppp/peers/blackberry:<br />debug debug debug<br />nodetach<br />/dev/rfcomm1<br />115200<br />connect &quot;/usr/sbin/chat -f /etc/chatscripts/blackberry&quot;<br />nomultilink<br />defaultroute<br />noipdefault<br />ipcp-restart 7<br />ipcp-accept-local<br />ipcp-accept-remote<br /># need lcp-echo turned off, at least for t-mobile<br /># disconnects after few mn of inactivity.<br /># thanks to &#039;loon&#039; for this info<br />lcp-echo-interval 0<br />lcp-echo-failure 999<br />modem<br />noauth<br />nocrtscts<br />noipdefault<br />novj # refused anyway, no point in trying every time<br />usepeerdns<br />user &quot;&quot;<br />password &quot;&quot;<br /><br />and edit /etc/chatscripts/blackberry:<br /><br />ABORT BUSY ABORT &#039;NO CARRIER&#039; ABORT VOICE ABORT &#039;NO DIALTONE&#039; ABORT \<br />&#039;NO DIAL TONE&#039; ABORT &#039;NO ANSWER&#039; ABORT DELAYED ABORT ERROR<br />SAY &quot;Initializing\n&quot;<br />&#039;&#039; ATZ<br />OK-AT-OK ATDT#777<br />CONNECT \d\c<br /><br /><br />then we can now:<br />pppd call blackberry<br /><br />and it should be up and running ! <br />&lt;sarcasam&gt;<br />That was easy huh?<br />&lt;/sarcasam&gt;]]></description>
			<category>Linux, Debian, BlackBerry</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry090219-234509</guid>
			<author>Jeff Dickison</author>
			<pubDate>Fri, 20 Feb 2009 07:45:09 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=09&amp;m=02&amp;entry=entry090219-234509</comments>
		</item>
		<item>
			<title>Xen + lvm on Dell PowerEdge 2950 with Debian 4.0r3 AMD64</title>
			<link>http://technobounce.com/index.php?entry=entry080319-165200</link>
			<description><![CDATA[There are a couple things to watch out with this install.  When installing the system, the installer switches eth0 and eth1 and also detects the first drive as /dev/sdb not /dev/sda.  This requires you to edit the grub conf at boot and switch sdb with sda.  That will allow the system to boot up properly, but /etc/fstab is still incorrect and needs to fixed as well. <br /><br />For this install I broke the existing virtual disks on the raid and created a 10G disk for the system and created a second virtual disk with the remaining space allocated for xen servers.<br /><br />Create a 3T lvm partition:<br />myxenserver:~# fdisk -l /dev/sdb<br /><br />Disk /dev/sdb: 3737.2 GB, 3737292636160 bytes<br />255 heads, 63 sectors/track, 454366 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br /><br />   Device Boot      Start         End      Blocks   Id  System<br />myxenserver:~# parted /dev/sdb mklabel gpt<br />Information: Don&#039;t forget to update /etc/fstab, if necessary.<br /><br />myxenserver:~# parted /dev/sdb print<br /><br />Disk /dev/sdb: 3737GB<br />Sector size (logical/physical): 512B/512B<br />Partition Table: gpt<br /><br />Number  Start  End  Size  File system  Name  Flags<br /><br />Information: Don&#039;t forget to update /etc/fstab, if necessary.<br /><br />myxenserver:~# parted /dev/sdb mkpart ext2 0 3737GB<br />myxenserver:~# parted /dev/sdb print<br /><br />Disk /dev/sdb: 3737GB<br />Sector size (logical/physical): 512B/512B<br />Partition Table: gpt<br /><br />Number  Start   End     Size    File system  Name  Flags<br /> 1      17.4kB  3737GB  3737GB               ext2<br /><br />Information: Don&#039;t forget to update /etc/fstab, if necessary.<br /><br />myxenserver:~# vgcreate xen /dev/sdb1<br />  Volume group &quot;xen&quot; successfully created<br /><br />myxenserver:~# vgdisplay<br />  --- Volume group ---<br />  VG Name               xen<br />  System ID<br />  Format                lvm2<br />  Metadata Areas        1<br />  Metadata Sequence No  1<br />  VG Access             read/write<br />  VG Status             resizable<br />  MAX LV                0<br />  Cur LV                0<br />  Open LV               0<br />  Max PV                0<br />  Cur PV                1<br />  Act PV                1<br />  VG Size               3.40 TB<br />  PE Size               4.00 MB<br />  Total PE              891039<br />  Alloc PE / Size       0 / 0<br />  Free  PE / Size       891039 / 3.40 TB<br />  VG UUID               kZ260M-qv13-7unz-Rwd8-TfbM-qIUF-7PSHaB<br /><br /><br /><br />Now install some packages that we will need:<br /><br />myxenserver:~# apt-get install bridge-utils iproute linux-image-2.6.18-6-xen-amd64 nmap tcpdump xen-hypervisor-3.0.3-1-amd64  xen-ioemu-3.0.3-1 xen-linux-system-2.6.18-6-xen-amd64 xen-tools xen-utils-3.0.3-1 xen-utils-common<br /><br />now, reboot into the new xen enabled kernel.<br /><br />edit your /etc/xen-tools/xen-tools.conf to relect your local setting, the ones I use are :<br />#start xen-tools.conf<br />lvm = xen<br /><br />size   = 4Gb      # Disk image size.<br />memory = 256Mb    # Memory size<br />swap   = 128Mb    # Swap size<br />fs     = ext3     # use the EXT3 filesystem for the disk image.<br />dist   = etch    # Default distribution to install.<br />image  = sparse   # Specify sparse vs. full disk images.<br /><br />gateway   = 10.1.2.1<br />netmask   = 255.255.255.0<br /><br />kernel = /boot/vmlinuz-2.6.18-6-xen-vserver-amd64<br />initrd = /boot/initrd.img-2.6.18-6-xen-vserver-amd64<br /><br />mirror = <a href="http://ftp.us.debian.org/debian/" target="_blank" >http://ftp.us.debian.org/debian/</a><br /><br />## end xen-tools.conf<br /><br />now, edit /etc/xen/xend-config.sxp and uncomment:<br />(network-script network-bridge)<br />and I set:<br />(dom0-cpus 2)<br /><br />now restart xen:<br /><br />/etc/init.d/xend <br /><br />now to create a xen instance <br />xen-create-image --hostname=xensever01 --size=300G --ip=10.1.2.100 -netmask=255.255.255.0<br /><br /><br />start the xen instance:<br />xm create /etc/xen/xenserver01.cfg<br /><br />and you can now connect to it:<br />xm console xensever01<br /><br />Log in with root, no password should be set at this time, so now would be a good time to set it.<br /><br />Congrats! you now have a xen server up and running ready to get what ever software you want.<br />]]></description>
			<category>Technology, Linux, Debian</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry080319-165200</guid>
			<author>Jeff Dickison</author>
			<pubDate>Wed, 19 Mar 2008 23:52:00 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=08&amp;m=03&amp;entry=entry080319-165200</comments>
		</item>
		<item>
			<title>First Snow!</title>
			<link>http://technobounce.com/index.php?entry=entry071122-130718</link>
			<description><![CDATA[<img src="images/2055043691_3d3047b1a3_o.jpg" width="500" height="334" border="0" alt="" /><br /><br /><img src="images/2055828518_7294fcedf8_o.jpg" width="500" height="334" border="0" alt="" /><br /><br />]]></description>
			<category>General, Photography</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry071122-130718</guid>
			<author>Jeff Dickison</author>
			<pubDate>Thu, 22 Nov 2007 21:07:18 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=11&amp;entry=entry071122-130718</comments>
		</item>
		<item>
			<title>T61 grub framebuffer resolution</title>
			<link>http://technobounce.com/index.php?entry=entry070912-113942</link>
			<description><![CDATA[Here&#039;s an easy way to figure out the correct resolution for your T61, or pretty much anything else:<br />    <br />hwinfo --framebuffer<br /><br />In the output, you should see something like this:<br />Mode 0x036e: 1680x1050 (+6720), 24 bits<br /><br />Take that mode for your vga= on your kernel line:<br />title		Debian GNU/Linux, kernel 2.6.21-2-686<br />root		(hd0,0)<br />kernel		/boot/vmlinuz-2.6.21-2-686 root=/dev/sda1 ro vga=0x036e<br />initrd		/boot/initrd.img-2.6.21-2-686<br />savedefault<br /><br />then, when you reboot, it should come up with the correct resolution.<br />]]></description>
			<category>Linux, Debian</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070912-113942</guid>
			<author>Jeff Dickison</author>
			<pubDate>Wed, 12 Sep 2007 18:39:42 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=09&amp;entry=entry070912-113942</comments>
		</item>
		<item>
			<title>Apache2 + php on Debian Lenny </title>
			<link>http://technobounce.com/index.php?entry=entry070912-111638</link>
			<description><![CDATA[This is a short howto on setting up apache2 on Lenny, it will set up the basics on getting apache2 and php5 up and running on your Deian/Lenny box:<br /><br />apt-get update<br />apt-get install apache2<br /><br />apache2 should start now, you can check to make sure like so:<br />        lsof -i:80<br /><br />Now to install the php module for apache2:<br /><br />apt-get install libapache2-mod-php5<br /><br />apt should enable the module for you, you can always check to make sure:<br />        a2enmod php5<br /><br />Now, we have to restart our server:<br />/etc/init.d/apache2 stop<br /> /etc/init.d/apache2 start<br /><br /><br />To verify, you can put a php file in /var/www , say /var/www/test.php<br /><br />Now point your browser to <a href="http://your.server/test.php" target="_blank" >http://your.server/test.php</a> , and you should see the phpinfo page.<br /><br />Thats it.<br />]]></description>
			<category>Linux, Debian</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070912-111638</guid>
			<author>Jeff Dickison</author>
			<pubDate>Wed, 12 Sep 2007 18:16:38 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=09&amp;entry=entry070912-111638</comments>
		</item>
		<item>
			<title>MD Ate My Acid</title>
			<link>http://technobounce.com/index.php?entry=entry070910-004742</link>
			<description><![CDATA[Just messing around tonight with my Machine Drum and a Novation Nova.<br /><a href="http://technobounce.com/mp3/MDAteMyAcid.mp3" target="_blank" >Take a listen </a>  ]]></description>
			<category>Music, MachineDrum</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070910-004742</guid>
			<author>Jeff Dickison</author>
			<pubDate>Mon, 10 Sep 2007 07:47:42 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=09&amp;entry=entry070910-004742</comments>
		</item>
		<item>
			<title>On my way </title>
			<link>http://technobounce.com/index.php?entry=entry070729-183407</link>
			<description><![CDATA[<img src="http://technobounce.com/photog/jeffd/onmyway/medium/onmywaynow.jpg" width="400" height="600" border="0" alt="" />]]></description>
			<category>Photography</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070729-183407</guid>
			<author>Jeff Dickison</author>
			<pubDate>Mon, 30 Jul 2007 01:34:07 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=07&amp;entry=entry070729-183407</comments>
		</item>
		<item>
			<title>Sad day!  No, wait, disaster avoided!</title>
			<link>http://technobounce.com/index.php?entry=entry070502-132732</link>
			<description><![CDATA[Looks like I just lost all of my mp3s.  The drive I have all of them stored on just took a dive:<br /><br /><br />May  2 13:22:10 proto kernel: ata2: no sense translation for status: 0x40<br />May  2 13:22:10 proto kernel: ata2: status=0x40 { DriveReady }<br />May  2 13:22:10 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002<br />May  2 13:22:10 proto kernel: sdb: Current: sense key: Aborted Command<br />May  2 13:22:10 proto kernel:     Additional sense: No additional sense information<br />May  2 13:22:10 proto kernel: end_request: I/O error, dev sdb, sector 501481551<br />May  2 13:23:55 proto kernel: ata2: no sense translation for status: 0x40<br />May  2 13:23:55 proto kernel: ata2: status=0x40 { DriveReady }<br />May  2 13:23:55 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002<br />May  2 13:23:55 proto kernel: sdb: Current: sense key: Aborted Command<br />May  2 13:23:55 proto kernel:     Additional sense: No additional sense information<br />May  2 13:23:55 proto kernel: end_request: I/O error, dev sdb, sector 0<br />May  2 13:24:25 proto kernel: ata2: no sense translation for status: 0x40<br />May  2 13:24:25 proto kernel: ata2: status=0x40 { DriveReady }<br />May  2 13:24:25 proto kernel: sd 1:0:0:0: SCSI error: return code = 0x08000002<br />May  2 13:24:25 proto kernel: sdb: Current: sense key: Aborted Command<br />May  2 13:24:25 proto kernel:     Additional sense: No additional sense information<br />May  2 13:24:25 proto kernel: end_request: I/O error, dev sdb, sector 0<br /><br /><br />Already tried to do a fsck on it, no luck with that. Hm, maybe it&#039;s a bad cable..<br /><br /><br />UPDATE:<br />Turns out, yes, it was the cable.  I replaced the sata cable with a different one, the one that was in there had 90deg angel connectors and didn&#039;t really seem like they fit too well.  It was all I had at the time I put the drive in. But, with a new cable the drive is nice and happy. whew!<br /><br />Time to do a backup. ]]></description>
			<category>Technology, Linux, Debian</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070502-132732</guid>
			<author>Jeff Dickison</author>
			<pubDate>Wed, 02 May 2007 20:27:32 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=05&amp;entry=entry070502-132732</comments>
		</item>
		<item>
			<title>Bring your own big wheel stop animation!</title>
			<link>http://technobounce.com/index.php?entry=entry070410-123741</link>
			<description><![CDATA[Every Easter, theres a big race in San Francisco, the <a href="http://www.jonbrumit.com/byobw.html" target="_blank" >Bring Your Own Big Wheel</a> .  I took all of these photos with my D200, then put them all together in this <a href="http://www.technobounce.com/byobw.2007.tl.mp4" target="_blank" >nifty </a> movie.  It covers 3 of the races that went on that day and is made up of almost 600 individual pictures!]]></description>
			<category>Photography</category>
			<guid isPermaLink="true">http://technobounce.com/index.php?entry=entry070410-123741</guid>
			<author>Jeff Dickison</author>
			<pubDate>Tue, 10 Apr 2007 19:37:41 GMT</pubDate>
			<comments>http://technobounce.com/comments.php?y=07&amp;m=04&amp;entry=entry070410-123741</comments>
		</item>
	</channel>
</rss>
