<?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>blog.mbentley.net &#187; linux</title>
	<atom:link href="http://blog.mbentley.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mbentley.net</link>
	<description>it&#039;s not clutter, just organized chaos</description>
	<lastBuildDate>Sun, 06 Nov 2011 23:31:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>getting loopback to work on newer builds of dd-wrt</title>
		<link>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/</link>
		<comments>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 18:22:36 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[ddwrt]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[phuzi0n]]></category>
		<category><![CDATA[rt-n16]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=528</guid>
		<description><![CDATA[i&#8217;ve come across this problem a number of times when looking at newer firmware for my router running dd-wrt. the upgrade works flawlessly but loopback doesn&#8217;t work. i finally decided to see if there was a solution out there and lucky for me, there is. a google search brought me to this bug report. there [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve come across this problem a number of times when looking at newer firmware for my router running dd-wrt.  the upgrade works flawlessly but loopback doesn&#8217;t work.  i finally decided to see if there was a solution out there and lucky for me, there is.  a google search brought me to this <a href="http://svn.dd-wrt.com:8000/ticket/1868">bug report</a>.  there is also a <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=89353">dd-wrt forum topic</a> on this as well but the solution is pretty simple.  just in case the bug report and forum post both disappear, here is the solution:</p>
<p>Save the following commands to the Firewall Script on the <em>Administration</em> -> <em>Commands</em> page to fix loopback.</p>
<pre>insmod ipt_mark
insmod xt_mark

iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE</pre>
<p>once you have added these commands to the &#8216;Firewall&#8217; command list, you will need to perform a reboot and that should make the fix active.</p>
<p>a huge thanks to phuzi0n for providing this workaround!  from the number of people who have commented, i can definitely see that i am not alone in wanting loopback to work properly but at least this workaround does the job.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/44epuu2" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=getting+loopback+to+work+on+newer+builds+of+dd-wrt+@+http://tinyurl.com/44epuu2" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>creating a raid 5 array in linux with mdadm</title>
		<link>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/</link>
		<comments>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 14:05:05 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[1 tb]]></category>
		<category><![CDATA[add drive]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[hitachi]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid 5]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=498</guid>
		<description><![CDATA[i recently had a hard drive fail in my server. luckily i was running it in a raid 1 array so all of my data was kept safe. i decided that while i had a hard drive out of service that i might as well take some time to do some upgrading of my storage [...]]]></description>
			<content:encoded><![CDATA[<p>i recently had a hard drive fail in my server.  luckily i was running it in a raid 1 array so all of my data was kept safe.  i decided that while i had a hard drive out of service that i might as well take some time to do some upgrading of my storage space.  i had been just running two basic raid 1 arrays (each with two 1 TB drives) using mdadm with ext3 for my virtual machines and other assorted storage.  while ext3 is a very stable file system, it isn&#8217;t know for its speed.  while i certainly wasn&#8217;t running out of storage space by any means, i thought it to be smarter to upgrade while i had enough space to rearrange things.</p>
<p>while i already owned four 1 TB hard drives, two of them are western digital green drives which means they have variable RPMs; not exactly the best choice for a raid array.  my main goals are speed, redundancy, and increasing my total storage space.  with that being said, it seemed to me that the best choice was to buy more drives identical to my two 7200 rpm drives (<a href="http://www.tomshardware.com/reviews/hitachi-western-digital-terabyte,2017-2.html">hitachi deskstar 7K1000B HDT721010SLA360</a> to be exact).  i was able to find some for a decent price ($50) from an online retailer so i picked up three.  when i received my other drive back from RMA to hitachi, that would give me a total of five 1 TB drives to make a nice raid 5 array.</p>
<p>next, i just had to choose what file system i was going to include.  different file systems provide different features and abilities.  some are able to perform online resizing, some are optimized for read performance, others write, etc.  overall, i was looking for something fairly reliable, as close to &#8216;ext3 reliable&#8217; as possible while getting that extra boost of speed but i also wanting to pick something mainstream that i knew would be supported for years to come.  to begin with, i started looking at ext4 and xfs.  after doing some quick research, i realized that my server, which is running debian lenny (stable) does not include a stable ext4 driver.  it only comes with ext4dev.  while i could upgrade my kernel and use packages from backports, i really didn&#8217;t want to have to make that many changes to my stable, working server.  so after speaking with a few colleagues and people online, i decided that xfs would be my best bet for my specific situation.</p>
<p>while digging further into xfs, i stumbled upon a <a href="http://www.mythtv.org/wiki/Optimizing_Performance#Optimizing_XFS_on_RAID_Arrays">useful mythtv wiki article regarding xfs</a> (thanks to MRD for the link).  this provided some very useful information as to how to create an optimized xfs file system for your devices.  now that i had all of my information together, it was time to do a little bit of testing in a virtual environment just to familiarize myself with the process.  when doing what i consider major operations, i like to test things out first.  i just created a basic debian VM with multiple virtual disks, practiced creating, assembling, expanding, etc to see how well it worked.</p>
<p>earlier this week, my three new drives arrived.  since raid 5 can run in a degraded 5 drive array with only four drives, i figured that i would go ahead and get started while still waiting for my last drive from RMA.  i arranged my drives so that my raid 5 array would consist of the drives on /dev/sda to /dev/sde.  many of the commands that i am using for this were found on <a href="http://www.excaliburtech.net/archives/19">Useful Mdadm Commands @ excaliburtech.net</a> which is a great resource for example usage of mdadm commands.  first, i created a single partition layout using fdisk on /dev/sda, set the type to &#8216;fd&#8217; which is &#8216;Linux raid autodetect&#8217;.  the layout should look like this:</p>
<pre>root@athena:~# fdisk -l /dev/sda

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x68714c34

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      121601   976760001   fd  Linux raid autodetect</pre>
<p>i could use fdisk to create the same partition layout on the other three drives but there is an easy way to copy the layout.  &#8216;/dev/sda&#8217; is the source disk, and the last parameter is the destination disk.  this just copies the partition table layout to ensure they are identical:</p>
<pre>sfdisk -d /dev/sda | sfdisk /dev/sdb
sfdisk -d /dev/sda | sfdisk /dev/sdc
sfdisk -d /dev/sda | sfdisk /dev/sdd</pre>
<p>next, i opted to clean the superblocks to ensure that any existing superblock data (where mdadm stores array information for each drive) would be cleared.</p>
<pre>mdadm --zero-superblock /dev/sd[abcd]
mdadm --zero-superblock /dev/sd[abcd]1</pre>
<p>now we are ready to create the raid array.  i already have a md0 and md1 so my next available is md2.  this will create a raid 5 array using 5 devices but with one drive missing.</p>
<pre>mdadm --create /dev/md2 --level=5 --raid-devices=5 /dev/sd[abcd]1 missing</pre>
<p>be default, arrays are shows as read only.  you can now mark the array as read-write:</p>
<pre>mdadm --readwrite /dev/md2</pre>
<p>you can now see the degraded array using &#8216;cat /proc/mdstat&#8217;:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/4] [UUUU_]</pre>
<p>next, i am ready to prepare the new array with new xfs file system.  using the myth wiki link above, i calculated the optimal values for my array and inserted them into the mkfs.xfs command:</p>
<pre>mkfs.xfs -b size=4096 -d sunit=128,swidth=512 /dev/md2</pre>
<p>now that the xfs file system has been created, i can do a test mount:</p>
<pre>mkdir /media/md2
mount -o sunit=128,swidth=512 /dev/md2 /media/md2</pre>
<p>my test mount was successful so i wanted to automatically mount my new array at boot so i just needed to add the following to /etc/fstab:</p>
<pre>/dev/md2        /media/md2      xfs             sunit=128,swidth=512,noatime,nodiratime 0       0</pre>
<p>now i also want to add the new raid 5 array&#8217;s information to /etc/mdadm/mdadm.conf</p>
<pre>mdadm --examine --scan
ARRAY /dev/md2 level=raid5 num-devices=5 UUID=512145fc:e9a0cb9e:affa4567:83059fad</pre>
<p>so i add it to the last line and the contents of the entire file look like:</p>
<pre># mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 UUID=ad56dba9:a587a6ce:63b74a7d:37f4f41d
ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=9ee58430:486e6421:6e7df9ee:51ed0ff2
ARRAY /dev/md2 level=raid5 num-devices=5 metadata=0.90 UUID=512145fc:e9a0cb9e:affa4567:83059fad</pre>
<p>i then went ahead and copied my data to the new array and two days later, my new drive arrived.  after installing it in my system, i needed to create the partition information from an existing drive, clean the superblock, and add the drive to the array using the following commands:</p>
<p>copy partition information from an existing disk:</p>
<pre>sfdisk -d /dev/sda | sfdisk /dev/sde</pre>
<p>clean the superblock:</p>
<pre>mdadm --zero-superblock /dev/sd[e]
mdadm --zero-superblock /dev/sd[e]1</pre>
<p>add the new drive to the existing raid 5 array:</p>
<pre>mdadm --add /dev/md2 /dev/sd[e]1</pre>
<p>check drive synchronization status:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sde1[5] sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/4] [UUUU_]
      [============>........]  recovery = 60.4% (590546092/976759936) finish=100.7min speed=63877K/sec</pre>
<p>now my raid 5 array is completely synchronized and is fully redundant:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sde1[4] sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/5ua7bjq" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=creating+a+raid+5+array+in+linux+with+mdadm+@+http://tinyurl.com/5ua7bjq" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>upgrading to adobe flash player 10.2.161.22 (64 bit) on debian</title>
		<link>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/</link>
		<comments>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 14:02:26 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[10.2]]></category>
		<category><![CDATA[10.2.161.22]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[preview 1]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[update-alternatives]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=460</guid>
		<description><![CDATA[as i mentioned in my previous blog article, adobe temporarily pulled 64 bit support for the 64 bit plugin. a few days ago (september 15) they released preview 1 of flash player 10.2. if you have followed the instructions in my previous article, upgrading is quite simple. if not, don&#8217;t worry, there are only a [...]]]></description>
			<content:encoded><![CDATA[<p>as i mentioned in my previous blog article, adobe temporarily pulled 64 bit support for the 64 bit plugin.  a few days ago (september 15) they released <a href="http://labs.adobe.com/downloads/flashplayer10.html">preview 1 of flash player 10.2</a>.  if you have followed the instructions in my <a href="http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/">previous article</a>, upgrading is quite simple.  if not, don&#8217;t worry, there are only a few extra steps!  please remember that this is a beta version so it may not be 100% stable.  the method i am using will add a new option to update-alternatives which will allow you to switch between a stable and testing plugin of flash player.  this makes it quite simple to change between versions.</p>
<ol>
<li>if you haven&#8217;t yet, i would suggest removing the official adobe flash package which is likely to be out of date:
<pre>sudo aptitude remove --purge flashplugin-nonfree</pre>
</li>
<li>download the latest 64 bit plugin from <a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">here</a>, make sure to select &#8216;Download plug-in for 64-bit Linux&#8217; (<a href="http://blog.mbentley.net/wp-content/uploads/2010/09/flashplayer_square_p1_64bit_linux_091510.tar.gz">backup mirror</a>).  i would suggest saving the file to <strong>/tmp</strong>.</li>
<li>open a command line window and navigate to /tmp:
<pre>cd /tmp</pre>
</li>
<li>untar the archive:
<pre>tar zxvf flashplayer_square_p1_64bit_linux_091510.tar.gz</pre>
</li>
<li>if you haven&#8217;t followed my previous article, you will need to create the destination directory first:
<pre>sudo mkdir /usr/lib/adobe-flash</pre>
<p>next, copy the newly extracted &#8216;libflashplayer.so&#8217; to the plugin installation location:</p>
<pre>sudo cp libflashplayer.so /usr/lib/adobe-flash/libflashplayer_testing.so</pre>
<p>it might be a good idea to verify that you have moved the file properly:</p>
<pre>mbentley@athena:/tmp$ ls -l /usr/lib/adobe-flash/
total 19736
-rwxr-xr-x 1 root root  9570824 2010-09-17 09:18 libflashplayer.so
-rw-r--r-- 1 root root 10601968 2010-09-17 10:01 libflashplayer_testing.so</pre>
</li>
<li>next we are going to need to add a new entry to update-alternatives for the testing version:
<pre>sudo update-alternatives --install /usr/lib/mozilla/plugins/flash-mozilla.so \
flash-mozilla.so /usr/lib/adobe-flash/libflashplayer_testing.so 15</pre>
<p>&#8216;â€“install&#8217; indicates that we are adding an entry, &#8216;/usr/lib/mozilla/plugins/flash-mozilla.so&#8217; indicates the symlink we want to add an option to, &#8216;flash-mozilla.so&#8217; indicates the update-alternatives name, &#8216;/usr/lib/adobe-flash/libflashplayer_testing.so&#8217; indicates the file which you are adding, &#8217;15&#8242; indicates the priority (higher the number, the higher the priority).</li>
<li>now we need to set the new testing version of flash player to be current active version:
<pre>sudo update-alternatives --config flash-mozilla.so</pre>
<p>make sure to choose the option for the newly created &#8216;/usr/lib/adobe-flash/libflashplayer_testing.so&#8217;:</p>
<pre>There are 2 alternatives which provide `flash-mozilla.so'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/lib/adobe-flash/libflashplayer.so
          2    /usr/lib/adobe-flash/libflashplayer_testing.so

Press enter to keep the default[*], or type selection number: 2
Using '/usr/lib/adobe-flash/libflashplayer_testing.so' to provide 'flash-mozilla.so'.</pre>
</li>
<li>we should now clean up our temporary files as we do not need them anymore:
<pre>rm /tmp/flashplayer_square_p1_64bit_linux_091510.tar.gz /tmp/libflashplayer.so</pre>
</li>
<li>after you have done that, you will need to restart your web browser and then you should have version 10.2.161.22 installed.  you can verify this by going to adobe&#8217;s <a href="http://www.adobe.com/software/flash/about/">flash test page</a> and looking in the &#8216;version information&#8217; section.</li>
</ol>
<p>in the future, you will simply need to execute steps 2-5 to upgrade to newer versions.  if you want to install a new &#8216;stable&#8217; plugin, you will just need to change step 5 to copy to &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217;.  if you do so, you will also want to verify that update-alternatives is pointing to the correct version that you would like to use.</p>
<p>if you have any questions or problems, feel free to post in the comments and i will try to reply to them as soon as possible.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/5su82s7" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian+@+http://tinyurl.com/5su82s7" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>installing adobe flash player 64 bit on debian</title>
		<link>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/</link>
		<comments>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:45:22 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[update-alternatives]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=428</guid>
		<description><![CDATA[somewhat recently, adobe has pulled all support for 64 bit flash player on linux. debian has also remove the support from it&#8217;s non-free archives so the &#8216;flashplugin-nonfree&#8217; package no longer works properly. i find that gnash and swfdec are pretty lacking and are not compatible with all websites which is a major problem for me. [...]]]></description>
			<content:encoded><![CDATA[<p>somewhat recently, adobe has pulled all support for 64 bit flash player on linux.  debian has also remove the support from it&#8217;s non-free archives so the &#8216;flashplugin-nonfree&#8217; package no longer works properly.  i find that gnash and swfdec are pretty lacking and are not compatible with all websites which is a major problem for me.  after searching online, i found a 64 bit copy of libflashplayer.so and wanted to install it the debian way using &#8216;update-alternatives&#8217;.  here are the steps to install it properly:</p>
<ul>
<li>first we want to remove the official &#8216;flashplugin-nonfree&#8217; package:</p>
<pre>sudo aptitude remove --purge flashplugin-nonfree</pre>
</li>
<li>download libflashplayer.so from <a href="http://blog.mbentley.net/wp-content/uploads/2010/07/libflashplayer-10.0.45.2.linux-x86_64.so_.tar.gz">here</a>.</li>
<li>extract the file to a temporary location using:
<pre>tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so_.tar.gz</pre>
<p>you should now see &#8216;libflashplayer.so&#8217;</li>
<li>from the same temporary location, execute the following commands to make a common location for the file to be stored and then to copy the file there:
<pre>sudo mkdir /usr/lib/adobe-flash
sudo cp libflashplayer.so /usr/lib/adobe-flash/</pre>
</li>
<li>next, you will need to create an update-alternatives entry using the following command (copy and paste <strong>both</strong> lines and insert it on the command line as a single command:
<pre>sudo update-alternatives --install /usr/lib/mozilla/plugins/flash-mozilla.so \
flash-mozilla.so /usr/lib/adobe-flash/libflashplayer.so 20</pre>
<p>&#8216;&#8211;install&#8217; indicates that we are adding an entry, &#8216;/usr/lib/mozilla/plugins/flash-mozilla.so&#8217; indicates the symlink we want to add an option to, &#8216;flash-mozilla.so&#8217; indicates the update-alternatives name, &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217; indicates the file which you are adding, &#8217;20&#8242; indicates the priority.</li>
<li>now we just need to set the new flash player to be the default:
<pre>sudo update-alternatives --config flash-mozilla.so</pre>
<p>make sure to choose the option for the newly created &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217;:</p>
<pre>There are 2 alternatives which provide `flash-mozilla.so'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/lib/gnash/libgnashplugin.so
*+        2    /usr/lib/adobe-flash/libflashplayer.so

Press enter to keep the default[*], or type selection number: 2
Using '/usr/lib/adobe-flash/libflashplayer.so' to provide 'flash-mozilla.so'.</pre>
</li>
<li>now open up iceweasel (firefox) and navigate to &#8216;<a href="http://kb2.adobe.com/cps/155/tn_15507.html">http://kb2.adobe.com/cps/155/tn_15507.html</a>&#8216; and it should show the version of flash as &#8216;LNX 10,0,45,2&#8242;.</li>
</ul>
<p>and that should be it!  if you want to navigate to any flash based site or <a href="http://www.adobe.com/software/flash/about/">adobe&#8217;s flash test page</a> you should see the plugin working.  this has currently been tested on debian lenny (stable) and debian squeeze (testing).</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/6dg8vv3" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=installing+adobe+flash+player+64+bit+on+debian+@+http://tinyurl.com/6dg8vv3" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iPhone iOS 4 &amp; 5 upgrade &#8211; restore lost pictures in camera roll</title>
		<link>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/</link>
		<comments>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 23:30:34 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[3gs]]></category>
		<category><![CDATA[4]]></category>
		<category><![CDATA[4s]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[camera empty]]></category>
		<category><![CDATA[camera roll]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iOS 4]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iphone 3g]]></category>
		<category><![CDATA[iphone 3gs]]></category>
		<category><![CDATA[iphone 4]]></category>
		<category><![CDATA[iphone 4s]]></category>
		<category><![CDATA[iphone os 4]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lost pictures]]></category>
		<category><![CDATA[lost video]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[missing pictures]]></category>
		<category><![CDATA[no pictures]]></category>
		<category><![CDATA[no pictures or videos]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=364</guid>
		<description><![CDATA[update 10/21/2011 &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5. luckily, the solution is the same as before. i have updated the instructions to help with any changes that iOS 5 added. before you start &#8211; this will only work if your [...]]]></description>
			<content:encoded><![CDATA[<p><strong>update 10/21/2011</strong> &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5.  luckily, the solution is the same as before.  i have updated the instructions to help with any changes that iOS 5 added.</p>
<p><strong>before you start</strong> &#8211; this will only work if your photos actually exist on your device but do not show up in in the camera roll.  you can verify that photos exist on your device by looking <a href="http://blog.mbentley.net/wp-content/uploads/2010/06/iTunes_graph.png" class="smoothbox">graph at the bottom of iTunes</a> and by <a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-6/#comment-5513">checking your device</a> for the actual picture files.  if you post comments about having problems but don&#8217;t mention that you haven&#8217;t verified that your photos are still available on your device, i&#8217;m sorry but i won&#8217;t be able to help you.</p>
<hr />
<p>so i decided to upgrade to the new iOS 4 on my iphone 3gs to see what it is all about.  everything went smoothly.  i installed itunes 9.2, downloaded the new firmware, asked my phone to do a restore using the new firmware and then had it restore my latest backup of info.  everything seemed perfect after syncing with itunes but then i went into my camera roll and noticed i had no pictures!  in itunes, it showed over 1 GB worth of pictures so why were they not showing up?  i searched online for a little while i didn&#8217;t really come up with much at first.  many different solutions:  do a backup, sync, reboot, etc but nothing worked.  then i came across <a href="http://discussions.info.apple.com/thread.jspa?messageID=11734450">this discussion</a> on the apple forums.  i have slightly modified the steps.  if you use windows or osx, you can download <a href="http://www.macroplant.com/iphoneexplorer/">iphone explorer</a> and follow these steps:</p>
<pre>these steps are out of date.  see below for updated steps.
<del datetime="2011-10-21T21:33:12+00:00">1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /DCIM/.MISC/Info.plist
     /PhotoData/Photos.sqlite
     /PhotoData/PhotosAux.sqlite
4.) reboot your iphone</del></pre>
<p>a recent update to iphone explorer may have changed the folder paths.  if you don&#8217;t see the folders mentioned, try the following:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /Media/DCIM/.MISC/Info.plist
     /Media/PhotoData/MISC/DCIM_APPLE.plist
     /Media/PhotoData/Photos.sqlite (or /PhotoData/Photos.sqlite)
     /Media/PhotoData/PhotosAux.sqlite (or /PhotoData/PhotosAux.sqlite)
4.) reboot your iphone</pre>
<p>note:  if you don&#8217;t have the file PhotosAux.sqlite, that&#8217;s not a problem.  It is a database of the location of where photos were taken which is extracted from the EXIF data of the pictures.  i would guess that it is uses by the Places feature in the camera roll.</p>
<p>if your phone is jailbroken and you are in &#8216;root&#8217; view in iphone explorer, these instructions &#038; file locations should work:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files:
     /private/var/mobile/Media/PhotoData/.MISC/Info.plist
     /private/var/mobile/Media/PhotoData/MISC/DCIM_APPLE.plist
     /private/var/mobile/Media/PhotoData/Photos.sqlite
     /private/var/mobile/Media/PhotoData/PhotosAux.sqlite
4.) reboot your iphone</pre>
<p>if you have linux, you shouldn&#8217;t need anything as long as you can mount your iphone as a device and delete the files listed above.  i used debian (squeeze) to access the files as it automatically mounts my iphone when i plug it in.  i just enabled &#8216;view hidden files&#8217; and i could access the files to delete.</p>
<p>once you have done that, just open your camera roll and it should re-index all of your photos!</p>
<p>*edit:  as Phil has pointed out in the comments, if the file &#8216;/DCIM/.MISC/Info.plist&#8217; does not exist or if you can&#8217;t find the folder &#8216;/DCIM/.MISC&#8217;, just skip past that file and follow the rest of the directions and it should still restore your photos in the camera roll.</p>
<p>*edit:  has anyone had this happen with the latest update to iOS 5?  i am curious whether or not it is happening again with the latest iOS.  if it is, please let me know in the comments.  thanks!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll+@+http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/feed/</wfw:commentRss>
		<slash:comments>520</slash:comments>
		</item>
		<item>
		<title>installing smoothwall 3.0 on a soekris engineering net4801 (part 2)</title>
		<link>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-2/</link>
		<comments>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-2/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:18:07 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[new gadgets]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[conservation]]></category>
		<category><![CDATA[efficient]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[net4801]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[smoothwall]]></category>
		<category><![CDATA[soekris]]></category>
		<category><![CDATA[techology]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=88</guid>
		<description><![CDATA[continued from part 1 yesterday i received my soekris engineering net4801-60 in the mail. the unit seems to be in good condition and even came with a compactflash card and vpn1411 card which i won&#8217;t end up using. i will most likely end up selling the vpn card as i don&#8217;t use my smoothwall to [...]]]></description>
			<content:encoded><![CDATA[<p><em>continued from <a href="http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-1/">part 1</a></em></p>
<table border="0">
<tr>
<td valign="top">yesterday i received my soekris engineering net4801-60 in the mail.  the unit seems to be in good condition and even came with a compactflash card and vpn1411 card which i won&#8217;t end up using.  i will most likely end up selling the vpn card as i don&#8217;t use my smoothwall to create a vpn and the smoothwall os does not have support built into the kernel for a vpn card such as this anyway.</td>
<td><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801-60_1.jpg" class="smoothbox"><img align="right" src="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801-60_1-300x116.jpg" alt="net4801-60" title="net4801-60" width="300" height="116" class="alignnone size-medium wp-image-90" /></a></td>
</tr>
</table>
<p></p>
<table border="0">
<tr>
<td><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801-60_2.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801-60_2-300x225.jpg" alt="net4801-60" title="net4801-60_2" width="300" height="225" class="alignnone size-medium wp-image-89" /></a></td>
<td valign="top">as you can see, it really is just a basic computer.  today i received the last parts that i will be needing for this project.  they are the hard drive mounting kit and the power supply.  i purchased these directly from soekris engineering.  in part 1, i prepared the smoothwall install on a 2.5&#8243; 60GB laptop hard drive.</p>
<p>the next step is to install the hard drive on the mounting kit inside the unit.  the hard drive connects using four mounting screws on the bottom of the drive.  the mounting kit is connected to by unscrewing the four screws which secure the net4801 to the case and placing the mounting bracket on top of the board&#8217;s mounting holes and reinserting the screws into the mounts.</td>
</tr>
</table>
<p>
now that the hard drive is connected and the unit is closed back up, it is time to test the unit.  in order to do that, i am going to fire up minicom on my server which is connected via null modem serial cable to the net4801 and listening on com1.  if the unit does not show any activity in the minicom windows, you might want to check out the manual from the <a href="http://www.soekris.com/downloads.htm">soekris download page</a> to make sure that you have configured minicom to use the default settings (19200 baud, 8 databits, no parity, 1 stop bit, no flow control).  here is the boot screen that you should see upon powering up the unit:</p>
<pre>comBIOS ver. 1.31  20070408  Copyright (C) 2000-2007 Soekris Engineering.

net4801

0256 Mbyte Memory                        CPU Geode SC1100 267 Mhz 

Pri Mas  IC25N060ATMR04-0                LBA Xlt 1024-255-63  58605 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000
0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000
0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11

 1 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.</pre>
<p>on minicom, the unit shows a ram count and then after a few seconds proceeds to boot. due to the configuration of the kernel smoothwall uses, you can&#8217;t see the boot messages (and we didn&#8217;t set lilo up to show them even if the kernel supported it).  once the unit is ready, it will display a login prompt:</p>
<pre>smoothwall
Connected on ttyS0 at 19200 bps
smoothwall login:</pre>
<p>from there you need to login using &#8216;root&#8217; and the password you set up in the initial configuration.  once you login, you will need to reconfigure your smoothwall&#8217;s network settings.  you do this by running the &#8216;setup&#8217; command.  on the setup screen, you will want to choose &#8216;networking&#8217;, then &#8216;network configuration type&#8217;.  on the next screen, choose &#8220;green + orange + red&#8221;.  you will then want to choose &#8216;drivers and card assignments&#8217;.  then choose &#8216;ok&#8217; to change settings then choose &#8216;probe&#8217;.  as it detects the network cards, set them as green, then orange, and red (the order is important).  green (internal) is eth0, orange (dmz) is eth1, and red (external) is eth2.  make sure the address settings are still correct for your network and your external network is set properly for your ISP.</p>
<p>once that is done, i connect network cables to the net4801 and then reboot the unit.  once it reboots, you might want to check to make sure all of your interfaces have ip addresses and have been assigned correctly.  if they have not, you will want to re-run setup and check for errors in your configuration.  from there, i was able to connect to the web interface and configure my smoothwall.  now i am up and running behind my net4801.  from looking at my mrtg graphs, i can get an idea of how much less power the net4801 uses.  my estimated runtime on battery went from ~30 to ~38 minutes.</p>
<p>and that&#8217;s pretty much about it for the setup.  if you have any questions, feel free to post them in the comments section.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/48d8gfc&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+2%29" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/48d8gfc&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+2%29" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/48d8gfc" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/48d8gfc&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+2%29" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+2%29+@+http://tinyurl.com/48d8gfc" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>installing smoothwall 3.0 on a soekris engineering net4801 (part 1)</title>
		<link>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-1/</link>
		<comments>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-1/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 13:44:33 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[new gadgets]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[conservation]]></category>
		<category><![CDATA[efficient]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[net4801]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[smoothwall]]></category>
		<category><![CDATA[soekris]]></category>
		<category><![CDATA[techology]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=80</guid>
		<description><![CDATA[even though all of my parts have not arrived for my new smoothwall project, i can begin to do some initial setup. first of all, here are all of the items of which i needed to find for the project: soekris engineering net4801-60 soekris engineering 2.5&#8243; hdd mounting kit soekris engineering power supply 2.5&#8243; ide [...]]]></description>
			<content:encoded><![CDATA[<p>even though all of my parts have not arrived for my new smoothwall project, i can begin to do some initial setup.  first of all, here are all of the items of which i needed to find for the project:</p>
<ul>
<li><a href="http://www.soekris.com/net4801.htm">soekris engineering net4801-60</a></li>
<li><a href="https://www.soekris.com/shop/product_info.php?products_id=97">soekris engineering 2.5&#8243; hdd mounting kit</a></li>
<li><a href="https://www.soekris.com/shop/product_info.php?products_id=132">soekris engineering power supply</a></li>
<li>2.5&#8243; ide hard drive</li>
<li><a href="http://www.monoprice.com/products/product.asp?c_id=102&#038;cp_id=10212&#038;cs_id=1021205&#038;p_id=478&#038;seq=1&#038;format=2">10 foot serial null modem cable</a></li>
</ul>
<p>since i already have the hard drive, i can do some of the prep work by installing smoothwall.  i am using an old laptop to install the os to the hard drive.  luckily linux is much less picky than windows about changing hardware after installing.  i downloaded and burnt a copy of the latest smoothwall 3.0 sp1.  installing smoothwall is about as straight forward as things come.  just follow the steps on the screen until you get to the &#8220;Network configuration menu&#8221;.  since we currently do not have the correct network cards in the computer, this part is going to be overwritten later.</p>
<p>just leave the current config as &#8220;GREEN (RED is modem/ISDN)&#8221;.  choose &#8220;Drivers and card assignments&#8221;.  allocate the nic to the green interface.  then go to &#8220;Address settings&#8221; and give the green interface a valid IP address on your subnet.  once that is completed, choose done.  on the &#8220;Section menu&#8221; screen, just choose finished as we do not want to set up a modem that we actually won&#8217;t be using.  then just complete the setup by entering your passwords and reboot.</p>
<p>when your smoothwall boots, go ahead a login using &#8220;root&#8221; and the password that you provided.  we need to make a few configuration changes since the net4801 only uses serial console for video output.  first, we need to edit &#8216;/etc/inittab&#8217;.  once finished, your inittab should look like this:</p>
<pre>id:3:initdefault:

l0:0:wait:/etc/rc.d/rc.halt halt
l6:6:wait:/etc/rc.d/rc.halt reboot

si::sysinit:/etc/rc.d/rc.sysinit

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -h now

# Run gettys in standard runlevels
1:2345:respawn:/sbin/agetty 38400 tty1
<strong>#2:2345:respawn:/sbin/agetty 38400 tty2
#3:2345:respawn:/sbin/agetty 38400 tty3
#4:2345:respawn:/sbin/agetty 38400 tty4
#5:2345:respawn:/sbin/agetty 38400 tty5
#6:2345:respawn:/sbin/agetty 38400 tty6</strong>
<em>s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 19200 ttyS0 vt100</em>
~:S:wait:/bin/bash</pre>
<p>the line in italics &#8216;<em>s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 19200 ttyS0 vt100</em>&#8216; is what we are adding.  this enables the serial console at the baud rate of 19200 (the default for the net4801).  the lines in <strong>bold</strong> are ones that we should comment out.  there is no point in running multiple virtual terminals if we aren&#8217;t going to use them.  they will just use resources since this box is headless but we are leaving one just in case it is needed in a recovery scenario.</p>
<p>next we need to create an &#8216;/etc/issueserial&#8217; file:</p>
<pre>smoothwall
Connected on \l at \b bps</pre>
<p>next, we will want to create an &#8216;/etc/securetty&#8217; file to allow root to login from the serial console:</p>
<pre>ttyS0
tty1
tty2
tty3</pre>
<p>in my next article, i am going to continue by talking about how to reconfigure the smoothwall setup to accept the new hardware of the net4801 but i will do so when i actually have the hardware on hand later this week.</p>
<p><em>continued in <a href="http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-2/">part 2</a></em></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/464whzr&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+1%29" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/464whzr&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+1%29" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/464whzr" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/464whzr&amp;title=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+1%29" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=installing+smoothwall+3.0+on+a+soekris+engineering+net4801+%28part+1%29+@+http://tinyurl.com/464whzr" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/installing-smoothwall-3-0-on-a-soekris-engineering-net4801-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>optimizing vmware server 2.0 on a linux host</title>
		<link>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/</link>
		<comments>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:43:21 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[/dev/shm]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[ramdisk]]></category>
		<category><![CDATA[server 2003]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[tmpfs]]></category>
		<category><![CDATA[vmware server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=63</guid>
		<description><![CDATA[like many people, i like to tinker with all sorts of different technology including multiple operating systems as well as the different roles they can play. one of the best ways that i can do that is by using a virtualization product. i just happen to use vmware server 2.0 on my debian lenny server. [...]]]></description>
			<content:encoded><![CDATA[<p>like many people, i like to tinker with all sorts of different technology including multiple operating systems as well as the different roles they can play.  one of the best ways that i can do that is by using a virtualization product.  i just happen to use vmware server 2.0 on my <a href="http://www.mbentley.net/myserver.shtml">debian lenny server</a>.  <a href="http://www.vmware.com/">vmware</a> is one of the leaders in virtualization (if not <strong>the</strong> leader).</p>
<p>at home, i have five virtual machines that i rely on heavily for my day-to-day operations.  i have two windows server 2008 domain controllers, two windows server 2003 servers running exchange 2003 and one windows server 2008 computer i use for remote desktop and management of services.  some of these services can provide a fair load on my server and i was starting to see the impact, especially from my win2k8 vms.  it seems that there are a number of optimizations that are not enabled by default in vmware server.  i searched far and wide through vmware kb docs as well as blogs and web forums and came up with the following optimizations:</p>
<p>force virtual machines to run in shared memory (in ram)<br />
inside &#8216;/etc/vmware/config&#8217; lies the default config for vmware.  add the following lines at the end:</p>
<pre>MemTrimRate = "0"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
tmpDirectory="/dev/shm"</pre>
<p>this will ensure that virtual machines actually store their virtual memory on /dev/shm.  /dev/shm is a location that most linux distributions use for shared memory that is located directly on ram (think of a ramdisk).  you will want to make sure that your host makes uses of /dev/shm as seen below:</p>
<pre>root@athena:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0               67G  7.3G   56G  12% /
tmpfs                 4.0G     0  4.0G   0% /lib/init/rw
udev                   10M  972K  9.1M  10% /dev
<em>tmpfs                 8.0G  5.1G  3.0G  64% /dev/shm</em>
/dev/md2              917G  665G  207G  77% /media/md2
/dev/md3              917G  556G  315G  64% /media/md3</pre>
<p>the text in italics above is what you are looking for.  by default, most distros will not allocate that much space for shared memory.  however, you can specify the size in the file &#8216;/etc/default/tmpfs&#8217;:</p>
<pre># SHM_SIZE sets the maximum size (in bytes) that the /dev/shm tmpfs can use.
# If this is not set then the size defaults to the value of TMPFS_SIZE
# if that is set; otherwise to the kernel's default.
#
# The size will be rounded down to a multiple of the page size, 4096 bytes.
SHM_SIZE=8G</pre>
<p>by default the variable seen above will be blank (ie &#8211; &#8216;SHM_SIZE=&#8217;).  i set mine to 8GB because i have 8GB of ram in my server.  the great thing about using shared memory is that if you happen to actually fill up your system&#8217;s ram, it will start using swap space instead of just running out of room.</p>
<p>next, i added a few lines to the file &#8216;/etc/sysctl.conf&#8217;:</p>
<pre>vm.swappiness = 0
vm.overcommit_memory = 1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_expire_centisecs = 1000</pre>
<p>it is my understanding that these are meant to help prevent vmware from using the swap file unnecessarily.</p>
<p>last but not least, i needed to do a little bit of optimization of my file system.  my server uses software raid 1 with an ext3 file system so write performance isn&#8217;t amazing but to speed things up, i changed a few of the mount options in my &#8216;/etc/fstab&#8217;:</p>
<pre> /etc/fstab: static file system information.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;          &lt;options&gt;                       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc            defaults                        0       0
/dev/md0        /               ext3            errors=remount-ro,relatime      0       1
/dev/md1        none            swap            sw                              0       0
/dev/scd0       /media/cdrom0   udf,iso9660     user,noauto                     0       0
/dev/md2        /media/md2      ext3            defaults<em>,noatime,nodiratime</em>     0       2
/dev/md3        /media/md3      ext3            defaults<em>,noatime,nodiratime</em>     0       2</pre>
<p>i added the &#8216;noatime,nodiratime&#8217; options so that write times are not constantly being recorded causing excessive delays.</p>
<p>these settings seem to make my virtual machines run smoother and boot much faster.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4gxc39w" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4gxc39w&amp;title=optimizing+vmware+server+2.0+on+a+linux+host" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=optimizing+vmware+server+2.0+on+a+linux+host+@+http://tinyurl.com/4gxc39w" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/optimizing-vmware-server-2-0-on-a-linux-host-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>building a more efficient smoothwall</title>
		<link>http://blog.mbentley.net/2010/02/building-a-more-efficient-smoothwall-2/</link>
		<comments>http://blog.mbentley.net/2010/02/building-a-more-efficient-smoothwall-2/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 20:59:26 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[new gadgets]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[conservation]]></category>
		<category><![CDATA[efficient]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[net4801]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[smoothwall]]></category>
		<category><![CDATA[soekris]]></category>
		<category><![CDATA[techology]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=34</guid>
		<description><![CDATA[i&#8217;ve decided to look more into power efficiency of my computers at home. while my power bill isn&#8217;t horrible, it could most definitely be lower. there are only a few computers that i leave running 24/7. one of them is my smoothwall. while i built that computer with power efficiency in mind, i didn&#8217;t take [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve decided to look more into power efficiency of my computers at home.  while my power bill isn&#8217;t horrible, it could most definitely be lower.  there are only a few computers that i leave running 24/7.  one of them is my <a href="http://www.smoothwall.org">smoothwall</a>.  while i built that computer with power efficiency in mind, i didn&#8217;t take things to the extreme that i could have.  now i want to  build a solution that is closer in power consumption to your typical home router appliance.  after doing some research, i found a solution that would not only be power efficient but also cost effective.  the solution is the <a href="http://www.soekris.com/net4801.htm">soekris engineering net4801</a>.</p>
<p><a href="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801_60_BO_front_big.jpg" class="smoothbox"><img class="alignright" title="net4801" src="http://blog.mbentley.net/wp-content/uploads/2010/02/net4801_60_BO_front_bt.jpg" alt="soekris engineering net4801" width="200" height="133" /></a>this is basically a 586 class pc that runs headless and uses a serial console for access.  i thought about buying one directly from the manufacturer but then i saw the prices and they seemed more expensive (new units start at $213.00) than i wanted for such a small project.  luckily i was able to find a used unit that i bought on ebay for $96.  not only did this cost less than half of the price of a new unit, but it was a *-60 model instead of the *-40 they are selling now (266 mhz proc vs 233 mhz, 256mb of ram vs 128mb).</p>
<p>along with the unit itself, i purchased a 2.5&#8243; hdd mounting kit since i didn&#8217;t want to go with a compactflash solution and i already have an extra 2.5&#8243; ide hdd.  hopefully i should receive everything sometime next week.  i haven&#8217;t used any devices that use a serial console since i worked with cisco appliances in college but i ran a trial run of how i would install everything in vmware and it seemed to go easy enough.  i&#8217;ll do a more detailed breakdown of how to install an os on a unit that is headless and has no optical drive for installation once i have everything on hand.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4r5678j&amp;title=building+a+more+efficient+smoothwall" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4r5678j&amp;title=building+a+more+efficient+smoothwall" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4r5678j" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4r5678j&amp;title=building+a+more+efficient+smoothwall" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=building+a+more+efficient+smoothwall+@+http://tinyurl.com/4r5678j" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/02/building-a-more-efficient-smoothwall-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

